summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2002-12-23avoid null deref in calling option_erro(); pt out by hunter@comsys.com.uaMichael Shalayeff
2002-12-23no need to ntohs the portsMichael Shalayeff
2002-12-22spelink; Wouter Clarie in PR 3047Henning Brauer
2002-12-22o check for empty $SHELL and add missing __dead (Andrey Matveev)Todd C. Miller
o call setlogin() if the -U flag was specified and we either are the session leader or are able to become it.
2002-12-22fix cutnpaste; from hunter@comsys.com.uaMichael Shalayeff
2002-12-22KNFHenning Brauer
2002-12-22Instead of inserting and removing rules at the top/bottom of the mainDaniel Hartmeier
ruleset, make authpf manage its rules inside anchors.
2002-12-21typos; torh@bogus.netTheo de Raadt
2002-12-20use bcopy instead of struct assignmentMichael Shalayeff
2002-12-20Don't bother free()ing memory when we are just headed for exit().Todd C. Miller
Fixes a bug whereby freed memory was used in an error case.
2002-12-19redundant memsetHenning Brauer
2002-12-19KNFHenning Brauer
2002-12-18Fix tree breakage; match changes to struct pfctl (now contains an arrayRyan Thomas McBride
of pointers to pfioc_rule). Fix from henning@ ok dhartmei@
2002-12-17Match merge of pf_nat/pf_binat/pf_rdr structs into pf_ruleRyan Thomas McBride
- Move pf_compare* functions here - fix ioctls.
2002-12-16remove a paragraph about rc.wscons, it did not happen from david krauseMichael Shalayeff
2002-12-16s/maxium/maximum/g ; Jesper Louis AndersenTodd C. Miller
2002-12-16Make systat(1), iostat(8) and vmstat(8) automatically update their diskThierry Deval
statistics when a device is added/removed. ok deraadt@
2002-12-15mroe speling; torhHenning Brauer
2002-12-15spellingmania; torhHenning Brauer
2002-12-13ansi & knfTheo de Raadt
2002-12-12until someone complains, let only root playTheo de Raadt
2002-12-12can now get _ttylist via sysctl; millert okTheo de Raadt
2002-12-11fix buffer overflow in the FIX_PRECISION macroHenning Brauer
not exploiteable; would need more programming errors to cause harm from jim@apache
2002-12-11handle snprintf < 0Theo de Raadt
2002-12-11typos in comments; David KrauseHenning Brauer
2002-12-10Add 2 missing pw_abort() calls when pw_mkdb() fails and remove theTodd C. Miller
void cast from pw_abort() since it is already void. From NetBSD via Brian Poole.
2002-12-10-O1 on alpha for nowHenning Brauer
ok theo
2002-12-09Use strlcpy rather than unsafe string functions, especially in unreadable code.Miod Vallat
Spotted by deraadt@
2002-12-09knfTheo de Raadt
2002-12-09KNFTheo de Raadt
2002-12-09KNFTheo de Raadt
2002-12-09From Andrushock, s/sucess/success/gTodd C. Miller
2002-12-08GNU semantics say that if optstring begins with '-' thenTodd C. Miller
each non-option shall be treated as arguments to option '\1'. BSD getopt match '-' in optstring with a '-' on the command line. This is used to support deprecated options like "su -" that would otherwise prevent the use of getopt(). Resolving this simply requires that the leading '-' be moved somewhere else (I moved it to the end of optstring) since position within optstring is not meaningful.
2002-12-08Avoid setting optind to 0; drahn@ OKTodd C. Miller
2002-12-07typo, henning okAnil Madhavapeddy
2002-12-06unkown; torh@bogus.netTheo de Raadt
2002-12-06Introduce anchors and named rule sets, allowing to load additional ruleDaniel Hartmeier
sets with pfctl and evaluate them from the main rule set using a new type of rule (which will support conditional evaluation soon). Makes maintenance of sub-rulesets simpler for pfctl and daemons. Idea and ok deraadt@
2002-12-05typo in error message; Tor HoughtonHenning Brauer
2002-12-04typo; torh@bogus.netTheo de Raadt
2002-12-04catch up to -v -v change in pfctl(8)Theo de Raadt
2002-12-03print the interface related to the arp entry; several ppl ok.Federico G. Schwindt
2002-12-03Compile wsmoused on alpha, as it can be used on vga displays.Miod Vallat
2002-12-01KNFHenning Brauer
2002-12-01Match pf_ioctl.c cleanup; if we're doing a DIOCCHANGE* operation which usesRyan Thomas McBride
old*, we need to call DIOCBEGINADDRS twice: once for the old rule/rdr/nat, and once for the new one. ok dhartmei@ henning@
2002-12-01Grammar nitpicking.margarida
Closes PR 3005. fgsch@ ok
2002-12-01Add ndc(8).margarida
Closes PR 3004. fgsch@ ok
2002-11-30be better about the STT_NOTYPE symbols, not all become N_UNDEF this way; ↵Michael Shalayeff
pefo@ ok
2002-11-30pfsync support; deraadt@ okMichael Shalayeff
2002-11-30stop breaking the damn tree mickeyTheo de Raadt
2002-11-29tcpdump support for pfsync; henning@ okMichael Shalayeff