Commit Graph

3012 Commits

Author SHA1 Message Date
Peter Wemm
79d2e30daf Give PPP_FILTER a whirl. 1997-10-10 11:59:02 +00:00
Peter Wemm
65201e4a29 Revive the connect-max-attempts option. When running in persist mode,
this limits the number of retries before aborting.  This can save
expensive phone bills. :-)  See rev 1.6 of main.c for original.
1997-10-10 09:28:38 +00:00
Philippe Charnier
6980f0ebac Use err(3). Silent -Wall. 1997-10-10 06:31:07 +00:00
Peter Wemm
5b51863fca Revive rev 1.10, which documents the secrets files overrides for the
local:remote IP addresses on the command line or the options.ttynn files.
1997-10-10 06:30:08 +00:00
Philippe Charnier
8b76e1d7a8 Staticize usage(). Cosmetics. 1997-10-10 06:27:07 +00:00
Philippe Charnier
1dcc6ec750 Use err(3) instead of local redefinition. Add rcsid string. 1997-10-10 06:23:42 +00:00
Peter Wemm
8298b5a8af Revive some things that were lost during the ppp-2.3.1 update.
- (see auth.c rev 1.13) allow the pap/chap secrets file to specify an
override for the otherwise hard coded IP addresses.  This allows specific
users to dial in on a rotary which would otherwise get a dynamic address
forced to authenticate and get their own fixed addresses.
- (see options.c rev 1.9) recognize the old dns1 and dns2 options.  This
is a hack (TM). :-)
1997-10-10 06:02:57 +00:00
Bill Paul
bfb109df29 Fix bug in __yp_ping(): keep proper count of assigned request structures.
The test to see if a request struct had been assigned after looping
though the server list was bogus.

Submitted by: "Erik E. Rantapaa" <rantapaa@math.umn.edu>
1997-10-09 20:29:39 +00:00
Philippe Charnier
d9961cfdb9 Use err(3). Add usage().
Default source of tables (-M) is /dev/mem, not /dev/kmem.
1997-10-09 07:22:08 +00:00
Philippe Charnier
4a9670dd76 Use err(3). Add usage().
Correct the .Nd string: in real life, portmap is translating rpc prog numbers
to darpa ports, not the opposite.
1997-10-09 07:17:36 +00:00
Jordan K. Hubbard
54b85ef5cc Document extra tk*/tcl* package categories. 1997-10-08 15:31:13 +00:00
Philippe Charnier
6fed414929 Use err(3). Cosmetics in usage string and man page. 1997-10-08 07:48:21 +00:00
Brian Somers
03604f3574 Support VJ maximum slot identifiers != 15.
Support VJ slot id compression.

Previously, ppp would negotiate a max slot between 2 & 15
(if asked), and would agree to slot id compression (if asked).
It would then proceed to use 16 slots and no compression
anyway.  The result was a rather unusable connection.
1997-10-07 00:56:58 +00:00
Joerg Wunsch
605efc874f Documentation for the LOG_NTP facility. While i was at it, added a
bit of a warning about not all systems providing for the same set of
syslog facilities.
1997-10-06 20:37:50 +00:00
Philippe Charnier
fbe2a70d6b Sync usage string with man page. 1997-10-06 11:38:30 +00:00
Philippe Charnier
9dd6fd23cd Use err(3). Add usage()s. 1997-10-06 11:36:08 +00:00
Jordan K. Hubbard
690f1880b9 Add an extra sanity check to previous commit. 1997-10-06 08:36:12 +00:00
Jordan K. Hubbard
c16f090408 This should put boot.help in its rightful place (finally!) 1997-10-06 08:34:56 +00:00
Philippe Charnier
b8981f4416 Cosmetic in err() strings. 1997-10-06 07:46:08 +00:00
Peter Wemm
d4b1403fc1 Hmm.. where did _that_ come from? :-) 1997-10-06 04:10:24 +00:00
Warner Losh
ed4d1cf9cc Be more paranoid about unlinking files. From mhpower@MIT.EDU by way of
Theo de Raadt.

Likely 2.2.5R candidate.
Obtained from: OpenBSD
1997-10-06 03:58:48 +00:00
Jonathan M. Bresler
0fee58d9fa record the envelope-from address in the received headers
for all mail received at hub.freebsd.org

Obtained from: Peter Wemm <peter@freebsd.org>
1997-10-06 00:09:17 +00:00
Brian Somers
e70c96ab58 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 Somers
d37641d82c Refer a bit to pppctl.
Suggested (far to subtly for his own good) by:	joerg
1997-10-05 14:27:08 +00:00
Brian Somers
ea895c156b Add a few examples. 1997-10-05 14:21:30 +00:00
Joerg Wunsch
42ac3bf16a 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
Jordan K. Hubbard
cf68251b3a 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
Wolfram Schneider
87ce848491 Cleanup. 1997-10-05 12:28:02 +00:00
Brian Somers
6c9e376dfe Cosmetic: Be specific about using TABs in syslog.conf. 1997-10-05 10:29:32 +00:00
Jordan K. Hubbard
97fe7f477f 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
Jordan K. Hubbard
ac492f4554 Whups! Missed a spot in the kerberos src changes. 1997-10-04 15:50:09 +00:00
Peter Wemm
feee4d201e 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
Jordan K. Hubbard
c646fc1cfa Un-nuke krb and do what I *meant* to do, darn it. 1997-10-04 09:01:20 +00:00
Jordan K. Hubbard
1de31251a4 Adapt for new crypto source layout. 1997-10-04 08:58:16 +00:00
Brian Somers
57fd05c48b Cosmetic: Log a strerror(errno) when failing to write to
the tun device.
1997-10-04 00:14:39 +00:00
Jordan K. Hubbard
4a0aa46197 Get boot.help from a different place. 1997-10-03 14:14:40 +00:00
Jordan K. Hubbard
7fd698d732 Don't attempt to deref OpenConn after it's been set to NULL. :) 1997-10-03 14:00:09 +00:00
Jordan K. Hubbard
6cf4a83ec5 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
Philippe Charnier
2d7a5bff3b Use err(3). 1997-10-02 11:46:53 +00:00
Philippe Charnier
0fc81af12d Use err(3). Change firewall to firewall_enable in man page according to
/etc/rc.conf.
1997-10-02 11:43:33 +00:00
Philippe Charnier
5848fd5f35 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
Philippe Charnier
de1ef5eb94 Use err(3) instead of local redefinition. 1997-10-01 06:30:02 +00:00
Philippe Charnier
a89409a2eb Use err(3). -Wall cleaning. 1997-10-01 06:27:34 +00:00
Jordan K. Hubbard
0c795d27ea 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
Philippe Charnier
6ee8ae607a Use err(3). Add usage(). Rewrote man pages in mdoc format. 1997-09-30 06:15:23 +00:00
Brian Somers
8bfa2d0ed9 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
Wolfram Schneider
bf5cbf3551 Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
John Polstra
7a6b5d25b7 Correct the description of the output from the "-s" option. It was
backward.
1997-09-29 17:43:11 +00:00
Wolfram Schneider
2af22b06a4 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
Philippe Charnier
cd94e9c368 Use err(3). 1997-09-29 06:38:49 +00:00