PROBE::NETFILTER.I(3stap)
π PROBE::NETFILTER.I(3stap) π
okay bestie, sit down, hydrate, and let's talk about a lil networking tapset probe from the SystemTap Tapset Reference (manual section 3stap, iykyk). This one is literally called:
β¨ NAME β¨
probe::netfilter.ip.pre_routing β it fires before an IP packet is routed. that's the whole vibe. pre-routing. before the routing happens. the packet is just standing there, un-routed, waiting for its moment. main character energy fr.
πΈ SYNOPSIS πΈ
probe netfilter.ip.pre_routing {}
no args, no drama, just a little probe with empty braces. she's simple. she's iconic. π
π¦ VALUES π¦
these are all the lil variables you get to peek at inside the probe. alphabetically listed, no cap, and every single one of them is here:
pfβ the protocol family, and it's either'ipv4'or'ipv6'. pick your fighter π₯indevβ the address of thenet_devicerepresenting the input device. if it's unknown, it's0. not me being unknown πsportβ the TCP or UDP source port (ipv4 only)ackβ the TCP ACK flag, and only if the protocol is TCP (ipv4 only)pshβ the TCP PSH flag, again only if the protocol is TCP (ipv4 only)nf_acceptβ a constant that means an'accept'verdict π«Άnf_repeatβ a constant that means a'repeat'verdict πoutdevβ the address of thenet_devicerepresenting the output device,0if it's unknownsaddrβ a string holding the source IP address β¨data_hexβ a hexadecimal string of the packet buffer contents π₯outdev_nameβ the name of the network device the packet will be routed to, if knownnf_stolenβ a constant that means a'stolen'verdict πurgβ the TCP URG flag, only if the protocol is TCP (ipv4 only)data_strβ a string of the packet buffer contents πipproto_tcpβ a constant that means the packet protocol is TCPnf_stopβ a constant that means a'stop'verdict βprotocolβ the packet protocol from the driver (ipv4 only)finβ the TCP FIN flag, if the protocol is TCP (ipv4 only)indev_nameβ the name of the network device the packet was received on, if knownfamilyβ the IP address family πdportβ the TCP or UDP destination port (ipv4 only)rstβ the TCP RST flag, if the protocol is TCP (ipv4 only)lengthβ the length of the packet buffer contents, in bytes πipproto_udpβ a constant that means the packet protocol is UDPsynβ the TCP SYN flag, if the protocol is TCP (ipv4 only)iphdrβ the address of the IP header πnf_dropβ a constant that means a'drop'verdict πnf_queueβ a constant that means a'queue'verdict π§daddrβ a string holding the destination IP address π
lowkey obsessed with how many of these are ipv4 only. like bestie, ipv6 said "not today" for the TCP flags and the ports and the protocol field. that's just how it is, no editorializing, just facts π
π« SEE ALSO π«
go read that one too, bestie, it's the whole netfilter tapset family reunion πΈ
and that's the page!! this came from the SystemTap Tapset Reference, version September 2026, and it's filed under PROBE::NETFILTER.I(3stap) in section 3stap. mwah, slay, go trace some packets π
β¨π¦
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms