USAGE:(1)
π USAGE:(1) π
okay bestie, welcome to the USAGE: page, manual section 1, from the User Commands corner of the world π«Ά this one is literally just called Usage: and it's here to help you send arbitrary IP packets β¨
β¨ NAME β¨
Usage: β send arbitrary IP packets π
πΈ SYNOPSIS πΈ
sendip [-v] [-d data] [-h] [-f datafile] [-p module] [module options]
hostname
π DESCRIPTION π
so basically, here's the tea on every flag π
-d dataβ tack this data onto the end of the packet as a string. and the data can be any of these vibes:rNto generateNrandom(ish) data bytes;0xor0Xfollowed by hex digits;0followed by octal digits; or literally any other stream of bytes π-s optionsβ set socket options. the valid ones are:b(SO_BROADCAST) which lets you send packets to broadcast addresses;i(IP_HDRINCL) which is ON BY DEFAULT and includes IP headers (expert use only! π); and6(IPV6_*) also ON BY DEFAULT, which is various options for setting ipv6 headers β¨-f datafileβ read packet data from a file π-hβ print this message ποΈ-p moduleβ load the specified module (see below, bestie, it's right there π)-vβ be verbose π£οΈ
modules load in the order the -p option shows up. the headers from each module get put immediately inside the headers from the previous model (yes it says "model", we love a typo, no cap) in the final packet π§ for example, to embed bgp inside tcp inside ipv4, you'd do sendip -p ipv4 -p tcp -p bgp ....
Modules available at compile time: π
ipv4 ipv6 icmp tcp udp bgp rip ntp
π DESCRIPTION (the sequel, it's giving dΓ©jΓ vu) π
not me repeating myself but fr fr the page does it so we do it π here's the whole rundown again:
-d dataβ add this data as a string to the end of the packet. Data can be:rNto generateNrandom(ish) data bytes;0xor0Xfollowed by hex digits;0followed by octal digits; any other stream of bytes π-s optionsβ set socket options. Valid options are:b(SO_BROADCAST) allow sending packets to broadcast addresses;i(IP_HDRINCL) (ON BY DEFAULT) include IP headers (expert use only!);6(IPV6_*) (ON BY DEFAULT) various options for setting ipv6 headers π-f datafileβ read packet data from file π-hβ print this message π«Ά-p moduleβ load the specified module (see below) π-vβ be verbose π
Modules are loaded in the order the -p option appears. The headers from each module are put immediately inside the headers from the previous model in the final packet. For example, to embed bgp inside tcp inside ipv4, do sendip -p ipv4 -p tcp -p bgp .... π₯
Modules available at compile time: π¦
ipv4 ipv6 icmp tcp udp bgp rip ntp
heads up bestie: IP_HDRINCL is flagged as expert use only! so pls don't go wild with it unless you know exactly what you're doing, mwah π
and that's the whole page, you ate it, periodt π the bottom of the original was giving Usage: ./sendip [-v] [-d data... and it's dated September 2020, so shoutout to that September 2020 moment for bringing us this iconic little manual, and to USAGE:(1) for being the moment itself π bye bestie, go send some packets responsibly πΈβ¨
π¦ where this page comes from
- debian bookworm: sendip 2.6-1
- debian trixie: sendip 2.6-1
- ubuntu jammy: sendip 2.6-1
- ubuntu noble: sendip 2.6-1
- ubuntu resolute: sendip 2.6-1
- ubuntu stonking: sendip 2.6-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms