diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2003-10-12 14:59:29 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2003-10-12 14:59:29 +0000 |
commit | a87790b745d42d0aeffabdf4518361d218600a94 (patch) | |
tree | 95f85085328af9e86886e4cd664cc16d7160b68d /ebtables.8 | |
parent | c43512a7f057250142571a209acc88e41f8dfba0 (diff) | |
download | ebtables-a87790b745d42d0aeffabdf4518361d218600a94.tar.gz |
add among description
Diffstat (limited to 'ebtables.8')
-rw-r--r-- | ebtables.8 | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -491,6 +491,28 @@ If the 802.3 DSAP and SSAP values are 0xaa then the SNAP type field must be consulted to determine the payload protocol. This is a two byte (hexadecimal) argument. Only 802.3 frames with DSAP/SSAP 0xaa are checked for type. +.SS among +Match a MAC address or MAC/IP address pair versus a list of MAC addresses +and MAC/IP address pairs. +A list entry has the following format: xx:xx:xx:xx:xx:xx[=ip.ip.ip.ip][,]. Multiple +list entries are separated by a comma, specifying an IP address corresponding to +the MAC address is optional. Multiple MAC/IP address pairs with the same MAC address +but different IP address (and vice versa) can be specified. If the MAC address doesn't +match any entry from the list, the frame doesn't match the rule (unless '!' was used). +.TP +.BR "--among-dst " "[!] \fIlist\fP" +Compare the MAC destination to the given list. If the Ethernet frame has type +.BR IPv4 " or " ARP , +then comparison with MAC/IP destination address pairs from the +list is possible. + +.TP +.BR "--among-src " "[!] \fIlist\fP" +Compare the MAC source to the given list. If the Ethernet frame has type +.BR IPv4 " or " ARP , +then comparison with MAC/IP source address pairs from the list +is possible. + .SS arp Specify arp fields. The protocol must be specified as .BR ARP " or " RARP . |