summaryrefslogtreecommitdiffstats
path: root/libexec/pppoed/pppoed.c
Commit message (Collapse)AuthorAgeFilesLines
* Understand the new NGM_PPPOE_SESSIONID message and set SESSIONIDbrian2002-05-141-2/+9
| | | | | | in the environment to it's value. Approved by: archie (after a very cursory glance)
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Handle NGM_PPPOE_ACNAME messages.brian2002-02-201-0/+6
| | | | | Submitted by: Andre Albsmeier <andre@albsmeier.net> Approved by: julian
* o __P removalimp2002-02-171-1/+1
| | | | o use Ansi-style function definitions
* Prototype a function as __printflike() to avoid a FORMAT_AUDIT warning.kris2002-02-041-0/+2
| | | | MFC after: 1 week
* Don't leave dodgy looking spaces in HISMACADDRbrian2001-11-221-3/+3
|
* Set HISMACADDR in the environment before envoking ppp.brian2001-11-211-5/+17
| | | | MFC after: 1 week
* Put a parenthesis in the right place (DUH!).brian2001-08-251-1/+1
| | | | This fixes the apparent immediate client timeout problem.
* Understand that a return value of 0 from NgRecvMsg() means that thebrian2001-08-241-2/+8
| | | | | | | socket was closed. This prevents erroneous ``Unexpected netgraph version'' from turning up in the log.
* Don't use SA_RESETHAND here. We gain nothing.brian2001-07-311-1/+1
| | | | Suggested by: bde
* Add a -l flag used to specify a label when no -p flag is given.brian2001-07-311-9/+19
| | | | | | Start new sentences on new lines in pppoed.8. MFC after: 1 week
* Use sigaction() without SA_RESTART rather than signal() so that webrian2001-07-311-5/+9
| | | | | | don't block in NgRecvData() after receiving a signal. MFC after: 1 week
* Remove an extraneous spacebrian2001-07-111-1/+1
|
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Add support for advertising the service we support if thejulian2000-12-131-2/+19
| | | | | | PADI packet contains a NULL service. This is apparently the desired behaviour in this case, though we only allow advertising one service. You could run multiple pppoeds to advertise multiple services.
* Drop out of our main loop due to a signal rather than handling things in thebrian2000-12-041-24/+28
| | | | | | | | | signal handler. Fix a spelling error. Subtley pointed out by: bde Make some stuff static
* Format string paranoiakris2000-11-191-1/+1
|
* Go back to populating data_len in struct ngpppoe_init_data.brian2000-11-161-2/+4
|
* Use the new-style ngpppoe_init_data structure.brian2000-10-311-4/+2
| | | | Approved by: archie
* o Load netgraph.ko, ng_ether.ko and ng_pppoe.ko as required (I'm sure thisbrian2000-10-031-13/+53
| | | | | | | | used not to be necessary). o Allow ``-n ngdebug'' to specify something to pass to NgSetDebug() and redirect NgSetDebug() output to syslog(8) in daemon() mode. o Xref ng_ether(8) and NgSetDebug(4). o Correct the type of the response passed to NgRecvData.
* Add a ``-P pidfile'' optionbrian1999-11-231-3/+30
|
* pppoed(8) - a server to accept PPPoE connectionsbrian1999-11-211-0/+557
OpenPOWER on IntegriCloud