summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
AgeCommit message (Expand)Author
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
2010-09-24hello, this is captain obvious speaking:Henning Brauer
2010-09-24remove misleading XXX comment. it is pretty clear by now thatHenning Brauer
2010-09-24nicer linewraps, purely cosmeticHenning Brauer
2010-09-24kill some unused arguments to pf_create_stateJonathan Gray
2010-09-23Break out rule counter update code into a separate function, makes theRyan Thomas McBride
2010-09-22add a new log opt PF_LOG_MATCHESHenning Brauer
2010-09-22various whitespace fixes that my hands did while i was looking for sthHenning Brauer
2010-09-21assert copyrights / bump yearsHenning Brauer
2010-09-21after ruleset eval is done, we must apply actions from the last matchingHenning Brauer
2010-09-21do not increment states_tot on match rules. it is purely cosmetic, thisHenning Brauer
2010-09-21make "match log" rules log on the fly. thus you can log and see the packetHenning Brauer
2010-09-21remove now obsolete XXX commentHenning Brauer
2010-09-21make pf_translate (void so far) return 1 if it actually changed somethingHenning Brauer
2010-09-21factor our the code to set up pf_pdesc, a central structure in pf carryingHenning Brauer
2010-08-05In pf_icmp_mapping() the ICMP and ICMPv6 types shared the sameAlexander Bluhm
2010-07-02m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsBret Lambert
2010-07-01g/c unused param to pf_translateHenning Brauer
2010-06-27fix a comment and add a new one to make clear what the mbuf ptr save danceHenning Brauer
2010-06-27stuff nsaddr/ndaddr/nsport/ndport (addrs/ports after NAT, used a lot whileHenning Brauer
2010-05-07Start cleaning up the mess called rtalloc*. Kill rtalloc2, make rtalloc1Claudio Jeker
2010-02-04pf_get_sport() picks a random port from the port range specified in aStuart Henderson
2010-01-18Convert pf debug logging to using log()/addlog(), a single standardisedRyan Thomas McBride