summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcrelay
AgeCommit message (Expand)Author
2016-08-27Pull in <time.h> for one or more of gmtime, strftime, strptime, time,Philip Guenther
2016-05-28Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...).Martin Natano
2016-02-07Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2016-02-03be very careful accepting packets via bpf. First check that theKenneth R Westerback
2016-02-02Variables to count seen packets should be unsigned.Stuart Henderson
2016-02-02Nuke local #define ETHER_HEADER_SIZE and use the identical value'dStuart Henderson
2016-02-02Remove unused (a.k.a. always passed NULL) parameter 'data' fromStuart Henderson
2016-01-13"Check UDP length for short as well as long values" - apply the fix fromStuart Henderson
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-07-28merge dhcpd's packet.c revision 1.7:Tobias Stoeckmann
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-03-04typo in commentSebastian Benoit
2013-01-15VMware PXE "ROMs" confuse the DHCP gateway address with the IPDavid Gwynne
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
2012-06-22'ingnoring' -> 'ignoring' in a couple of note()'s.Kenneth R Westerback
2011-06-21Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudioMike Belopuhov
2010-10-08use the right capitalization in the Nd strings.Igor Sobrado
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2009-11-03Pick up the rdomain from the specified interface and use that rdomain forClaudio Jeker
2009-09-03Add support for "DHCP-over-IPsec" by implementing RFC 3046 (DHCP RelayReyk Floeter
2008-09-15Sync with dhcpd. Do not use < 0 to check for failed syscalls use == -1Claudio Jeker
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
2007-02-07sync dhcp.h to krw's correction to not count 14 bytes of ethernetKevin Steves
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
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
2004-10-12Use a udp socket to communicate with the dhcp servers. The bpf interfaceClaudio Jeker
2004-09-21spelling fixes; ok jmc@ henning@David Krause
2004-08-16sync synopsis with usageJared Yanovich
2004-08-15-p and -q are no moreJared Yanovich
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