| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Submitted by: Derek Inksetter <derek@saidev.com>
|
| |
|
|
|
|
| |
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org>
|
|
|
|
| |
"passwd xxxx".
|
|
|
|
|
|
|
|
|
|
|
|
| |
when command logging is switched on.
o Display ******** for the authkey for "show auth"
o Document how \P should be used, and document the other chat escapes
while I'm there.
o Make sure the full command is displayed when a compound command
fails - ie, "set novar rubbish" should say "set novar: Invalid command"
rather than "novar: Invalid command"
Problem pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org> (among others)
|
|
|
|
| |
Submitted by: Greg Lehey <grog@lemis.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Validate the peers suggested IP by attempting to make a routing table
entry.
Give up IPCP negotiation if the peer NAKs us with an unusable IP.
Always SIOCDIFADDR then SIOCAIFADDR when configuring the tun device.
Using SIOCSIFDSTADDR allows duplicate dst addresses (which we don't
want)!!!
Allow up to 200 interface names (was 50) (now that ppp can play server
properly).
Up the version number (1.5 -> 1.6).
Cosmetic:
Log unexpected CCP packets in the CCP log rather than the ERROR log.
Log unexpected Config Reqs in the appropriate LCP/IPCP/CCP log rather
than the ERROR log.
Log failed route additions and deletions with WARN, not TCPIP.
Log the option id and length for unrecognised IPCP options.
Change some .Sq to .Ar in the man page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Delete AF_LINK routes as well as AF_INET.
Allow the word `default' as the arg to `delete' or in place of the
first two args (dest & netmask) to `add'.
Accept INTERFACE as the third arg to `add'.
You can now say `add default interface' to create a default route
through the tun interface. It's reported that subsequent bind()s
will bind to a broadcast address and not to the address currently
assigned to the tun device - this is the first step towards
supporting that first connection that was around from before the
dynamic IP negotiation....
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(I *really* meant to do this *before* committing the
deflate changes in the first place - oops).
Pppd is horribly broken in this respect - refer to the
ppp man page for details. Ppp *WON'T* negotiate deflate
with pppd by default - you must ``enable'' and ``accept''
``pppd-deflate'' in your config.
While I'm in there, update the cftypes in ccp.c so that
we recognise some more protocols (we don't actually do
anything with them - just send a REJ).
|
|
|
|
| |
Add DEFLATE support.
|
|
|
|
|
| |
Use "enable throughput" to see modem & IPCP throughput.
Removed an extraneous prompt()
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Suggested (far to subtly for his own good) by: joerg
|
| |
|
|
|
|
|
| |
This is a combination of MD4 & DES.
Submitted by: Gabor Kincses <gabor@acm.org>
|
|
|
|
|
| |
Log PAP/CHAP users in utmp & wtmp, allowing it to
be avoided with "disable utmp"
|
|
|
|
| |
Suggested by: joerg
|
|
|
|
| |
Suggested by: jordan
|
| |
|
| |
|
|
|
|
|
| |
with too many ISPs to be a good default. LQR is still
accepted by default.
|
|
|
|
|
|
|
|
|
|
|
| |
Insist that uid == 0 for client ppp
Disallow client sockets if no password is specified
Don't exit on failure to open client socket for listening
Allow specification of null local password
Use reasonable size (smaller) ``vector''s in auth.c
Fix "passwd ..." usage message
Insist on "all" as arg to "quit" (if any)
Drop client socket connection before Cleanup() when "quit all"
|
|
|
|
| |
Suggested by: guido
|
| |
|
|
|
|
|
| |
refuse to run if "ppp" is in the list.
Suggested by: "Daniel O'Callaghan" <danny@panda.hilink.com.au>
|
|
|
|
|
|
| |
OR login script fails.
Catch a small typo in the man page.
|
| |
|
|
|
|
|
|
|
|
|
| |
This tells ppp to loopback packets addressed to
the ppp interface IP coming *from* the tun
device.
This means that you can ping the tun interface IP
from inside :-)
|
|
|
|
|
|
|
|
| |
idependently time out any of the FSMs.
Split LCP logging into LCP, IPCP and CCP logging,
and make room in "struct fsm" for the log level
that the state machine should use.
|
| |
|
| |
|
|
|
|
|
| |
it gives the IP number that should be used for initial
IPCP config requests, irrespective of MYADDR.
|
|
|
|
|
| |
much the same as "shell", but it's in the
background.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
"set stopped" directive. If the timeout occurs
it will cause a "Down" event, hanging up the line
if it's still up. This *isn't* part of the FSM
diagram, but I consider it ok as a "higher level
implementation specific timeout" as specified in
the rfc ;-}
Discussed briefly with: joerg
|
|
|
|
|
| |
be used only if the dial script fails.
PR: 4262
|
|
|
|
|
|
| |
PR: 4065
Prompted by: Steve Price <sprice@hiwaay.net>
Submitted by: sjr1@flash.net
|
|
|
|
|
|
| |
You can now "ATZ" your modem when it's closed.
Submitted by: peter@citylink.dinoex.sub.org (Peter Much)
|
|
|
|
|
|
|
|
|
|
| |
INT cause a hangup - not exiting for -ddial & -auto.
HUP must exit because init sends this at system shutdown
time (why, I don't know), and we don't want to end up
redialing after the HUP (due to another dfilter packet).
Pointed out by and discussed with: ache
|
|
|
|
| |
creation in "set server" command.
|
|
|
|
|
|
|
|
|
|
| |
Catch SIGUSR1 to re-init listening socket.
Document signal behaviour.
Add missing '\n's to LogPrintf(LogWARN,...)
Main() returns int not void.
AF_LOCAL ideal suggested a long time ago by: joerg
|
|
|
|
| |
PR: 3913
|