summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
AgeCommit message (Expand)Author
2008-06-12fix synproxy.Henning Brauer
2008-06-11when we establish the mapping from a state key, do it both ways, akaHenning Brauer
2008-06-11factor out state creation code for readability; make it static inlineHenning Brauer
2008-06-11superfluous to check for m != NULL in pf_find_state, it is plainHenning Brauer
2008-06-11after finding a state in the outbound path clear the statekey pointerHenning Brauer
2008-06-11extra paranoia:Henning Brauer
2008-06-11yuck, fix a last minute collisionHenning Brauer
2008-06-11store a pointer to the stack side state key in the mbuf packetHenning Brauer
2008-06-10Handle the closing of half connections where we don't see the fullReyk Floeter
2008-06-10Simplify code slightly; use PR_ZERO with pool_get() rather than bzero().Ryan Thomas McBride
2008-06-10Handle a special sloppy case where we only see one half of theReyk Floeter
2008-06-10remove a debug check& printf that should not have gone in in the firstHenning Brauer
2008-06-10save somespace in the state by collapsing two 8 bit ints used as booleansHenning Brauer
2008-06-10in pf_test_state_icmp when trying tomatch icmp errors to tcp sessionsHenning Brauer
2008-06-10implement a sloppy tcpstate tracker which does not look at sequenceHenning Brauer
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
2008-06-08factor out the tcp sequence number tracking from pf_test_state_tcpHenning Brauer
2008-06-08null pointer check before derefHenning Brauer
2008-06-02Fix synproxy breakage introduced with the state table reorganization.Ryan Thomas McBride
2008-05-30trivial KNF before we go furtherHenning Brauer
2008-05-29Second half of PF state table rearrangement.Ryan Thomas McBride
2008-05-29rewrite the state table logic.Henning Brauer
2008-05-18KNFRyan Thomas McBride
2008-05-15divert for ipv6; ok henning, pyrMarkus Friedl
2008-05-09divert packets to local socket without modifying the ip header;Markus Friedl
2008-05-07scrub packets based on tags; ok henningMarkus Friedl
2008-05-07backout last change, it's already there....Markus Friedl
2008-05-06Kill state if we get SYN for a state that has been closed from both sides.Markus Friedl
2008-05-06Add a counter to record how many states have been created by a rule.Marco Pfatschbacher
2008-05-05remove a useless refcnt in pf_state_key.Henning Brauer
2008-02-20make return-rst work correctly in the IPv6 case again.Henning Brauer
2008-02-16switch to RFC 1948 style ISN, too; ok mcbride, dhartmei, henningMarkus Friedl
2007-11-22pf_src_tree_remove_state() is called upon pf_insert_state() failures.Henning Brauer
2007-11-18backout 1.562 since it triggers the problem described in pr 5648Theo de Raadt
2007-11-16in pf_test_fragment(), ignore protocol-specific criteria for packets ofDaniel Hartmeier
2007-11-11Don't leak pfstatekey upon insert conflict (most often caused via pfsync).Christopher Pascoe
2007-10-31'block return' must not send anything on blocked icmp packets.Marco Pfatschbacher
2007-10-25Fix probability rules w/ numbers (e.g probability 0.4).Marco Pfatschbacher
2007-09-18allow state reuse for tcp if both sides are in FIN_WAIT_2 and a new SYNMarkus Friedl
2007-09-07Do not recalculate TCP payload length in pf_test_rule() as it hasAlexander Bluhm
2007-08-30mechanic change:Henning Brauer
2007-08-30handle address ranges in skip step calculationDaniel Hartmeier
2007-08-30add support for address ranges ("from 10.1.2.50 - 10.1.3.75") in from/toDaniel Hartmeier
2007-08-28showing this diff is shameful...Henning Brauer
2007-08-23allow RSTs with th_seq == seqlo +- 1, reduces the amount of 'loose state'Daniel Hartmeier
2007-08-21don't access th_flags when it isn't available (only 8 bytes of theDaniel Hartmeier
2007-07-18Don't drop outgoing packets in case of a congested input queue.Marco Pfatschbacher
2007-07-10adjust pf_find_state_all() so that it works correctly for the new globalKurt Miller
2007-07-04No m_copyback for ICMP and "other" protocols on rdr/binat.Marco Pfatschbacher
2007-06-25pretty mechanical change: now that the state tables use seperate stateHenning Brauer