summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcrelay
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@
2008-07-09missing new-line character.Igor Sobrado
2008-07-09documentation tweaks.Igor Sobrado
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-02spaces and comment to sync to dhclient dhcp.h; no binary changeKevin Steves
2007-02-09return on ECONNREFUSED so we don't fall through to 'result <Kevin Steves
BOOTP_MIN_LEN' and display discarding message. ok henning@ claudio@
2007-02-07sync dhcp.h to krw's correction to not count 14 bytes of ethernetKevin Steves
overhead. ok krw@
2007-01-11remove unused #define DHCP_MIN_LENKevin Steves
2007-01-04<sys/un.h> not neededKevin Steves
2006-12-18warn() -> warning() to not overload with libc function; this hasKevin Steves
previously been done to dhclient and dhcpd
2006-11-29remove incorrect commentKevin Steves
2006-11-21remove unused #defines, no binary change; ok henning@Kevin Steves
2006-11-21no "\n" needed here; ok henning@Kevin Steves
2006-11-21remove duplicate #include <unistd.h> (same change as dhclient)Kevin Steves
2005-11-13pretty up print_hw_addr(), and even fix a teeny buffer overflow; ok ottoTheo de Raadt
2005-09-30deploy .An -nosplit; ok jmcJared Yanovich
2005-05-23-endpwentHenning Brauer
2005-05-02more setres[ug]id; ok deraadt@Damien Miller
2005-04-19handle snprintf() returning -1. ok henning@Moritz Jodeit
2005-04-11use STDERR_FILENO; ok cloderTheo de Raadt
2005-01-25Fixed a typo.Esben Norby
ok henning@ claudio@
2004-10-12Use a udp socket to communicate with the dhcp servers. The bpf interfaceClaudio Jeker
can't be used to forward the packets. Bpf would relay the packets to wrong interface. Reports and tests by Hans Kremers and Colin Harford OK henning@
2004-09-21spelling fixes; ok jmc@ henning@David Krause
2004-08-16sync synopsis with usageJared Yanovich
found by jmc
2004-08-15-p and -q are no moreJared Yanovich
ok deraadt
2004-06-22handle interface removals in the poll loop. ok henning@Can Erkin Acar
2004-05-12tzsetHenning Brauer
2004-05-04remove unused stuff; henning okTheo de Raadt
2004-04-21fix _dhcp use nonexistant error message here tooHenning Brauer
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-20tree.h is not used at allTheo de Raadt
2004-04-15use the shiny new _PATH_VAREMPTYHenning Brauer
2004-04-13$OpenBSD$Henning Brauer
2004-04-13use standard options list, and slightly rearrange the page;Jason McIntyre
ok henning@
2004-04-13remove the quiet option, we're being quiet by defaultHenning Brauer
2004-04-13chroot to /var/empty and drop privileges, theo okHenning Brauer
2004-04-13closer to realityHenning Brauer
2004-04-12relaying back bootp answers should work againHenning Brauer
2004-04-12remove those overly helpfull comments like explaining that time(3) gets theHenning Brauer
current time
2004-04-12KNFHenning Brauer
2004-04-12one big sweep of KNF, ansi and suchHenning Brauer
2004-04-12se daemon(3)Henning Brauer
2004-04-12spacingTheo de Raadt
2004-04-12the rocket science department suggests: getoptHenning Brauer
2004-04-12kill pidfile gunkHenning Brauer
2004-04-12less pathetic usage()Henning Brauer