Changeset 9679928e3424ddb216ce7cb6ae23351b51728b78 for tools/firewall.sh.in
- Timestamp:
- 05/30/09 06:29:48 (3 years ago)
- Children:
- 96808c5450804cf9cc6a590500ccce6131c2b937
- Parents:
- a0fbd8081aad14716555b28cab27c19b76973eea
- git-committer:
- Neutron Soutmun <neo.neutron@…> (05/30/09 06:29:48)
- Files:
-
- 1 modified
-
tools/firewall.sh.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tools/firewall.sh.in
raace70f r9679928 485 485 # bittorrent-announce is customized pattern, warning if not exists. 486 486 ## 487 if [ "$BITTORRENT" = "yes" -o-n "$BITTORRENT_ALLOW" ]; then487 if [ "$BITTORRENT" = "yes" ] || [ -n "$BITTORRENT_ALLOW" ]; then 488 488 if [ -n "$BITTORRENT_ALLOW" ]; then 489 489 BITTORRENT_ALLOW_OPTIONS="-m set ! --set $P2P_ALLOW_SET" … … 493 493 $IPTABLES -t mangle -A $CHAIN_MANGLE_PREROUTING -m layer7 --l7proto bittorrent $BITTORRENT_ALLOW_OPTIONS src -j DROP 494 494 fi 495 el se495 elif [ "$BITTORRENT" = "block" ]; then 496 496 $IPTABLES -t mangle -A $CHAIN_MANGLE_PREROUTING -m layer7 --l7proto bittorrent-announce -j DROP 497 497 $IPTABLES -t mangle -A $CHAIN_MANGLE_PREROUTING -m layer7 --l7proto bittorrent -j DROP
