Re: [LARTC] graphics HTB

2004-10-27 Thread emo terziev
hi Andreas,
how can i generate grafics from output file?
script dump one big one list ... this is only part of list


"3:a390" -> "a390:" [style=bold,color=green];
"3:a391" -> "a391:" [style=bold,color=green];
"3:a392" -> "a392:" [style=bold,color=green];
"3:a393" -> "a393:" [style=bold,color=green];
"3:a394" -> "a394:" [style=bold,color=green];
"3:a395" -> "a395:" [style=bold,color=green];
"3:a396" -> "a396:" [style=bold,color=green];
"3:a397" -> "a397:" [style=bold,color=green];
"3:a398" -> "a398:" [style=bold,color=green];
"3:a399" -> "a399:" [style=bold,color=green];
"3:a400" -> "a400:" [style=bold,color=green];
"3:a401" -> "a401:" [style=bold,color=green];
"4:" -> "4:10" [style=bold,color=red];
"4:10" -> "4:401" [color=black];
"4:10" -> "4:d001" [color=black];
"4:10" -> "4:d002" [color=black];
"4:10" -> "4:d003" [color=black];



On Tue, 26 Oct 2004 17:55:27 +0200, Andreas Klauer
<[EMAIL PROTECTED]> wrote:
> Am Tuesday 26 October 2004 16:16 schrieb emo terziev:
> > Hi
> >   is it any tool like show.pl by Stef Coene to generate graph with
> > classes but for HTB
> 
> Based on show.pl:
> http://www.metamorpher.de/files/tc-graph.pl
> 
> Example graph:
> http://www.metamorpher.de/files/fairnat.png (big!)
> 
> Use at your own risk only, the script is known to cause kernel panics.
> 
> HTH
> Andreas
>
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] graphics HTB

2004-10-27 Thread emo terziev
Ok i will try it ...  graphics look excactly what i need.




Regards
Emil

On Tue, 26 Oct 2004 17:55:27 +0200, Andreas Klauer
<[EMAIL PROTECTED]> wrote:
> Am Tuesday 26 October 2004 16:16 schrieb emo terziev:
> > Hi
> >   is it any tool like show.pl by Stef Coene to generate graph with
> > classes but for HTB
> 
> Based on show.pl:
> http://www.metamorpher.de/files/tc-graph.pl
> 
> Example graph:
> http://www.metamorpher.de/files/fairnat.png (big!)
> 
> Use at your own risk only, the script is known to cause kernel panics.
> 
> HTH
> Andreas
>
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] graphics HTB

2004-10-26 Thread emo terziev
Hi
  is it any tool like show.pl by Stef Coene to generate graph with
classes but for HTB




regards
emil
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] NAT+mangle+tc

2004-10-11 Thread emo terziev
Hi , Jason
   I know LARTC HOWTO. mi download shapers work fine, but 
I don't know can i limit upload when i have NAT because source IP
address is changed
and i cannot make u32 src filter. 

in other hand package marking isn't usable in my case because i want 
  user A to have for example 128K to Group A networks  and 64K to group B
  user B to have   256k to group A and 1Mbit to group B

download is easy, but for upload i unfortunatly don't know how should  to be  :(
 ,This is over my knowlage i think. 

Please anyone with more experience just to give mi idea how can be done.


+---+   |  S  |
| User A |---+  W | +NAT  
+--+|  I   |eth1 eth0group A
+--+|  T  |+++--- 180 diferent
Networks -+
| User B |+  C  +-| Router || 
 Internet
+--+|  H  |+++---all rest
internet  ---+
   ... / ...  
  group B
+--+|  H  |
| User N |---+  U  |
+---+   |  B  |   >
 +-+



Best Regards
emo terziev

On Mon, 11 Oct 2004 12:09:24 -0400, Jason Boxman <[EMAIL PROTECTED]> wrote:
> On Monday 11 October 2004 07:29, emo terziev wrote:
> > Hi All,
> >   I wonder can I do NAT+mangle+tc on same maschine? I want to shape
> > outgoing traffic per IP on my gateway computer.
> 
> Sure, you can do that on the same machine.
> 
> You can do NAT with a variety of scripts or just hand written iptables rules.
> Personally, I use the gShield iptables firewall.  As for `tc`, you might look
> into the LARTC HOWTO.
> 
> http://lartc.org/
> 
> --
> 
> Jason Boxman
> Perl Programmer / *NIX Systems Administrator
> Shimberg Center for Affordable Housing | University of Florida
> http://edseek.com/ - Linux and FOSS stuff
> 
> ___
> LARTC mailing list / [EMAIL PROTECTED]
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] NAT+mangle+tc

2004-10-11 Thread emo terziev
Hi All,
  I wonder can I do NAT+mangle+tc on same maschine? I want to shape 
outgoing traffic per IP on my gateway computer.


