summaryrefslogtreecommitdiff
path: root/usr.sbin/pppoe
AgeCommit message (Collapse)Author
2004-09-03sleep instead of busy waiting on ENOBUFS. reduces cpu time.Ted Unangst
pr3900. ok canacar@ deraadt@ matthieu@ millert@
2004-08-03add ifconfig(8) Xr and spacing;Jason McIntyre
from Alexey E. Suslikov;
2004-06-14Set relay session id in outgoing packets properly. Report with patchCan Erkin Acar
from Girish Venkatachalam. ok millert@
2004-05-14Fix pppoe server mode. pppoe no longer chroots in server mode.Can Erkin Acar
the command 'allow users _ppp' must be added to the relevant section in ppp.conf. Found, tested and help claudio@ put that pppoe in deraadt@
2004-05-06knf and other cleanupsTheo de Raadt
2004-05-06pppoe now drops privileges to user _ppp and chroots after settingCan Erkin Acar
write filters and locking its bpf descriptor. ok deraadt@
2004-05-06debug.c not usedTheo de Raadt
2004-05-06.Fl for flags, .Ar for arguments;Jason McIntyre
2003-08-19rewrite SIOCGIFCONF into getifaddrs. deraadt okJun-ichiro itojun Hagino
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-06-28() to (void)Theo de Raadt
2003-06-04kill terms 3 & 4Jason Wright
2003-06-04kill clause 3 & 4Jason Wright
2003-05-10typos;Jason McIntyre
2003-02-09typos;Jason McIntyre
2002-09-08more cleaningJason Wright
2002-09-08Fix a bunch of -pedantic errorsJason Wright
2002-09-06default: needs statement after itTheo de Raadt
2002-09-06MD5Final() takes unsigned char *Theo de Raadt
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-10Use IFNAMSIZ for strlcpy() and also pretty the man pageJason Wright
(from PR2315; Jason Ackley <jason@ackley.net>)
2001-11-29Replace strncpy() calls with adequate strlcpy() ones, and fix a cosmeto.Miod Vallat
jason@ ok
2001-11-17volatile sig_atomic_tTheo de Raadt
2001-09-12s/set (mtu|mru)/set \1 max/brian
2001-08-22must quote set device line; mcbride@countersiege.com (pr2020... I can patch ↵Jason Wright
clearly now the rej is gone...)
2001-08-20Powered by @mantoya.Mike Pechkin
o) fix bogus .Xr usage; millert@ ok.
2001-08-02o) .Sh AUTHOR -> .Sh AUTHORS;Mike Pechkin
o) .Sh EXAMPLE -> .Sh EXAMPLES; o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION; millert@ ok
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-04-24remove unecessary code and dataJason Wright
initialize more of the client state in client_mode() add sessionid check on incoming packets. Non-matching packets are just ignored (this allows multiple pppoe's to run on the same interface without freaking out). Thanks again to Russell T Hunt <alaric@MIT.EDU>.
2001-04-24Remove unnecessary code; Russell T Hunt <alaric@MIT.EDU>.Jason Wright
2001-04-24PPPOE_MTU should be (ETHERMTU - sizeof(struct pppoe_header)) not two bytesJason Wright
less. (This is the MTU between ppp and bpf, not to be confused with the link negotiated ppp mtu). Many thanks to Russell T Hunt <alaric@MIT.EDU> and Brian Somers <brian@Awfulhak.org> for finding this.
2001-04-15Fix several errors in the bpf program; bugs reported byJason Wright
Russell T Hunt <alaric@MIT.EDU>.
2001-03-09exit(-#) is wrongTheo de Raadt
2001-02-18Try every bpf device, not only the even-numbered ones; jason@ okMiod Vallat
2001-02-04setting of maximum fd was wrong; patch from pr 1670: "Evgeni Belin" ↵Jason Wright
<ebelin@sauron.dnsalias.net>.
2001-01-19mark remaining signal races which are difficult to fixTheo de Raadt
2001-01-17point out a few non-obvious and helpful ppp(8) optionsJason Wright
2001-01-16do not trash errno in signal handlerTheo de Raadt
2001-01-16bzero the sets before FD_SET'n themJason Wright
2001-01-16fix fd_set overflowsJason Wright
2001-01-12use setitimer instead of alarmJason Wright
2000-10-09Don't exit when we get ENOBUFS from writev(), drop the packet instead.brian
2000-08-18alot of fleshing out... more to comeJason Wright
2000-08-03fd == 0 is perfectly valid (and likely); spotted by Steve Williams ↵Jason Wright
<steve@genie96.com>
2000-06-20prettyJason Wright
2000-06-20include configuration for exec from pppJason Wright
2000-06-20reorder sections as per mdoc.templateJason Wright
2000-06-20use stdin instead of exec'n ppp(8). It's expected that ppp will give usJason Wright
a AF_LOCAL,SOCK_DGRAM socket as stdin
2000-06-20Remove some debugging code, and prepare to become an 'exec' client of ppp(8)Jason Wright