Displaying 20 results from an estimated 1000 matches similar to: "Connmark question"
2005 Jun 22
3
block p2p: ARES
Hi....
I''m trying to setup a LAN router with P2P filter
but the problem is that can''t "catch" Ares.
There is a way to DROP "ares" p2p packets ?
I''ve tried with last "ipp2p" snapshot without sucess...
I''ve
Kernel 2.4.28
iptables 1.3.0
Various Patches from patch-o-matic-ng-20040621
iproute2-ss020116
IMQ Patch
Esfq Patch
2006 Feb 06
2
p2p marking, again
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
2006 Feb 02
1
marking and limiting P2P packets
Hello, I am trying to shape p2p trafik to 256kbps on my dsl line. I wrote
this set of commands:
DEV=eth2
ip link set imq0 up
tc qdisc add dev imq0 root handle 1:0 htb default 21 r2q 2
tc class add dev imq0 parent 1:0 classid 1:1 htb rate 530kbit
tc class add dev imq0 parent 1:1 classid 1:20 htb rate 530kbit ceil 530kbit
prio 0
tc class add dev imq0 parent 1:1 classid 1:21 htb rate 64kbit
2005 Sep 22
5
p2p: ARES
Hi,
I''ve a linux as router nat + firewall
(POLICY DROP for INPUT OUTPUT and FORWARD)
but, I''ve put next rules for p2p software
on FORWARD chain
[... snip ... ]
iptables -F FORWARD
iptables -P FORWARD DROP
iptables -A FORWARD -p tcp --dport 80 -j ACCEPT
iptables -A FORWARD -p tcp --dport 25 -j ACCEPT
[... snip ... ]
iptables -A FORWARD -m ipp2p --ipp2p -j ACCEPT
iptables -A
2005 Jul 07
1
HELP PLEASE BITTORRENT SHAPING (HTB)
Ok, earlier I post a message explaining my problem with HTB and layer7 (or
ipp2p), about not being able to shape the traffic. Well, actually this is
what''s happening, I''m marking the packets (right now, I''m using ipp2p as
Klaus adviced me to) with iptables, and my queue rules are made using tcng,
I''m using the HTB qdisc, and traffic is going to the HTB class
2004 Oct 17
8
Shorewall and IPP2P
Hi!
I''m wondering whether anyone has successfully set up a bandwidth control
system using ipp2p and shorewall. I have been able to drop connecions
altogether, but I don''t seem to be able to get CONNMARK working with ipp2p.
Any pointers would be greatly appreciated :)
______________________________
Mario R. Pizzolanti
2006 Sep 20
0
Ipp2p with connmark
Hi,
I want to classify with ipp2p packets that I''ve captured with tcpdump.
I send the packets with tcpreply.
I had to create a bridge interface in order to enable the listening
interface in promiscous mode
and to classify the traffic mirrored to that.
In this mode the traffic pass through the prerouting chain of the mangle
table (on bridge).
I want to used connmark for recognized flows,
2006 May 01
1
Traffic Shaping with Shorewall
Does anyone here implement traffic shaping with shorewall? I need to shape
BitTorrent traffic on my network so that upload/downloads do not overwhelm
normal function or, even more importantly, my imminent conversion to VOIP for
all telephone service. I followed the shorewall documentation guide but am
not sure if what I have done is the Right Way Of Doing Things. Nor am I
satsified with the
2006 Sep 12
3
Completely isolating P2P/BitTorrent traffic
Hi all,
I''m tring to isolate P2P traffic, specifically BitTorrent, for my QoS
scripts. I can''t seem to completely isolate ALL BitTorrent traffic.
I identify & mark packets and then use tc filters to put them into
appropriate classes. My firewall rules (below) do the markings. My VoIP
boxes'' and ICMP traffic get highest priority (mark 1). Then comes DNS, SSH,
2005 Jul 08
2
P2P shaping, won''t work
Hello, its me again, I won''t stop sending emails to this list, until I solve
this problem, I''ve tried several apps to create the right htb rules (even
made them my self), but I always get the same results, traffic gets shaped,
but I can''t use my bandwidth, and this is weird, because I should be able to,
also I keep seeing download being limited too, and that
2004 Sep 29
4
Scalability
Hello everyone,
I want an opinion from people who tryed different matching modules to
match diferent types of traffic, especially p2p ones.
I would like to hear which scales better as CPU usage and latency :
ipp2p, iptables-p2p or l7-filter with the p2p patterns. I want to use
one of them to block most of p2p (except maybe dc++ and emule which i
want to shape). I would use the matching rules in
2004 Jun 08
3
Blocking p2p traffic
Greetings, I''ve searched, found ftwall, and some other commercial solutions, but am wondering if anyone on this list has any solutions using a linux firewall to block p2p traffic, more specifically Kazaa.
Walter Wickersham
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2007 Jan 25
4
":T" flags in 3.4.0-RC1
I am trying to apply the new :T flag in tcrules. the man page for this
file [1] sayas that if SOURCE is $FW then rules are applied in OUTPUT.
this doesn''t seem to work on my setup. I have in tcrules :
------------------------------------------------------------------------
RESTORE:T 0.0.0.0/0 0.0.0.0/0 all - - - 0
CONTINUE:T 0.0.0.0/0 0.0.0.0/0
2006 Feb 02
0
Linux Gateway Qos_2 interfaces (1 lan and 1 internet) problem
Hello...I have a Slackware based machine doing routing & QoS for my internal LAN users...
It has two interfaces: eth1(100mbps) that connects to the aDSL modem(USR 9105) and eth0(100mbps) that connects to my local LAN...
I''am using shorewall as a firewall...i think it''s configured well as it''s working as i want and i pass all the online firewall tests... :D
All lan
2004 Sep 24
2
CONNMARK problem
Hello everybody.
i have the folowing problem:
i have this in the top of PREROUTING chain in mangle table
iptables -t mangle -A PREROUTING -j CONNMARK --set-mark 0 # rule 1
iptables -t mangle -A PREROUTING -m connmark --mark 5 # rule 2
iptables -t mangle -A PREROUTING -m connmark --mark 6 # rule 3
i think when packet is passing trough my POSTROUTING in mangle table
2004 May 14
9
RV: LATENCY PROBLEMS
Hello there,
I''m having lots of problems with my setup here. Let me explain:
I am network administrator for my university dorm. We are about 300 users,
and we have 2 ADSL connections doing load balancing with 300kbits upstream
and 2Mbit downstream.
The load balancing is working great, we are doing connection tracking so I
can mark and hence prioritize interactive traffic and ACKS
2006 Oct 28
1
connmark on ifb interfaces
Hello
I''m trying to switch from IMQ to IFB but I have a problem with traffic marked
by ipp2p module. Looks like when traffic is redirected from ethX to ifbX it
looses information about MARK.
Here''s what I do to get ingress traffic to go to ifb interface:
$TC qdisc add dev eth1.42 ingress
$TC filter add dev eth1.42 parent ffff: protocol ip prio 10 u32 \
match u32 0 0
2005 Oct 06
4
Problems with ipp2p
Hello every body:
I have RedHat fedora core 2 machine, using iptables and squid. I am having a
lot of problems with peer2peer traffic. (bittorrent, kazaa, etc.) so I have
installed ipp2p from rpm.
Every thing was ok until I use iptables rules. I get this error.
[root@router iptables]# iptables -A INPUT -p tcp -m ipp2p --ipp2p -j DROP
iptables: No chain/target/match by that name
sames
2005 Nov 24
1
ftp connmark
I saw this snippet from
Daniel Chemko dchemko@smgtec.com
Mon, 31 May 2004 09:30:43 -0700
# Egress marking (mostly for QOS operations)
iptables -t mangle -A POSTROUTING -j CONNMARK --restore-mark
iptables -t mangle -A POSTROUTING -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A POSTROUTING -o ${if_inet} --dport 21 -j MARK
--set-mark 0x111
iptables -t mangle -A POSTROUTING -j CONNMARK
2006 Jan 13
3
IPP2P & Marking Connections
I have two (interconnected) questions:
First of all, I''m trying to use IPP2P to classify my P2P traffic and give it
a lower network priority. I''ve already successfully built IPP2P into
iptables and the kernel. I read http://www.shorewall.net/IPP2P.html, but
it''s confusing me. Using the documentation for normal tcrules in 3.0