summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
AgeCommit message (Expand)Author
2019-03-20States in pf(4) let ICMP and ICMP6 packets pass if they have aAlexander Bluhm
2018-12-17Use timeout_add_sec() instead of timeout_add() with a multiplication with hzClaudio Jeker
2018-12-10Remove useless macroskn
2018-11-15in the "pf: key search" debug message, add the direction. interface *and*Henning Brauer
2018-10-16- pf: honor quick on anchor rulesAlexandr Nedvedicky
2018-10-04Honor quick on anchor ruleskn
2018-09-13Add reference counting for inet pcb, this will be needed when weAlexander Bluhm
2018-09-11- moving state look up outside of PF_LOCK()Alexandr Nedvedicky
2018-07-22Fix arguments of pf_purge_expired_{src_nodes,rules}()Stefan Fritsch
2018-07-12trade few 'goto unlock: for 'break' in pf_test()Alexandr Nedvedicky
2018-07-11the STATE_LOOKUP macro made sense ages ago. It stopped making senseHenning Brauer
2018-07-10in pf_set_protostate(), only decrement the half-open states counter whenHenning Brauer
2018-07-10provide a generic packet delay functionality. packets to be delayed are markedHenning Brauer
2018-06-18Refactor the six ways to find TCP options into one new function. As a result:Richard Procter
2018-06-04The function pf_create_state() calls pf_set_protostate() beforeAlexander Bluhm
2018-06-01While sending the pf syncookie, we are holding the pf lock. SoAlexander Bluhm
2018-05-10pf route-to should not send packets from 127.0.0.1 or ::1 addressAlexander Bluhm
2018-04-06All users of the PFLOG_PACKET() macro are inside "#if NPFLOG > 0".Alexander Bluhm
2018-03-06If source and destination addresses are equal, the incoming andAlexander Bluhm
2018-02-27make kernel compile again without INET6Sebastian Benoit
2018-02-18- regression in pflog outputAlexandr Nedvedicky
2018-02-06syncookies for pf.Henning Brauer
2018-02-06some finger muscle workout:Henning Brauer
2018-01-19Use the pf state key linking functions in two more places insteadAlexander Bluhm
2018-01-16If pf route-to is used for locally generated packets, they may haveAlexander Bluhm
2018-01-15When pf(4) forwards incoming packets with route-to or reply-to,Alexander Bluhm
2018-01-10Use pf_send_icmp() consistently in pf_route(). It sets the routingAlexander Bluhm
2017-12-29Make sure that pf_mbuf_link_state_key() does not overwrite anAlexander Bluhm
2017-12-29Make the functions which link the pf state keys to mbufs, inpcbs,Alexander Bluhm
2017-12-28pf drops IPv4 packets with any options by default. For IPv6 theAlexander Bluhm
2017-12-24There was a corner case where linking the inp to the state key didAlexander Bluhm
2017-12-04RFC 4861 requires that all neighbor discovery packets have 255 inAlexander Bluhm
2017-12-01Simplify the reverse PCB lookup logic. The PF_TAG_TRANSLATE_LOCALHOSTAlexander Bluhm
2017-11-28The divert structure was using the port number to indicate thatAlexander Bluhm
2017-11-22It does not make sense to call pcb lookup from pf during packetAlexander Bluhm
2017-11-20Sprinkle some NET_ASSERT_LOCKED(), const and co to prepare runningMartin Pieuchot
2017-11-13add a generic packet rate matching filter. allows things likeHenning Brauer
2017-11-13remove the ability for pf_ouraddr to say that a packet is forwarded.David Gwynne
2017-10-31- add one more softnet taskqAlexandr Nedvedicky
2017-08-14move pf_get_wscale + pf_get_mss prototypes to pfvar.h (diff shrinkage)Henning Brauer
2017-08-14add half-open tcp states accounting, road paved by sashanHenning Brauer
2017-08-13to change a state's state (that term is overloaded in pf, protocol stateHenning Brauer
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-08-06Reduce contention on the NET_LOCK() by moving the logic of the pfpurgeMartin Pieuchot
2017-07-04Revert previous, it exposed two edge cases still requiring theMartin Pieuchot
2017-07-03Drop the KERNEL_LOCK() in pf_purge_thread().Martin Pieuchot
2017-06-21Fix kernel diagnostic assertion "(sk->inp == NULL) || (sk->inp->inp_pf_skAlexander Bluhm
2017-06-05- let's add PF_LOCK()Alexandr Nedvedicky
2017-05-31Block IPv6 packets in pf(4) that have hop-by-hop options header orAlexander Bluhm
2017-05-30teach pf_build_tcp() about SACK, ok & with sashanHenning Brauer