summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Add __amd64__ to an ifdef set so that pppd compiles. Reactivate on amd64.peter2003-05-121-1/+1
| | | | Approved by: re (amd64 "safe" ifdefs etc)
* Use fchmod() to restore the tty modes.peter2002-07-301-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Reset our start time when the link comes up, correctingbrian1999-06-171-1/+2
| | | | | | | the reported connection time. PR: 11943 Submitted by: Peter Mutsaers <plm@xs4all.nl>
* Merge ppp 2.3.3 -> 2.3.5 changes onto mainline.peter1998-06-201-35/+146
|
* Merge ppp-2.3.3 changes onto mainlinepeter1998-03-221-7/+14
|
* Revive the connect-max-attempts option. When running in persist mode,peter1997-10-101-2/+12
| | | | | this limits the number of retries before aborting. This can save expensive phone bills. :-) See rev 1.6 of main.c for original.
* Update to pppd-2.3.1, except for the CLOCAL changes while running thepeter1997-08-221-2/+2
| | | | connect script to main.c that can cause problems on bsd-style tty systems.
* *gulp* First pass at merging in ppp-2.3.0's pppd. (this haspeter1997-08-191-295/+750
| | | | | | | | | | | | | | | dial-on-demand, packet filtering, idle timeouts, etc). The IPX support is pretty much there but more work needs to be done in sys-bsd.c for the interface ioctls (Linux has a very different way of configuring IPX interfaces). Along the way some things have temporarily been lost due to very messy conflicts. I will recover them shortly when I can think clearer. The main one is the local:remote address override in pap-secrets and chap-secrets. Some other home-grown features (dns1,dns2) have been implemented differently. Microsoft's chap client auth hacks have been implemented. There are bound to be more rough edges... The changes for connect-max-retries doesn't fit well with the dial-on-demand code.
* Ouch. This was dying to cause problems !brian1997-05-101-2/+2
| | | | | Luckily the side-effects were what was intended.
* Reviewed by: Brian Somers <brian@freebsd.org>danny1997-04-151-2/+24
| | | | | | | | pppd now creates /var/run/ttyXn.if file containing the interface name; check that a 'login' user is not listed in /etc/ppp/ppp.disabled; check that a 'login' user's shell is listed in /etc/ppp/ppp.shells; make sure that passwordless 'login' logins are recorded in wtmp and utmp.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Connections are timed and the call duration is loggedbrian1997-02-091-1/+6
| | | | | | via syslog. Submitted by: Lars Fredriksen <fredriks@mcs.com> Obtained from: Lars Fredriksen <fredriks@mcs.com>
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fixes:scrappy1996-10-221-3/+3
| | | | | | | >Description: pppd failes to set control terminal if -detach option is given. Submitted by: enami@ba2.so-net.or.jp
* Previously, if the dial script had any problems, pppd would simplypst1996-08-111-2/+11
| | | | | | | | | | bomb out. Unfortunately, FreeBSD's sio driver and certain internal modems don't get along very well, which can cause the serial port to wedge until it is closed and reopened. Add new variable, connect-max-attempts, default = 1 (to mimic previous behavior). If > 1, will try up to "n" times to dial remote site before aborting.
* Bring pppd from ppp-2.2 onto the mainline..peter1995-10-311-846/+496
| | | | (more work needs to be done here, I'm trying to beat the supscan)
* Remove trailing whitespace.rgrimes1995-05-301-19/+19
|
* Close sec. hole: can exec pgm with more groups than calling user haveache1995-04-291-13/+15
| | | | Include unistd.h and fix few argument old-way things
* Initial revisionwollman1994-09-251-0/+1445
OpenPOWER on IntegriCloud