Re: Downloads limiting with PF

2006-01-23 Thread Maxim Vetsalo
On Monday 23 January 2006 21:18, you wrote: > A non-technical suggestion: > > Keep in mind your *real* goals instead of focusing too closely on one > particular solution. Thanks! This is extremly usefull advice! Now I understand that I need rethink my problem. And misc@ was *very* helpfull. Th

Re: Downloads limiting with PF

2006-01-23 Thread Maxim Vetsalo
On Monday 23 January 2006 00:36, you wrote: > On 2006/01/23 00:23, Maxim Vetsalo wrote: > > Greate thanks for your answer, Marco! I had read it, but didn't find > > solution for my problem yet. > > You missed the pf.conf(5) section on service curves, then. Yes, you are ri

Re: Downloads limiting with PF

2006-01-22 Thread Maxim Vetsalo
f part of it. In pf source I find, that struct pf_state have array member bytes[2]. I guess it is in/out bytes counter for connection. But I can't use it to solve problem right now :-( So, I think I need to code a little bit. Maxim. > > On Sat, Jan 21, 2006 at 11:27:50PM +0200, Maxim

Downloads limiting with PF

2006-01-21 Thread Maxim Vetsalo
Hi Sorry for my english first :-( I try to explain my problem as clean as I can. I have internet connection with very low bandwidth and many users. Bandwidth is enough if users don't download large files, but if only one of them start to download, others must wait long time for any webpage (and