| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Brings various dhcp related daemons into line with
the common idiom.
ok florian@
|
|
|
|
| |
From Raf Czlonka, ok sthen@
|
|
|
|
| |
Pointed out by Kapetanakis Giannis
|
|
|
|
| |
OK rzalamena@
|
|
|
|
| |
ok reyk@
|
|
|
|
|
|
| |
receive IPv6 support.
ok reyk@
|
|
|
|
| |
ok gsoares@, jca@
|
|
|
|
| |
log_warn(). Zap a couple of explicit 'syslog()' calls.
|
| |
|
|
|
|
| |
ok benno@
|
|
|
|
|
|
|
| |
on the incoming packets.
Man page tweaks from jmc@
ok reyk@
|
|
|
|
| |
ok reyk@
|
|
|
|
|
|
| |
using the default values: use the right address for remote-id.
ok reyk@
|
|
|
|
|
|
| |
gateway set. This happens mostly because we are watching a BPF socket.
Suggested by and ok 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@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
drop requests that have already been relayed. To allow usage in the
middle of a chain, remove this check and only set giaddr if it has not
been set yet. This giaddr will be used by the DHCP server to identify
which subnet the client is connected to.
RFC 1542 specifies that we should increase the hop counter every time
we relay a request. If we receive a request whose hop counter exceeds
the value of 16 we must silently drop it.
ok jca@
|
|
|
|
|
|
|
|
| |
we SHOULD forward the packet not only as L3 broadcast, but also as
L2 broadcast. Apparently that helps on older machines that can't
handle L2 unicast replies.
ok jca@
|
|
|
|
| |
OK rzalamena@
|
|
|
|
|
|
| |
prototype to be more useful.
ok reyk@
|
|
|
|
| |
fd == -1 check suggested by deraadt@, ok florian@
|
|
|
|
|
|
|
|
|
|
|
|
| |
rdaemon() works like daemon(3) but requires its caller to pre-open
/dev/null. This makes it possible to go in the background after
a chroot(2), allowing for more error checking. The pattern is basically
- open /dev/null
- chroot
- privdrop
- rdaemon
"design" initialy discussed with semarie@ a while ago, ok dlg@
|
|
|
|
| |
ok krw@
|
|
|
|
|
|
| |
timegm, and tzset
ok deraadt@
|
|
|
|
|
|
|
| |
each *.c file.
Inspired by mention of header silliness by Edgar Pettijohn and mmcc@
on tech@.
|
|
|
|
| |
ok deraadt
|
|
|
|
|
|
|
|
|
|
|
|
| |
gateway address. This is a problem if your DHCP relay is running
on something that's not your network gateway.
It is purely informational from the relay to the client so we can
safely clear it.
stupid vmware.
ok krw@ beck@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
and make it possible to bind sockets (including listening sockets!)
to rtables and not just rdomains. This changes the name of the
system calls, socket option, and ioctl. After building with this
you should remove the files /usr/share/man/cat2/[gs]etrdomain.0.
Since this removes the existing [gs]etrdomain() system calls, the
libc major is bumped.
Written by claudio@, criticized^Wcritiqued by me
|
|
|
|
|
|
| |
relaying the packets to the server. If you need to use cross-domain forwarding
us pf to bounce the packets back and forth.
sure deraadt@
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
| |
|
|
|
|
|
|
| |
BOOTP_MIN_LEN' and display discarding message.
ok henning@ claudio@
|
|
|
|
| |
previously been done to dhclient and dhcpd
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ok henning@ claudio@
|
|
|
|
|
|
| |
can't be used to forward the packets. Bpf would relay the packets to wrong
interface. Reports and tests by Hans Kremers and Colin Harford
OK henning@
|
|
|
|
| |
ok deraadt
|
| |
|
| |
|
| |
|
|
|
|
|
| |
rename port variables for clarity.
ok henning@
|
| |
|