MTEST(8)
π MTEST(8) β like, the manual page, but make it make sense π
okay bestie, so this is mtest from the System Manager's Manual, and it's genuinely one of those tiny little tools that does one thing and does it iconically. buckle up π¦
β¨ NAME β¨
mtest β literally just here to test multicast socket operations. that's the whole vibe. no cap. π
πΈ SYNOPSIS πΈ
mtest
that's it. that's the synopsis. she takes no arguments on the command line, she just is. π
π DESCRIPTION π
so mtest is a small program for testing multicast socket operations. smol. mighty. obsessed with her. β¨
she accepts the following commands β either interactively (you type, she responds, it's giving group chat π¬) or as part of a scripted input file (which is highkey useful for automated testing, iykyk π§).
aifname mac-addr β Join the link-layer group address mac-addr on interface ifname. the group address should be in IEEE 802 MAC format, delimited by colon (':') characters β like, colons are the whole aesthetic here π₯difname mac-addr β Leave the link-layer group address mac-addr on interface ifname. bye bestie π«Άmifname 1/0 β Set or resetALLMULTImode on interface ifname. heads up though: this option is deprecated and is now a no-op π like she's still here but she does nothing. a ghost. an icon, honestly.pifname 1/0 β Set or reset promiscuous mode on interface ifname. she's looking at everything πjmcast-addr ifname [source-addr] β Join the multicast address mcast-addr on the interface with name ifname. and if an optional source source-addr is specified, a source-specific join will be performed β¨ ifmtestis already joined to the multicast address, the source will be added to its filter list. so it's not a whole new thing, it's an and also πlmcast-addr ifname [source-addr] β Leave the multicast address mcast-addr on the interface with address ifname. if a source source-addr is specified, only that source will be left β like a targeted unfollow, not a block πimcast-addr ifname n source-addr ... β Set the socket with membership of mcast-addr on interface ifname to include filter mode, and add n sources beginning with source-addr to the inclusion filter list. it's giving VIP guest list πemcast-addr ifname n source-addr ... β Set the socket with membership of mcast-addr on interface ifname to exclude filter mode, and add n sources beginning with source-addr to the exclusion filter list. the opposite of the VIP list. the do not perceive me list πtmcast-addr ifname source-addr β Set the socket with membership of mcast-addr on interface ifname to block traffic from source source-addr. blocked. blocked. blocked. πbmcast-addr ifname source-addr β Set the socket with membership of mcast-addr on interface ifname to allow traffic from source source-addr. unblocked, bestie, you're back in ππgmcast-addr ifname n β Print n source filter entries for mcast-addr on interface ifname. show me the receipts πffilename β Read commands from the file filename. scripted slay πsn β Sleep for n seconds. self-care. take a nap π΄πΈ?β List legal commands. the help me help you of it all π§qβ Quit the program. periodt. π
π¦ IMPLEMENTATION NOTES π¦
for each command implemented by mtest, the address family of each argument must be identical β it is not possible to mix IPv4 multicast memberships with IPv6, for example. no mixing, no blending, no chaos energy. keep it consistent bestie β
to support IPv6, all commands have now changed to accept an interface name rather than an interface address π₯ for IPv4, the program will perform a lookup of the primary IP address based on the interface name. careful though: this may fail if no primary IP address is assigned π
π SEE ALSO π
D. Thaler, B. Fenner, and B. Quinn, Socket Interface Extensions for Multicast Filters, RFC 3678. yes it's a whole RFC, yes you should read it, yes it's giving homework but make it lore πβ¨
π AUTHORS π
- Bruce Simpson
- Steve Deering
- Wilbert De Graaf
legends. all three. put some respect on the names π«Άπ
and that's the whole page, bestie!! source is Debian, version/date stamped April 29, 2009 β a vintage, honestly, she's been serving since '09 and she's still iconic ππ mwah.
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2007-2009 Bruce Simpson
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms