Portál AbcLinuxu, 12. května 2025 13:31
gate:/etc/shorewall# iptables -m layer7 --help
iptables v1.3.3
LAYER7 match v1.3.3 options:
--l7dir directory : Look for patterns here instead of /etc/l7-protocols/
(--l7dir must be specified before --l7proto if used!)
--l7proto [!] name : Match the protocol defined in /etc/l7-protocols/name.pat
gate:/etc/shorewall#
gate:/etc/shorewall# iptables -t mangle -A PREROUTING -m layer7 --17proto bittorrent -j DROP
iptables v1.3.3: Unknown arg `--17proto'
Try `iptables -h' or 'iptables --help' for more information.
gate:/etc/shorewall#
Dik za kazdou radu.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.