Date: Wed, 30 Jul 2008 10:58:21 +0300 From: "Ivan Petrushev" <ivanatora@gmail.com> To: news@topocentras.lt Cc: freebsd-pf@freebsd.org Subject: Re: need help with keep state and shaping Message-ID: <d39744a20807300058m4debcc00n1db1ba0a3ad1e240@mail.gmail.com> In-Reply-To: <64686.88.119.128.115.1217400195.squirrel@mx.agservice.lt> References: <51307.88.119.128.115.1217227945.squirrel@mx.agservice.lt> <64686.88.119.128.115.1217400195.squirrel@mx.agservice.lt>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello ALbertas, I thought 'keep state' is a default behavior in FreeBSD 7 and you don't have to specify that keyword? Regards, Ivan On Wed, Jul 30, 2008 at 9:43 AM, <news@topocentras.lt> wrote: > Hello once more, > It whould be very interesting to hear from you how to use keep state for > router, shaping in and out traffic. > I am using around thousand of queues(hfsc) and it makes a lot of > performace problems. Using keep state it would reduce it, but as i mention > before, i have problems using it. > > Sincerely Yours, > Albertas > >> ext_if="bge0" >> int_if="bge1" >> >> pass out quick on $ext_if from 10.0.0.1 to any queue upload1 >> pass out quick on $int_if from any to 10.0.0.1 queue download1 >> >> pass out quick on $ext_if from 10.0.0.2 to any queue upload2 >> pass out quick on $int_if from any to 10.0.0.2 queue download2 >> >> pass out quick on $ext_if from 10.0.0.3 to any queue upload3 >> pass out quick on $int_if from any to 10.0.0.3 queue download3 >> >> pass in all >> pass out all >> >> #10.0.0.x users subnet >> >> Hello, >> I have problems with keep state usage. I need to shape ingoing and >> outgoing trafic (no nat). >> Before I used sintax like above, but then I used it with keyword "keep >> state" some useres reported problems with trafic. >> With version FreeBSD 7 with keep state on pass rules are not working at >> all. >> Question is how to deal with keep state for in and out trafic then i need >> to shape both? I tried to use set state-policy if-bound but it had no >> impact. >> >> _______________________________________________ >> freebsd-pf@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-pf >> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >> > > > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d39744a20807300058m4debcc00n1db1ba0a3ad1e240>