| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
| |
Call DropClient() from Cleanup() too.
|
|
|
|
|
|
|
| |
avoids the situation where we specify label ``x'' on the command
line, and label ``x'' has a ``load y'' command embedded in it.
When the line comes up, we want to use ``x'' from ppp.linkup,
not ``y''.
|
|
|
|
| |
Don't try to open ppp.secret if we're never going to use it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allowing for a possible header on the front of all packets.
In OpenBSD, there's a structure containing the address
family here.
If we're building under OpenBSD, set up the ``flags'' part
of struct tuninfo (not there under FreeBSD) so that we config
the interface as POINTOPOINT.
Prefix prototypes with ``extern'' in os.c for consistency.
These changes are cosmetic under FreeBSD, but allow ppp to
build & work under OpenBSD (bar the srandomdev() stuff,
the inclusing of <net/if_var.h> and some Makefile symantecs).
|
|
|
|
|
|
|
| |
Print out inteface names rather than numbers, and use the
same "find out the names" code in SetIfAddr(). This means
that the nasty ioctl(,SIOCGIFCONF,)/realloc loop is now
buried :-)
|
| |
|
|
|
|
| |
Log IPCP reqests as IPCP.
|
| |
|
|
|
|
| |
The setreuid() page says seteuid is better !
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
They'll get deleted in Cleanup().
|
|
|
|
| |
insist on x.x.x.0/24 - x.x.x.x/24 is ok too.
|
|
|
|
| |
a filter.
|
|
|
|
|
|
| |
Output "set ?filter deny host|port" rules correctly
with show ?filter.
Submitted by: Dave Bodenstab <imdave@mcs.net>
|
|
|
|
| |
a restricted label.
|
| |
|
|
|
|
| |
we've put it in the background (!bg).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Add "allow" command:
"allow users a b c" gives access to users a, b and c.
"allow modes auto" gives those users access to auto mode only.
"allow users *" and "allow modes *" are accepted.
No users and all modes are allowed by default.
UID 0 can do anything.
o Set the current label with the "load" and "dial" commands
so that the call to ppp.linkdown makes sense.
o Up the verison number.
o Don't OR MODE_AUTO for -background and -ddial.
o Don't OR MODE_INTER when we get a diagnostic connection.
o Allow up to 40 args per line (was 20).
o "set ifaddr" only changes the interface in AUTO mode (with other
modes, it happens after IPCP negotiation).
o Sort command descriptions in the man page.
o Support -dedicated mode where we just talk ppp forever (no login etc).
|
|
|
|
| |
be damned M$ responses if you've got DES.
|
| |
|
|
|
|
|
| |
we get a "close", the LcpClose() will
eventually do it when we get to PHASE_DEAD.
|
|
|
|
| |
PR: 4993
|
|
|
|
|
|
| |
Allow a password spec on the "set server" command line.
Use SIGUSR2 to close the diagnostic socket.
Some man page corrections.
|
| |
|
|
|
|
| |
Return 0 from "show" commands.
|
|
|
|
| |
Requested by: Michael Reifenberger <root@totum.plaut.de>
|
| |
|
|
|
|
| |
The last modification removed the use of $HOME/.ppp.*
|
|
|
|
|
|
|
|
| |
Stay as the invoking uid as much as possible.
Execution as a normal user is still forbidden for now,
so these changes are pretty ineffective.
The next commit will implement the modifications suggested
on -hackers a number of days ago.
|
|
|
|
|
|
|
|
| |
ppp.secret to get a key value based on the peers name,
then send the value of AuthName with the encrypted result.
This is *way* too confusing.
Instead, always use AuthName and AuthKey as the documentation
says.
|
| |
|
| |
|
|
|
|
| |
Remove local/global conflicts.
|
|
|
|
|
|
| |
o Emphasize ``PPP''
o x-ref other programs
o Some minor clarifications
|
|
|
|
|
| |
logging out to the screen in terminal mode - should be
good for installation problem diagnosis.
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Report modem connect time properly
o Report bytes in/out over physical media
o Fix phases (TERMINATE is *higher than* DEAD)
o Do a LayerFinish from LcpDown
o Bring down IPCP & CCP when we enter PHASE_TERMINATE
o Give a new prompt when we go to PHASE_DEAD
o Stop the modem timer properly when idle
o Treat sig 15 like an exiting carrier loss
o Log (DEBUG) offline & online transitions
|
|
|
|
| |
Move prototypes into the correct headers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Add missing $Id$s
o Move extern decls from .c -> .h files
o Staticize
o Remove #includes from .h files
o style(9)ify includes
o bcopy -> memcpy
bzero -> memset
bcmp -> memcmp
index -> strchr
rindex -> strrchr
o Move timeout.h -> timer.h (making it consistent w/ timer.c)
o Add -Wmissing-prototypes
|
|
|
|
|
|
| |
usleep => nointr_usleep
(not just a #define)
Already done by: ache
|
|
|
|
| |
mix with standard library functions
|
| |
|
|
|
|
|
| |
PR: 4727
Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp>
|
|
|
|
| |
outputting the first mbuf in the chain.
|
| |
|