summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
AgeCommit message (Expand)Author
2011-11-28deprecate PFTM_UNTIL_PACKET. nothing in the tree uses it, andDavid Gwynne
2011-11-26Apply route-to to deferred packet; without this the first packet of aRyan Thomas McBride
2011-11-25use time_uptime to set state creation values as time_second can beDavid Gwynne
2011-10-21add forgotten fixup for icmp6 id's when translating; ok henningMike Belopuhov
2011-10-13Since the IPv6 madness is not enough introduce NAT64 -- which is actuallyClaudio Jeker
2011-10-07remove inaccurate comment - we don't have state tableS any more, there isHenning Brauer
2011-09-28As requested by henning, move the mbuf pointer into struct pf_pdesc.Alexander Bluhm
2011-09-22As I have touched half of pf lines anyway, fix whitespaces now.Alexander Bluhm
2011-09-21Check the protocol header length for tcp, udp, icmp, icmp6 inAlexander Bluhm
2011-09-20pf_setup_pdesc() panics if address family is neither AF_INET norAlexander Bluhm
2011-09-20Put kif and dir into pdesc an use this instead of passing the valuesAlexander Bluhm
2011-09-19Consolidate pf function parameters. Move off and hdrlen into pdescAlexander Bluhm
2011-09-18Move the pdesc initialization code into pf_setup_pdesc(). UnifyAlexander Bluhm
2011-09-18Move the call to pf_test_rule() for fragments that have not beenAlexander Bluhm
2011-09-17The pd->ip_sum and pd->proto_sum fields are not needed. ReplaceAlexander Bluhm
2011-09-17move initialisation of pd->nsaddr and pd->ndaddr from pf_test_rule toHenning Brauer
2011-09-17Deduplicate IPv4 and IPv6 code that handles fragments that have notAlexander Bluhm
2011-08-30Add support for one shot rules that remove themselves from an activeMike Belopuhov
2011-08-03Remove redundant prototype for pf_socket_lookup().Marco Pfatschbacher
2011-07-27Add support for weighted round-robin in load balancing pools and tables.Ryan Thomas McBride
2011-07-24OS fingerprinting can only be done on rules that explicitly specify TCPRyan Thomas McBride
2011-07-23Replace the IPv6 header walking loop in pf_test_state_icmp() withAlexander Bluhm
2011-07-22Sync 'block return' behaviour for ICMP packets with our IP stack:Ryan Thomas McBride
2011-07-22fix typos, martin pelikanHenning Brauer
2011-07-09If ipv4+icmp6 or ipv6+icmp packets were embedded into an icmpAlexander Bluhm
2011-07-08surprisingly, we use pf as classifier for the new priority queueingHenning Brauer
2011-07-07There were two loops in pf_setup_pdesc() and pf_normalize_ip6()Alexander Bluhm
2011-07-07Fold pf_test_fragment() into pf_test_rule(), reduce code and fixesRyan Thomas McBride
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