summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
AgeCommit message (Expand)Author
2009-09-16style: in pf_test_state_other, fix indentation, kill excessive newlines,Henning Brauer
2009-09-16fix copy & paste error from almost a year ago (bad ryan)Henning Brauer
2009-09-08I had not enough oks to commit this diff.Michele Marchetto
2009-09-08Add support for divert sockets. They allow you to:Michele Marchetto
2009-09-01the diff theo calls me insanae for:Henning Brauer
2009-07-28do not leak pf_rule_item_pl items in pf_test_rule() whenHenning Brauer
2009-07-28check that pool_get actually gives us memory in pf_test_rule.Henning Brauer
2009-06-26invert direction for inner icmp state lookups (e.g. traceroute with icmp)Markus Friedl
2009-06-22Check that the address family is appropriate before processing ICMPv4 andJoel Sing
2009-06-22Always drop ICMPv6 in IPv4 datagrams, not only when compiled with INET6.Joel Sing
2009-06-22Fix scrub max-mss for IPv6 traffic.Joel Sing
2009-06-08in pf_print_state_parts, do not use skw->proto to print the protocolHenning Brauer
2009-06-08"do not call PF_ANEQ with af=0, dragons". fixes a problem with skipStuart Henderson
2009-06-05Initial support for routing domains. This allows to bind interfaces toClaudio Jeker
2009-05-18The routing table index rtableid has type unsigned int in the routingAlexander Bluhm
2009-04-30treat log as what it is, a flag variable. effectively a noop now but stopsHenning Brauer
2009-04-23print the type of the icmp message we're bitching about when debugging isDavid Gwynne
2009-04-17move the lastr = r assignment behind the anchor rule check so we don'tHenning Brauer
2009-04-15little dose of scrubbing after the monster changes:Henning Brauer
2009-04-15move OK ICMP to NOISY level, makes it easier to run at MISC level; ok henning@David Krause
2009-04-14Correctly handle the case when state might be NULL in pf_test likeAlexander Yurchenko
2009-04-11Avoid dereferencing a null pointer when pf attempts to translate aJoel Sing
2009-04-061) scrub rules are completely gone.Henning Brauer
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
2009-03-14Some ICMP types that also have icmp_id, pointed out by markus@Ryan Thomas McBride
2009-03-09Make the DIOCSETIFFLAG, DIOCSETLIMIT, and DIOCSETTIMEOUT ioctlsRyan Thomas McBride
2009-03-07Make sure pd2 has a pointer to the icmp header in the payload; fixesRyan Thomas McBride
2009-03-05Stricter state checking for ICMP and ICMPv6 packets: include the ICMP typeRyan Thomas McBride
2009-02-27fix quick reuse of tcp states.Henning Brauer
2009-02-16pfsync v5, mostly written at n2k9, but based on work done at n2k8.David Gwynne
2009-01-30sync the part copied from ip_output: always initialize IP checksumChristian Weisgerber
2009-01-30sprinkle splassert(IPL_SOFTNET) around the code that inserts, unlinks, andDavid Gwynne
2009-01-29Split the address selection from pools away from pf.c and put it inPierre-Yves Ritschard
2009-01-27If a packet translation was a NOP, undo separate NAT key andMarco Pfatschbacher
2009-01-16In pf_test_rule(), if we don't create a state, free any state keys thatDavid Krause
2008-11-24Fix splasserts seen in pr 5987 by propagating a flag that discribesMike Belopuhov
2008-11-21Change rn_mpath_next() to be able to walk over the full multipath listClaudio Jeker
2008-10-28Always skip "urpf-failed" test for IPv6 link local addresses.Marco Pfatschbacher
2008-10-23use the correct idiom for NFOO things which come from "foo.h" filesTheo de Raadt
2008-10-02When redirect is used with sticky-address and a matching pass rule usesJoel Sing
2008-09-28Teach PF pf_print_state_parts() about IPv4 in IP and IPv6 in IPJoel Sing
2008-09-17remove dead stores and newly created unused variables.Charles Longeau
2008-09-10re-enable the state key linking. i believe the bugs that hit us shortlyHenning Brauer
2008-09-09welcome pflow(4), a netflow v5 compatible flow export interface.Henning Brauer
2008-09-03before linking state keys compare them to verify they actually are theHenning Brauer
2008-09-02remove dead stores and newly created unused variables.Charles Longeau
2008-08-26introduce a function to be called when addressing information has changed,Henning Brauer
2008-08-22Make pf_print_host() print IPv6 addresses correctly.Alexander Bluhm
2008-08-02do not write the pf state key pointer to the pkhdr.Henning Brauer
2008-07-22after pf_state_key_atach nothing must use the state keys passed to it anyHenning Brauer