Age | Commit message (Collapse) | Author |
|
the standard OpenBSD-style parse.y handle continuing lines with backslashes,
paying particular attention to how comments are handled (which can cause
nasty side-effects if you're not expecting it).
Most wording from jmc@, with suggestions from fgsch@, marc@, Richard Toohey,
patrick keshishian and Florian Obser, ok jmc@.
|
|
|
|
And files can be smaller (e.g. 512 bytes like /usr/mdec/mbr) than
a disk sector (e.g. 4096 bytes on pirofti's external disk drive).
So relax the length test on the read() result to < DEV_BSIZE (the
amount of data we actually want) instead of < secsize (the minimum
size that read() will accept).
'fdisk -e' and 'fdisk -i' now work on devices with sector sizes
greater than DEV_BSIZE.
|
|
it skips leading zeroes if there are any. To accommodate the
difference with the protocol we need to prepend those zeroes
ourselves.
Fixes PR 6601, tested by Pawel Wieleba, sthen, otto.
Huge thanks to Pawel for spending nearly a week testing diffs.
ok sthen
|
|
|
|
ok sthen
|
|
found in my tree, obviously forgotten to commit at some point...
|
|
ok dcoppa@ otto@
also reviewed by Vadim Zhukov
|
|
'N' command line options.
ok matthew@
|
|
info from the physical disk after 'disklabel -e' writes the label
to disk. Saves having to reboot or do other contortions to initialize
these fields. Toss in same treatment for total sectors so all fields
forcibly set by kernel have current values.
0'ing of the bounds noted by matthew@.
'lovely' deraadt@
|
|
|
|
already checks that families of source and destination addresses match
and that's all we need.
This allows "ifconfig foo tunnel 1::1 2::2" syntax rather than requiring
"ifconfig foo inet6 tunnel 1::1 2::2", which in turn allows hostname.if
files to create an IPv4-in-IPv6 tunnel without games with shell escapes.
ok dcoppa@, seems ok todd@, "Yes, yes and yes" claudio@
|
|
|
|
Useful for mount_mfs, now you can just say:
# mount_mfs -s 50m swap /tmp
And it will do what you want, taking into account sector size.
Old behaviour of -s (specifying count of sectors) is, of course,
preserved.
All the work was done by Vadim Zhukov (persgray(at)gmail com).
OK myself, otto@, thib@
|
|
|
|
bit too small. ok krw@
|
|
|
|
sysctl net.inet.tcp.baddynamic=1-32768
sysctl net.inet.udp.baddynamic=+40000-65535
ok mk@
|
|
partitions); ok krw@
|
|
|
|
|
|
in auto-allocated labels. ok krw@ sthen@
|
|
|
|
always starting DHCP packet options with DHO_DHCP_MESSAGE_TYPE. Now
DHCP-specific options always come after the option identifying the
packet as DHCP rather than BOOTP. Makes at least Nortel NetIP DHCP
server happier. Clean up some code and parameter passing.
Closes PR#6543, as confirmed by original submitter and patch
tester Len Zaifman. Thanks!
ok matthew@ (who hates the ISC-like code)
|
|
- Explain single user mode once, not three times.
- Do not claim that the boot program talked to init; it cannot do so.
- Mention that the OpenBSD kernel does not support init -f.
- And some minor rewordings and reorderings.
Feedback and ok jmc@.
|
|
|
|
proc.c. this is the first sync to what i did for relayd but does not include
the multi-instance handling - so no functional change.
|
|
|
|
ok sthen henning
|
|
|
|
|
|
This removes iked-specific stuff from proc.c.
|
|
|
|
grok DUIDs
now commands such as:
# atactl b9b455bd99e393cd
work as expected (while everything else that used to work still does).
ok sthen@
|
|
ok krw@ otto@
|
|
tree that is used to figure out whether the policy is active or
not. makes active sa lookup via policy work for nat traversal.
problem was reported and fix was tested by sthen, ok sthen, reyk
|
|
-E rather than -e as it's more likely;
ok krw
|
|
|
|
|
|
previously they operated on the default route. reported by weerd@, ok claudio@
|
|
objection form the usual suspects
|
|
has changed to conform with modern groff releases.
diff for route6d(8) written mostly by schwarze@, with lots of useful
advice from jmc@.
ok jmc@, schwarze@
|
|
ok sthen@ markus@
|
|
ok robert@ jmc@
|
|
in disklabel(8)
pointed out by jmc@
|
|
ok krw@ and looks correct to jmc@
|
|
In effect, this removes the "old" vndX nodes, and renames
the svndX nodes to vndX.
Old svndX nodes will still continue to work though, for now.
Cleanup accordingly.
ok deraadt@, todd@
comments and ok on the man page bits from jmc@
|
|
picks the peer from the acquire message and allows to match masked
peers in the policies like "peer any" or "peer 10.0.0.0/8" instead of
requiring exactly matching peer specifications.
ok mikeb@
|
|
matching policy and init a new IKE SA. This adds support for "acquire mode"
from static flows.
ok mikeb@
|
|
|