summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcrelay/dhcrelay.c
AgeCommit message (Expand)Author
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
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-05Don't stop logging to stderr when running in foreground with -d.Reyk Floeter
2017-04-04constify pc_remote and pc_circuitReyk Floeter
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-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-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-02-07Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2013-03-04typo in commentSebastian Benoit
2013-01-15VMware PXE "ROMs" confuse the DHCP gateway address with the IPDavid Gwynne
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-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-07-09missing new-line character.Igor Sobrado
2008-07-09documentation tweaks.Igor Sobrado
2007-02-09return on ECONNREFUSED so we don't fall through to 'result <Kevin Steves
2006-12-18warn() -> warning() to not overload with libc function; this hasKevin Steves
2006-11-21no "\n" needed here; ok henning@Kevin Steves
2005-11-13pretty up print_hw_addr(), and even fix a teeny buffer overflow; ok ottoTheo de Raadt
2005-05-23-endpwentHenning Brauer
2005-05-02more setres[ug]id; ok deraadt@Damien Miller
2005-01-25Fixed a typo.Esben Norby
2004-10-12Use a udp socket to communicate with the dhcp servers. The bpf interfaceClaudio Jeker
2004-08-15-p and -q are no moreJared Yanovich
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-20get rid of the -p switch, use fixed values for server and client ports,Can Erkin Acar