PROBE::NETFILTER.A(3stap)

πŸ’– PROBE::NETFILTER.ARP.FORWARD πŸ’–

okay bestie, we're diving into probe::netfilter.arp.forward from the Networking Tapset of the SystemTap Tapset Reference, and honestly? she's giving "tiny hook, huge lore" energy. ✨


🌸 NAME 🌸

probe::netfilter.arp.forward</p> β€” called for each ARP packet that's about to be forwarded. yes, every single one. she does not skip. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

probe netfilter.arp.forward {}

that's it. that's the whole vibe. no arguments, no drama, just a probe that fires and hands you a whole goodie bag of values. πŸŽ€


✨ VALUES ✨

so when this probe goes off, here's everything you get to peek at. no cap, there are a LOT of them:

  • nf_stolen β€” constant used to signify a 'stolen' verdict 🫢
  • ar_tip β€” Ethernet+IP only (that's when ar_pro==0x800): target IP address
  • data_str β€” a string representing the packet buffer contents
  • data_hex β€” a hexadecimal string representing the packet buffer contents
  • outdev_name β€” name of the network device the packet will be routed to (if it's known, that is) πŸ‘‘
  • length β€” the length of the packet buffer contents, in bytes
  • nf_stop β€” constant used to signify a 'stop' verdict
  • indev_name β€” name of the network device the packet was received on (if known)
  • ar_op β€” ARP opcode (that's the command, iykyk)
  • nf_drop β€” constant used to signify a 'drop' verdict πŸ’€
  • ar_sip β€” Ethernet+IP only (when ar_pro==0x800): source IP address
  • nf_queue β€” constant used to signify a 'queue' verdict
  • pf β€” protocol family β€” and it is always β€œarp” (she's committed, fr fr)
  • ar_tha β€” Ethernet+IP only (when ar_pro==0x800): target hardware (MAC) address
  • arphdr β€” address of the ARP header
  • indev β€” address of the net_device representing the input device, 0 if unknown
  • nf_repeat β€” constant used to signify a 'repeat' verdict
  • nf_accept β€” constant used to signify an 'accept' verdict βœ…
  • ar_pro β€” format of the protocol address
  • ar_hln β€” length of the hardware address
  • ar_hrd β€” format of the hardware address
  • outdev β€” address of the net_device representing the output device, 0 if unknown
  • ar_sha β€” Ethernet+IP only (when ar_pro==0x800): source hardware (MAC) address
  • ar_data β€” address of the ARP packet data region (that's the part after the header, bestie)
  • ar_pln β€” length of the protocol address
lowkey obsessed with how many fields this one probe hands you. main character energy for real. πŸ’œ

🧚 SEE ALSO 🧚


and that's the whole page, bestie!! shoutout to the SystemTap Tapset Reference, September 2026 edition, for being the source of all this knowledge β€” you ate that. mwah πŸ’‹βœ¨πŸŒˆ

πŸ“¦ where this page comes from