summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcrelay/bpf.c
AgeCommit message (Collapse)Author
2009-09-03Add support for "DHCP-over-IPsec" by implementing RFC 3046 (DHCP RelayReyk Floeter
Agent Information Option) and RFC 3456 (DHCP Configuration of IPsec Tunnel Mode). This allows to configure various IPsec clients dynamically via DHCP; dhcrelay needs to listen on enc0 and forward requests to a DHCP server that supports RFC 3046, like I recently did for dhcpd(8). ok krw@
2008-09-15Sync with dhcpd. Do not use < 0 to check for failed syscalls use == -1Claudio Jeker
instead. OK henning@
2006-12-18warn() -> warning() to not overload with libc function; this hasKevin Steves
previously been done to dhclient and dhcpd
2004-04-20set write filter and lock the bpf descriptor after configuration.Can Erkin Acar
ok henning@
2004-04-20get rid of the -p switch, use fixed values for server and client ports,Can Erkin Acar
rename port variables for clarity. ok henning@
2004-04-20more shrinking; ok henningTheo de Raadt
2004-04-12initial cut at split out dhcrelay, whacked from usr.sbin/dhcp/ and sbin/dhclientHenning Brauer