tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.sbin
/
dhcpd
/
at
master
36 files
Makefile
Inspired by recent dhcrelay changes, bring in stricter CFLAGS!
9 years ago
alloc.c
Switch from old errwarn.c logging to shiny new log.[ch].
9 years ago
bootp.c
Adjust some long lines.
9 years ago
bpf.c
explicitly use BPF_FILDROP_CAPTURE when configuring BIOCSFILDROP
7 years ago
conflex.c
Add 'echo-client-id' statment, so that RFC 6842 behaviour can be turned off for those clients and networks that find it impossible to move past RFC 2131. Modelled on the same statement in recent ISC versions, though we default to 'on' (a.k.a. RFC 6842) rather that 'off' (a.k.a. RFC 2131).
9 years ago
confpars.c
Correctly parse "0/0" as the default route when specifying the classless-[ms-]static-routes options in dhcpd.conf.
6 years ago
convert.c
Eliminate #include inside *.h files and include only needed headers in each *.c file.
10 years ago
db.c
Eliminate pointless'%m' (a.k.a. hand rolled strerror()) by using fatal() and log_warn(). Zap a couple of explicit 'syslog()' calls.
9 years ago
dhcp-options.5
man pages: add missing commas between subordinate and main clauses
4 years ago
dhcp.c
Handle DHCPINFORM from clients behind a DHCP relay.
8 years ago
dhcp.h
Switch domain-search parsing from hand rolled hex string to human readable list of strings.
7 years ago
dhcpd.8
improve the Nd lines such that the format is consistent for the various *d, *conf, *ctl files (where relevant) and simple;
3 years ago
dhcpd.c
Use pw->pw_dir when chroot'ing, not _PATH_VAREMPTY.
6 years ago
dhcpd.conf
may the whacking begin
22 years ago
dhcpd.conf.5
man pages: add missing commas between subordinate and main clauses
4 years ago
dhcpd.h
Remove prototypes for functions removed 10+ years ago. Return types should be on their own lines.
5 years ago
dhcpd.leases.5
use file system path (.Pa) semantic markup macros where appropriate.
10 years ago
dhctoken.h
Add 'echo-client-id' statment, so that RFC 6842 behaviour can be turned off for those clients and networks that find it impossible to move past RFC 2131. Modelled on the same statement in recent ISC versions, though we default to 'on' (a.k.a. RFC 6842) rather that 'off' (a.k.a. RFC 2131).
9 years ago
dispatch.c
Start on DOWN interfaces
4 years ago
hash.c
Remove prototypes for functions removed 10+ years ago. Return types should be on their own lines.
5 years ago
icmp.c
Properly initalize the ICMP message to zero to avoid leaking 4-byte of uninitialised memory in the sent icmp echorequest. Reported by Adarsh Dinesh (adarsh.dinesh at gmail com) OK florian@ deraadt@
6 years ago
inet.c
Eliminate #include inside *.h files and include only needed headers in each *.c file.
10 years ago
log.c
From a syslog perspective it does not make sense to log fatal and warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@
9 years ago
log.h
including sys/cdefs.h manually started as a result of netbsd trying to macro-build a replacement for sccsid, and was done without any concern for namespace damage. Unfortunately this practice started infecting other code as others were unaware they didn't need the file. ok millert guenther
4 years ago
memory.c
When it's the possessive of 'it', it's spelled "its", without the apostrophe.
4 years ago
options.c
Adjust some long lines.
9 years ago
packet.c
Tweak parameters to decode_*, add a check or two, and thus gain most of the sanity improvements reyk@ recently put into dhcrelay to ensure no more than the captured packet is processed.
9 years ago
parse.c
dhcpd: fix -Wunused-but-set-variable warning
4 years ago
pfutils.c
usr.sbin: missing void to appease clang 15's -Wstrict-prototype.
3 years ago
print.c
Eliminate #include inside *.h files and include only needed headers in each *.c file.
10 years ago
sync.c
dhcpd: straightforward conversion to HMAC_CTX on the heap, similar to what was done in spamd a while back.
4 years ago
sync.h
Zap stray whitespace.
9 years ago
tables.c
Switch domain-search parsing from hand rolled hex string to human readable list of strings.
7 years ago
tree.c
Switch from old errwarn.c logging to shiny new log.[ch].
9 years ago
tree.h
avoid aliasing with libc functions; ok henning
21 years ago
udpsock.c
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
6 years ago