Re: [LARTC] NEW imq driver

2004-01-26 Thread Michael Renzmann
Hi. Roy wrote: Finaly I made imq driver stable [...] This is completely diferent code than old imq. May I then second the proposal to give the driver another name? How about IMQ2, IMQng (next generation) or something like that? Bye, Mike ___ LARTC mai

Re: [LARTC] NEW imq driver

2004-01-26 Thread Roy
Seems I was to fast to declare success, my version is not much more stable than the original one,everything depends on dropped packets. This is even not imq fault afterall, can be prowed in other way also: atempts to police outgoing trafic it will be ok until you dont touch localy generated packe

Re: [LARTC] NEW imq driver

2004-01-26 Thread rubens
> Finaly I made imq driver stable it did not crashed for all 5 hours under > high load, soo looks stable. > (old one was crashing after 1-5 min for me) It seems to capture ingress and egress traffic of all interfaces; wouldn't this count packets twice ? If the machine is doing SNAT or DNAT, wha

[LARTC] connbytes and connmark

2004-01-26 Thread Roy
I need them both but POM fefuses to include them in kennes saying that they are incompatible what is that nonsense? anybody have them both at once? ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://la

Re: [LARTC] IMQ Stability

2004-01-26 Thread Alexander Clouter
On Jan 26, Michael S. Kazmier wrote: > Hello Alex, > > Perhaps I missed something below which ties eth0 and eth1 to the PPP pipe, > or its just my unfamiliarity with PPP. > sorry I should of made it cleaner. If you read up on Advanced Routing HOWTO, its hopefully easy to understand. lets say:

[LARTC] Filter not listed for firewall filter - and not running!

2004-01-26 Thread Michael S. Kazmier
Hello all, I am having some trouble getting a firewall filter to work with TC. I am actually setting the mark via EBTables (which is working as far as I can tell, I am also logging the packet and my syslog reports lots of marks): ebtables -t broute -A BROUTING -p ipv4 -i eth1 -s 08:00:46:60:B3:

[LARTC] HTB/SFQ dequeueing in pairs

2004-01-26 Thread Andy Furniss
I set up a little test to see what the behaviour of (e)sfq was - because I couldn't work it out from the source :-) . I wanted to see where from a slot the packets got dropped when the queue was full. (e)sfq drops from the longest slot to make space for an incoming packet, so it's not tail drop

[LARTC] NEW imq driver

2004-01-26 Thread Roy
Finaly I made imq driver stable it did not crashed for all 5 hours under high load, soo looks stable. (old one was crashing after 1-5 min for me) no need to patch anything just compile and insmod, should work with any kernel probably must be > than 2.4.20 This is completely diferent code than old

[LARTC] R2Q

2004-01-26 Thread Mihai Vlad
Hello again, I need to change the R2Q for my script, as setting the quantum manually for each class is painful. Can you tell me exactly where to set R2Q = x? I get syntax errors all the time. Should it be specified for each class? I do not know where to place this setting... Thanks in advance,

Re: [LARTC] I can't get TCNG to compile!!!

2004-01-26 Thread rubens
./configure --no-tcsim will make your life easier if you just want tcc (compiler) not tcsim (simulator) Rubens On Mon, 26 Jan 2004 [EMAIL PROTECTED] wrote: > Help! I can't get TCNG to compile!!! It did this on 2 different machines! > Here are the errors: > > --

[LARTC] I can't get TCNG to compile!!!

2004-01-26 Thread jradke
Title: I can't get TCNG to compile!!! Help! I can't get TCNG to compile!!! It did this on 2 different machines! Here are the errors:   Kernel: 2.4.22 [EMAIL PROTECTED] tcng]# uname -a Linux localhost.localdomain 2.4.22-1.2149.nptl #1 Wed Jan 7 13:08

[LARTC] Help with a simple config

2004-01-26 Thread jradke
Title: Help with a simple config Here's the scenario: - 4 NIC's; 1 Upstream, 3 subscribers each with different rates. NIC-1: NO CAP simply 100mbit I want to cap the traffic on each of the subscriber NIC's to a specific rate i.e.:     - NIC-2: 8mbit     - NIC-3: 5mbit     - NIC-4: 3mbit Jus

Re: [LARTC] IMQ Stability

2004-01-26 Thread rubens
> the new imq driver that i am developing will have unlimited posibilities > it willbe fake interface wich passes all ip trafic without exception no > mater which direction, destination and so on > even localy generated and received trafic should pass it May I suggest that if it's new code with

RE: [LARTC] IMQ Stability

2004-01-26 Thread Michael S. Kazmier
Hello Alex, Perhaps I missed something below which ties eth0 and eth1 to the PPP pipe, or its just my unfamiliarity with PPP. Regardless, an interesting methodology. Do you think you could do the following: -- The reason I ask is that I would like to, at the PPP level, apply CBQ o

RE: [LARTC] Re: Problems with netfilter

2004-01-26 Thread Nikhil Jogia
PROBLEM SOLVED! I didn't have to bind the output to the mail server. The problem was that I didn't have a SNAT rule for eth0 (the network interface attached to the ADSL modem). Thank god for that! > iptables -A OUTPUT -t mangle -p tcp --dport 25 -j MARK --set-mark 25 > ip rule add fwmark 25 l

Re: [LARTC] IMQ Runtime error

2004-01-26 Thread Andy Furniss
Roy wrote: even if imq is quite useless right now I thought it was OK for inbound traffic. What sort of load/traffic do you see crashes with. I have an old P200 as a gateway and can run bittorrents on it, with IMQ doing outbound for locally generated traffic (not that I really need to) and can

Re: [LARTC] Re: Problems with netfilter

2004-01-26 Thread rubens
> iptables -A OUTPUT -t mangle -p tcp --dport 25 -j MARK --set-mark 25 > ip rule add fwmark 25 lookup mail > ip route add default via xxx.xxx.xxx.xxx dev ppp0 table mail > > Running tcpdump it appears that port 25 traffic is be routed through the > ADSL connection. However, the source IP address

[LARTC] Maximum number of paralel connections

2004-01-26 Thread GoMi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was wondering, most of the p2p programs are bandwith wasters, because they open lots of parallel connections. I have 5 queues to prioritize traffic, but these p2p open thousands of connections and my systems gets REALLY HIGH latence. Does anyb

Re: [LARTC] IMQ Stability

2004-01-26 Thread Remus
Hi Roy, Excelent Roy!!! Good job. Where we can get your IMQ port to test? Best Regards Remus - Original Message - From: "Roy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 25, 2004 3:49 AM Subject: Re: [LARTC] IMQ Stability > Internet (eth0) <-> ppp0 - ppp

[LARTC] Re: Problems with netfilter

2004-01-26 Thread Nikhil Jogia
I have fixed half of the problem with: iptables -A OUTPUT -t mangle -p tcp --dport 25 -j MARK --set-mark 25 ip rule add fwmark 25 lookup mail ip route add default via xxx.xxx.xxx.xxx dev ppp0 table mail Running tcpdump it appears that port 25 traffic is be routed through the ADSL connection. Howe