summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2004-12-23set rule_flag PFRULE_SRCTRACK when setting srctrack, found by camield@Daniel Hartmeier
using regress test pf84
2004-12-22Introduce 'set skip on <ifspec>' to support a list of interfaces where noDaniel Hartmeier
packet filtering should occur (like loopback, for instance). Code from Max Laier, with minor improvements based on feedback from deraadt@. ok mcbride@, henning@
2004-12-22Fix parenthesis mismatch, from Stefan Miltchev. Thanks!Hans-Joerg Hoexer
While around, zap some spaces ok markus@
2004-12-22also pass SIGINT/QUIT to child, from mpech@. ok avsm@Otto Moerbeek
2004-12-22some -Wimplicit-function-declaration cleaning; ok millert@David Krause
2004-12-19use strchr instead of indexTheo de Raadt
2004-12-15missing free()s; with patHenning Brauer
2004-12-14&&/|| inversion would try to merge IP addresses with non-addresses into aMike Frantzen
single table causing a ruleset load error and eventually a double-free. bug report and testing from martin{AT}spamcop net
2004-12-14Reword comment a bit for clarity. hshoexer@ ok.Hakan Olsson
2004-12-14add two warn() calls to make sure a warning message gets printed if one ofMike Frantzen
the table calls fails and the optimizer is gonna bomb out
2004-12-14Allow the Address, Network, or Netmask values of the <IPsec-ID> to beRyan Thomas McBride
specified with an interface name (in which case the first address is used) or the keyword 'default' (in which case the address is selected based on the default route). eg: [roadwarrior-ip] ID-type= IPV4_ADDR Address= default ok ho@ hshoexer@
2004-12-14link0 drops IP multicast, and link1 non-IP multicast. Not the other wayCamiel Dobbelaar
around. ok fgsch@
2004-12-14mention /var/backups;Jason McIntyre
ok otto@
2004-12-13sync authpf anchor syntax;Jason McIntyre
also, spelling while i'm in here; from joel knight;
2004-12-13make sure the isakmpd_s has id_r/s set; ok hshoexer, hoMarkus Friedl
2004-12-11A compare function for heapsort(3) should not just subtract twoOtto Moerbeek
offsets, it does not work if the difference is large. Problem found by Jean-Gerard Pailloncyi who had false warnings of overlapping partitions. ok millert@ tedu@
2004-12-10allow pf to filter on route labelsHenning Brauer
pass in from route dtag keep state queue reallyslow tested by Gabriel Kihlman <gk@stacken.kth.se> and Michael Knudsen <e@molioner.dk> and ryan ok ryan
2004-12-10check msg->isakmp_sa != NULL before the transport gets updated; ok hshoexerMarkus Friedl
2004-12-081. allow up to DPD_RETRANS_MAX retransmitted R_U_THERE messages.Markus Friedl
2. reset dpd_failcount when switching to DPD_TIMER_NORMAL. 3. ignore DPD timeouts on SAs that are marked SA_FLAG_REPLACED. ok hshoexer, ho
2004-12-08NAT/T: replace the isakmpd SA transport with the transport from theMarkus Friedl
message (only during phase 1). this avoids DPD messages to the 'wrong' port. ok hshoexer
2004-12-08Add "'overload' requires 'max-src-conn' or 'max-src-conn-rate'" sanity check,Ryan Thomas McBride
fix some cut-n-paste mayhem in other related checks.
2004-12-07space between macro arg and punctuation;Jason McIntyre
2004-12-07Document 'carpdev'Ryan Thomas McBride
2004-12-07Add the 'carpdev' option, to set the carp devices physical interface.Ryan Thomas McBride
If not specified, the kernel will attempt to select the correct interface by the subnet (this is the current behaviour). ok deraadt@ henning@
2004-12-07KNFRyan Thomas McBride
2004-12-07re-commit mcbride@'s 'flush global', this time without the breakage inDaniel Hartmeier
pfvar.h. builds kernel and userland.
2004-12-07note that -a is the default if no params given;Jason McIntyre
`interface' is now optional;
2004-12-07real backoutTheo de Raadt
2004-12-07oops, incomplete backoutTheo de Raadt
2004-12-07tree does not compile, spotted by dlg (not obvious how to fix)Theo de Raadt
---- Change the default for 'overload <table> flush' to flush only states from the offending source created by the rule. 'flush global' flushes all states originating from the offending source. ABI change, requires kernel and pfctl to be in sync. ok deraadt@ henning@ dhartmei@
2004-12-07Change the default for 'overload <table> flush' to flush only states from theRyan Thomas McBride
offending source created by the rule. 'flush global' flushes all states originating from the offending source. ABI change, requires kernel and pfctl to be in sync. ok deraadt@ henning@ dhartmei@
2004-12-07default to interface printing, instead of help message. any illegal -Theo de Raadt
option goes to usage. initial work by ian, changed by me, ok mcbride
2004-12-06RFC2409 mandates min and max nonce lengths. hshoexer@ ok.Hakan Olsson
2004-12-05extend window of "ignoring route messages on the socket" for 10 secondsTheo de Raadt
instead of 3.
2004-12-05initialize $$->tail and $$->next for MAXSRCCONNRATEDaniel Hartmeier
2004-12-04Userland support for limiting open tcp connections per source. eg:Ryan Thomas McBride
keep state (max-src-conn 1000, max-src-conn-rate 100/10, overflow <bad> flush) allow a maximum of 1000 open connections or 100 new connections in 10 seconds. The addresses of offenders are added to the <bad> table which can be used in the ruleset, and existing states from that host are flushed. ok deraadt@ dhartmei@
2004-12-02Default to A/UX partition type for OpenBSD newly created partitions on mac68k.Miod Vallat
ok drahn@
2004-12-01not all interfaces support mtu setting;Jason McIntyre
ok tdeval@ miod@ nick@
2004-12-01add pppoe stuff to usage();Jason McIntyre
ok jaredy@
2004-12-01- sort optionsJason McIntyre
- tweak pppoe stuff - add pppoe to `create' list ok canacar@ jaredy@
2004-11-29Spell precede correctly.Jonathan Gray
'looks fine' millert@, krw@. ok jmc@
2004-11-28In kernel pppoe client, a simple IPv4 only implementation.Can Erkin Acar
Initial porting from NetBSD by David Berghoff. Modified/simplified to match our sppp implementation. ok deraadt@
2004-11-281 inode per 8192 bytes nowTed Unangst
2004-11-26implement net.key.v2.sadb_dump.{unspec,esp,ah,...} sysctl subtreeMarkus Friedl
and use sysctl for 'ipsecadm show'; ok deraadt
2004-11-25off by one in err()Markus Friedl
2004-11-25Ignore 0.0.0.0 in RTM_NEWADDR messages as these messages are generated byClaudio Jeker
dhclient. This fixes the dhclient exiting problem reported by Steve Shockley. This is a fast fix for the problem acctually the dhclient-script needs to be replaced. OK henning@ deraadt@
2004-11-24replace old net/if_ieee80211.h header with the net80211 ones, userland part.Federico G. Schwindt
millert@ mcbride@ jsg@
2004-11-24typo in previousIan Darwin
2004-11-24kernfs caveats, ok deraadt@Ian Darwin
2004-11-23tweaks;Jason McIntyre
ok damien@