Displaying 3 results from an estimated 3 matches for "ipp2ppost".
2005 Jul 08
2
P2P shaping, won''t work
...m the only one with this problem out there, so I
will post here once again my configuration, to match p2p traffic and to shape
it:
### ###
iptables -t mangle -F
iptables -t mangle -X
iptables -t mangle -N lay7PRE
iptables -t mangle -N lay7POST
iptables -t mangle -N ipp2pPRE
iptables -t mangle -N ipp2pPOST
### PREROUTING RULES ###
iptables -t mangle -A PREROUTING -j CONNMARK --restore-mark
iptables -t mangle -A PREROUTING -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A ipp2pPRE -p tcp -m ipp2p --ipp2p -j MARK --set-mark 3
iptables -t mangle -A ipp2pPRE -p udp -m ipp2p --bit -j MARK --set-mark 3
i...
2005 Jul 07
1
HELP PLEASE BITTORRENT SHAPING (HTB)
...r
where!, I''ll really appreciate your help. Thank you
### IPTABLES RULES ###
#!/bin/sh
### ERASING RULES AND USER MADE CHAINS ###
iptables -t mangle -F
iptables -t mangle -X
iptables -t mangle -N lay7PRE
iptables -t mangle -N lay7POST
iptables -t mangle -N ipp2pPRE
iptables -t mangle -N ipp2pPOST
### PREROUTING RULES ###
iptables -t mangle -A PREROUTING -j CONNMARK --restore-mark
iptables -t mangle -A PREROUTING -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A ipp2pPRE -p tcp -m ipp2p --ipp2p -j MARK --set-mark 10
iptables -t mangle -A ipp2pPRE -p udp -m ipp2p --bit -j MARK --set-mark 10...
2005 Jul 12
0
PLEASE HELP! SHAPING P2P STILL NOT WORKING
...he iptables rules
too:
IPTABLES RULES:
iptables -t mangle -A PREROUTING -p tcp -m ipp2p --ipp2p -j MARK --set-mark 3
iptables -t mangle -A PREROUTING -p udp -m ipp2p --bit -j MARK --set-mark 3
iptables -t mangle -A PREROUTING -p tcp -m mark --mark 3 -j CONNMARK
--save-mark
iptables -t mangle -A ipp2pPOST -o $DEV -m mark --mark 3 -j CLASSIFY
--set-class $P2P
TCNG FILE, AND TC CLASSES
#define UPLOAD eth1
#define UPRATE 25kBps
#define P2P 10kBps
dev UPLOAD {
egress {
class ( <$prio> ) ;
class ( <$p2p> ) ;
class ( <$interactive&...