Интерактивная система просмотра системных руководств (man-ов)
mtest (8)
>> mtest (8) ( FreeBSD man: Команды системного администрирования )
BSD mandoc
NAME
mtest
- test multicast membership socket operations and ioctls
SYNOPSIS
DESCRIPTION
The
utility
is a small program for testing the multicast membership socket operations
and ioctls.
It accepts the following commands, interactively:
j g.g.g.g i.i.i.i
Join the IP group address
g.g.g.g
on the interface with address
i.i.i.ii.i.i.i
may be specified as 0.0.0.0 to use the default interface.
l g.g.g.g i.i.i.i
Leave the IP group address
g.g.g.g
on the interface with address
i.i.i.i
a ifname e.e.e.e.e.e
Join the Ethernet group address
e.e.e.e.e.e
on interface
ifname
d ifname e.e.e.e.e.e
Leave the Ethernet group address
e.e.e.e.e.e
on interface
ifname
m ifname 1/0
Set or reset ALLMULTI mode on interface
ifname
p ifname 1/0
Set or reset promiscuous mode on interface
ifname
i g.g.g.g i.i.i.i n x.x.x.x ...
Set the socket with group membership of
g.g.g.g
on IPv4 address
i.i.i.i
to include filter mode, and add
n
sources beginning with
x.x.x.x
to the inclusion filter list.
e g.g.g.g i.i.i.i n x.x.x.x ...
Set the socket with group membership of
g.g.g.g
on IPv4 address
i.i.i.i
to exclude filter mode, and add
n
sources beginning with
x.x.x.x
to the exclusion filter list.
t g.g.g.g i.i.i.i s.s.s.s
Set the socket with group membership of
g.g.g.g
on IPv4 address
i.i.i.i
to block traffic from source
s.s.s.s
b g.g.g.g i.i.i.i s.s.s.s
Set the socket with group membership of
g.g.g.g
on IPv4 address
i.i.i.i
to allow traffic from source
s.s.s.s
g g.g.g.g i.i.i.i n
Print
n
source filter entries for group
An g.g.g.g
on IPv4 address
An i.i.i.i .
f filename
Read commands from the file
filename
s n
Sleep for
n
seconds.
?
List legal commands.
q
Quit the program.
SEE ALSO
D. Thaler
B. Fenner
B. Quinn
"Socket Interface Extensions for Multicast Filters"
RFC 3678