| 2 |
.\" $FreeBSD$ |
.\" $FreeBSD$ |
| 3 |
.\" |
.\" |
| 4 |
.\" The following requests are required for all man pages. |
.\" The following requests are required for all man pages. |
| 5 |
.Dd December 15, 1996 |
.Dd March 8, 2007 |
| 6 |
.Os |
.Os |
| 7 |
.Dt MTEST 8 |
.Dt MTEST 8 |
| 8 |
.Sh NAME |
.Sh NAME |
| 46 |
.It Ic p Ar ifname Ar 1/0 |
.It Ic p Ar ifname Ar 1/0 |
| 47 |
Set or reset promiscuous mode on interface |
Set or reset promiscuous mode on interface |
| 48 |
.Ar ifname . |
.Ar ifname . |
| 49 |
|
.\" |
| 50 |
|
.It Ic i Ar g.g.g.g Ar i.i.i.i Ar n Ar x.x.x.x ... |
| 51 |
|
Set the socket with group membership of |
| 52 |
|
.Ar g.g.g.g |
| 53 |
|
on IPv4 address |
| 54 |
|
.Ar i.i.i.i |
| 55 |
|
to include filter mode, and add |
| 56 |
|
.Ar n |
| 57 |
|
sources beginning with |
| 58 |
|
.Ar x.x.x.x |
| 59 |
|
to the inclusion filter list. |
| 60 |
|
.\" |
| 61 |
|
.It Ic e Ar g.g.g.g Ar i.i.i.i Ar n Ar x.x.x.x ... |
| 62 |
|
Set the socket with group membership of |
| 63 |
|
.Ar g.g.g.g |
| 64 |
|
on IPv4 address |
| 65 |
|
.Ar i.i.i.i |
| 66 |
|
to exclude filter mode, and add |
| 67 |
|
.Ar n |
| 68 |
|
sources beginning with |
| 69 |
|
.Ar x.x.x.x |
| 70 |
|
to the exclusion filter list. |
| 71 |
|
.\" |
| 72 |
|
.It Ic t Ar g.g.g.g Ar i.i.i.i Ar s.s.s.s |
| 73 |
|
Set the socket with group membership of |
| 74 |
|
.Ar g.g.g.g |
| 75 |
|
on IPv4 address |
| 76 |
|
.Ar i.i.i.i |
| 77 |
|
to block traffic from source |
| 78 |
|
.Ar s.s.s.s . |
| 79 |
|
.\" |
| 80 |
|
.It Ic b Ar g.g.g.g Ar i.i.i.i Ar s.s.s.s |
| 81 |
|
Set the socket with group membership of |
| 82 |
|
.Ar g.g.g.g |
| 83 |
|
on IPv4 address |
| 84 |
|
.Ar i.i.i.i |
| 85 |
|
to allow traffic from source |
| 86 |
|
.Ar s.s.s.s . |
| 87 |
|
.\" |
| 88 |
|
.It Ic g Ar g.g.g.g Ar i.i.i.i Ar n |
| 89 |
|
Print |
| 90 |
|
.Ar n |
| 91 |
|
source filter entries for group |
| 92 |
|
.An g.g.g.g |
| 93 |
|
on IPv4 address |
| 94 |
|
.An i.i.i.i . |
| 95 |
|
.\" |
| 96 |
|
.It Ic f Ar filename |
| 97 |
|
Read commands from the file |
| 98 |
|
.Ar filename . |
| 99 |
|
.It Ic s Ar n |
| 100 |
|
Sleep for |
| 101 |
|
.Ar n |
| 102 |
|
seconds. |
| 103 |
.It Ic ?\& |
.It Ic ?\& |
| 104 |
List legal commands. |
List legal commands. |
| 105 |
.It Ic q |
.It Ic q |
| 106 |
Quit the program. |
Quit the program. |
| 107 |
.El |
.El |
| 108 |
.\" .Sh SEE ALSO |
.Sh SEE ALSO |
| 109 |
|
.Rs |
| 110 |
|
.%A D. Thaler |
| 111 |
|
.%A B. Fenner |
| 112 |
|
.%A B. Quinn |
| 113 |
|
.%T "Socket Interface Extensions for Multicast Filters" |
| 114 |
|
.%O RFC 3678 |
| 115 |
|
.Re |
| 116 |
.Sh AUTHORS |
.Sh AUTHORS |
| 117 |
.An Steve Deering |
.An -split |
| 118 |
.Sh BUGS |
.An "Steve Deering" |
| 119 |
The command parser is not very flexible. |
.An "Wilbert De Graaf" |