RE: ALTQ and bandwidth limiting

2008-05-21 Thread Ansar Mohammed
Ok, I got a bit further. I compiled in ALTQ and I am using Class Based Queueing. Here is a snippet of my pf.conf altq on le1 cbq bandwidth 100Mb queue { std, cifs, http } queue std bandwidth 88.5Mb cbq(default) queue cifs bandwidth 1500Kb cbq queue http bandwidth 1Mb cbq Here is the problem

Re: ALTQ and bandwidth limiting

2008-05-21 Thread Jeremy Chadwick
On Wed, May 21, 2008 at 09:02:59PM -0400, Ansar Mohammed wrote: > Hello All, > > Is there a way using PF and ALTQ that I can set a policy to restrict a > particular host to a maximum network speed? > > I would like to simulate low speed connection using pf. I believe ipfw dummynet has the capabi

ALTQ and bandwidth limiting

2008-05-21 Thread Ansar Mohammed
Hello All, Is there a way using PF and ALTQ that I can set a policy to restrict a particular host to a maximum network speed? I would like to simulate low speed connection using pf. ___ freebsd-pf@freebsd.org mailing list http://lists.freebsd.org/ma

Re: pf reply-to tcp connections stall

2008-05-21 Thread Cristian Bradiceanu
On Wed, May 21, 2008 at 1:27 AM, Vlad GALU <[EMAIL PROTECTED]> wrote: > On 5/20/08, Cristian Bradiceanu <[EMAIL PROTECTED]> wrote: >> On Tue, May 20, 2008 at 7:20 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: >> > On Tue, May 20, 2008 at 06:30:58PM +0300, Cristian Bradiceanu wrote: >> >> I am tr

Re: NAT problem with pppoe

2008-05-21 Thread David DeSimone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reinhard Haller <[EMAIL PROTECTED]> wrote: > > Sending HUP to ppp does'nt eliminate the problem, pfctl -d/-e and a > restart of the internal server solve it. I suggest that your ppp "if_down" script make use of the "pfctl -k" command to kill state ent

Re: nat pass and state

2008-05-21 Thread David DeSimone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason C. Wells <[EMAIL PROTECTED]> wrote: > > Would someone please explain why the nat rule is not sufficient to > allow me to access a web page? I must have a gross conceptual error > on how PF works. This is too simple, but I just don't get it. Th