Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Packet Shaping
Date: Wed, 18 Apr 2007 15:27:12
Message-Id: 49bf44f10704180817h53702372uef2ce3ecf9f7a972@mail.gmail.com
In Reply to: Re: [gentoo-user] Packet Shaping by Elias Probst
1 > > I switched from The Wonder Shaper and started using shorewall configs
2 > > and it's working great. I can't get ipp2p to identify bittorrent
3 > > traffic though, so I have the default set up for really low priority.
4 > > Thanks for your help! This is fun.
5 > >
6 > > - Grant
7 >
8 > Never got Shorewall traffic shaping to do anything.
9 > shorewall show | grep mark | grep -v "mark=0" | wc -l
10 > is 0. It seems to fail when classifying packets. Neither port based
11 > classifying worked nor ipp2p based classifying.
12 >
13 > If you have a working configuration, I'd like to see how you did it.
14
15 Glady. This works like a dream. 360kbps bittorrent download with a
16 simultaneous voip call in perfect clarity, remote ssh feeling local,
17 and extremely responsive browsing. I do wish I could get ipp2p
18 working so I don't have to default to mark 4 though. I'm using
19 Verizon 3.0Mbps DSL. No special shorewall.conf config at all.
20
21 tcdevices:
22 eth0 365kbps 150kbps
23
24 tcrules:
25 eth0 1 full full 1
26 eth0 2 full/2 full 2
27 eth0 3 full/3 full*9/10 3
28 eth0 4 full/25 full/15 4 default
29
30 tcrules:
31 1 0.0.0.0/0 so.me.i.p/32 udp
32 2 0.0.0.0/0 0.0.0.0/0 tcp 22
33 2 0.0.0.0/0 0.0.0.0/0 icmp echo-request
34 2 0.0.0.0/0 0.0.0.0/0 icmp echo-reply
35 2 0.0.0.0/0 so.me.i.p/32 all
36 3 0.0.0.0/0 0.0.0.0/0 udp 53
37 3 0.0.0.0/0 0.0.0.0/0 tcp 80,443
38 3 0.0.0.0/0 0.0.0.0/0 tcp 873
39 3 0.0.0.0/0 0.0.0.0/0 udp 873
40
41 - Grant
42 --
43 gentoo-user@g.o mailing list