summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
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
2003-07-02convert strncat -> strlcatAnil Madhavapeddy
millert@ ok
2003-07-02missing protosTheo de Raadt
2003-07-02missing protosTheo de Raadt
2003-07-01- add info from disklabel(8) documenting default label; suggested by millert@Jason McIntyre
- .Xr disklabel 8 instead of .Em
2003-06-30Buffer management functions.Cedric Berger
ok dhartmei@
2003-06-29Replace assert(3) calls with warnx(3), if the warning is relevant at all.Daniel Hartmeier
2003-06-29tweak;Jason McIntyre
ok tedu@
2003-06-28No need to include the same header twice.Cedric Berger
Thanks to Max Laier.
2003-06-28new sysctl, ddb.logTed Unangst
2003-06-27Reorg part I: move 3 functions out of pf_table.c to pf_radix.cCedric Berger
ok dhartmei@
2003-06-27add an example for taggingHenning Brauer
help and ok jmc@
2003-06-26ansi and protosTheo de Raadt
2003-06-26use err.hMichael Shalayeff
2003-06-26const the rcsid, and make it say OpenBSDTed Unangst
2003-06-26bring protypes into scope. this requires some quirky handling, but inTheo de Raadt
the end everything is much clearer; ok tedu (itojun might like to see how ifconfig looks after this)
2003-06-26rename -h files to -h avgfpdir in synopsis to match realityTed Unangst
2003-06-25proto repairsTheo de Raadt
2003-06-25ansiTheo de Raadt
2003-06-25remove junk protosTheo de Raadt
2003-06-25allow bridge filter rules to specify a tag.Henning Brauer
if a packet matches such a rule it is tagged accordingly and pf can filter based on that tag. this allows, for example, bridge to be used as classifier for pf, and thus gives all the power of pf based on mac address filters. please note that currently the bridge filters only apply to packets which are not destined for the local host. ok deraadt@ jason@ dhartmei@
2003-06-24clarify that -u only changes the options specified on the command line;Jason McIntyre
from henning on a mailing list somewhere; ok henning@
2003-06-23Enable wicontrol build on sparc.Miod Vallat
2003-06-21add CAVEATS: disklabel only supports 15 partitions, excluding `c';Jason McIntyre
from a thread on misc@; wording, help, and ok nick@
2003-06-21fflush(stdout) in pfctl -vvsq endless output.Daniel Hartmeier
2003-06-21count packets and bidirectionally on state entries, allowing for fine-grainedDamien Miller
traffic reporting w/ pfsync; ok dhartmei@ Note: ABI change (new fields in struct pf_state), requires a rebuild of pfctl and tcpdump.
2003-06-20some cleanings recommended by lint; dhartmei okTheo de Raadt
2003-06-20Be a bit more verbose when we give up on ever seeing a response to theHakan Olsson
last message we sent out. In case we initiated the exchange, one possible and common reason is a network level problem (pf, routing, whatnot), if we're the responder, there is also the possibility we were scanned by something like ike-scan. markus@ ok.
2003-06-20use .Bk/.Ek to keep SYNOPSIS tidy;Jason McIntyre