summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
AgeCommit message (Expand)Author
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
2008-07-21some whitespace cleanup I did while looking through the codeDavid Krause
2008-07-21fix typo that broke rdr rules (without pass) with non-TCP/UDP/ICMP protocolsDavid Krause
2008-07-14m_copy can return NULL, so check for itHenning Brauer
2008-07-10check pf NAT source port allocation against net.inet.(tcp|udp).baddynamicDamien Miller
2008-07-10In pf_state_insert(), if the first pf_state_key_attach() fails, theDavid Krause
2008-07-05in pf_state_key_attach(), when there is already an existing state key thatDavid Krause
2008-07-04in pf_state_key_attach(), when we find that there already is a state keyHenning Brauer
2008-07-04remove prototype for nonexistant functionHenning Brauer
2008-07-03link pf state keys to tcp pcbs and vice versa.Henning Brauer
2008-07-01Don't return immediately if we're actually passing the traffic, we want toRyan Thomas McBride
2008-07-01PF_DT_SKIP_STATETREE is no longer used.Ryan Thomas McBride
2008-06-29Simplify state creation code; merge state import/export code between pfsyncRyan Thomas McBride
2008-06-26Fix sticky-address on rdr; With the current nat code, we always use the sameRyan Thomas McBride
2008-06-21Only do state key linking on the outbound path.Ryan Thomas McBride
2008-06-16when freeing a state key sk1, look wether it is linked to another state keyHenning Brauer
2008-06-12fix synproxy.Henning Brauer
2008-06-11when we establish the mapping from a state key, do it both ways, akaHenning Brauer