Displaying 20 results from an estimated 10000 matches similar to: "Please: "judge" this script"
2005 Jul 05
0
Please: Judge this script
I copied and tried to adapt to my necessities the excellent script of Pedro Larroy, but I am inexperienced in QoS and I have doubts. I have cablemodem to Internet 1024kbit down and 256kbit up, through eth0. The LAN has eth1 and NAT.
I formed the band so that shaping goes by the eth1 (of the LAN) with bandwidth maximum CEIL=768.
But I observe that the traffic sometimes accelerates and other
2006 Dec 06
0
Configuring a QoS Box + Cliente Bandwidth Control
Hello all,
I am trying to configure a linux box to make some QoS into my
netowork and, at the same box, control my clients bandwidth. I have this
classes created:
----------------------------------------------------------------
UP="eth0" # wan infocontabil
DL01="eth2" # lan clientes
$TC qdisc del dev $DL01 root 2> /dev/null >
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
2006 Jan 24
0
Problems in Bandwidth limiting-Help needed!!!
Dear All
I am a newbie to traffic control and i am trying to setup bandwidth restriction
in my local network as well as internet access to users. I got around 60 pcs in my lab and i am planning to divide bandwidth based on classes. I am using iptables to mark packets and then route the traffic to the specified class.
Following is the network setup
Two network cards in the server eth0
2005 Nov 15
3
can I use tos and fwmark at the same time?
Hello lartc maintainers and users!
I have a router with two NICs. One NIC is connected to the Internet and the other to my internal LAN. I made a script for priorizing interactive traffic. The script matches TOS Minimize-Delay for priorizing interactive trafic, and fwmark for metropolitan packets.
I have two root classes (simulating two circuits) : 1:1 for internet and 1:3 for metropolitan.
2004 Apr 19
1
Prioritizing on a Bridge doesn''t seen to work correct, ingress does not functional
Hi there,
i tried to setup up a Linuxbridge for prioritize some interactive (Citrix / https) Traffic to 1.2.3.4 on my ADSL Link, but i think it work not correct.
Overview:
Router <->Linux Bridge<->internal Net
eth1 eth0
This is my Script (with friendly support from the Linux Advanced Routing & Traffic control Howto)
#!/bin/sh
#
# ADSL
2005 Dec 27
3
Ingress policing (matching netfilter marks)
Hi,
I''m having issues with policing my incoming traffic by matching packet marks
made by iptables. I''ve checked as many sites and guides as I can find, and I
seem to be doing the exact same thing as they all are, but there''s still no
success. As such, I was wondering if anyone can have a quick look to see if
I''ve done anything obviously stupid?
Essentially, I
2006 Feb 14
1
Guarantee ICMP respond time ?
Hello to all people there .
Can i guarantee ICMP respond time no metter how loaded is internet line .
i have typical NATed enviroiment like
External IP |linux router| LAN - 192.168.0.0/24
i have example setup with IMQ but is it possible to be done also if i
attache htb to eth0 and eth1 for example .
if i start shaper ping i better that without shaper but it''s not
guarantted i mean
2006 Aug 15
5
howto reduce the ping?
Hi,
with the attached config my gaming ping is still +20ms, even if the line isn''t
saturated..can anybody give me a hint how to get a better response time?
my line: 1024/128kbit
outbound:
one htb qdisc for gaming (7kbps) prio 0 ceil 14kbps<- should get more traffic
when needed.
Htb again for irc and default.
inbound:
css, irc, p2p, default <- same shema as before, give css
2004 Aug 17
0
HTB kernel panic crash!
(list admin, please cancel the same post from my other email address --
forgot to change it on first submission)
I need to setup QoS on a linux router/firewall I maintain. I spent 10
hours reading everything I could find on QoS/HTB/iproute2 and came up with
what I thought made sense for my situation. So I deployed it and BOOM!
KERNEL PANIC! Not what I was expecting... now the debugging begins.
2005 Nov 01
0
ADSL-Bandwidth-Management-HOWTO
Hi,
I''ve read ADSL-Bandwidth-Management-HOWTO
http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/implementation.htm
l#AEN166
and I''ve a doubt from script:
[ ... ]
# DNS name resolution (small packets)
iptables -t mangle -A MYSHAPER-OUT -p udp -j MARK --set-mark 21
[ ... ]
That is a bug ?
I think that " DNS name resolution (small packets) " is better
2004 Oct 20
1
LARTC problems with PRIO qdisc
Hi,
I have a router/firewall running Linux (like the most of you) and I
wanted to do some traffic control.
I''ve created an root PRIO qdisc like the example in paragraph 9.5.3.1
(http://www.lartc.org/howto/lartc.qdisc.classful.html#AEN903) with three
SFQ child-classes.
I wanted for interactive (ssh, telnet, ftp-control) and dns-traffic to
be placed in the first queue, http should go in
2005 Dec 22
2
strange tc filter behavior
Hi All
I am fighting this for 3 days and could not find any reason it is not working
the way I want to (or I the way think it should).
Internet output interface = eth2 (htb qdisc)
Internet input interface = imq0 (eth2 attached - htb qdisc)
main class = imq0 1:1
sub1 = 1:ffff (default)
sub2 = 1:10 (src ports 1433/tcp or 1434/tcp or 81/tcp or 82/tcp)
sub3 = 1:11 (src and dst port 25/tcp )
2004 Apr 04
2
IMQ & NAT
Hi all, my IMQ device works OK (thanks to Andy Furniss), but now I''ve
problems to attach the traffic in the qdisc''s. This is my conf:
-----------------------------------------------------------------------
INET
|
|eth0 300Kbps
ROUTER (NAT)
|eth1
|
LAN
-----------------------------------------------------------------------
MAX=300
tc qdisc add dev imq0 root handle 1: htb
2005 May 18
4
HTB + IMQ + IPtables marking.
Folks,
I''m so surprised what happened to my box just in the few weeks lately.
Here is my setup:
INTERNET <----------> [eth0] SHAPER-BOX [eth1] <----------> USER-FARM
both eth0 & eth1 got public ips (202.x.x.x)
Why traffic monitored at eth0 is bigger than eth1 ?
eth1 shaped just exactly the same as rate i defined in HTB.
I just have 1024Kbps from my ISP and i defined the
2005 Mar 11
3
strange behaviour of qos
Hi
I have the following problem:
I''ve created qos script which shapes traffic
on outgoing interface eth1. More - less it looks like this :
------------------------CUT------------------------------------------------------
#root qdisc and class for eth1
$tc qdisc add dev eth1 root handle 1:0 htb default 19
$tc class add dev eth1 parent 1:0 classid 1:1 htp ratel ${CEIL_UP}kbit
ceil
2005 Oct 07
1
How would this help my LAN / network
HI all
I just came across one of the threads on the LARTC.
In the thread it had this.
So my question is, for the following rules, would these increase my browsing / traffic, and if so, how.
iptables -t mangle -A PREROUTING -p tcp -m tcp --tcp-flags SYN,RST,ACK ACK -m length --length 0:128 -j TOS --set-tos Minimize-Delay
iptables -t mangle -A PREROUTING -p tcp -m tcp --tcp-flags SYN,RST,ACK ACK
2005 Sep 29
0
what am i doing wrong?
#!/bin/sh
PPP=(ppp0 ppp1)
IP=(`ifconfig ${PPP[0]}|sed -n 2p|column -s ":" -t|awk ''{print $3}''`
`ifconfig ${PPP[1]}|sed -n 2p|column -s ":" -t|awk ''{print $3}''`)
GATEWAY=(`ifconfig ${PPP[0]}|sed -n 2p|column -s ":" -t|awk ''{print $5}''`
`ifconfig ${PPP[1]}|sed -n 2p|column -s ":" -t|awk ''{print
2004 Aug 04
5
Asterisk QOS working perfect using sveasoft 3.11g
As seen on my post at:
http://www.sveasoft.com/modules/phpBB2/viewtopic.php?p=28112#28112
This works very well... It does NOT work with stable 4.0! sveasoft
will be issuing a bug fix for this (4.1) in the near future.
Final Rev of working script w/ asterisk support
I'm not going to run alchemy on production machines until it is stablish.
Remember to set your uplink properly and to set
2007 Feb 14
0
Marking packets with iptables (NEWBIE)
Hi all,
I''m trying to marking packets with iptables and use tc filter to catch this
packets.
I configure my device:
tc qdisc del root dev eth0
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 3000kbit ceil 6000kbit
burst 15k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 2000kbit ceil
4000kbit burst 15k
tc qdisc add dev eth0