summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2009-04-06print prettier, from sthen@Henning Brauer
2009-04-061) scrub rules are completely gone.Henning Brauer
2) packet reassembly: only one method remains, full reassembly. crop and drop-ovl are gone. . set reassemble yes|no [no-df] if no-df is given fragments (and only fragments!) with the df bit set have it cleared before entering the fragment cache, and thus the reassembled packet doesn't have df set either. it does NOT touch non-fragmented packets. 3) regular rules can have scrub options. . pass scrub(no-df, min-ttl 64, max-mss 1400, set-tos lowdelay) . match scrub(reassemble tcp, random-id) of course all options are optional. the individual options still do what they used to do on scrub rules, but everything is stateful now. 4) match rules "match" is a new action, just like pass and block are, and can be used like they do. opposed to pass or block, they do NOT change the pass/block state of a packet. i. e. . pass . match passes the packet, and . block . match blocks it. Every time (!) a match rule matches, i. e. not only when it is the last matching rule, the following actions are set: -queue assignment. can be overwritten later, the last rule that set a queue wins. note how this is different from the last matching rule wins, if the last matching rule has no queue assignments and the second last matching rule was a match rule with queue assignments, these assignments are taken. -rtable assignments. works the same as queue assignments. -set-tos, min-ttl, max-mss, no-df, random-id, reassemble tcp, all work like the above -logging. every matching rule causes the packet to be logged. this means a single packet can get logged more than once (think multiple log interfaces with different receivers, like pflogd and spamlogd) . almost entirely hacked at n2k9 in basel, could not be committed close to release. this really should have been multiple diffs, but splitting them now is not feasible any more. input from mcbride and dlg, and frantzen about the fragment handling. speedup around 7% for the common case, the more the more scrub rules were in use. manpage not up to date, being worked on.
2009-04-04Translate the size values in the auto-allocate table from blocks toKenneth R Westerback
sectors at runtime instead of constantly converting the sector values in the label to blocks. Adjust names accordingly. No functional change.
2009-04-03Bring comment into line with other docs. -E(dit) is not just forKenneth R Westerback
new labels.
2009-04-01Remove duplicate entry for partition id 0x07 so NTFS partitionsJonathan Gray
will show as NTFS in fdisk output. ok todd@ otto@ deraadt@
2009-04-01the note explaining partition letters is not a caveat, it is integral toJason McIntyre
the way disklabel works; move it into DESCRIPTION ok krw
2009-04-01Don't be picky about character case when checking response.Jonathan Gray
ok deraadt@
2009-03-31When warning about a non-zero partition offset, show DL_GETPOFFSET()Kenneth R Westerback
and not DL_GETPSIZE().
2009-03-31Fixed memory leaks which would occur if the second of two memoryTobias Stoeckmann
allocations fails. looks right deraadt, krw ok henning
2009-03-31Beef up description of 'c' partition in CAVEATS and remove mentions ofKenneth R Westerback
'c' from descriptions of d(elete) and z(ero) commands. Feedback from jmc@ Slightly different version ok jmc@ deraadt@
2009-03-31claudio has spent too much time with the mbuf macros.David Gwynne
switch the rtsocket message filter specification so you can or the macros converting the routing socket message types into the mask used by the filter. ie: - ROUTE_SETFILTER(rtfilter, RTM_NEWADDR); - ROUTE_SETFILTER(rtfilter, RTM_DELADDR); - ROUTE_SETFILTER(rtfilter, RTM_IFINFO); - ROUTE_SETFILTER(rtfilter, RTM_IFANNOUNCE); + rtfilter = ROUTE_FILTER(RTM_NEWADDR) | ROUTE_FILTER(RTM_DELADDR) | + ROUTE_FILTER(RTM_IFINFO) | ROUTE_FILTER(RTM_IFANNOUNCE); there's a manpage change coming. ok claudio@
2009-03-31Tweak comment to remove discussion of now non-existant 2 stageKenneth R Westerback
boot loaders and update list of NUMBOOT>0 archs. ok deraadt@
2009-03-31Remove lies about and tweak descriptions of built-in label editor,Kenneth R Westerback
a.k.a. '-E'. Feedback from otto@ jmc@
2009-03-30Oops. Document new 'U' editor command in '?' output too.Kenneth R Westerback
Prodded by & ok jmc@
2009-03-30Document new 'U' editor command.Kenneth R Westerback
Prodded by & ok jmc@
2009-03-30some improvements inspired by a mail on misc@ from frantisek holop:Jason McIntyre
- clarify the terms geometry sectors field and start field - change the fdisk prompt from 0 to 1, and explain its meaning - temper CAVEATS: the note is "common practice", not mandatory from nick and myself
2009-03-30lint; mostly unused variables, carefully checked against all platformsTheo de Raadt
2009-03-29No more NUMBOOT==2 stuff around, nuke it for sake of clarity.Tobias Weingartner
ok krw@
2009-03-29otto points out that the -v printing changes are incompatible with theTheo de Raadt
expectation that -R will read the output of disklabel. I suspect we will find another way to do this; ok otto
2009-03-28Verbiage tweaks from jmc@ and millert@.Kenneth R Westerback
2009-03-28do not crash when no mountpoints, spotted by otto; ok krwTheo de Raadt
2009-03-28Move some output under the control of the '-v' flag. In particular onlyKenneth R Westerback
display the partition info by default as is done in the E(ditor). The physical info is now only displayed if '-v' is specified. ok deraadt@
2009-03-28Add 'U' command to E(ditor). It reverts label to state it was inKenneth R Westerback
when entering E(ditor) mode. Clean up 'u' code and make more effort to keep label and mountpoint info in sync. Makes 'u' undo-able so those with vi fingers can apply and revert changes (with perhaps a 'p' or two in between) to validate changes. 'U' suggested by deraadt@. ok deraadt@
2009-03-28the CAVEAT about -B is described earlier; ok jmcTheo de Raadt
2009-03-28make -B not even show up in usage on non-NUMBOOT systems; ok jmc krwTheo de Raadt
2009-03-28point out that -B does not exist on some machines, and installboot(8) isTheo de Raadt
used instead, ok krw jmc
2009-03-28As Tobias Ulmer pointed out on tech@, Tahoe behaviour no longer isKenneth R Westerback
of concern so BUGS need not mention it. The other BUGS are also now irrelevant or not bugs at all. So delete entire BUGS section. Also tweak a bit of verbiage. ok deraadt@
2009-03-28for A, use real megs and gigs (power of 2 based); adapt the table toOtto Moerbeek
include /usr/src and /usr/obj plus some tweaks; ok deraadt@ krw@
2009-03-24two more MBR partition namesTodd T. Fries
ok otto@ beck@
2009-03-23tweak the description of -A a little more;Jason McIntyre
feedback/ok krw
2009-03-22tweak previous;Jason McIntyre
2009-03-22let u (undo) work for the A command; ok krwTheo de Raadt
2009-03-22Add 'A' command to Editor mode, and -A flag to automatically execute itKenneth R Westerback
on disks without an existing label. The 'A' command allocates all space on the disk into a reasonable partition scheme for a root disk. Feedback from several, time to work on it in-tree. Prodded (repeatedly) by and ok deraadt@
2009-03-21a paragraph break (.Pp macro) is not required before or after section headers.Igor Sobrado
2009-03-19minor tweaks (sorry grunk!);Jason McIntyre
2009-03-19correct an example in the manpage: after creating a new crypto volume,Alexander von Gernler
it is sufficient to zero the first megabyte of the disk, not the whole disk. ok marco@ mpf@ rainer@ jmc@
2009-03-19pfctl -ss printed state levels for ICMPv6. Disable this the sameAlexander Bluhm
way it has already been done for ICMPv4. ok mcbride@
2009-03-12Define a proper wsdisplay type for raptor(4).Mark Kettenis
ok miod@
2009-03-10Add 6-byte MAC address to the log entries for DHCP ACK/NAK/OFFER.Kenneth R Westerback
Log the packets before checking the client state. Makes it easy to find MACs for 'surprise' DHCP servers. Positive comments from mbalmer@, jasper@.
2009-03-07"Numer of " -> "Number of ". Typo from r1.1.Kenneth R Westerback
2009-02-23back out last commit since it breaks a few regress tests -- this will beTheo de Raadt
looked at post-release -- out of time for these kinds of problems david@ says: pfopt6 and f91.ok; pfopt6 change looks ok, but pf91 is of concern.
2009-02-22split synopsis and the options list according to functionality;Jason McIntyre
diff from Mitja Mu?eni? ok marco
2009-02-19spacingTheo de Raadt
2009-02-19'(ifi->linkstat && ifi && ifi->rfdesc != -1)' is flawed. Swap theKenneth R Westerback
first two terms so ifi is checked first.
2009-02-16fix pfctl -v printing of anchors, from camield@. Closes user/6065Stuart Henderson
2009-02-16Allow username and password to be up to 255 characters in length.Can Erkin Acar
Tested by many, thanks. Put it in" deraadt@
2009-02-16sync the wpa example with those in the driver pages, as pointed outJason McIntyre
by damien;
2009-02-15should fsck the raw device; spotted by frantisek holop and mentioned onTheo de Raadt
the mailing lists two weeks ago, and completely ignored I guess.
2009-02-15Don't display, or save via the editor 's' command, the fsize andKenneth R Westerback
bsize fields for UNUSED partitions. '-R' already skipped processing these fields for such partitions. Eliminates an XXX. ok deraadt, "makes sense" miod@
2009-02-15Give an example of how to use wpa-psk(8) to connect to WPABret Lambert
networks in the wpapsk section of the page. ok deraadt@ henning@