Regards
Emil Terziev
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] limited upload speed

2004-10-04 Thread emo terziev
HI all,
  
   What is best way to be limited upload speed from LAN users. I read
that it is possible to be done with IMQ interface or with limitation
over gateway interface of router(eth0 in  my "scheme"), but i cannot
chose what is preferred way and need from advice.

Please for advise, any example scripts or URL with tutorial are welcome :)
 I read couple times Linux Traffic Control.

  -
  Internet ISP   | eth0 eth1 |---   LOCAL LAN 
  -

Best regards
Emo
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] strange problem

2004-06-16 Thread emo terziev
hi all,

 I have strange problem into my network. traffic to
one IP goes into exact same intervals and look like
drop line and after 10sec and again start connection
 Traffic is into default HTB rules ( rate/ceil 8kbit)

my question is can i prevent from these
connect/disconnect values.and is there any docs for
already detect problem like my.

I use HTB 


P: 62.73.105.24 IN: 000360 kB Out: 021000 kB IN: 0.12
kB/sOut: 6.84 kB/s
IP: 62.73.105.24 IN: 00 kB Out: 00 kB IN: 0.00
kB/sOut: 0.00 kB/s
IP: 62.73.105.24 IN: 00 kB Out: 00 kB IN: 0.00
kB/sOut: 0.00 kB/s
IP: 62.73.105.24 IN: 000400 kB Out: 021000 kB IN: 0.13
kB/sOut: 6.84 kB/s
IP: 62.73.105.24 IN: 62 kB Out: 00 kB IN: 0.02
kB/sOut: 0.00 kB/s
IP: 62.73.105.24 IN: 000124 kB Out: 00 kB IN: 0.04
kB/sOut: 0.00 kB/s
IP: 62.73.105.24 IN: 000342 kB Out: 021000 kB IN: 0.11
kB/sOut: 6.84 kB/s
IP: 62.73.105.24 IN: 62 kB Out: 00 kB IN: 0.02
kB/sOut: 0.00 kB/s
IP: 62.73.105.24 IN: 00 kB Out: 018000 kB IN: 0.00
kB/sOut: 5.86 kB/s
IP: 62.73.105.24 IN: 000360 kB Out: 003000 kB IN: 0.12
kB/sOut: 0.98 kB/s
IP: 62.73.105.24 IN: 00 kB Out: 00 kB IN: 0.00
kB/sOut: 0.00 kB/s
IP: 62.73.105.24 IN: 000360 kB Out: 021000 kB IN: 0.12
kB/sOut: 6.84 kB/s
IP: 62.73.105.24 IN: 00 kB Out: 00 kB IN: 0.00
kB/sOut: 0.00 kB/s
IP: 62.73.105.24 IN: 00 kB Out: 00 kB IN: 0.00
kB/sOut: 0.00 kB/s
IP: 62.73.105.24 IN: 000332 kB Out: 019500 kB IN: 0.11
kB/sOut: 6.35 kB/



regards
emil



__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] flush marker howto

2003-02-17 Thread emo terziev
Thanks Bartek
  It work perfect for me.



--- Bartek Krajnik <[EMAIL PROTECTED]> wrote:
> On 14-02-2003 at 08:38:26AM -0800, emo terziev
> wrote:
> et> Hi,
> et>  How i can clear marker from memory 
> et> after using
> et> 
> et> iptables  -j MARK --set-mark XX
> et> 
> et> Can i flush all markers without restart ?
> et> I try with "iptables -F"  and "-t nat -F" but
> this
> et> doesn't work.
> MARK is only valid in the mangle table.
> iptables -t mangle -D ...
> 
> First try "iptables -t nat -L", later "iptables -t
> mangle -L".
> 
> Rgds,
>   Bartek.
> --
> GPG-Key:
>http://www.bartek.bicom.pl/public_key.txt
>pub  1024D/948DE45D 2002-12-12 Bartek Krajnik
> <[EMAIL PROTECTED]>
>Primary key fingerprint: 95E9 8E2D 1801 7864 2244
>  6EAA 03E5 764D 948D E45D
> 

> ATTACHMENT part 2 application/pgp-signature 



__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



[LARTC] flush marker howto

2003-02-14 Thread emo terziev
Hi,
 How i can clear marker from memory 
after using

iptables  -j MARK --set-mark XX

Can i flush all markers without restart ?
I try with "iptables -F"  and "-t nat -F" but this
doesn't work.

emo

__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



[LARTC] tc filter howto

2003-02-10 Thread Emo Terziev
Hi,
 probably is silly but i can't find how can i define
tc filter for my needs

Situation:
   iptables mark all packages with destanation
192.168.1.0/24 with mark 6
tc use  HTB.

My Problem is how can I say:
   packages with mark 6 and with destanation ( or
source) A.B.C.D to follow xx:xx


Thanks in advance 
Emo


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/