[LARTC] patching iptables for connlimit

2006-07-26 Thread Petre Bandac
hallo

the patch described at

http://www.netfilter.org/documentation/HOWTO//netfilter-extensions-HOWTO-3.html#ss3.5

works for the FORWARD chain as well ?

thanks,

petre

-- 

Petre Bandac

Network Scientist

-
[EMAIL PROTECTED]


signature.asc
Description: PGP signature
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] shaping on several ppp interfaces

2006-04-12 Thread Petre Bandac
hallo

I have the following schema

pptpd server, with clients connecting to it and getting access to
inside LAN resources; however, there are some roaming clients that have
huge files to download and so eating all the bandwidth

how can I have the whole x kbps be available on a single ppp
interface, if there are none up, and, in reverse, guarantee to all ppp
interfaces up at a given time x/nr_ppp_interfaces_up kbps ?

thanks,

petre

-- 

Petre Bandac

Network Scientist

-
[EMAIL PROTECTED]
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] cbq & htb

2002-09-18 Thread Petre Bandac

is it ok if on a router with several NICs I use htb for one/more interfaces 
and cbq for only one ? (don't ask me why I need this solution :-))

thanks,

petre



-- 
  5:49pm  up  9:49,  1 user,  load average: 0.10, 0.13, 0.13
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



[LARTC] double rule

2002-08-13 Thread Petre Bandac

I want to shape the traffic on the http port and further on shape it if the 
destination ip is on some network I specify

however, only the first rule is applied ... why ?

#http
$filtru prio 1 u32 match ip sport 80 0x flowid 1:11
#droop :-)
$filtru prio 1 u32 match ip src x.x.x.x  \
match ip dst x.x.x.0/24 flowid 1:13

where classes are defined earlier as

$tc class add dev eth0 parent 1:1 classid 1:10 \
htb rate 32kbit ceil 32kbit

$tc class add dev eth0 parent 1:1 classid 1:11 \
htb rate 64kbit ceil 64kbit

$tc class add dev eth0 parent 1:1 classid 1:12 \
htb rate 128kbit ceil 160kbit

$tc class add dev eth0 parent 1:1 classid 1:13 \
htb rate 100kbit ceil 100kbit

and 

filtru="$tc filter add dev eth0 protocol ip \
parent 1:0"


thanks in advance,

petre



-- 
  6:39pm  up  6:21,  1 user,  load average: 0.06, 0.10, 0.06
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/