ke this happens?
PS.: In the end of this email is my full QOS script.
Att,
Nataniel Klug
--- start - qos.sh ---
#!/bin/sh
#--
# Script de QoS Cyber Nett
#--
# Nataniel Klug
# [EMAIL PROTECTED]
#--
TC="/sbin/tc"
IPT="/usr/local/sbin/iptabl
to the
internet with the proxy/cache IP. Like when they enter in this site
www.meuip.com.br it shows only the proxy/gw server ip and not the client ip.
There is some way to make this happens?
Att,
Nataniel Klug
___
LARTC mailing list
LARTC
CLASS 1:1 classid 1:50 htb rate 256Kbit ceil 256Kbit burst 15k
$CLASS 1:1 classid 1:60 htb rate 1024Kbit ceil 2048Kbit burst 15k
And them direct all traffic coming from my ns2 server (using u32
classifier and src address) to class 1:5...
Is this cor
becouse they are in different interfaces. Anyone knows some way to make
it happen?
Att,
Nataniel Klug
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Andy
I make it work using iptables mark... I just had to change some parts of
the script and it is, now, working fine.
Att,
Nataniel Klug
Andy Furniss escreveu:
Nataniel Klug wrote:
Hello all,
I am trying to make a little bit more complex QoS/Shapping form
and I need to shape a
make this work?
Att,
Nataniel Klug
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Andy,
I will try to make this rule and see what happens. Thanks.
Att,
Nataniel Klug
Andy Furniss escreveu:
Nataniel Klug wrote:
# Regras para a placa eth1
#--
$TC qdisc add dev $DL root handle 1: htb default 50
You are using htb default on eth - unless you make a filter for arp it
Martin,
Thanks for the answer. I will study your topology and try to make this
happens.
Att,
Nataniel Klug
Martin A. Brown escreveu:
Nataniel,
There are probably a handful of ways to solve this problem. Two pop
to mind right away.
: I am still reading about my QoS rules and I need
not
get even into a QoS class. How can I do this?
Att,
Nataniel Klug
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Thank you all for the answers...
Andreas Klauer escreveu:
On Sat, Apr 08, 2006 at 03:18:01PM +0200, Piotr Chytla wrote:
On Sat, Apr 08, 2006 at 08:21:40AM -0300, Nataniel Klug wrote:
I think it worked fine... This is my new script (below the text). I just
dont know how can I know if
-j MARK
--set-mark 10
Att,
Nataniel Klug
#!/bin/sh
#--
# Script de QoS Cyber Nett
#--
# Nataniel Klug
# [EMAIL PROTECTED]
#--
TC="/sbin/tc"
IPT="/usr/local/sbin/iptables"
DL="eth3"
#--
# Apagando regras antigas de
Andreas,
This is not the problem becouse if I disable the rules I am using, and
use other script just with rules using fwmark them the other script
works fine.
Att,
Nataniel Klug
Andreas Klauer escreveu:
On Fri, Apr 07, 2006 at 03:26:00PM -0300, Nataniel Klug wrote:
RTNETLINK answers
script (the one that is working
fine is at the end).
Att,
Nataniel Klug
--
#!/bin/sh
#--
# Script de QoS Cyber Nett
#--
# Nataniel Klug
# [EMAIL PROTECTED]
#--
TC="/sbin/tc"
IPT="/usr/local/sbin/iptables"
DL="eth3"
#--
# Apagando regras antiga
.
Thanks for all answers I have get.
Att,
Nataniel Klug
Jody Shumaker escreveu:
CLASS="/sbin/tc class add dev $DL parent"
$CLASS 1: classid 1:1 htb rate 3072Kbit
$CLASS 1:1 classid 1:10 htb rate 1024Kbit ceil 1024Kbit
$CLASS 1:1 classid 1:20 htb rate 1536Kbit ceil 2560Kbit
$CLASS 1:1
ateway of my network) it returns that big
size time and a big lost:
Estatísticas do Ping para 200.221.2.45:
Pacotes: Enviados = 4, Recebidos = 4, Perdidos = 0 (0% de perda),
Aproximar um número redondo de vezes em milissegundos:
Mínimo = 17ms, Máximo = 21ms, Média = 18ms
?
#!/bin/sh
#--
# Script de QoS Cyber Nett
#--
# Nataniel Klug
# [EMAIL PROTECTED]
#--
TC="/sbin/tc"
IPT="/usr/local/sbin/iptables"
$IPT -t mangle -X
$IPT -t mangle -F
DL="eth1"
#--
# Apagando regras antigas de QoS
#--
$TC qdi
Hello all,
As I have promised I am sending my QoS rules. This now works fine
with u32 classifier (and parent 1:0 that I could not understand why it
did not worked well before).
Att,
Nataniel Klug
#!/bin/sh
#--
# Script de QoS Cyber Nett
#--
# Nataniel
have an error talking to the kernel
Att,
Nataniel Klug
Nataniel Klug escreveu:
Hello all,
I am trying to match some conections using u32 but I tryed this:
[EMAIL PROTECTED] ~]# tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32
match ip src 0/0 match ip dst 0/0 match ip sport 80
Jody,
Tryed, not working, same error:
[EMAIL PROTECTED] ~]# tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32
match ip sport 80 0x flowid 1:10
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
Att,
Nataniel Klug
Jody Shumaker escreveu:
On 4/4/06
out my other question (QoS).
It was very useful hints. Now I think my QoS is working almost 100% ok.
Att,
Nataniel Klug
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
set-mark 40
I made this for every port and every protocol I want but I could not
make this QoS works fine. This is still too slow (http browsing).
Can someone help me?
Att,
Nataniel Klug
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailm
route flush cache
So all cache will be lost (off course that conections that still exists will
remain with their track to the destination).
Att,
Nataniel Klug
- Original Message -
From: "Raj Mathur" <[EMAIL PROTECTED]>
To:
Sent: Thursday, February 23, 2006 4:14 PM
there is anything else you can serve us to make an
analisys.
Att,
Nataniel Klug
Gerente Cyber Nett
Brazil
- Original Message -
From: "Ian stuart Turnbull" <[EMAIL PROTECTED]>
To:
Sent: Monday, February 13, 2006 5:32 PM
Subject: [LARTC] can all internet traffic be directed
PREROUTING -i eth1 -j MARK --set-mark 1
Now we must send this maked packges to routing table that has default
gateway to interface eth2:
ip rule add prio 200 fwmark 1 table route-eth2
This is only an example. Read the LARTC howto them, if you still have any
doubt, come back here.
Att,
Nataniel Klug
anyway to use
transparent squid with multiple routing tables and marking packages?
PS.: What is this error "Icmp checksum is wrong"
Att,
Nataniel Klug
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
from all lookup main
32767: from all lookup default
This prio reads tables from lower prio (0) to higher prio (32767) or it
makes reading this the other way?
Att,
Nataniel Klug
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9
So Rasmus,
If I put a limit into TCP connections it will reflect into UDP conections
over the same source IP?
How can I make a limit into TCP connections?
Att,
Nataniel Klug
- Original Message -
From: "Rasmus Melgaard" <[EMAIL PROTECTED]>
To:
Sent: Thursday, Februa
lower prio or higher prio
tables? If it looks in lower, then my rule is right. The other way I will
have to rewrite it.
Att,
Nataniel Klug
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
what you said is that only one
package in a mark will me matched without that other comands, so, the lines I
have put in red are correct? Today it is working fine, but I have never made a
test longer than 20 or 30 minutes...
Att,
Nataniel Klug
- Original Message -
From: Jody
from a client and forward
this to some cbq/htb band control rules. It is working fine, but I have never
made a test for longer time...
Thanks for your cooperation.
Att,
Nataniel Klug
- Original Message -
From:
Jody
Shumaker
To: lartc@mailman.ds9a.nl
Sent: Thursday
Now I want that all packges with this mark
get throu my gateway using the link at eth2 and all other packges use link at
eth1. How can I do this?!
Att,
Nataniel Klug
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin
Marek,
I made a test to route some kind of trafic throu one link and
other kind throu other using L7-Filter compiled into kernel and
iptables.
It worked properly. So now I will put P2P and messenger trafic
throu one link and all other trafic thou other link.
Thanks.
Att,
Nataniel
d from $IP2 table
T2### Atualiza tabela de cache#$IP route flush
cache--- SCRIPT ---
Att,
Nataniel Klug
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
links
# Balanceamento de carga entre pontos de rede
#
# Script criado por NATANIEL KLUG
#-
#
#
# Variaveis de sistema
#
IPTABLES="/usr/local/sbin/iptables"
IP="/sbin/ip"
#
#
# ENTRADA DE LINKS
#
IF1='eth0'
34 matches
Mail list logo