LISTEN(1)

πŸ“¦
version 2.0.0 Β· 2 versions
, in alpine 3.24, fedora 43, fedora 44

πŸ’– LISTEN(1) β€” the listen page, bestie edition πŸ’–

okay so this is listen from the Linux Programmer's Manual, and she is literally the girl who watches everything on your AX.25 network. no cap. let's get into it πŸ¦‹


✨ NAME ✨

listen β€” monitor AX.25 traffic πŸ‘€πŸ“‘


🌸 SYNOPSIS 🌸

listen [-8] [-a] [-c] [-h] [-i] [-p port] [-r] [-t..] [-v]

πŸŽ€ DESCRIPTION πŸŽ€

So listen uses SOCK_PACKET facilities to give you a whole network monitor of all the AX.25 traffic your system hears. and the best part? since KISS is implicitly promiscuous, you don't need to do any special driver configurations. none. zero. she just works πŸ’…

This version displays standard AX.25, PE1CHL extended AX.25, NET/ROM, Rose, ARP, IP, ICMP, TCP and UDP. She also displays IP, TCP, ICMP, TCP and UDP encapsulated within NET/ROM frames. (yes we said TCP twice, that's the original, don't come for me πŸ™ˆ) The program also displays AX.25 and IP encapsulated within an IP frame β€” but see RFC1326 for reasons not to do so, bestie, that's a whole situation.

listen also makes an attempt at decoding some of the more common routing protocols. RSPF and RIP (both "normal" and G8BPQs RIP98) are traced. JNOS style NET/ROM node polls are also displayed. she's thorough like that ✨

And she can use colors to make the output more readable β€” the ncurses library is what accomplishes this. Color support defaults to being disabled, and the -c parameter is what enables it. slay.


✨ OPTIONS ✨

  • -8 β€” says your terminal is capable of printing 8-bit characters. this parameter is required for the -i parameter to work, so they're a package deal 🫢
  • -a β€” lets you monitor outgoing frames too, not just incoming ones. both directions, we love a girl who sees everything πŸ‘‘
  • -c β€” enable color support 🌈
  • -h β€” dumps the data portion of the packet in both hexadecimal and ASCII. the default is to display data as ASCII only.
  • -i β€” maps IBM codepage 437 characters 128-158 to their ISO-Latin-1 equivalents. this is a hack for scandinavian users πŸ‡ΈπŸ‡ͺ and it's only valid when used with the -8 and -c parameters.
  • -p port β€” monitor only those frames received on a particular port. by default all AX.25 devices are monitored.
  • -r β€” dumps the data portion in a "readable" fashion, which is more suitable for tracing plaintext AX.25 traffic. CR-LF conversion is done. cute and functional πŸ’–
  • -t β€” don't print a timestamp on each dump line.
  • -tt β€” print an unformatted timestamp on each dump line.
  • -ttt β€” print a delta (micro-second resolution) between current and previous line on each dump line. ⏱️
  • -tttt β€” print a timestamp in default format proceeded by date on each dump line.
  • -ttttt β€” print a delta (micro-second resolution) between current and first line on each dump line. the long haul delta, iconic.
  • -v β€” display the version. that's it, that's the whole job πŸ’…
the more ts you stack, the more timestamp she gives you. that's the vibe check, iykyk.

πŸ¦‹ FILES πŸ¦‹

  • /etc/ax25/axports

🌟 SEE ALSO 🌟

call(1), mheard(1), beacon(1), ax25(4), netrom(4), rose(4), kissattach(8).

go read those next, bestie, the lore goes deep πŸ“š


πŸ’€ BUGS πŸ’€

ngl, listen does not validate the checksums of frames that support them (ie IP), therefore corrupt frames will be displayed with bogus values. so like… take those numbers with a grain of salt πŸ§‚

Also: the MSS of a TCP frame that contains that option is not displayed. just not shown. we don't know why. it's giving mystery πŸ™ˆ


πŸ’œ AUTHORS πŸ’œ

  • Alan Cox GW4PTS <alan@cymru.net>
  • Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
  • Phil Karn KA9Q <karn@qualcomm.com>
  • Heikki Hannikainen OH7LZB <oh7lzb@sral.fi>
  • Scott Miller N1VG <scott@opentrac.org>

absolute legends, every single one 🌟 the way they built all this… obsessed.


and that's the whole page, bestie!! πŸŽ€ this was Linux, dated 27 August 1996 β€” yeah she's vintage but she still eats πŸ’… periodt. now go monitor some packets, main character. πŸ’–βœ¨

πŸ“¦ where this page comes from