summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcrelay
AgeCommit message (Expand)Author
2016-12-16Add dhcrelay(8) command-line option for replacing Relay Agent InformationRafael Zalamena
2016-12-13Unbreak the dhcrelay(8) support to run on enc(4) interfaces.Rafael Zalamena
2016-12-13Unbreak the insertion of Relay Agent Information on layer 3 mode whenRafael Zalamena
2016-12-13Filter DHCP reply messages that were not meant for us by looking at theRafael Zalamena
2016-12-13simplify previous; ok reykJason McIntyre
2016-12-12Implement support for layer 2 relaying and add further Relay AgentRafael Zalamena
2016-12-08Clean up function prototypes: use a single struct to hold all addressRafael Zalamena
2016-12-08Simplify get_interfaces function, make it return NULL if we didn't findRafael Zalamena
2016-12-07DHCP requests can be relayed through multiple relays. Currently wePatrick Wildt
2016-12-07If the BROADCAST flag is set on a BOOTREPLY, the RFC specifies thatPatrick Wildt
2016-12-07pledge(2) dhcrelay with "stdio route". route is needed for interface ioctls.Reyk Floeter
2016-12-07Rename function discover_interfaces into get_interface and change itsRafael Zalamena
2016-09-26Exit early from rdaemon() is the passed fd is invalid.Jeremie Courreges-Anglas
2016-09-15Go in the background later, using rdaemon().Jeremie Courreges-Anglas
2016-09-04Avoid double negations in tests.Jeremie Courreges-Anglas
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