RST(8)

πŸ’… RST(8) β€” like, the manual page bestie

okay so you found the page for rst, the little chaos goblin that lives in section 8 of your System Manager's Manual. Pull up a chair, grab a boba, we're doing this. πŸ§‹βœ¨


🌸 NAME 🌸

rst β€” terminate an established TCP connection πŸ’€βœ‚οΈ


✨ SYNOPSIS ✨

rst [ -R ] [ -I text-to-inject ]
    [ -i interface ]
    [ -d delay-msec ]
    [ -n num ]
    [ -r redundancy ]
    [ -s stride ]
    from_addr from_port from_seq to_addr to_port to_seq

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: rst is a utility that a Bro script can invoke, and what it does is terminate an established TCP connection by forging RST tear-down packets. Yeah. It just. Makes the connection not exist anymore. No handshake, no goodbye text, no "we should hang out soon" β€” just a forged reset straight to the face and the convo is over. πŸ’…

No cap, that's the whole plot. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

Lowkey the page is not giving us a whole essay on each flag, so here's exactly what it hands you β€” names and placeholders, kept character for character because we do not edit the source material in this house:

  • -R β€” it's a flag, no argument, that's all the page says. πŸ™ˆ
  • -I text-to-inject β€” takes a text-to-inject value. πŸ“©
  • -i interface β€” takes an interface. 🌐
  • -d delay-msec β€” takes a delay-msec value, in milliseconds, bestie. ⏱️
  • -n num β€” takes a num. πŸ”’
  • -r redundancy β€” takes a redundancy value. ♻️
  • -s stride β€” takes a stride value. πŸ‘Ÿ

And then the positional arguments, in this exact order, no skipping, no swapping, the order matters fr fr:

  • from_addr
  • from_port
  • from_seq
  • to_addr
  • to_port
  • to_seq
⚠️ Also just so we're clear: this is a forging packets situation, so please only point it at connections you're actually allowed to kill. Don't be weird about it. 🫢

πŸ’œ AUTHOR πŸ’œ

  • rst was written by The Bro Project <info@bro.org>. πŸ“§
  • This manual page was written by RaΓΊl Benencia <rul@kalgan.cc> for the Debian project β€” but may be used by others, so share the love. 🫢

and that's the whole page, you ate it, no crumbs πŸ“βœ¨

This lil artifact is from the System Manager's Manual, dated February 2015, and it's filed under rst in section 8. Slay, go terminate responsibly. πŸ’–πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from