Displaying 20 results from an estimated 38 matches for "tcdevic".
Did you mean:
devic
2006 Mar 03
3
tcdevices Error
Version 3.0.5 with the two-devices setup (eth0 - net, eth1 - loc).
Kernel 2.4.29
tcdevices, tcrules, and tcclasses are clones of the wondershaper example
(http://www.shorewall.net/traffic_shaping.htm) with eth0 replacing ppp.
With TC_ENABLED=Internal in shorewall.conf:
----
Validating /etc/shorewall/tcdevices...
Validating /etc/shorewall/tcclasses...
ERROR: device A seems not to b...
2013 Dec 03
5
Multiple ISP + traffic shapping = poor download speed
...icated public IP and force the traffic from this dedicated public IP to go to Asterisk server (with IP filtering for security). This works too.
Now, my problem is to put QoS (using TC_ENABLED=Internal). I try many configuration but always have the same problem: once the isp1 interface is listed in tcdevices, we have poor download speed. Even with/without other TC configuration.
Here is our tcdevices file:
========================
#NUMBER: IN-BANDWITH OUT-BANDWIDTH OPTIONS REDIRECTED
#INTERFACE INTERFACES
1:isp1 10240kbit 10240kbit
========================
We use an external server to test...
2006 Mar 30
3
Difficulty in configuring QOS
Hi,
I''m trying to configure QOS , but I''m don''t have success.
My files:
#/etc/shorewall/tcdevices
#INTERFACE IN-BANDWITH OUT-BANDWIDTH
eth0 256kbit 256kbit
eth1 256kbit 256kbit
eth2 256kbit 256kbit
#/etc/shorewall/tcclasses
#INTERFACE MARK RATE CEIL PRIORITY OPTIONS
eth1 1 256...
2008 Mar 05
2
Shorewall & IFB
...add dev eth2 parent ffff: protocol ip \
u32 match u32 0 0 action mirred egress redirect dev ifb0
And then we can use 'tcrules' and 'tcclasses' for configuration egress
discipline of the 'ifb0' interface as usually.
I think that we can add yet one column in 'tcdevices' for such devices
as 'ifb' for define list of interfaces whose traffic we want to redirect to
it. May be so:
#INTERFACE IN-BANDWITH OUT-BANDWIDTH REDIRECTED
# INTERFACES
ifb0 1mbit 512kbit eth2,eth4...
2009 Oct 30
4
traffic shaping with two internal interfaces
...sion 4.0.15 on Debian Lenny. I have 3 following
interfaces:
eth0 net (4mbit/512kbit)
eth1 loc (100mbit)
eth2 loc (100mbit)
I want to shape traffic from net on two lan interfaces like:
- default is 2000mbit for each local interface
- if is no traffic on eth1 is 4mbit for eth2 (and vice versa)
My tcdevices
eth0 4000mbit 512kbit
eth1 - 100mbit
eth2 - 100mbit
Class is assigned to the interface and my question is, is it possible to
assign a common class for eth1 and eth2?
How should look a class for eth1 and eth2?
eth1 1...
2012 Sep 20
1
Debian Lenny very simple traffic shaping not working
Hi,
I am trying to do the simplest configuration of traffic shaping.
So I did:
shorewall.conf
TC_ENABLED=Simple
tcinterfaces
eth0.2 External 500kbit
tcdevices
eth0.2 500kbit 200kbit
And I am testing the speed on that interface - whether I did it ok or not,
and my speed is still 4mbit/512kbit.
So the question is - How to reduce the speed on interface connected to the
Internet?
kind regards
Bartosz.
---------------------------------...
2008 Apr 21
1
Traffic Shaping
...thing (99%) seems to be in the default queue, occasionally
something shows up in the "Mark 2 queue" Queue 1 and 4 are never used.
I am running a 2.6.24 kernel, on a USparc1 using debian testing and I
have attached a shorewall dump.
I have created the following tcrules, tcclasses, and tcdevices files.
tcrules
#MARK SOURCE DEST PROTO PORT(S) CLIENT USER
TEST
# PORT(S)
#VoIP
1 192.168.0.62 0.0.0.0/0 tcp 4569,5060,5061
1 192.168.0.62 0.0.0.0/0 tcp - 4569,5060,5061
1 192.168.0.62 0.0...
2009 Jan 30
4
Packet shaping & bandwidth changes
All of a sudden tonight my web browsing and ssh performance is
terrible. I''m on a cable connection and I''m wondering if it could be
due to evening bandwidth contention or ISP throttling. If so, I
suppose tcdevices numbers are out the window. Can anything be done?
- Grant
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
2007 Aug 15
28
traffic shaping
I try use setup traffic shaping with Shorewall-4.0.2 and have fault.
When i start Shorewall with tc-files configured i get follow messages:
...
RTNETLINK answers: No such file or directory
We have an error talking to the kernel
ERROR: Command "tc filter add dev eth2 parent ffff: protocol ip prio
50 u32 match ip src 0.0.0.0/0 police rate 500kbit burst 10k drop flowid
:1" Failed
2013 Sep 16
7
Rsync rules for Shorewall
Hi folks,
I''m having an issue with rsync between my firewall and an internal
box. It seems to be a shorewall issue (or correctly speaking, an
issue with my shorewall config) because if I disable shorewall my
rsync works fine.
And I just can''t find it documented anywhere what I need to do.
I have rules like this :
root@userver:/etc/shorewall# grep -i Rsync rules
2007 Mar 14
1
Trafic Shapping on alias interface/vlan
Hi
i don''t understand if i can add Trafic Shaping on a Alias ...
I have a lot of Interface with Vlan and i want add QoS on ...
i have put into tcdevices:
eth1.2002 1900kbit 1900kbit
eth1.2003 1900kbit 1900kbit
eth1.2004 1900kbit 1900kbit
eth1.2005 1900kbit 1900kbit
but after i have read this:
You may NOT specify the name of an alias (e.g., eth0:0)
What is the solution ?
Thanks bye
------------------...
2008 Mar 19
0
block p2p
...ipp2p:all ipp2p
This did seem to stop bittorrent but not ares. So first question: is
this the correct rule? Has some one successfully done this before?
My second attempt was to at least make the use of p2p frustratingly
slow. I seemed to have better results. Below are my tcrules, tcclasses,
and tcdevices files.
tcrules
#MARK SOURCE DEST PROTO PORT(S) CLIENT USER TEST LENGTH TOS
# PORT(S)
5 0.0.0.0/0 0.0.0.0/0 icmp echo-request
5 0.0.0.0/0 0.0.0.0/0 icmp echo-reply
RESTORE 0.0.0.0/0 0.0.0.0/0 all - - - 0
CONTINUE 0.0.0.0/0 0.0.0.0/0 all - - - !0
7 0.0.0.0/0 0.0.0.0/0 ipp2p:all
SA...
2006 May 14
6
How do I limit download speed by ip address on the LAN?
Hello there,
I can modify /etc/shorewall/tcdevices to control overall IN-BANDWITH. It is quite effective. Just change 2mbit to 128kbit.
However, how do I limit download speed for a certain host IP on the LAN? I want to limit host 192.168.1.140 download speed to 128Kbit. Other hosts on the 192.168.1.0 LAN can still surf at 2mbit.
Any input...
2007 Mar 13
1
Shorewall and QoS => VoIP Help please
Hi
i want see if my QoS are good because i am not very sure ... the VoIP
quality are not very good when i download.
I have on my Linux routeur/Firewall Asterisk .. and i have into my config :
================================================
tcdevices:
eth0 2000kbit 2000kbit
tcclasses:
eth0 1 100kbit 180kbit 1 tos=0x68/0xfc,tos=0xb8/0xfc
eth0 2 full/4 full 2 tcp-ack,tos-minimize-delay
eth0 3 full/4 full 3 default
eth0 4 full/8 full*8/10 4
tcrules:
1 $FW...
2006 Mar 09
3
Shaping questions
...top priority over over everything else on the LAN (mark 1), give
SSH/ICMP/ACK packets the next priority (mark 2), default traffic is
mark 3, and then P2P on mark 4 (I have set all my P2P programs to only
use 6881-6889). There was mention of VoIP in the TCCLASSES file, but
not in the TCRULES file.
TCDEVICES:
#INTERFACE IN-BANDWITH OUT-BANDWIDTH
ppp0 1200kbit 205kbit
TCCLASSES:
#INTERFACE MARK RATE CEIL PRIORITY OPTIONS
ppp0 1 100kbit 180kbit 1
ppp0 2 full/4 full 2
tcp-ack,tos-minimize-delay
ppp0...
2012 Sep 27
5
Understanding IFB
...Although I''ve read the documentation, I''m not sure I have
this right. Can someone help?
/etc/shorewall/params:
MID_IF=eth0
MID_IF_TC=1
INET1_IF=eth1
INET1_IF_TC=2
INET1_IFB_IF=ifb0
INET1_IFB_TC=3
Note: MID_IF is the LAN and INET1_IF is my internet connection.
/etc/shorewall/tcdevices:
#NUMBER: IN-BANDWITH OUT-BANDWIDTH
OPTIONS REDIRECTED
#INTERFACE INTERFACES
$MID_IF_TC:$MID_IF 0 1000mbit
$INET1_IF_TC:$INET1_IF - 2mbit...
2009 Jun 18
0
Shorewall 4.2.10
...elease was initially uploaded, and we wanted to
avoid the confusion that would inevitabley result if we were to release
a different set of code with the same version number.
Problems corrected in Shorewall-perl 4.2.10.1
1) Users that set TC_ENABLED=Internal and have entries in
/etc/shorewall/tcdevices and /etc/shorewall/tcclasses may experience
startup error such as the following:
ERROR: Command "tc qdisc add dev eth1 root handle 1: htb default 12
r2q 20.8" Failed
Problems corrected in Shorewall 4.2.10
1) A ''large quantum'' warning log message...
2010 Jul 05
10
Problem with trafic shapping and openvpn
I''m using shorewall with openvpn and traffic shaping at all of our offices.
I have noticed for a while that occasionally ping times are excessive. Usually
this is during overnight off site backups but some times during the day.
I have assumed the is was an ISP issue but now I''m suspecting it''s problem
with openvpn and traffic shaping.
In the test case have 2 sites
2006 May 01
1
Traffic Shaping with Shorewall
...ly, would incorporation of ipp2p into my rules help me in any way? My
kernel (gentoo) is already build to support ipp2p and I already have the
module loaded and iptables is working with it. So if ipp2p would be helpful
I''m already set up for it.
Thanks for any help.
Here are my files:
tcdevices:
eth1 3800kbit 800kbit
tcrules:
1 0.0.0.0/0 0.0.0.0/0 icmp echo-request
1 0.0.0.0/0 0.0.0.0/0 icmp echo-reply
2 0.0.0.0/0 0.0.0.0/0 tcp - 50001:50009
2 0.0.0.0/0 0.0.0.0/0 tcp - 5...
2012 Aug 29
2
tcclasses matching on the TOS field
Hello,
I am trying to set up traffic shaping/control for my voip connection.
I am running 4.4.22.3. Here is my current configuration:
--- tcdevices ---
#NUMBER: IN-BANDWITH OUT-BANDWIDTH OPTIONS REDIRECTED
#INTERFACE INTERFACES
eth1 2048kbps 1500kbps
-- tcclasses ---
#INTERFACE:CLASS MARK RATE: CEIL PRIORITY OPTIONS
# DMAX:UMAX
eth1 1 100kbps 180kbps 1 tos=0x88/0xfc,tos=0xb8/0xfc
eth1 2 fu...