Displaying 2 results from an estimated 2 matches for "p2pmark".
2006 Dec 06
0
Configuring a QoS Box + Cliente Bandwidth Control
...contabil
#-----
# Limpando iptables
# Aplicando save as marcas (final de cada INTERFACE)
#-----
$IPT -t mangle -F
$IPT -t mangle -X
$IPT -t mangle -A PREROUTING -p tcp -j CONNMARK --restore-mark
$IPT -t mangle -A PREROUTING -p tcp -m mark ! --mark 0 -j ACCEPT
# marcando pacotes
# referente ao P2P
P2PMARK="20"
$IPT -t mangle -A PREROUTING -p tcp -m ipp2p --ipp2p -j MARK --set-mark
$P2PMARK
$IPT -t mangle -A PREROUTING -p udp -m ipp2p --ipp2p -j MARK --set-mark
$P2PMARK
$IPT -t mangle -A PREROUTING -p tcp -m ipp2p --ipp2p -j MARK --set-mark
$P2PMARK
$IPT -t mangle -A PREROUTING -p udp -m...
2006 Feb 02
0
Problem with routing to multiple tables
...le $L2
$IP route append prohibit default table $L2 metric 1 proto
static
#
# MultiPath
$IP rule add prio 222 table $MAIN
$IP route
add default table $MAIN proto static nexthop via $GWE1 dev $IFE1 weight
$PRE1 nexthop via $GWE2 dev $IFE2 weight $PRE2
#---
# P2P + Unknow
#---
P2PPRIO="60"
P2PMARK="1"
$IPT -t mangle -F
$IPT -t mangle -A PREROUTING -p tcp -j CONNMARK --restore-mark
$IPT -t
mangle -A PREROUTING -p tcp -m mark ! --mark 0 -j ACCEPT
$IPT -t mangle -A PREROUTING -p tcp -m ipp2p --ipp2p -j MARK --set-mark
1
$IPT -t mangle -A PREROUTING -p udp -m ipp2p --ipp2p -j MARK -...