Some time ago I was asking questions here and in other places about how to
do a special sort of Proxy Arp to allow guests in a hotel room to connect to
a firewall system without using DHCP or changing their IP address.
I have cobbled together an implementation. It is sort of rough, having been
created by tearing apart the ifconfig program and cutting away everything
that didn't look like a ship.
It is not in quite as polished a state as I would like, but due to
circumstances beyond my control, I may not be able to clean it up to my full
satisfaction.
Since it is based on the GNU licensed ifconfig, I a releasing it back to the
GNU world in hope that it may help someone else out there.
If you cannot reach me here at 4th Network (which may be quite likely), you
should be able to reach me at [EMAIL PROTECTED]
Notes:
Combine this program with the net-tools-1.51 distribution.
It has not been tested on anything other than Intel Linux.
It probably has endian problems if you were thinking of porting it
to anything else.
What this program does is listen for arp requests for a designated
interface. When it hears an arp for an address OUTSIDE of that
subnet, it sends an arp reply, giving the MAC address of the
designated interface
and adds a route back to the originator of the ARP request.
For my application, I have a seperate process that removes
the route table entries when the hotel guest checks out.
<<autoarp.tar.gz>>
autoarp.tar.gz