Age | Commit message (Collapse) | Author |
|
octets should be changed by corresponding to the prefix length. And 0
should be allowed for the prefix length. Also fix white spaces.
Based on diff from Yuuichi Someya.
ok krw
|
|
ok beck
|
|
reported by Mikolaj Kucharski, thanks!
ok krw
|
|
ok krw
|
|
ok krw
|
|
rather than 0000 and 0664 respectively.
ok kettenis@ tedu@
|
|
|
|
(classless-ms-static-routes). dhcpd can now specify and serve
these options and dhclient can recognize and use supersede, etc.
statements on them.
Based on a diff from Stefan Rinke. Thanks!
|
|
|
|
|
|
idea ok deraadt@ matthew@
|
|
ETHER_HDR_LEN from if_ether.h. dhclient change ok matthew@ as part
of larger diff.
|
|
ok krw
|
|
statements, allowing subsequent comparisions with interface
addresses to always work properly.
Problem noted, fix tested & ok dlg@
|
|
found while working on mandoc apropos
|
|
asking for confusion. Replace bcopy()'s with memcpy()'s.
|
|
and gcc happier. Found while looking at something else for dlg@.
|
|
|
|
|
|
|
|
removing traces of dhcp(8)... i'm about to remove that file, since
it's essentially useless. holding off for a little, in case my commit
is greeted with howls.
help/ok krw
|
|
help/ok krw
|
|
Problem noted, fix tested and ok sthen@.
|
|
update 'cur_time' after poll(2) returns.
ok otto
|
|
twice. Simplify logic. Fixes loops while sync'ing for sthen@.
Spotted by & fixed tested by sthen@.
|
|
Spotted by sthen@.
|
|
krw) their address. As dhcpd uses BPF, it's not possible to find this
information out from fstat/netstat. ok krw@
|
|
Use timegm() because all the dates are in UTC and the 'standard'
routines can't handle the truth.
Remove some 'time_t is 32bits' assumptions.
Print 'UTC' at the end of dates in the leases file, rather than
mentioning that all dates are UTC in a comment at the top of the
file.
Feedback and suggestions from guenther@, kettenis@, otto@, tedu@,
deraadt@.
|
|
in other structs have. Reduces potential for confusion with fields
of same name but different types in leases. Use consistent variable
name. No change to executable.
|
|
fputs() and fputc() to see if a failure occurred. Add a couple of
missing checks. Replace putc() with fputc(). Shorter, nicer code.
No functional change.
ok fgsch@
|
|
correct packet length even when paddding is present. Previously the
HMAC calculated by the receiver would not be based on the whole
packet.
Problem noted and essentially identical diffs from Kapetanakis Giannis
via misc@ and then Johan Ymerson via bugs@.
|
|
type to store the returned value. From dhill.
|
|
client-identifier option in OFFER or ACK messages. So stop
doing so.
|
|
server-identifier option that specifies a different dhcp server.
So don't.
Pointed put and fix tested by Andy via bugs@
|
|
via udp broadcast and link-local broadcast. Not udp broadcast to
link address of client. Fixes at least some switches who
use the broadcast flag.
Bug submitted by Andy via bugs@, and fix tested by same. Thanks!
ok beck@
|
|
decode_udp_ip_header() and the useless check of it. Part of original
diff from pelikan about udp length errors.
|
|
rather than DHO_DHCP_AGENT_OPTIONS. Makes these files identical again.
|
|
available. No functional change.
|
|
dhcpd crash when a UDP packet arrives saying it has 0 length.
Spotted by Martin Pelikan, who also noted it was fixed a while ago
in ISC DHCP 3.0b2p17.
Fix tested by Martin. Thanks!
|
|
we don't mention the option numbers for other options.
Noticed by Marcus Merighi vi tech@.
|
|
groupings and sub-ordering them in RFC/numerical order did not make
for a readable man page.
Add a number of missing option descriptions. Started by man page
update from Marcus Merighi via tech@. Thanks!
Further fixes and tweaks by jmc@. ok jmc@.
|
|
references into a STANDARDS section;
|
|
|
|
happens to look like options from being processed as options when
truncated packets received.
Potential problem pointed out by mikeb@, from a couple of NIST
reports (CVE-2011-2748 and CVE-2011-2749).
|
|
calling syslog_r() directly -- this make -d work as expected.
OK reyk@, stsp@, deraadt@
|
|
both getopt calls need the same optstring or the first getopt() call
will end before parsing all arguments.
Problem found and fixed supplied by m_athias
OK millert@, deraadt@
|
|
valid broadcast (e.g. pflog0).
"no objection" krw@, ok claudio@
|
|
ok jmc@
|
|
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
|
|
domain with setrdomain(). This allows to run dhcpd on multiple rdomains.
OK krw@
|