All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Hello New MAC / DHCP Request - How to spot the presents of
@ 2006-07-07 13:21 Don Gould
  2006-07-08 18:46 ` [LARTC] Hello New MAC / DHCP Request - How to spot the presents Sheldon Hearn
  0 siblings, 1 reply; 2+ messages in thread
From: Don Gould @ 2006-07-07 13:21 UTC (permalink / raw
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

Hi All,

How do I find out about new new DHCP connections as they appear?

I want to write a script that will do some stuff based on a new ip
request from a machine on my lan.

ie - new user connects to the lan, DHCP server on my Linux (debian)
gateway gives them an IP, my script is run automatically to change the
firewall rules and start recording their presents, or if it's an unknown
user it will add their MAC to a list of unknown users.

More details of the application can be seen here:
http://www.tcn.bowenvale.co.nz/component/option,com_wrapper/Itemid,23/


Cheers Don
-- 
Don Gould
www.thinkdesignprint.co.nz - www.tcn.bowenvale.co.nz -
www.bowenvale.co.nz - SkypeMe:  ThinkDesignPrint
Upcoming events:  Software Freedom Day - 16 September 2006 -
www.softwarefreedomday.org



[-- Attachment #2: don.vcf --]
[-- Type: text/x-vcard, Size: 309 bytes --]

begin:vcard
fn:Don Gould
n:Gould;Don
org:Bowenvale Communications
adr:Riccarton;;2/59 Peverel Street;Christchurch;;8004;New Zealand
email;internet:don@bowenvale.co.nz
title:Director
tel;work:+64 3 348 7235
tel;home:+64 3 348 7235
tel;cell:+64 21 114 0699
url:http://www.bowenvale.co.nz
version:2.1
end:vcard


[-- Attachment #3: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Hello New MAC / DHCP Request - How to spot the presents
  2006-07-07 13:21 [LARTC] Hello New MAC / DHCP Request - How to spot the presents of Don Gould
@ 2006-07-08 18:46 ` Sheldon Hearn
  0 siblings, 0 replies; 2+ messages in thread
From: Sheldon Hearn @ 2006-07-08 18:46 UTC (permalink / raw
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 734 bytes --]

On Friday 07 July 2006 15:21, Don Gould wrote:
> ie - new user connects to the lan, DHCP server on my Linux (debian)
> gateway gives them an IP, my script is run automatically to change
> the firewall rules and start recording their presents, or if it's an
> unknown user it will add their MAC to a list of unknown users.

I'm sure you could engineer something really impressive, but you could 
probably get away with a lot less effort by simply tailing whatever 
dhcpd logs to (possibly /var/log/messages).

Ciao,
Sheldon.
-- 
Sheldon Hearn
IT Director
Clue Technologies (PTY) Ltd

Web:		http://www.clue.co.za/
Mail:		sheldonh@clue.co.za
Office:		+27-21-913-8840
Mobile:		+27-83-564-3276
Timezone:	SAST (+0200)

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-08 18:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07 13:21 [LARTC] Hello New MAC / DHCP Request - How to spot the presents of Don Gould
2006-07-08 18:46 ` [LARTC] Hello New MAC / DHCP Request - How to spot the presents Sheldon Hearn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.