Commit Graph

3057 Commits

Author SHA1 Message Date
brian
e5021654d0 Change things around a bit when bringing down the layers.
o LcpLayerDown() no longer does a NewPhase(PHASE_TERMINATE).
  Instead, it's done in LcpLayerFinish().  LayerFinish() gets
  called by the FSM after the LCP FSM goes through the Stopping
  and Stopped states.

o -direct and -background mode exit at PHASE_TERMINATE, not
  PHASE_DEAD.

The result is that LCP, CCP & IPCP are brought down cleanly on both
sides of the link (not just our side).  Killing ppp rather than just
closing it still makes it get out after the LCP SendTerminateReq().
I'll have a look at that soon.  We're probably not actually sending
the REQ :-(
1997-10-05 15:00:10 +00:00
brian
1f236d536d Refer a bit to pppctl.
Suggested (far to subtly for his own good) by:	joerg
1997-10-05 14:27:08 +00:00
brian
98dd7f981c Add a few examples. 1997-10-05 14:21:30 +00:00
joerg
f94dc5b1f1 Add a new special called `keep' to the list of special options. It
provides for a means to specify an argument for crunchide's -k option.
(This is required by ntpdate.)

Submitted by:	peter@rhiannon.clari.net.au (Peter Hawkins)
1997-10-05 13:35:05 +00:00
jkh
2c3516e032 DOH! I cannot believe that none of us caught this. Do *not*
turn TCPWRAPPER support on by default, eh? :-)
1997-10-05 12:31:08 +00:00
wosch
33e5135d21 Cleanup. 1997-10-05 12:28:02 +00:00
brian
c627948926 Cosmetic: Be specific about using TABs in syslog.conf. 1997-10-05 10:29:32 +00:00
jkh
418d0a6a92 Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by:	<many different folks>
Submitted by:	Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
jkh
e44ab64a4d Whups! Missed a spot in the kerberos src changes. 1997-10-04 15:50:09 +00:00
peter
0fa44e4a84 Record the envelope from address in the received: line. This has turned
out to be very useful for spam tracking and other problem debugging.

I first noticed this in one of Paul Vixie's machine's headers a while ago.
1997-10-04 11:10:19 +00:00
jkh
bc9a3278f3 Un-nuke krb and do what I *meant* to do, darn it. 1997-10-04 09:01:20 +00:00
jkh
ad8f729f9f Adapt for new crypto source layout. 1997-10-04 08:58:16 +00:00
brian
56229906e0 Cosmetic: Log a strerror(errno) when failing to write to
the tun device.
1997-10-04 00:14:39 +00:00
jkh
1a48a8d4c8 Get boot.help from a different place. 1997-10-03 14:14:40 +00:00
jkh
19305dda38 Don't attempt to deref OpenConn after it's been set to NULL. :) 1997-10-03 14:00:09 +00:00
jkh
05731aab54 For people running paranoid ftpds, use the real username to log in
with when running multi-user and we actually have one.
Suggested by:	Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
1997-10-03 03:32:03 +00:00
charnier
d03dfc94fa Use err(3). 1997-10-02 11:46:53 +00:00
charnier
473db3cc32 Use err(3). Change firewall to firewall_enable in man page according to
/etc/rc.conf.
1997-10-02 11:43:33 +00:00
charnier
350fc0457c According to Bruce, err(-1,..) is bogus. Change it to err(1,..). More commits
to come in this area.
1997-10-01 06:34:09 +00:00
charnier
c8ef4a7a48 Use err(3) instead of local redefinition. 1997-10-01 06:30:02 +00:00
charnier
9e9c06cc6a Use err(3). -Wall cleaning. 1997-10-01 06:27:34 +00:00
jkh
e8ee3433c3 Keep fingers off /etc files until they're properly backed up.
PR:		4636
Submitted by:	Jack <jack@zeus.xtalwind.net>
1997-10-01 01:30:35 +00:00
charnier
d6f2e7b752 Use err(3). Add usage(). Rewrote man pages in mdoc format. 1997-09-30 06:15:23 +00:00
brian
4ab28dc74b If "set mtu" is used, *and* the mtu is less than the
value requested by the peer, NAK using this value
rather than silently just changing the interface
mtu.
1997-09-29 19:40:16 +00:00
wosch
8ee659dd96 Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
jdp
320e7e69c1 Correct the description of the output from the "-s" option. It was
backward.
1997-09-29 17:43:11 +00:00
wosch
e4b768f0ee Endless loop.
$ vipw
[corrupt a line in editor, exit editor]
pwd_mkdb: corrupted entry
pwd_mkdb: at line #2
pwd_mkdb:
/etc/pw.012585: Inappropriate file type or format
re-edit the password file? [y]: n^D^D
[hang]
1997-09-29 13:13:51 +00:00
charnier
bb93f8d912 Use err(3). 1997-09-29 06:38:49 +00:00
jkh
dd7077033a Add ftp4.uk.freebsd.org 1997-09-29 00:15:07 +00:00
brian
4ffbb78e97 Test for the existence of ../../secure rather
than /usr/include/des.h before building with MSChap.
support.  Also allow -DNOCRYPT (as well as -DNOSECURE)
as an override
sbin/init example pointed out by: bde
1997-09-28 20:17:59 +00:00
markm
97238e0834 Add (commented out) macros to make compiling with tcpwrappers easier. 1997-09-28 09:31:43 +00:00
brian
889a2eb5e6 Don't depend on time.h including sys/types.h 1997-09-27 19:41:40 +00:00
brian
eba31c6066 Don't login twice when using passwdauth
Suggested by:	Peter Childs <pjchilds@imforei.apana.org.au>
Merge the whole module into a few lines in pap.c
1997-09-27 19:11:43 +00:00
hoek
0ec680f86f Document pkg_add's dependency auto-install. While I'm here, fix
a couple typos, and consistent double-spacing after sentences.

This is actually a spinoff from the "ports-current discontinued"
blow-up some time ago.

Ack'd by: jkh
1997-09-27 13:41:35 +00:00
brian
72603302dc #define RECON_ENVOKED as 4 (not 3, like RECON_UNKNOWN)
Pointed out by:	tom@tomqnx.com (Tom Torrance at home)
1997-09-26 00:23:36 +00:00
charnier
e22797c8f4 Use err(3). Add missing parameter for printf() (reviewed by steve). 1997-09-25 06:47:33 +00:00
charnier
50b0f8d6fc Remove unused variables. Lowercase err() strings. 1997-09-25 06:44:39 +00:00
charnier
297ef2e6ce Put includes in alphabetical order. Use fprintf() in usage(). 1997-09-25 06:42:30 +00:00
charnier
5e19c15792 Stylistic changes in man page. 1997-09-25 06:38:17 +00:00
charnier
46349eda65 Use err(3). 1997-09-25 06:36:29 +00:00
brian
a54a976476 Do the MSChap encryption.
Submitted by:	Gabor Kincses <gabor@acm.org>
1997-09-25 00:58:20 +00:00
brian
4c4910184f Allow Microsoft CHAP authentication.
This is a combination of MD4 & DES.
Submitted by:	Gabor Kincses <gabor@acm.org>
1997-09-25 00:52:37 +00:00
charnier
49a43f1c40 Use err(3). Add usage(). Various fixes in man pages. 1997-09-24 06:48:24 +00:00
charnier
c9faba1300 Statisize usage(). Add return(0) for -wall. 1997-09-24 06:44:12 +00:00
ache
61a656ae1e Compact usage string, devices list can be too long 1997-09-23 23:24:13 +00:00
brian
c73c4cd778 Don't luse uu_lock in -direct mode. It conflicts w/
hylafax & the like.
Get the CD bit right at last - now that I've got
my second modem back - loss of carrier makes ppp exit.
1997-09-23 22:07:51 +00:00
brian
8403100dd5 Undo botched commit (local changes got in) 1997-09-23 19:52:14 +00:00
nate
cbddc1630d - Bump up the size of the space for strings read from PCMCIA cards. Newer
cards have longer entries.

Submitted by:	Lars Fredriksen <lars@fredriks-1.pr.mcs.net>
1997-09-23 19:51:32 +00:00
charnier
d2cb47c04a Use err(3). Add usage() and prototypes. 1997-09-23 06:38:54 +00:00
charnier
a816a4029a Use err(3). Put includes in alphabetical order.
Rewrote man page in mdoc format.
Document -v and -p flags.
1997-09-23 06:36:27 +00:00