summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcrelay6 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use pw->pw_dir when chroot'ing, not _PATH_VAREMPTY.krw2019-08-061-2/+2
| | | | | | | Brings various dhcp related daemons into line with the common idiom. ok florian@
* explicitly use BPF_FILDROP_CAPTURE when configuring BIOCSFILDROPdlg2019-03-181-2/+2
| | | | | | | BIOCSFILDROP used to just be a flag, ie, any non-zero value was treated the same, but i'm changing it so different values do different things. this way the programs should keep working even if i decide to change the values for these macros.
* Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beennatano2017-04-191-2/+2
| | | | | | around for two releases, it should be safe to do so. ok bluhm deraadt sthen tb yasuoka
* Remove -Werror to make dhcrelay6 on gcc3 architecture successfully.aoyama2017-04-161-2/+2
| | | | ok reyk
* From a syslog perspective it does not make sense to log fatal andbluhm2017-03-211-6/+6
| | | | | | | warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. I have missed dhcrelay6 and slaacd in my previous conversion as they were added recently.
* various tweaks; ok rzalamenajmc2017-03-172-31/+25
|
* Import the DHCPv6 relay implementation.rzalamena2017-03-1710-0/+2949
This code was based on the dhcrelay(8) daemon and shares a lot of the structures and functions. This daemon implements the following RFCs: * RFC 3315 Section 20: Relay Agent Behavior * RFC 4649: Relay Agent Remote-ID option * RFC 6221: Lightweight DHCPv6 Relay Agent