summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2003-07-30change SIOCDIFADDR/SIOCAIFADDR warnings into errors (now this has correctPeter Valchev
return code in certain cases); ok henning itojun
2003-07-29more prettyTed Unangst
2003-07-29If euid == 0 make datasize unlimited instead of cranking to the maxTodd C. Miller
value returned by getrlimit(). Avoid resource limit issues when fscking very large filesystems.
2003-07-29Remove space at end of line.Cedric Berger
Ok dhartmei@ henning@
2003-07-29indentTheo de Raadt
2003-07-29spacesTheo de Raadt
2003-07-29off-by-one in a printf %sAnil Madhavapeddy
markus@ ok a while back
2003-07-28tweak;Jason McIntyre
ok tedu@
2003-07-28growfsTed Unangst
2003-07-28introducing growfs, compliments of freebsd. cleaned up slightly to obey knf.Ted Unangst
requests/oks from many.
2003-07-28rcsid should say openbsd. make 'em const while here.Ted Unangst
2003-07-25add sha2Markus Friedl
2003-07-25add sha2 support; ok ho@Markus Friedl
2003-07-25packet loss count in floating point (double). Wouter ClarieJun-ichiro itojun Hagino
2003-07-24conform to RFC2367 on SADB_xx naming (local name must be prefixed withJun-ichiro itojun Hagino
SADB_X_xx)
2003-07-24hmac-sha2-{256,384,512} support in AH/ESP auth. markus okJun-ichiro itojun Hagino
2003-07-24make packet loss double and print using %.1lf; based on diff from jeffi@rcn.comTheo de Raadt
2003-07-24pull header from hereTheo de Raadt
2003-07-23move junk (bad code, terrible APIs) to the only program that uses it;Theo de Raadt
millert ok
2003-07-21KNFHenning Brauer
2003-07-21ld needs -Z flag since W^X. from marius erikson in pr3360. ok drahn@Ted Unangst
2003-07-19Simplify struct pf_pooladdr to include struct pf_addr_wrap directlyCedric Berger
instead of indirectly trough struct pf_rule_addr. Ryan McBride says: If I'm not mistaken, the code _used_ to use the ports in pf_rule_addr as well. The code was changed to fix some of the bugs with port ranges, but it was too late in the release cycle to make kernel API changes, so the structure was left as is. Needless to say: KERNEL/USERLAND SYNC REQUIRED. ok henning@ mcbride@
2003-07-18Simplify handling of flags (-R, -N...). Remove PFCTL_FLAG_ALL.Cedric Berger
ok dhartmei@
2003-07-16new default frag/block sizes.Ted Unangst
reminded by millert@
2003-07-16remove default limit of 16 cylinders per group. it's now set toTed Unangst
as many as fit with the other parameters given. change default frag size to 2048, bumping block size to 16k. from freebsd. ok deraadt@ and co.
2003-07-15Repair memory managment in table parsing code.Cedric Berger
I need vacations. Found and verified by Pyun YongHyeon. ok dhartmei@
2003-07-15.Ql Fl -> .Sq Fl where literal makes no sense;Jason McIntyre
2003-07-14tpoDaniel Hartmeier
2003-07-11Better parsing and -v support for tables:Cedric Berger
- remove the tableaddrs and tableaddr yacc production and reuse host_list instead. - produce better error messages. - do not load addresses from external file when it is not required (like with -R option). - store initializers in a new node_tinit linked list before putting them into the address buffer (see next point). - add a new print_tabledef() function, which makes "pfctl -nvf" print something useful for table definitions, which in turn makes it possible to write better regress tests (see first chunk of the diff) and bring table definition consistant with other parsed rules. ok dhartmei@
2003-07-10vlan tag is 12-bits, not 16-bitsAnil Madhavapeddy
jason@ ok
2003-07-10Properly determine the capacity for LBA48 drives and also removeAlexander Yurchenko
the check for obsoleted bits in the identify word 0 since some drives put garbage there. Tested by Peter Galbavy <peter.galbavy@knowtion.net> and avsm@.
2003-07-10Fix merging of host lists.Cedric Berger
ok dhartmei@ henning@
2003-07-10add missing includesDavid Krause
ok deraadt@ millert@ tedu@
2003-07-09- remove some .Ss's that worked around the old blank line bugJason McIntyre
- remove some unnecessary .Pp's - mdoc a list ok ho@
2003-07-08- fix some lists/displaysJason McIntyre
- use .Dl for one-liners, rather than .Bd
2003-07-07I never committed the fix for PR 3296, "Dump prints negative numbers for time"Todd C. Miller
Here it is...
2003-07-07Repair last commit, the NUL termination of locname is requiredTodd C. Miller
for the strlcat() to work since the buffer gets used for each entry in a directory.
2003-07-06error out instead of silently truncating command-line arguments if theyAnil Madhavapeddy
are too long tdeval@ ok
2003-07-06protosTheo de Raadt
2003-07-06knf (cedric did not do it right)Theo de Raadt
2003-07-06error out on hostspec overflow with a "hostname too long" instead of silentlyAnil Madhavapeddy
truncating; deraadt@ ok
2003-07-06convert strn{cpy,cat}->strl{cpy,cat} in directory processingAnil Madhavapeddy
comments and from krw@, tdeval@, tedu@
2003-07-04KNF after cedric (grmpf)Henning Brauer
2003-07-04KNFHenning Brauer
2003-07-04allow for a "pass" modifier on translation rules:Henning Brauer
nat pass on $ext_if from $a to $b -> $ext_if when the pass modifier is given, the filter ruleset is _not_ evaluated but the packets matching this translation rule are passed unconditionally. ok dhartmei@ cedric@ markus@
2003-07-03use realpath() in helpers instead of doing it ourselves every time.Ted Unangst
also fixes pr1662. from otto moerbeek
2003-07-03Bye bye atexit(), bye bye globals...Cedric Berger
The pfctl.c part will probably need some further improvements. ok henning@
2003-07-03This patch finally cleanup pfctl_table.c. No more global buffer,Cedric Berger
and a couple of parsing functions moved to parse.y or pfctl_parser where they belong. I also took the opportunity to replace "void" functions with exit(1) or err() inside by "int" functions, with the caller checking the return value for errors (much cleaner and an old request from Theo) ok dhartmei@ henning@
2003-07-03add documentation from mount(8) that "special" device must correspondJason McIntyre
to a partition in the disklabel. suggested by Phil Pennock. ok krw@ millert@
2003-07-03strncpy->strlcpyAnil Madhavapeddy
krw@ ok