summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcrelay
AgeCommit message (Expand)Author
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
2021-12-13including sys/cdefs.h manually started as a result of netbsd trying toTheo de Raadt
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-01-17Put the clearing of possible embedded scope in an __KAME__ block.Claudio Jeker
2019-08-06Use pw->pw_dir when chroot'ing, not _PATH_VAREMPTY.Kenneth R Westerback
2018-03-16Consistently spell "IPsec" in comments and debug outputs.Martin Pieuchot
2017-07-07Handle carp(4) as HTYPE_ETHER.Reyk Floeter
2017-07-05Don't stop logging to stderr when running in foreground with -d.Reyk Floeter
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