summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcrelay
AgeCommit message (Expand)Author
2017-04-19Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beenMartin Natano
2017-04-05We can enable many -W compiler warnings now.Reyk Floeter
2017-04-05Rework the packet.c code for decoding and assembling DHCP messages.Reyk Floeter
2017-04-04The unsigned result cannot be -1, turn it into a signed variable.Reyk Floeter
2017-04-04constify pc_remote and pc_circuitReyk Floeter
2017-03-21From a syslog perspective it does not make sense to log fatal andAlexander Bluhm
2017-03-16Move the server struct to header file and make it compatible with IPv6.Rafael Zalamena
2017-03-15Improve the interface and addresses discovery code and prepare toRafael Zalamena
2017-03-14Remove some global variables that are not being used.Rafael Zalamena
2017-02-15Adopt the common verbiage other log.[ch] daemons use to describe '-d'.Kenneth R Westerback
2017-02-13Eliminate pointless'%m' (a.k.a. hand rolled strerror()) by using fatal() andKenneth R Westerback
2017-02-13Adjust some long lines.Kenneth R Westerback
2017-02-13Do the strerror() elimination dance with a log_warnx() -> log_warn().Kenneth R Westerback
2017-02-13Banished to the attic.Kenneth R Westerback
2017-02-13Switch from old errwarn.c logging to shiny new log.[ch].Kenneth R Westerback
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