summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
AgeCommit message (Expand)Author
2009-12-14fix sticky-address - by pretty much re-implementing it. still followingHenning Brauer
2009-12-08move "pf: key search" and "pf: key setup" messages to PF_DEBUG_NOISYStuart Henderson
2009-11-26magical fix for a fault which reliably brings my firewalls down. i thinkDavid Gwynne
2009-11-23with the old code we initialized the state keys early in some casesHenning Brauer
2009-11-23one kinda-missing log |= PFLOG_FORCE in the v6 case, spotted by claudioHenning Brauer
2009-11-23sync the handling of the log flag from pf_test (where it is correct)Henning Brauer
2009-11-23pf_test_fragment: we need to bail out if action == PF_DROP, notHenning Brauer
2009-11-23sync some comments with realityHenning Brauer
2009-11-23remove the nat_rule pointer on pf_state and pf_pdesc, obsolete afterHenning Brauer
2009-11-22cleanup after the NAT changes. we used to have multiple rulesets (scrub,Henning Brauer
2009-11-21knfHenning Brauer
2009-11-05IPv6 support for divert sockets.Michele Marchetto
2009-11-03rtables are stacked on rdomains (it is possible to have multiple routingClaudio Jeker
2009-10-29I missed updating a line for the AF_INET6 route case whenJonathan Gray
2009-10-28Add a dedicated pf pool for route options as suggested by henning,Jonathan Gray
2009-10-06Redo the route lookup in the output (and IPv6 forwarding) path if theClaudio Jeker
2009-10-04Add (again) support for divert sockets. They allow you to:Michele Marchetto
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