summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
AgeCommit message (Expand)Author
2020-07-24Use interface index instead of pointer to `ifnet' in carp(4).mvs
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-06-17make ph_flowid in mbufs 16bits by storing whether it's set in csum_flags.David Gwynne
2019-11-17"set delay" never worked as committed: the delay field was not copiedOtto Moerbeek
2019-10-17Use -1 to indicate an invalid uid/gid, not UID_MAX and GID_MAX.Todd C. Miller
2019-08-29pf_state_insert() must grab state lock exclusivelyAlexandr Nedvedicky
2019-08-26pf.conf "set timeout interval 1" causes kernel crashAlexandr Nedvedicky
2019-07-18follow up to 'once rule' expirationAlexandr Nedvedicky
2019-07-18This commit fixes two bugs involving PF once rules:Lawrence Teo
2019-07-11fix NULL pointer dereference, reported and fix tested by sthenAlexandr Nedvedicky
2019-07-09Fix previous commit which made src-node have a reference for the kif.YASUOKA Masahiko
2019-07-02When source address tracking record is used for "route-to", the nextYASUOKA Masahiko
2019-07-01Link the state and the source track to keep the source track whileYASUOKA Masahiko
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