summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
AgeCommit message (Expand)Author
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
2017-05-29export_pflow() is no longer grabbing the NET_LOCK(), so no need toMartin Pieuchot
2017-05-28Limit the nested header chain for IPv6 extensions headers and forAlexander Bluhm
2017-05-28Fix bad white spaces, wrap long lines, kill some empty lines.Alexander Bluhm
2017-05-28Pf was handling IPv4 and IPv6 differently regarding AH extensionAlexander Bluhm
2017-05-23Move the common length check in pf_pull_hdr() after the addressAlexander Bluhm
2017-05-20- fixes regression found by pf_forward testAlexandr Nedvedicky
2017-05-19Change PF behavior to allow MLD Listener Report packets to be sentRafael Zalamena
2017-05-16- percpu anchor stacksAlexandr Nedvedicky
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-05-15Enable the NET_LOCK(), take 3.Martin Pieuchot
2017-05-05Put back the call to pf_remove_src_node lost in the netlock backoutMike Belopuhov
2017-05-04Introduce sstosa() for converting sockaddr_storage with a type safeAlexander Bluhm
2017-03-17Revert the NET_LOCK() and bring back pf's contention lock for release.Martin Pieuchot