From: "Vaidas" Date: Mon, 06 Feb 2006 10:29:43 +0000 Subject: [LARTC] p2p marking, again Message-Id: <20060206102946.34AE154633@mailhub.takas.lt> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1966685732==" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. --===============1966685732== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01C62B19.01FB21D0" This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C62B19.01FB21D0 Content-Type: text/plain; charset="windows-1257" Content-Transfer-Encoding: quoted-printable Hey, one more question for ipp2p =20 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=85 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 =20 Only few Kbytes of tcp, ant few mbytes of udp.. but downloading was up = on 320kbps all night ______________________________________=20 Vaidas =20 VDXnet sistem=F8 administratorius =20 ------=_NextPart_000_0004_01C62B19.01FB21D0 Content-Type: text/html; charset="windows-1257" Content-Transfer-Encoding: quoted-printable

 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=85

Chain DSL-IN (1 = references)

    pkts      bytes target     = prot opt in     out     source           &= nbsp;   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=F8 administratorius 

------=_NextPart_000_0004_01C62B19.01FB21D0-- --===============1966685732== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1966685732==--