similar to: Shape own router

Displaying 20 results from an estimated 1000 matches similar to: "Shape own router"

2007 May 02
7
tc u32 match !port
How can i redirect all traffic that not come from port 80 to a flow ? i was thing about some like tc filter add dev imq1 parent 1: protocol ip prio 7 u32 match ip sport !80 ...... But this not work. Another doubt, if i have two rules that intersects , for example , one filter with u32 match ip src 10.10.10.10 flowid 1:10 and other with u32 match sport 80 0xffff flowid 1:11 , which one will
2007 May 07
2
IMQ KERNEL PANIC 2.6.17.14 AND 2.6.21.1 No chain/target/match by that name
After starting to shape local traffic now i am getting a lot of kernel panics in tcp_retransmit, so i decided to update my kernel from 2.6.17.14 to 2.6.21.1 , the problem is that after that i get: # iptables -t mangle -A POSTROUTING -o eth0 -j IMQ --todev 0 iptables: No chain/target/match by that name so i can not redirect ttraffic to IMQ device. and modules are loaded. - # lsmod Module
2007 Feb 04
4
tc ingress + iptables mark problem
Hi guys , i am starting to "play" with qos in linux. Well , i am trying to setup an ingress filter but i do not know why it is not working. tc add qdisc dev eth0 ingress tc filter add dev eth0 parent ffff: protocol ip prio 1 handle 1 fw police rate 160kbit burst 256kbit drop flowid :1 After that : iptables -A PREROUTING -t mangle --sport 80 -j MARK --set-mark 1 So , i think this
2007 Sep 16
5
doubt about bridge qdisc
Hi guys, i have a little doubt ; I have eth0 ethernet and eth1 wireless , and they are bridged in br0 Is there any difference in the behavior between do tc qdisc add dev br0 root sfq OR tc qdisc add dev eth0 root sfq && tc qdisc add dev eth1 root sfq -- []''s Salatiel "O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o
2010 Jan 23
1
Help to fix the remaining problems when migration from windows to a linux print server
Hi, i am trying to migrate my print servers from windows to linux , everything is getting really nice but i still face a few problems , and since i don't know if i need help from cups or samba guys i will post to both lists, so maybe someone can give me some help. Well, i have now cups and samba working just fine, i can authenticate my users in cups from Active Directory using winbind and
2010 Apr 22
1
PRIO qdisc + iptables TOS target
i am trying to do some traffic classification using the PRIO qdisc and i am having a few problems. I have a root htb class: tc qdisc add dev imq0 root handle 1: htb default 255 r2q 1 tc class add dev imq0 parent 1: classid 1:1 htb rate 768kbit and a child PRIO tc class add dev imq0 parent 1:1 classid 1:99 htb rate 96kbit ceil 600kbit prio 0 tc qdisc add dev imq0 parent 1:99 prio tc filter
2007 May 16
5
statistics and calc bandwidth traffic using tc -s qdisc show
2007 Jun 08
5
CBQ + Layer7 x Emule
Hi All , My first message and I have a little problem with my FC6 box trying to block emule traffic using layer7 . Here my network : Internet --------- ADSL Router ------------------- FC6 Box -------------------- Emule Box external ADSL : Dynamic Internal ADSL : 192.168.254.1 external FC6 : 192.168.254.3 internal FC6 : 192.168.253.1 Emule Box : 192.168.253.3 I guess that everything
2007 May 19
1
Re: LARTC Digest, Vol 27, Issue 26
Hi folks...!!! I need to generate qdisc statistics to show my 4 class (10, 20, 30, 40), i`ve all working with HTB and so on, but i need to graph this results e.gwith RRDTOOL. I found a script made in perl, that can to graph my 4 class, but i need to know which IP address on my LAN are using the bandwidth too, in other hand i need to classify the traffic by IP to show. This is an out of my
2007 Oct 05
2
Limit Rates in more scalable and efficient way
Hello I''m looking for a more efficient way to limit rates to different clients. Right now as I understand it, I have to make a class for every customer/ip-address I''d like to limit bandwidth. This means lots of configuration if i had many customers to setup traffic shaping for. I can filter for ip-ranges, but then all ip''s of that range share the set bandwidth of the
2007 Dec 07
1
how RED should work ?
Hi , i am trying to understand how RED queue discipline works but i am having a few troubles. The parameters are MIN , MAX , LIMIT , BURST I put LIMIT = 64Kb, so if i am not wrong it should PDROP anything over this value , right ? i put MIN = 8Kb , so no drops at all below this value, right ? i put MAX = 16Kb, starts to early drop anything above this using probability P. I put probability at
2007 Dec 17
1
doubt about esfq
In esfq README i have: Depth sets the number of slots. If the number of active flows is greater than the number of slots, flows will end up sharing slots and ESFQ will no longer be fair. If you anticipate more than 128 concurrently active flows, you should use a larger depth and probably a larger divisor (see below). If you expect there to be far fewer than 128 concurrent flows, you
2008 Jan 05
0
Help With WRR
Could anyone explain what is WRR param2 [wmode2 , incr2 , decr2 , min2] for ? can i set just the param1 ? [wmode1 , incr1 , decr1,min1] -- []''s Salatiel "O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente".
2007 Oct 08
0
new doubts about bridge qdisc
Ok , let`s go again with shaping a bridge interface. The environment is a dd-wrt firmware router. I have vlan1 interface connected to the DSL modem , and a br0 interface connecting wired and wireless machines. lets begin with the doubts , I have [example]: tc qdisc add dev br0 root handle 1: htb default 999 tc class add dev br0 parent 1: classid 1:999 htb rate 16kbit ceil 16kbit well , all
2008 Jan 11
0
why can`t i attach wrr to a htb or hfsc class ?
Attaching WRR to a hfsc ot htb class after a while i will get all packets drop and syslog full of HFSC or HTB : Non-work-conserving qdisc any ideas ? -- []''s Salatiel "O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente".
2010 Mar 04
0
Problem running rpc add driver
Hi , i am trying to add a driver to windows using the smbclient and rpc commands [got those from cupsaddsmb -v commands] and i am getting : smbclient //localhost/print$ -U $PASS -N -c ' mkdir W32X86;put GENERIC.ppd W32X86/GENERIC.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf
2012 Mar 12
3
--delete not working
Hi guys , i need some help. I am trying to make a full sync of two of my servers. But i noticed a very odd thing. If i create a directory , for example /usr/include/SOME_FOLDER/some_file on server2 when i do : root at server1 #$ rsync -avhH --exclude proc/ --exclude sys/ --exclude dev/ / root at server2:/ after the whole sync, the /usr/include/SOME_FOLDER/some_file will still be in
2008 Mar 05
2
Shorewall & IFB
Hello Tom! After i read and analyze some docs about IFB i decide that for implement this feature in Shorewall not need more efforts (of course i may be wrong). If we have 'ifb0' device then we must activate ingress discipline on real device (f.e. eth2) and redirect 'egress' from it to 'ifb0'. tc qdisc add dev eth2 ingress tc filter add dev eth2 parent ffff: protocol ip
2007 Sep 19
7
ifb and ppp
Hello! My goal is to setup an ingress traffic shaping on my PPPOE DSL line with ifb. My old imq stuff used iptables marks (like ''iptables -t mangle -A PREROUTING -p tcp --sport 22 -m length --length :500 -j MARK --set-mark 31'') to classify the traffic and since i am lazy, i tried to to reuse them with ifb. But no luck: iptables marks the packets well, but tc
2007 Mar 28
7
(no subject)
Hi all, I''m having a hell of a time getting my IFB to work. I know I''ve done this before, so I''m missing something stupid. Can anybody tell me what it might be? Configs as follows: -------- #!/bin/sh modprobe ifb numifbs=1000 modprobe act_mirred modprobe 8021q brctl addbr br0 brctl setfd br0 0 brctl stp br0 off brctl addif br0 eth1 brctl addif br0 eth2 ifconfig eth1