Re: ALTQ help request
On Friday, Jul 18, 2003, at 21:03 US/Pacific, Mark Fordham wrote: I'm trying to get ALTQ working with the following setup without much success. To test I'm doing a simultaneous FTP upload and download from a Windows box on the internal network. The upload is being limited to 100Kb as expected but the download drops off rapidly after starting the upload. OpenBSD 3.3 snapshot 2003-06-06 ADSL 512/128 using PPPoE A performance/bugfix patch for tun(4) was added Jun 12: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/ if_tun.c.diff?r1=1.47&r2=1.48 Volker's tests and commentary may help: http://secspace.de/altq_on_tun.html Your rules look fine.
ALTQ help request
Hello list I'm trying to get ALTQ working with the following setup without much success. To test I'm doing a simultaneous FTP upload and download from a Windows box on the internal network. The upload is being limited to 100Kb as expected but the download drops off rapidly after starting the upload. OpenBSD 3.3 snapshot 2003-06-06 ADSL 512/128 using PPPoE # pf.conf # --- Macros section --- EXT= "tun0" INT= "rl0" # --- Tables section --- # --- Options section --- # --- Scrub section --- # --- Queuing section --- altq on $EXT priq bandwidth 100Kb queue { q_pri, q_def } queue q_pri priority 7 queue q_def priority 1 priq(default) # Translation section nat on $EXT from 192.168.0.0/24 to any -> ($EXT) # --- Filter Rules section --- pass out on $EXT proto tcp from $EXT to any flags S/SA \ keep state queue (q_def, q_pri) pass in on $EXT proto tcp from any to $EXT flags S/SA \ keep state queue (q_def, q_pri) # --- End --- Thanks Mark