| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This code suffered from many years of incremental improvements, fix it to:
- verify available buffer space in all cases and don't just trust the caller
- have an API where you always pass the full buffer length and absolute offset
- use consistent types for lengths and buffer offsets (int vs. size_t, ssize_t)
- don't just ignore errors, return and fail when something is wrong
OK rzalamena@
|
|
|
|
| |
OK rzalamena@
|
|
|
|
| |
ok reyk@
|
|
|
|
|
|
| |
receive IPv6 support.
ok reyk@
|
|
|
|
| |
ok gsoares@, jca@
|
|
|
|
|
|
|
| |
Information (RFC 3046) options. While at there change the naming of the
remote destination parameters: instead of "server" call it "destination".
ok reyk@
|
|
|
|
|
|
|
|
| |
information instead of passing multiple different parameters. This also
prepares the dhcrelay code to receive new features, like: IPv6, layer 2
relaying.
ok jca@
|
|
|
|
|
|
|
| |
the interface and abort dhcrelay with a more friendly message when we
don't have an address configured in the interface.
ok jca@
|
|
|
|
|
|
| |
prototype to be more useful.
ok reyk@
|
|
|
|
|
|
|
| |
each *.c file.
Inspired by mention of header silliness by Edgar Pettijohn and mmcc@
on tech@.
|
|
|
|
|
|
|
|
|
| |
decode_udp_ip_header() and the useless check of it. Part of original
diff from pelikan about udp length errors.
From dhcpd: bpf.c r1.9, dhcpd.h r1.46, packet.c r1.5
ok jca
|
|
|
|
|
|
|
|
|
|
| |
Agent Information Option) and RFC 3456 (DHCP Configuration of IPsec
Tunnel Mode). This allows to configure various IPsec clients
dynamically via DHCP; dhcrelay needs to listen on enc0 and forward
requests to a DHCP server that supports RFC 3046, like I recently did
for dhcpd(8).
ok krw@
|
| |
|
|
|
|
| |
previously been done to dhclient and dhcpd
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
rename port variables for clarity.
ok henning@
|
| |
|
| |
|
| |
|
|
|