Age | Commit message (Collapse) | Author |
|
DEV_BSIZE blocks. Counts of possibly other-sized blocks (e.g. disk
sector addresses) are u_int64_t. The values stored in disklabels are
counts of possibly other-sized blocks and hence should be handled with
u_int64_t variables.
Start enforcing this rule. No intended functional change.
Rule strongly suggested by deraadt@
|
|
applying the option directives (ignore, default, supersede) from
dhclient.conf.
This allows the options dhcp-lease-time, dhcp-rebinding-time,
and dhcp-renewal-time to be controlled via dhclient.conf.
Also set BOOTP lease times by faking up these options rather than
crudely jamming in fixed times, allowing them to become configurable
via dhclient.conf.
Imperviousness of the time options pointed out by todd@.
|
|
names in ike_section_p2 applies to phase-1 transforms as well.
|
|
|
|
ok otto@ mpi@ mikeb@
|
|
as the format and no variable args.
Replace "%#0.*X" with "%#.*X": the zero-fill flag is ignored/implied
on numeric conversions when a precision is specified.
ok jung@ millert@ krw@
|
|
should be able to correctly short-circuit packet routing to local
addresses without this. Requested by many over the years, most
recently chrisz@.
Get it in early to see if anything does break.
ok claudio@ henning@
|
|
This is another ABI break but no port rely on them as verified by naddy@.
ok claudio@, mikeb@, henning@
|
|
identical lease when we are in state S_RENEWING. Otherwise we can end
up without an IP address on the interface because dhclient thinks it's
still there and doesn't add it.
Found the hard way during suspend/resume.
OK krw@
|
|
|
|
From: Jan Stary
|
|
From: Jan Stary
|
|
and instead rely on the one provided by the same function just
a few lines below.
ok lteo henning
|
|
ok miod@
|
|
|
|
print out anchor rules recursively; unbreaks pf1.loaded regress test.
ok lteo, henning
|
|
that make use of the cache of addresses populated by the ifa_load on
startup to save the trouble of calling expensive getaddrinfo(3) up to
four times per rule. Performance wise this change provides a speed up
factor of 20 with a 11k line ruleset on a machine with 150 VLANs and 250
IP addresses (20 seconds down to 1 in this case).
"wow!" henning, ok benno, florian
|
|
end to beginning instead of from beginning to end. This matches
the behavior of umountall() and fixes "umount -a" in cases where
there are multiple file systems on the same mount point.
Based on a diff from naddy@. OK naddy@ guenther@
|
|
SYNOPSIS suggests no options are neccessary, in fact a minimum of one
is required;
ok henning
|
|
ok henning
|
|
what happens when a broken pf config is encountered, both generally
and at system startup;
ok henning
|
|
|
|
a "signed vs unsigned in conditional" warning, and eliminate what
looks like an unintentional variable shadowing.
ok bluhm@
|
|
OK deraadt@
|
|
|
|
filesystem, currently ext2fs) by increasing maxtypenum sufficiently.
suggested by Rafael Neves (rafaelneves (at) gmail.com)
|
|
problem noted by Rafael Neves (rafaelneves (at) gmail.com)
ok jca@
|
|
From Jan Stary <hans at stare dot cz>.
ok jmc@
|
|
any phase error.
This prevents ifconfig(8) from priting 'sppp: phase...' messages for
vlan(4) interfaces attached to interfaces with a long name. A better
fix should be cooked because various pseudo-interfaces still use the
same set of ioctl(2)s for different purposes.
Issue reported by jca@, ok claudio@, jca@
|
|
the interface, skip the address deleting/adding and route deleting/adding
and simply update the timestamps.
Suggested by sthen@. Tweaks from millert@. ok sthen@ millert@
|
|
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
|
|
ok millert sthen
|
|
help/ok krw
|
|
Make packet discarding decisions before parsing the packet's possible
options. No intended functional change.
|
|
to only include what is really needed. In particular stop including
a "struct ifnet" and move kernel-only definition into the proper #if
dance.
While here remove the unused spppinfo() from ifconfig.
ok guenther@, sthen@, mikeb@
|
|
option buffer(s) end badly.
|
|
#ifdef DEBUG. They were mostly for, well, debugging.
|
|
|
|
|
|
|
|
|
|
|
|
While here, fix pf table displays to fit within 80 chars.
Manpage input jmc@
ok henning@ reyk@
|
|
passwords. ioctl(SIOCGVH) fills the carpr_key with the old value.
strlcpy() overwrites only the beginning of the key. Add a bzero()
to clear the rest.
Testing Jan Klemkow; OK florian@ mpf@
|
|
man4 still to go...
|
|
header (pointed out by matthew@). Let only pflogd and tcpdump include
pcap-int.h directly since they need it for privilege separation.
"looks good" sthen
feedback/ok deraadt matthew millert
|
|
No doubt quiets one or more of the fringe compilers out there. Use
variable 'part' rather than recalculating same value in the subsequent
printf().
From dhill. ok otto@
|
|
one of the strings twice. Spotted by mpi@, who also tweaked the
diff by pointing out INET_ADDRSTRLEN.
Should fix mysterious messages like "1.2.3.4, not 1.2.3.4, deleted
from ...".
|
|
rather than 1 case with a check to see which messages it was. More
code duplication, easier to read. No functional change.
|
|
Latter from dhill.
|