History log of /freebsd/libexec/pppoed/pppoed.c (Results 26 – 50 of 60)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/4.3.0_cvs, release/4.3.0
# 05eff81e 13-Dec-2000 Julian Elischer <julian@FreeBSD.org>

Add support for advertising the service we support if the
PADI packet contains a NULL service. This is apparently the desired
behaviour in this case, though we only allow advertising one
service. Yo

Add support for advertising the service we support if the
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.

show more ...


# b884490b 04-Dec-2000 Brian Somers <brian@FreeBSD.org>

Drop out of our main loop due to a signal rather than handling things in the
signal handler.
Fix a spelling error.

Subtley pointed out by: bde

Make some stuff static


Revision tags: release/4.2.0
# ffd40070 19-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Format string paranoia


# 80e2e6b6 17-Nov-2000 Brian Somers <brian@FreeBSD.org>

Go back to populating data_len in struct ngpppoe_init_data.


# fbf03853 31-Oct-2000 Brian Somers <brian@FreeBSD.org>

Use the new-style ngpppoe_init_data structure.

Approved by: archie


# fd845ee4 03-Oct-2000 Brian Somers <brian@FreeBSD.org>

o Load netgraph.ko, ng_ether.ko and ng_pppoe.ko as required (I'm sure this
used not to be necessary).
o Allow ``-n ngdebug'' to specify something to pass to NgSetDebug()
and redirect NgSetDebug()

o Load netgraph.ko, ng_ether.ko and ng_pppoe.ko as required (I'm sure this
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.

show more ...


Revision tags: release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs
# 97cba131 23-Nov-1999 Brian Somers <brian@FreeBSD.org>

Add a ``-P pidfile'' option


# dbc7ba8d 22-Nov-1999 Brian Somers <brian@FreeBSD.org>

pppoed(8) - a server to accept PPPoE connections


Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0
# 2966d28c 04-Jul-2007 Sean Farley <scf@FreeBSD.org>

Significantly reduce the memory leak as noted in BUGS section for
setenv(3) by tracking the size of the memory allocated instead of using
strlen() on the current value.

Convert all calls to POSIX fr

Significantly reduce the memory leak as noted in BUGS section for
setenv(3) by tracking the size of the memory allocated instead of using
strlen() on the current value.

Convert all calls to POSIX from historic BSD API:
- unsetenv returns an int.
- putenv takes a char * instead of const char *.
- putenv no longer makes a copy of the input string.
- errno is set appropriately for POSIX. Exceptions involve bad environ
variable and internal initialization code. These both set errno to
EFAULT.

Several patches to base utilities to handle the POSIX changes from
Andrey Chernov's previous commit. A few I re-wrote to use setenv()
instead of putenv().

New regression module for tools/regression/environ to test these
functions. It also can be used to test the performance.

Bump __FreeBSD_version to 700050 due to API change.

PR: kern/99826
Approved by: wes
Approved by: re (kensmith)

show more ...


# ba174a5e 01-May-2007 Andrey A. Chernov <ache@FreeBSD.org>

Back out all POSIXified *env() changes.

Not because I admit they are technically wrong and not because of bug
reports (I receive nothing). But because I surprisingly meets so
strong opposition and r

Back out all POSIXified *env() changes.

Not because I admit they are technically wrong and not because of bug
reports (I receive nothing). But because I surprisingly meets so
strong opposition and resistance so lost any desire to continue that.

Anyone who interested in POSIX can dig out what changes and how
through cvs diffs.

show more ...


# f03351ff 30-Apr-2007 Andrey A. Chernov <ache@FreeBSD.org>

Prepare for upcoming POSIXed putenv() rewrite:
don't allow putenv() arg be on the stack, replace putenv() with setenv()


Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0
# ee3b44f5 09-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sync program's usage() with manpage's SYNOPSIS.


Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0
# 89624a34 15-Nov-2003 Hartmut Brandt <harti@FreeBSD.org>

Replace all uses of the old netgraph constants NG_*LEN by the new
constants NG_*SIZ that include the trailing NUL byte. This change
is mostly mechanical except for the replacement of a couple of snpr

Replace all uses of the old netgraph constants NG_*LEN by the new
constants NG_*SIZ that include the trailing NUL byte. This change
is mostly mechanical except for the replacement of a couple of snprintf()
and sprintf() calls with strlcpy.

show more ...


Revision tags: release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# 629d0dd5 14-May-2002 Brian Somers <brian@FreeBSD.org>

Understand the new NGM_PPPOE_SESSIONID message and set SESSIONID
in the environment to it's value.

Approved by: archie (after a very cursory glance)


# d3974088 22-Apr-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.


# 7f77b559 20-Feb-2002 Brian Somers <brian@FreeBSD.org>

Handle NGM_PPPOE_ACNAME messages.

Submitted by: Andre Albsmeier <andre@albsmeier.net>
Approved by: julian


# 71233f4f 17-Feb-2002 Warner Losh <imp@FreeBSD.org>

o __P removal
o use Ansi-style function definitions


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 219736e4 04-Feb-2002 Kris Kennaway <kris@FreeBSD.org>

Prototype a function as __printflike() to avoid a FORMAT_AUDIT warning.

MFC after: 1 week


# b5c025b8 22-Nov-2001 Brian Somers <brian@FreeBSD.org>

Don't leave dodgy looking spaces in HISMACADDR


# 49bc93d7 21-Nov-2001 Brian Somers <brian@FreeBSD.org>

Set HISMACADDR in the environment before envoking ppp.

MFC after: 1 week


# d1c27021 26-Aug-2001 Brian Somers <brian@FreeBSD.org>

Put a parenthesis in the right place (DUH!).
This fixes the apparent immediate client timeout problem.


# 321d268b 24-Aug-2001 Brian Somers <brian@FreeBSD.org>

Understand that a return value of 0 from NgRecvMsg() means that the
socket was closed.

This prevents erroneous ``Unexpected netgraph version'' from turning
up in the log.


# a63c2b97 31-Jul-2001 Brian Somers <brian@FreeBSD.org>

Don't use SA_RESETHAND here. We gain nothing.

Suggested by: bde


# e9ffffff 31-Jul-2001 Brian Somers <brian@FreeBSD.org>

Add a -l flag used to specify a label when no -p flag is given.
Start new sentences on new lines in pppoed.8.

MFC after: 1 week


# 7042cfcd 31-Jul-2001 Brian Somers <brian@FreeBSD.org>

Use sigaction() without SA_RESTART rather than signal() so that we
don't block in NgRecvData() after receiving a signal.

MFC after: 1 week


123