Networking Forums

Networking Forums > Computer Networking > Linux Networking > ipp2p bridge in kernel 2.6.10

Reply
Thread Tools Display Modes

ipp2p bridge in kernel 2.6.10

 
 
Roberto
Guest
Posts: n/a

 
      08-06-2005, 07:19 PM
Hi all !


I was successful used used ipp2p to block p2p traffic with the
following kernel versions: 2.6.10 in my Slackware 10.1 box

I using the 0.80 rc3 ipp2p version and iptables 1.3.3 .

I was successful blocked the p2p traficc (Ares included).

But I can`t shaper the p2p traffic.

I using a bridge setup for shaper and this script to enable ipp2p:


#######
iptables -t mangle -A PREROUTING -p tcp -j CONNMARK --restore-mark

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

iptables -t mangle -A PREROUTING -p tcp -m ipp2p --ipp2p -j MARK
--set-mark 1

iptables -t mangle -A PREROUTING -p tcp -m mark --mark 1 -j
CONNMARK --save-mark

iptables -t mangle -N MARKED

iptables -t mangle -A POSTROUTING -m mark --mark 1 -j MARKED

iptables -t mangle -A MARKED -m physdev --physdev-out eth0 -j
CLASSIFY --set-class 1:12

iptables -t mangle -A MARKED -m physdev --physdev-out eth1 -j
CLASSIFY --set-class 2:12

########


When I execute the script I have this error:

iptables: Chain already exists


Can somebody help me ?

Excuse my english (I not english speaker)

roberto


--
Ing. Roberto Pereyra
ContenidosOnline
Hosting y Servidores BSD Unix/Linux
http://www.contenidosonline.com.ar

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
queuing pkts using nf_queue_handler in bridge (PF_BRIDGE) mode notworking in 2.6 kernel Ratnaraj Linux Networking 1 02-18-2009 10:30 AM
linux distribution support l7-filter and ipp2p? cyhing@gmail.com Linux Networking 1 07-30-2008 08:28 AM
How to get data in kernel SEND buffer for a TCP socket from a netfilter based kernel module Rohit Linux Networking 0 05-10-2007 11:27 AM
killing a kernel thread ....... UDP server (kernel module)......... alex Linux Networking 0 09-20-2006 11:26 AM
PCMCIA SMC2835W card not recognized by kernel-2.4.* and kernel-2.6.5 Jorge Ventura Linux Networking 0 05-03-2004 08:08 PM



1 2 3 4 5 6 7 8 9 10 11