Once again, I have a new version of my DHCP web page. The major fix in this
one is that it does an "nmap -v -p 80 192.168.1.0/24" (thanks to Mike Klinke
for the idea) to re-populate the "arp -n". The old version of my program
would not always show ALL devices on the network. Some would also show up as
"incomplete". I have removed all incomplete ones for this version, but you
could simply comment out the line to put them back if you want them. You can
specify the server's IP manually (as in the case of dual NIC cards), or let
the script figure it out for you. 

http://daevid.com/examples/dhcp/

Daevid.


> -----Original Message-----
> From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 28, 2003 9:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] DHCP web interface. New version.
> 
> Heya. I've just put up a new version of the DHCP web front 
> end if anyone is
> using it or has a need for this type of thing.
> 
> Major feature of this version:
> 
> * a bug where if the arp table showed an "(incomplete)", I 
> ignored the entry
>   since the MAC is the hash key, many machines wouldn't show 
> up as they kept
>   over writing each other (of course, they were bunk anyways)
> * ping & nmap tests (if ping fails, nmap is used as a backup)
>   this is useful for firewalls that may block ICMP
> * tests can be disabled for radically faster page rendering 
> (off by default)
> * 10 minute refresh by default rather than 10 second.
> * SORTING! by IP now, rather than arp entries
> * many more icons (tivo, zaurus, replay, linux, notebook, 
> servers, DAR, etc)
> * complete/incomplete tally
> * Name in config file is only used if dhcp doesn't show a name already
> 
> This is also IMHO an excellent way for a beginer or advanced 
> coder alike to
> see some very useful OOP/PHP coding as I use arrays of 
> objects, sorting by
> variables IN the object (custom sort algorithm with key 
> integrity), hashing,
> system calls, regex parsing, DHTML, etc. 
> 
> If anyone knows how to force the arp table to be current, 
> that would help.
> Sometimes a machine is on the network, and I *know* for a 
> fact it is, but it
> doesn't show up in "arp -n" *grumble*. 
> 
> Follow the link below. 
> http://daevid.com/examples/dhcp/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to