TCPKILL(8)

πŸ’… tcpkill πŸ’…

okay bestie, gather round, because this is TCPKILL(8) from the System Manager's Manual β€” section 8, the sysadmin section, main character energy only πŸ‘‘. She's a little chaos goblin and she is so good at what she does.


πŸŽ€ NAME πŸŽ€

tcpkill β€” kill TCP connections on a LAN πŸ’€βœ¨

like. literally that. she ends them. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

tcpkill [-i interface] [-1...9] expression

that's it. that's the whole vibe check. three little slots and a whole lot of power 🫢


🌸 DESCRIPTION 🌸

so tcpkill kills specified in-progress TCP connections. not hypothetical ones, not future ones β€” the ones happening right now, mid-conversation, living their best life. she pulls up and she ends them 😭

and why would you even want that, bestie? because it's useful for libnids-based applications which require a full TCP 3-whs for TCB creation. read that again. those apps need the full three-way handshake to build their TCB β€” so if you want them to actually see a connection, the connection has to actually complete. and if you want it gone? yeah. that's her job. periodt.


πŸ“ OPTIONS πŸ“

  • -i interface β€” tell her which interface to listen on 🎧 that's it, that's the whole job, she's a great listener (unlike some people, no names)
  • -1...9 β€” the degree of brute force to use in killing a connection πŸ’₯ fast connections may require a higher number in order to land a RST in the moving receive window. the default is 3. so like, 1 is "gentle nudge, hope for the best 🌸" and 9 is "I am the storm πŸŒͺ️". if it's not landing, crank it up, she said what she said.
  • expression β€” a tcpdump(8) filter expression that selects the connections to kill 🎯 yes, tcpdump filter syntax. you already know it. you're so smart. use it to pick your victims.
⚠️ bestie, the expression is doing a LOT of heavy lifting here β€” it's literally deciding which connections get ended. be sure before you swing πŸ’€

πŸ’œ SEE ALSO πŸ’œ

the whole friend group πŸ«‚


⭐ AUTHOR ⭐

Dug Song <dugsong@monkey.org> β€” the icon, the blueprint, the moment 🌈


and that's the page, bestie πŸ’– this was TCPKILL(8) out of the System Manager's Manual β€” go forth, be careful, and remember: with great brute force comes great responsibility βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from