summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-07-04Kill diff -h, we don't use or want diffh. Discussed w/ tedu@Todd C. Miller
2003-07-04'static const char rcsid[]' to make it -Wall cleanAnil Madhavapeddy
2003-07-04- use sizeof(var) instead of hardcoding length in functions that need itAnil Madhavapeddy
- krw@ rewrote make_preserve_name() to get rid of some hard to read string code - some trivial strn{cpy,cat} - > strl{cpy,cat} conversions ok krw@
2003-07-04knf typoMarkus Friedl
2003-07-04no need for an BKTR_DEBUG alwaysMichael Shalayeff
2003-07-04test nat passHenning Brauer
2003-07-04KNF after cedric (grmpf)Henning Brauer
2003-07-04KNFHenning Brauer
2003-07-04cosmetic changes to keep the different code paths in sync; ok henningMarkus Friedl
2003-07-04nat passHenning Brauer
ok jmc@
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-04-add a "natpass" field to pf_ruleHenning Brauer
-if natpass is nonzero on nat/rdr/binat rules, do not evaluate the filter ruleset, but set the rulepointer to the default rule (which is a pass rule) in cooperation with daniel. ok dhartmei@ cedric@ markus@
2003-07-04bad redundant copy; ok danielMarkus Friedl
2003-07-04off byone; netbsd pr 22012Markus Friedl
2003-07-04Some cosmetic fixes:Todd C. Miller
o get rid of now-unused tempfile variable o move inifdef into diffreg.c (only used there) o correct a comment o use _PATH_DIFF, _PATH_DIFFH and _PATH_PR instead of variables set to them o get rid of hack to look for pr and diff in /bin
2003-07-04no more thailand. joel knight via nick@Ted Unangst
2003-07-03Fix setting of umaskset. Also, there is no need to use TMP3 forTodd C. Miller
umask detection.
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-03ansifyJason Wright
2003-07-03ansifyJason Wright
2003-07-03clean up strn{cpy,cat}->strl{cpy,cat}Anil Madhavapeddy
ok tdeval@, krw@
2003-07-03Use numeric comparison operators when testing numeric values.Kenneth R Westerback
2003-07-03some more regress tests for __bounded__Anil Madhavapeddy
2003-07-03Clarify and shrink.Kenneth R Westerback
In addel(), use $* and isin to avoid a duplicated traversal of the argument list. In bsort() remove code designed to prevent a trailing space in sorted list. With the elimination of cutlast() and cutword() this is not longer necessary. The usual [] -> [[]], etc. in areas being revised.
2003-07-03unused global. dhartmei okJun-ichiro itojun Hagino
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-03enable tests for dynamic fwd via socks (-D), uses nc(1)Markus Friedl
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-03add socks5; speedup; reformat; based on patch from dtucker@zip.com.auMarkus Friedl
2003-07-03fix AddressFamily option in config file, from brent@graveland.net; ok markus@Damien Miller
2003-07-03Fix a _C_LABEL() typo.Dale Rahn
2003-07-03We have a real setreuid(2) in OpenBSD >= 3.3Todd C. Miller
2003-07-03protosTheo de Raadt
2003-07-03strncpy->strlcpyAnil Madhavapeddy
krw@ ok
2003-07-03protosTheo de Raadt
2003-07-03syncTed Unangst
2003-07-03add mmap2 (mmap64, take your pick) and clean up some. use MAP_TRYFIXEDTed Unangst
since that's the way linux works. no regressions by various ports testers, eyeballed by a few others.
2003-07-02no default -Werror on theseTheo de Raadt
2003-07-02convert strncat -> strlcatAnil Madhavapeddy
millert@ ok
2003-07-02[kick] fix merge error.Dale Rahn
2003-07-02Use defines for the interrupt type, not magic numbers.Dale Rahn
2003-07-02Add a stub where code could be added to make use of the new key on recentDale Rahn
laptop keyboards (mirror display on F7). Documents the key, no functionality.
2003-07-02If the fpu or vector registers are not currently associated with anyDale Rahn
process, the fpuproc or vecproc are set to NULL, prevent these functions from potentially attempting to access thru a NULL pointer.
2003-07-02missing protosTheo de Raadt
2003-07-02fix tslot issues (need level-triggered interrupts); from miodTodd T. Fries
2003-07-02Reduce the amount of asm code in powerpc/macppc by replacing it withDale Rahn
inlined functions, helps improve readability and fix a couple of bugs. ok miod@
2003-07-02make ppc_intr_(enable|disable)() inlined functions.Dale Rahn
2003-07-02missing protosTheo de Raadt
2003-07-02missing protosTheo de Raadt