summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2003-08-28tweak;Jason McIntyre
ok frantzen@
2003-08-27kill dangling 'else'. fixes modulus in W and M TCP optionsMike Frantzen
2003-08-27typos from deraadt@;Jason McIntyre
2003-08-26catch port/user/group a <>/>< b with a >= b, from mpech@Daniel Hartmeier
2003-08-26mark cloned route with RTF_CLONED. remove RTF_CLONED route when clone parentJun-ichiro itojun Hagino
disappers. deraadt ok
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
way for some future work. no function changes yet. help testing otto@ and markus@
2003-08-25catch return-rst ttl values > 255, from aaron@Daniel Hartmeier
2003-08-24Tweaks:Cedric Berger
- Make sure we allow only tables in round-robin pools for routing options, same as what we do for translation rules. - Don't reject rules like: "nat on sis0 -> <foo>" because "no address family is given". This is perfectly valid. ok henning@
2003-08-24don't print info about duplicate emuls. gives the illusion there is onlyTed Unangst
one linux emul and one freebsd emul. ok deraadt@
2003-08-23document necessity for sysctl to enable compat code. ok deraadt@Ted Unangst
2003-08-22correct printf arg mismatch (in 64bit arch). dhartmei okJun-ichiro itojun Hagino
2003-08-22pf spelling policeDavid Krause
ok dhartmei@ jmc@
2003-08-22move pfctl_file_fingerprints() call, table commands can use -f themselvesDaniel Hartmeier
(like pfctl -t spammers -vvTt -f file, causing EPERM on DIOCOSFPFLUSH).
2003-08-22KNFHenning Brauer
2003-08-21Add Michal Zalewski's p0f v2 style passive OS fingerprinting to PF.Mike Frantzen
Exposes the source IP's operating system to the filter language. Interesting policy decisions are now enforceable: . block proto tcp from any os SCO . block proto tcp from any os Windows to any port smtp . rdr ... from any os "Windows 98" to port WWW -> 127.0.0.1 port 8001
2003-08-21emulation is now controlled by sysctl. changes:Ted Unangst
add e_flags to struct emul. this stores on/off and native flags. check for emul enabled in check_exec(). gather all the emuls into a emulsw so a sysctl can find them. create sysctl. move maxhdrsiz calcualation into init_main so it cleans up sys_execve codepath. teach sysctl utility to grok kern.emul hierarchy. requested and ok deraadt@ some comments from mickey@
2003-08-21More boot_foo Xr are valid now.Miod Vallat
2003-08-20braindeadness police: catch queues which specify itself as child... 'nuff saidHenning Brauer
2003-08-20Zap an old "Identification" tag in this sample config. I have no ideaHakan Olsson
what it was supposed to do and in any case there is no reference to this tag in current code. Pointed out by Fridtjof Busse.
2003-08-20catch invalid CBQ priorities earlier, including a better error messageHenning Brauer
prodded by mpech@
2003-08-20err out nicer on errors in queue defHenning Brauer
2003-08-20certpatch(8) can be used to create FQDN X509v3 extensions too.Hakan Olsson
From Fridtjof Busse, via henning@. Thanks.
2003-08-18catch max-mss values > 65535, report by Gregory SteuckDaniel Hartmeier
2003-08-18typos; ho@Markus Friedl
note that ping is still not working on -current; however, SA/SPD/flow setup works for testing isakmpd/ipsec on a signle machine.
2003-08-16more errx/warnx style \n errors; tom.cosgrove@arches-consulting.comTheo de Raadt
2003-08-11Dynamic select(2) support; deraadt@ OKTodd C. Miller
2003-08-09This patch remove the restriction that tables cannot be used in routing orCedric Berger
redirection rules... The advantage of using tables in redirection/routing rules is not efficiency, in fact it will run slower than straight address pools. However, this brings a lot of flexibility to PF, allowing simple scripts/daemons to add/remove addresses from redirection/routing pools easily. This implementation support all table features, including cidr blocks and negated addresses. So specifying { 10.0.0.0/29 !10.0.0.0 !10.0.0.7 } will correctly round-robin between the six addresses: .1, .2, .3, .4, .5, .6. Tables can also be combined with simple addresses, so the following rule will work as expected: "nat on foo0 -> { 1.1.1.1 <bar> }" ok henning@ mcbride@
2003-08-09new sentence, new line + small cleanup;Jason McIntyre
ok ho@
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-08-08Be more careful when using constant_lookup() in messages. Pointed out byHakan Olsson
Jean-Francois Dive, although I opted for a slightly different patch.
2003-08-08Fine grained selectors for Linux native IPsec. From Jean-Francois Dive.Hakan Olsson
2003-08-07add missing tags and make this compile with debug.Federico G. Schwindt
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-08-06Remove an unused variable and plug a memory leak; Patrick LatifiTodd C. Miller
2003-08-06support ESP with cast/blowfish in KAME plattformsMarkus Friedl
2003-08-06support ESP with cast/blowfish on KAME platformsMarkus Friedl
2003-08-06ufs -> ffs as requested in pr3391. also rework part talking aboutTed Unangst
slices/partitions to have more openbsd flavor. ok jmc@
2003-08-05print info about procfs now that it's there to look atTed Unangst
2003-08-05better wording for the -y option;Jason McIntyre
ok fgsch@ tedu@
2003-08-04Not every suggested patch is perfect :)Daniel Hartmeier
ERRX() has two effects: the message printing and goto _error; which causes exit(1). While we don't want the message if pfctl was invoked with -n, we DO want to abort. Otherwise subsequent 'load anchor' statements will get executed, for instance, and the return value is handy for scripts.
2003-08-04nuke paragraph about snapshots. we don't support them.Federico G. Schwindt
henning millert ok.
2003-08-04don't whine about "cannot load ruleset" when ruleset load wasn't desiredHenning Brauer
(with pfctl -n) Jared Yanovich <phirerunner@comcast.net>
2003-08-04spelling, freebsd pr50979 via khalek on ircTed Unangst
2003-07-31Make table tickets per-ruleset instead of global.Cedric Berger
Make table tickets u_int32_t for consistency with other parts of PF. Ok dhartmei@ henning@
2003-07-31remove the old tree when we find a new ticket.Kenjiro Cho
this fixes printing obsolete (non-existent) queues. ok henning@
2003-07-30Remove my email address from my entry in the AUTHORS sectionTodd C. Miller
2003-07-30NULL -> (char *)NULL in execle; ok millert@Anil Madhavapeddy
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.