Re: Limit Session Bandwidth

2013-01-07 Thread Julian Elischer
On 1/6/13 10:59 PM, Sami Halabi wrote: Hi, Thank you for the help. sysctl net.inet.ip.fw.one_pass=0 introduces some issues to my configuration limits in my current configuration, because limits aren't applied correctly since we continue after the pipe, eg: i had: 1900 pipe 1000 all from x.y.z.1

Re: Limit Session Bandwidth

2013-01-07 Thread Luigi Rizzo
On Mon, Jan 07, 2013 at 08:59:46AM +0200, Sami Halabi wrote: > Hi, > Thank you for the help. > > sysctl net.inet.ip.fw.one_pass=0 > introduces some issues to my configuration limits in my current > configuration, because limits aren't applied correctly since we continue > after the pipe, eg: > i h

Re: Limit Session Bandwidth

2013-01-06 Thread Sami Halabi
Hi, Thank you for the help. sysctl net.inet.ip.fw.one_pass=0 introduces some issues to my configuration limits in my current configuration, because limits aren't applied correctly since we continue after the pipe, eg: i had: 1900 pipe 1000 all from x.y.z.1 to any 2000 pipe 1001 all from any to x.y

Re: Limit Session Bandwidth

2013-01-05 Thread Luigi Rizzo
On Sat, Jan 05, 2013 at 02:51:07PM +0200, Sami Halabi wrote: > Hi Luigi & Ozkan, > > Thanks for the response. > > Luigi i saw you said in some list never trust italians :), so i went step > by step. > first i put: > me out from a pipe > > sysctl net.inet.ip.fw.one_pass=0 > ipfw pipe 123 config b

Re: Limit Session Bandwidth

2013-01-05 Thread Sami Halabi
Hi Luigi & Ozkan, Thanks for the response. Luigi i saw you said in some list never trust italians :), so i went step by step. first i put: me out from a pipe sysctl net.inet.ip.fw.one_pass=0 ipfw pipe 123 config bw 1Mbit/s mask all ipfw add 100 pipe 123 out ipfw add 120 allow ip from any to any

Re: Limit Session Bandwidth

2013-01-03 Thread Özkan KIRIK
I think there is a mistake at the sched config line. it should be as ipfw sched 789 config mask all pipe 456 On Thu, Jan 3, 2013 at 10:29 AM, Luigi Rizzo wrote: > ipfw sched 789 config mask all pipe 123 ___ freebsd-ipfw@freebsd.org mailing list http:/

Re: Limit Session Bandwidth

2013-01-03 Thread Luigi Rizzo
On Thu, Jan 03, 2013 at 09:19:05AM +0200, Sami Halabi wrote: > Hi, > I wan t to configure bandwidth limits in the folowing scenario: > limit a specific IP to ,say 10MB, but also limit each Session to, say 1MB. > > so max concurrent sessions of that same IP can with full bandwidth would be > 10, ea

Limit Session Bandwidth

2013-01-02 Thread Sami Halabi
Hi, I wan t to configure bandwidth limits in the folowing scenario: limit a specific IP to ,say 10MB, but also limit each Session to, say 1MB. so max concurrent sessions of that same IP can with full bandwidth would be 10, each 1MB, this however doesn't limit the whole number of sessions, so there