Brian Somers
23a1cfaa6a
Allow dial to work in non-interactive mode.
1997-09-09 23:56:29 +00:00
Brian Somers
3732c71b01
Print errors correctly (don't adjust
...
argc/argv for commands).
1997-09-09 23:23:24 +00:00
Brian Somers
ff9d952578
Don't start an interactive shell from a
...
telnet prompt.
1997-09-09 23:13:31 +00:00
Brian Somers
d40f8a5a61
Correct ppp authentication defaults in interactive
...
mode. We don't want to be forced to type a password
here :-(
Pointed out by: mouth@ibm.net (John Kelly)
While I'm there, don't allow a "set server" in
interactive mode.
1997-09-09 21:51:39 +00:00
Brian Somers
506474c87a
Document the use of PAP/CHAP properly.
1997-09-09 21:01:53 +00:00
Brian Somers
881a8bbf54
Disable LQR by default. It causes too many problems
...
with too many ISPs to be a good default. LQR is still
accepted by default.
1997-09-07 01:00:06 +00:00
Brian Somers
8742662039
Use __libalias_version to derive the name to
...
pass to dlopen().
1997-09-06 11:16:02 +00:00
Brian Somers
683cef3c33
Install as group ``network''
...
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"
1997-09-04 00:38:22 +00:00
Brian Somers
5b4c5b0055
Bring CCP and IPCP layers down properly when LCP
...
comes down. Give a count of bytes sent/received
in IPCP log.
1997-09-03 02:08:20 +00:00
Brian Somers
b6d7b1e061
Allow the transition from an idle timeout value
...
of zero (no timeout) while IPCP is up.
Move some prototypes into .h files and re-order
some includes.
1997-09-03 00:40:51 +00:00
Brian Somers
afc7fa2c18
Cosmetic: Make LogPrintf() calls consistent.
1997-08-31 22:59:49 +00:00
Brian Somers
021352282c
Make ppp owner root.ppp, mode 4550
...
Suggested by: guido
Condoned by: eivind
1997-08-31 20:18:03 +00:00
Brian Somers
709db7fbee
Remove use of login_progok()
...
Suggested by: guido
1997-08-31 20:07:03 +00:00
Brian Somers
ce28475da5
Use login_progok().
1997-08-27 20:11:16 +00:00
Brian Somers
4e752f44f0
Check the "prog.deny" login.conf capability and
...
refuse to run if "ppp" is in the list.
Suggested by: "Daniel O'Callaghan" <danny@panda.hilink.com.au>
1997-08-26 23:20:16 +00:00
Brian Somers
f525ead3dd
Lose a couple of extraneous backslashes.
1997-08-25 01:52:11 +00:00
Brian Somers
944f709824
Make the code format more in line with style(9).
...
Update loadalias to use the new libalias api.
Update to version 1.1.
1997-08-25 00:29:32 +00:00
Brian Somers
81816fc583
Phone the number after the ``|'' whether the dial
...
OR login script fails.
Catch a small typo in the man page.
1997-08-23 23:14:24 +00:00
Brian Somers
e47c8739d5
Update version number to 1.02 so that I can tell what
...
people are running
1997-08-21 17:20:00 +00:00
Brian Somers
c16615aa8b
Update doc to use MYADDR in ppp.conf.
1997-08-21 17:16:21 +00:00
Brian Somers
1d205e1313
Allow the use of HISADDR & MYADDR in ppp.conf.
1997-08-21 17:07:30 +00:00
Brian Somers
de451c685c
Add "set loopback on|off", defaulting to "on".
...
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 :-)
1997-08-21 16:21:39 +00:00
Brian Somers
91fc7145dc
Correct online usage message for "set ? stopped"
1997-08-21 16:18:07 +00:00
Brian Somers
cb611434af
Expand the "set stopped" command so that it can
...
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.
1997-08-20 23:47:53 +00:00
Daniel O'Callaghan
d053d1b926
Spelling police.
1997-08-19 11:27:00 +00:00
Daniel O'Callaghan
441de788b1
Typo fixes.
1997-08-19 11:18:34 +00:00
Brian Somers
3f6fd9230e
Correct the forth arg to "set ifaddr". If specified,
...
it gives the IP number that should be used for initial
IPCP config requests, irrespective of MYADDR.
1997-08-19 01:10:24 +00:00
Brian Somers
b48dfe09c7
Introduce the "bg" command. It's pretty
...
much the same as "shell", but it's in the
background.
1997-08-18 20:15:10 +00:00
Brian Somers
eb53eaa30b
Fix possible buffer overrun while "expect"ing
...
something that's "nearly" what it wants.
1997-08-17 22:47:07 +00:00
Brian Somers
0444761561
Typo police
1997-08-17 22:45:25 +00:00
Brian Somers
71144dc552
Allow the use of a "stopped" timeout via the
...
"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
1997-08-17 20:45:50 +00:00
Brian Somers
5b9b04192a
Allow specification of fallback phone numbers to
...
be used only if the dial script fails.
PR: 4262
1997-08-17 20:38:45 +00:00
Brian Somers
868cddb5fa
Use libalias.so.2.3.
1997-08-11 22:07:57 +00:00
Brian Somers
cad5afb077
Correct default log file name.
...
PR: 4065
Prompted by: Steve Price <sprice@hiwaay.net>
Submitted by: sjr1@flash.net
1997-08-10 22:03:20 +00:00
Brian Somers
05dce3eefc
Use libalias.so.2.2
1997-08-03 20:21:22 +00:00
Brian Somers
bfbee26298
Remove extraneous prototypes.
1997-08-01 02:02:28 +00:00
Brian Somers
4eb8b1640d
Set up the alias address before executing
...
the contents of ppp.linkup.
1997-07-29 22:37:04 +00:00
Brian Somers
6614d8c5f3
Fix file descriptor leaks.
1997-07-28 01:02:27 +00:00
Brian Somers
9ed2f0484a
Count the "proto" arg after a single address,
...
Check correctly for "deny" packets.
Submitted by: Dave Bodenstab <imdave@mcs.net>
1997-07-27 23:26:23 +00:00
Brian Somers
e9eb6d7aa4
Don't try to ioctl(,TIOCOUTQ,) on a closed
...
descriptor.
Reported by: Stephane Raimbault <stephane@cybersurf.net>
1997-07-24 02:42:34 +00:00
Brian Somers
c09be724d6
Allow a "hangup" capability.
...
You can now "ATZ" your modem when it's closed.
Submitted by: peter@citylink.dinoex.sub.org (Peter Much)
1997-07-14 01:41:35 +00:00
Brian Somers
7cc60a7478
Allow service names in "set server"
1997-07-12 19:22:34 +00:00
Poul-Henning Kamp
177c95e45a
Reset all LQR variables when we start over.
1997-07-02 19:18:42 +00:00
Brian Somers
873725cc51
Make HUP cause an exit (as it used to), and make
...
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
1997-07-01 21:31:28 +00:00
Brian Somers
01ec25112c
Allow specification of a umask for local socket
...
creation in "set server" command.
1997-06-30 03:03:38 +00:00
Brian Somers
76c5241d63
Fix HUP handling while dialing.
...
Pointed out by: ache
1997-06-29 13:54:31 +00:00
Brian Somers
186d0be47e
Deal with HISADDR/MYADDR in filter rules.
...
Mostly submitted by: kfurge@worldnet.att.net
Allow MYADDR in add/delete commands to facilitate
dynamic additions of a loopback route to MYADDR.
1997-06-28 01:34:03 +00:00
Brian Somers
4ef16f24f2
Add "set server" to control the server socket.
...
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
1997-06-25 19:30:05 +00:00
Brian Somers
2126fb65a3
Allow shell commands (still run as original user)
...
unless defined out - including while a telnet
session with a -auto ppp is in effect. If you
don't create ppp.secrets, you deserve what you
get.
telnet connection capabilities will be configurable
per system soon.
Suggested by: Terry Dwyer <tdwyer@omen.net.au>
1997-06-25 02:04:35 +00:00
Brian Somers
030d3ce62a
Fix ~? output in "term" mode.
...
Spotted by: Harry Starr <starr@gccs.com.au>
1997-06-24 21:25:06 +00:00