summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
AgeCommit message (Expand)Author
2011-07-05add missing ifdefs for INET6; diff from form, ok henning, bluhm, claudioMike Belopuhov
2011-07-04Rename the pf_pdesc field rh_cnt to badopts as it is also used forAlexander Bluhm
2011-07-04IPv4 packets with IP options get dropped and no state is created.Alexander Bluhm
2011-07-04Bye bye pf_test6(). Only one pf_test function for both IPv4 and v6.Claudio Jeker
2011-07-03bring in least-states load balancing algorithmJoerg Zinke
2011-07-03In pf_setup_pdesc() the code for analysing TCP and UDP headers wasAlexander Bluhm
2011-07-03garbage collect unused parameter to PFLOG_PACKETHenning Brauer
2011-07-03Refactor the fragment handling in pf_setup_pdesc() so that AF_INETClaudio Jeker
2011-07-01The pf_headers union may also contain a mld_hdr or nd_neighbor_solicitAlexander Bluhm
2011-06-23Set pd->af very early in pf_setup_pdesc() since the AF is used inClaudio Jeker
2011-06-21There is no need to handle fragmented TCP reset packets in a specialAlexander Bluhm
2011-06-20More cleanup in pf_test/pf_test6 this time mostly the fragmentClaudio Jeker
2011-06-14KNF (no change in .o files)Ryan Thomas McBride
2011-06-02When checking to see if a rule is referenced by any source-tracking nodes,Stuart Henderson
2011-05-25Don't do last minute changes to diffs. Revert the argument change toClaudio Jeker
2011-05-24Merge pf_scrub_ip() and pf_scrub_ip6() into a single function. CallClaudio Jeker
2011-05-22Do not pass AF specific information to pf_test_rule() and PFLOG_PACKET()Claudio Jeker
2011-05-13Revert the pf->socket linking diff.Owain Ainsworth
2011-04-24Double link between pf states and sockets. Henning has alreadyAlexander Bluhm
2011-04-23pf_scrub_ip() does not modify the given mbuf pointer. So don'tAlexander Bluhm
2011-04-12put the accepted socket of a diverted connection into the routing domainMike Belopuhov
2011-04-07Correctly initialize local variables in pf_check_proto_cksum(), even forMiod Vallat
2011-04-06Allow PF to filter on the rdomain a packet belongs to. This allows toClaudio Jeker
2011-04-05in pf_check_proto_cksum, consider packets with the CSUM_OUT flags setHenning Brauer
2011-04-05mechanic rename M_{TCP|UDP}V4_CSUM_OUT -> M_{TCP|UDP}_CSUM_OUTHenning Brauer
2011-04-05handle ACK prioritization for v6, ok henning@Stuart Henderson
2011-04-05ditch fastroute, an ipf feature that made its way into pf beforeMike Belopuhov
2011-04-04de-guttenberg our stack a bitHenning Brauer
2011-04-04and stop special casing the bridge for the ip cksum hardware offloadHenning Brauer
2011-04-04there is no point at all in updating the ip checksum. it is alwaysHenning Brauer
2011-03-24Reassemble IPv6 fragments in pf. In the forward case, pf refragmentsAlexander Bluhm
2011-03-07Declare the inline function pf_addr_compare() non-static in pfvar.hAlexander Bluhm
2011-03-05The function pf_tag_packet() never fails. Remove a redundant checkAlexander Bluhm
2011-02-23fixup source address rewriting for the icmp errors with the rdr-to setup.Mike Belopuhov
2011-02-14Add missing byte-order swap to pf_match_addr_range. Without this, rulesStuart Henderson
2011-02-06pf_translate() may be called from pflog_packet(). Make sure thatAlexander Bluhm
2011-02-06pf_test() and pf_test6() drop IPv4-ICMP6 and IPv6-ICMP packets. DoAlexander Bluhm
2011-02-05When a packet with an unusual protocol number got rewritten, theAlexander Bluhm
2011-01-22Pf must not scrub packets which will be dropped anyway.Alexander Bluhm
2011-01-19Give pf_normalize_ip() the same 3 way semantics as pf_test().Alexander Bluhm
2011-01-11Perform IP options check in pf_test_rule(), before creating state.Ryan Thomas McBride
2011-01-10If pf_test() was called recursively, the global variable pf_hdrsAlexander Bluhm
2011-01-10DPFPRINTF already adds the "pf: ", no need to put it in the errorRyan Thomas McBride
2011-01-05Remove mbuf ptr save dance in pf_test6(). It was a leftover withAlexander Bluhm
2010-12-31Address comparisson is implemented twice in pf.c. Put this into aAlexander Bluhm
2010-12-24in pf_src_connlimit, the indices to sk->addr were swapped.Henning Brauer
2010-12-07remove a bunch of unused argumentsJonathan Gray
2010-09-24itojun picked exactly the right reason in that REASON_SET call. really noHenning Brauer
2010-09-24use pd->rdomain for the PF_MISMATCHAW checks in pf_test_fragment instead ofHenning Brauer
2010-09-24no need to pf_tag_packet in the stateless case in pf_test sinceHenning Brauer