p2p marking, again

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hey, one more question for ipp2p

 

iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --restore-mark

iptables -t mangle -A DSL-IN -p tcp -m mark ! --mark 0 -j ACCEPT

iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j MARK --set-mark 7

iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --save-mark

iptables -t mangle -A DSL-IN -p udp -m ipp2p --ipp2p -j MARK --set-mark 7

by this set of commands, should all p2p packets mark well ? Because very little of them are marked on my server…

Chain DSL-IN (1 references)

    pkts      bytes target     prot opt in     out     source               destination

   13708  2260152 CONNMARK   tcp  --  any    any     anywhere             anywhere            ipp2p v0.8.1_rc1 --ipp2p CONNMARK restore

   11456  2016247 ACCEPT     tcp  --  any    any     anywhere             anywhere            MARK match !0x0

    2252   243905 MARK       tcp  --  any    any     anywhere             anywhere            ipp2p v0.8.1_rc1 --ipp2p MARK set 0x7

    2252   243905 CONNMARK   tcp  --  any    any     anywhere             anywhere            ipp2p v0.8.1_rc1 --ipp2p CONNMARK save

  183300 33333958 MARK       udp  --  any    any     anywhere             anywhere            ipp2p v0.8.1_rc1 --ipp2p MARK set 0x7

 

Only few Kbytes of tcp, ant few mbytes of udp.. but downloading was up on 320kbps all night

______________________________________

Vaidas 

VDXnet sistemų administratorius 

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux