Date: Mon, 20 Feb 2006 10:09:34 -0300 From: Andre Luiz dos Santos <andre@netvision.com.br> To: freebsd-net@freebsd.org Subject: pppoed patch Message-ID: <200602201009.35208.andre@netvision.com.br>
index | next in thread | raw e-mail
I've written a patch for pppoed.c 1.24 that adds the following options: -c <procs> Maximum number of processes pppoed can run simultaneously. -m <procs/mac> Same as -c but per MAC address. -f <file> Format is <mac> [<procs>]\n. <procs> defaults to 1. Overrides -m. -t <secs> A pppoed child must start ppp in this many seconds or die. For -m and -f: -1 means no limit, 0 means forbidden. http://thiago.joi.com.br/andre/pppoed.patch.gz Feedback is welcome. What I wanted to do was "-m 0 -f macs -t 10": only allow connections from MAC addresses listed in the file "macs" and never run more than one process simultaneously for a single MAC address. And pppoed processes that don't start ppp in 10 seconds should die. Is there some way to do the same thing without this patch? Thank you.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602201009.35208.andre>
