Commit Graph

4023 Commits

Author SHA1 Message Date
jkoshy
130b7f758f Remove identity crisis in ispcvt(8) man page. Include reference to
ispcvt(8) in pcvt(4).

PR: docs/7743
Submitted by: <k-horik@yk.rim.or.jp>
1998-08-26 02:46:24 +00:00
julian
ea1d22b2ff Submitted by: archie@whistle.com
quieten cc -Wall
1998-08-25 21:16:47 +00:00
brian
b4ab6ffebf Mention what ``set authname'' does in -direct mode. 1998-08-25 17:48:55 +00:00
brian
e47c43b4fc If we've got a full output buffer queue and cannot send
anything for two mintues (see ``set choked'' and ``show
bundle''), nuke the ip, mp and link level buffer queues.

This should fix problems where ``ppp -auto'' seems to stop
responding after failing to connect to the peer a few times.
1998-08-25 17:48:43 +00:00
dfr
f7a70d8e02 Change length arguments to sysctl to size_t. 1998-08-25 07:38:19 +00:00
brian
e33077d21e Consolidate the two malloc()s that are done when allocating
an mbuf.
1998-08-21 18:10:15 +00:00
brian
016635b354 Make ``show mem'' display the number of packets allocated as well as the
number of octets.
1998-08-21 18:09:57 +00:00
brian
a86d1d56c1 Fix ``lp=port@machine'' syntax and mention it in printcap(5). 1998-08-21 18:08:46 +00:00
jb
54aa813dfd Build kvm_mkdb and natd on alpha too. 1998-08-20 21:51:35 +00:00
bde
219e3ca36e Increased column widths for tty input watermark fields so that watermarks
for 11520-byte buffers for 115200 bps are displayed properly.

Fixed my recent printf format error fixes.  %p is almost unusable
in tables, since its width and format are unknown/machine-dependent.
Use %8lx and cast pointers to (u_long)(void*).  This is still quite
broken, e.g., for machines with 64-bit pointers.
1998-08-19 01:32:28 +00:00
jb
7300b9a59c Bruce says that %p is intended to format void pointers only. So use a void *
cast. There are pointers and then there are _pointers_. One day I'll
figure out which are which. 8-)
1998-08-18 02:10:05 +00:00
brian
31ebefe816 Destroy any existing chat timeouts in datalink_ComeDown()
If we're told to close/down while in DIAL or LOGIN state,
we don't want to keep our timeout running :-/
1998-08-18 00:53:48 +00:00
wosch
0ab7b3047c Removing -batch option from adduser. Adduser was written as
an *interactive* command for newbies. The pw(8) does now a much better
job for adding users from command line.  Also, the -batch option is
not well tested, buggy and unsupported.
1998-08-17 18:50:29 +00:00
dfr
2cfb34146c Update to use the new elf headers. 1998-08-17 08:47:19 +00:00
brian
ab64c29a02 Don't lose an allocated pointer if realloc() fails.
Free it instead.
Pointed out by: Theo de Raadt
1998-08-17 06:42:40 +00:00
jb
49f35df526 Remove a cast and print the pointer value with %p instead of %x. 1998-08-17 06:16:59 +00:00
jb
e68854cf15 Ad #include stdlib.h to get the prototype for malloc(). 1998-08-17 06:05:55 +00:00
gpalmer
f4add9d96c We need config to build on the alpha also ... kinda difficult to build
kernels without it :)
1998-08-17 05:48:22 +00:00
phk
c737fc04c0 /usr/sbin/spkrtest and /usr/sbin/vidfont (aka kbdmap) use very
predictable /tmp files (static prefix + process number) which are
overwritten blindly, and follow links.

These workarounds change it from a process number to a very random
(9999 with tons of decimal places) number.

PR:		7565
Submitted by:	Thomas Stromberg <tstrombe@rtci.com>
1998-08-14 06:26:58 +00:00
brian
eb803a26b0 Be careful about using ``.Bd -literal'' as groff sometimes keeps
the `-literal' after the closing .Ed.
Where this happens, use ``.Bd -unfilled'' with ``.It Li'' to dodge
the problem - it looks better too.
Problem reported by: Dom Mitchell <dom@phmit.demon.co.uk>
1998-08-11 18:59:36 +00:00
wpaul
85db4f8301 DNS lookups for partially qualified hosts didn't work right. I was trying
to be clever by avoiding the 'check all domains in the search list'
cycle in certain cases, but this would lose if handed a name like
"foo.ctr" which refers to an FQDN of "foo.ctr.columbia.edu". If
"columbia.edu" is in the search list in /etc/resolv.conf then the
DNS lookup code should resolve it, but it didn't.
1998-08-10 19:43:33 +00:00
brian
40e3575af7 `dns' option defaults to disabled, not enabled. 1998-08-09 23:40:31 +00:00
brian
96016c9de8 Add missing .El 1998-08-09 17:17:23 +00:00
brian
59cee59ac1 /var/run/tunX.pid is created regardless of ppps mode.
Spotted by: Alex <garbanzo@hooked.net>
1998-08-09 17:17:10 +00:00
brian
d7c49efe5b Use IFT_PPP from net/if_types.h rather than hard-coding it. 1998-08-09 16:41:01 +00:00
brian
00d5b6a213 When entering ``term'' mode, don't output any messages until
the device is successfully opened.  If we fail to open it,
mention the fact.
Also go back into command mode as soon as the device is closed
rather than waiting for the user to type something before noticing.
1998-08-09 15:34:11 +00:00
brian
5895e6980a Don't forget to call PacketAliasInit().
PR:	7515
1998-08-09 09:13:54 +00:00
brian
ec18121c82 Missed these... 1998-08-07 18:44:16 +00:00
brian
f9ee8808e7 o Support callback types NONE, E.164, AUTH and CBCP.
(see the new ``set callback'' and ``set cbcp'' commands)
o Add a ``cbcp'' log level and mbuf type.
o Don't dump core when \T is given in ``set login'' or
  ``set hangup''.
o Allow ``*'' and blanks as placeholders in ppp.secret and
  allow a fifth field for specifying auth/cbcp dialback
  parameters.
o Remove a few extraneous #includes
o Define the default number of REQs (restart counter) in defs.h
  rather than hardcoding ``5'' all over the place.
o Fix a few man page inconsistencies.
1998-08-07 18:42:51 +00:00
jb
cf87bd045c Add snprintf.c to SRCS so that the function quad_to_string exists. The
snprintf function itself is still #ifdef'd out by conf.h. This allows this
program to link when compiled without optimization. With optimization,
the call to quad_to_string gets removed by the compiler. Unfortunately
the linker still links in the quad_to_string function even though it
isn't called. 8-(
1998-08-06 23:01:49 +00:00
eivind
02824f2ad9 Don't mess around in OBJDIR for includes, and remove some warnings. 1998-08-06 21:19:11 +00:00
yokota
2701f369f2 The control code ^_ (0x1f) should really be called "us" rather than "ns".
In the mean time, accept both "us" and "ns" in the keymap file as ^_
for the compatibility with the existing keymap files.
1998-08-06 09:44:23 +00:00
eivind
f03826546d Update DPT driver from 1.4.3 to 1.4.5
Submitted by: Simon Shapiro <shimon@simon-shapiro.org>
1998-08-05 00:54:38 +00:00
nate
cd5930392d - On second thought, attempt to get the read-only lock, but don't
consider it a exit failure if it doesn't work.  This means that root
  processes can safely get the lock, but normal processes can still use
  the 'pw' utility to get information (which may change out from under
  them.)
1998-08-04 22:31:26 +00:00
nate
cb1f81bd1c - Removed read-only lock from 'pw'. This removes portions of the FIX
from PR/6787, but allow non-root users to use pw to get password
  information.  However, this should be safe since the fixes for
  disallowing multiple instances from modifying the DB are still intact.

Bug noted by:	 dima@best.net (Dima Ruban)
1998-08-04 22:20:11 +00:00
peter
9f74da92d2 Remove old sendmail (to the Attic) 1998-08-04 16:35:57 +00:00
peter
7c44433d24 Descend into makemap/mailstats/praliases when building sendmail. 1998-08-04 15:28:25 +00:00
peter
9de2546397 Use sendmail-8.9.1 makemap 1998-08-04 15:27:40 +00:00
peter
6958248d7a Use sendmail-8.9.1 praliases 1998-08-04 15:26:57 +00:00
peter
c7bd539cea Build sendmail-8.9.1 makemap. 1998-08-04 15:25:32 +00:00
peter
08eeb8ebf0 Connect up sendmail-8.9.1 1998-08-04 15:24:04 +00:00
thepish
8e7ba6d33c PR: 7489
Submitted by:	Jos.Backus@nl.origin-it.com
Correct execvp fail message in current
1998-08-04 14:33:42 +00:00
yokota
df0803d1a1 Added the `saver' key definition. The saver key will activate the screen
saver if one is loaded.
1998-08-03 11:33:22 +00:00
yokota
5c2620bec2 - Set bell pitch in hertz and duration in msecs.
The change corresponds to syscons.c 1.268.

PR: bin/6037
Submitted by: Kouichi Hirabayashi (kh@eve.mogami-wire.co.jp)
1998-08-03 09:12:39 +00:00
bde
b7b0859c3f Fixed printf format errors. 1998-08-02 16:06:35 +00:00
bde
aaeb261fcc Fixed printf format errors. 1998-08-02 14:41:34 +00:00
brian
7603926540 PR: 7469
Be careful that the current or next prompt in the list
that we're iterating through doesn't get changed by
descriptor_Read().
1998-08-02 13:01:16 +00:00
brian
1312bb150c On receipt of a sig 15, do a full bundle_Close() even if
our current phase is PHASE_DEAD as it's possible that there
are links stuck in OPENING waiting for a redial timer.
1998-08-02 06:56:40 +00:00
brian
16c3373eb0 When we receive an LCP config REQ in Opened state,
do TLD *before* processing the config request as
TLD initialises the peers LCP values.

It's strange that an IRC isn't required here - but
I'll bow to the wisdom of the rfc.
1998-08-01 01:02:41 +00:00
brian
d3b63b723f Cosmetic: Diagnostic wording (Unknown -> Unexpected) 1998-08-01 01:02:12 +00:00
brian
3c04e82e84 Always dial immediately on `open'', dial'' and `call''.
We don't need a ``!''.
1998-07-31 19:50:24 +00:00
phk
d6b040d2aa ndc hardcodes 'named' instead of using $named_program from rc.conf
PR:		7425
Reviewed by:	phk
Submitted by:	frf <frf@xocolatl.com>
1998-07-31 08:47:16 +00:00
jkoshy
52284754c1 Document meanings of flags to the -r and -s options. 1998-07-30 04:17:12 +00:00
brian
062b0dc0c3 Allow an optional ``!'' in the open, dial & call commands.
When used, the redial timer is ignored and the modem is
opened immediately.
1998-07-29 18:21:17 +00:00
brian
f94774a625 Use tcsetattr TCSANOW instead of TCSADRAIN so that dedicated mode doesn't
end up blocking indefinitely when there's no carrier.
1998-07-29 18:20:53 +00:00
joerg
4a3c46b359 Document the kern.logsigexit sysctl variable (sort of).
Reminded by:	bde
1998-07-29 08:30:37 +00:00
imp
ad4ebd90d8 MAXPATHLEN is long enough 1998-07-29 03:31:03 +00:00
imp
3bf295a888 when changing mktemp -> mkstemp, make sure to include the new s 1998-07-29 03:25:08 +00:00
imp
179d7e5a5f Fix temp file race in unused file. If someone wanted to clean the
tree a little, many files here are likely ripe for removal...
1998-07-29 03:23:18 +00:00
brian
9a2438b63a Silence ``Network unreachable'' warnings when using
``add .... HISADDR''.  The network will never be
reachable at this point unless we're in -auto or reading
the command from ppp.linkup.

We can now run the following lines and get the expected
results:

  set ifaddr 1.2.3.4/0 5.6.7.8/0
  add default HISADDR

where a route is added immediately in auto mode and the
whole thing is delayed 'till the IP numbers have been
agreed in other modes.

Essentially, ppp.linkup is no longer required.
1998-07-28 21:54:54 +00:00
brian
a8040b9831 o Tidy up PAP and CHAP diagnostics. They're now all logged as PHASE
diagnostics (which are on by default).
o Deal correctly with both sides wanting CHAP.
o Output a warning if we're using an empty ``authname''.  This is
  *not* what we want to do.
1998-07-28 21:54:30 +00:00
jkh
02fba0b1e7 Don't exit() from cleanup() if we got there via a non-signal since
we're only going to exit (after printing a more detailed error message)
afterwards anyway.
PR:		7020
1998-07-28 11:55:39 +00:00
nectar
cf3f8f53ba Paranoia: use mkdtemp instead of mktemp
PR:		bin/3212
Reviewed by:	jkh@FreeBSD.ORG
1998-07-28 01:18:02 +00:00
nectar
eb97908cb7 Paranoia: use mkstemp instead of mktemp.
PR:		bin/3211
Reported by:	Mark Pritchard <mpp@FreeBSD.ORG>
1998-07-27 22:26:25 +00:00
phk
a1a5f020ed Harlan.Stenn@pfcs.com added two (very interesting) options to syslogd for
-current (Thanks Harald). However, on my attempt to try this on -STABLE,
I found that when forwarding to another host the actual messages gets lost.
This is due to a wrong index because when the -v option was added, the
indexes shifted one place.

PR:		7407
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1998-07-27 13:04:14 +00:00
ache
1bbb61bc9b Add (struct timezone *) cast to NULL for K&R 1998-07-24 08:28:33 +00:00
ache
5b6f7049f1 Use NULL as gettimeofday arg instead of 0 cast
Add missing arg to error diagnostic
Print yet one arg of error diagnostic
1998-07-23 20:05:02 +00:00
phk
dbb03b6d18 last patch misapplied. 1998-07-22 14:24:12 +00:00
phk
5835aea78c Add -u, -v and -vv options to syslogd, this improves the control and
logging verbosity about facility & priority levels.
PR:		7278
Reviewed by:	phk
Submitted by:	Harlan Stenn <Harlan.Stenn@pfcs.com>
1998-07-22 06:15:19 +00:00
phk
2683102126 A comment in /usr/src/usr.sbin/ypserv/Makefile.yp
(a.k.a. /var/yp/Makefile.dist) refers to an obsoleted usage of the
-m option of rpc.yppasswdd.  It is currently taken over by the -t
option.  -m is used for a different purpose now.

PR:		7279
Reviewed by:	phk
Submitted by:	Amakawa Shuhei <amakawa@nebula.sf.t.u-tokyo.ac.jp>
1998-07-22 06:01:13 +00:00
phk
39bd98f296 This may apply to all known versions of inetd.
For a tcp/nowait connection, inetd invokes accept(2) for
each pending connection; this call returns a file descriptor
associated with the new connection.

Twelve years ago, code was added to inetd to detect "failing
servers".  The heuristic that identifies a failing server is
one that has been invoked a large number of times over some
specified interval (e.g., more than 128 ftp services started
in 60 seconds may flag the ftp service as "failing").  These
compile-time constants vary depending on vendor.

The problem is that, when a failing server is detected, the
code neglects to close the file descriptor returned by the
accept(2).

Security-Implications:
I suppose someone with ample free time could orchestrate an
attack buy pummeling services until the inetd process finally
runs out of file descriptors thus rendering inetd useless to
any new connections that require a new descriptor.

PR:		7286
Reviewed by:	phk
Submitted by:	Jeff Forys <jeff@forys.cranbury.nj.us>
1998-07-22 05:53:53 +00:00
dfr
dc04b45a8b Dump out ISA device resources for alpha. 1998-07-21 21:47:51 +00:00
joerg
9b0b785230 Document sef's recent changes in the corefile naming.
Reviewed by:	sef (well, i believe his `Looks good' was a review result :)
1998-07-21 18:16:16 +00:00
jkh
f97b174944 MF22: various fixes for new XFree86 dist and cdrom warnings. 1998-07-21 06:44:42 +00:00
yokota
845dfbe615 MF22: fix typo in a keymap filename (lat-amer.iso -> lat-amer). 1998-07-20 10:48:11 +00:00
brian
0997d0dc6a Add missing braces - without them, the IP & label were mis-selected
from ppp.secret.
Problem reported by: Dom Mitchell <dom@phmit.demon.co.uk>
1998-07-19 21:07:24 +00:00
rnordier
73fe2a24f5 Drop mkdosfs (replaced by newfs_msdos).
Prompted by: joerg
1998-07-19 13:41:08 +00:00
hoek
77ec90992f Clarify "Cannot delete file as directory" errmessage.
PR:		bin/1985
1998-07-18 22:19:11 +00:00
jkh
c1d10d181d MF22: Paul Traina's changes. 1998-07-18 09:42:02 +00:00
eivind
3aff34f53d Avoid race-conditions on playpen delete. 1998-07-17 14:56:31 +00:00
nate
e5267d9c1b Fix race condition in pw caused by multiple instances of pwd_mkdb being
run at the same time.

Notes:
    The fileupdate function is still somewhat broken.  Instead of
    returning a failure code if it can't modify the original file it
    renames the .new file and continues as though nothing is wrong.
    This will cause the lock on the original file to be lost and could
    lead to a similar race condition.  I left that portion of the code
    alone since I feel that the maintainer of the code would have a
    better concept of how he wants to handle errors in that function
    than I do.

PR:		bin/6787
Submitted by:	Craig Spannring <cts@internetcds.com>
1998-07-16 17:18:25 +00:00
des
cea29ea511 Allow blank lines in /var/yp/securenets. 1998-07-15 11:56:28 +00:00
charnier
b5a0beec7f Add Id. .Nm nologin -> .Nm. 1998-07-15 06:37:07 +00:00
charnier
15dad0ac31 Do not dot terminate syslog() string. Remove unused #includes. Add rcsid. -Wall. 1998-07-15 06:33:15 +00:00
charnier
118387f5a9 Correct improper use of .Sm. Document -d flag. Correct use of .Nm. Remove
unused #includes. Add usage(). Use warnx(). Correct spelling. Abort when
malloc() fails.
1998-07-15 06:21:41 +00:00
jkoshy
1aec4a37c4 Fix inconsistent port numbering in man page.
PR: 7250
Submitted-by: Norihiro Kumagai <kuma@jp.freebsd.org>
1998-07-15 03:32:45 +00:00
bde
37dcc6e677 ioctl() request args are unsigned longs, so don't attempt to store
them as ints.  Among other bugs, doing so at best caused benign
overflow followed by fatal sign extension on machines with 32-bit
ints and 64-bit longs.
1998-07-14 10:32:27 +00:00
jkoshy
7842d15da6 Add $Id$.
PR:		7251
Submitted by:   Norihiro Kumagai <kuma@jp.freebsd.org>
1998-07-14 08:28:15 +00:00
jkoshy
2449535dc8 Add $Id$.
PR: 7249
1998-07-14 08:18:51 +00:00
des
c800716d6f Inserted missing .Bl in the FILES section.
Unknowingly pointed out by: Snob Art Genre <benedict@echonyc.com>
1998-07-14 07:55:27 +00:00
se
1bb9654ac9 Remove printing of variable "reselect" which is not really maintained
by the NCR driver.

Fix use of "regtime" which became an int (had been a time_t).

Submitted by:	bde
1998-07-12 20:30:11 +00:00
brian
8e3cf4b030 Show on-screen ``phase'' logging and try to negotiate
nameserver IPs by default at install time.
Approved by: jkh
1998-07-12 17:11:53 +00:00
bde
fefe9e9ac6 Removed all traces of PARAM in Makefile.i386. Incremented CONFIGVERS
to reflect the dependency of Makefile.i386 on nothing being put in
PARAM.

Config versioning is too closely coupled with the Makefile.i386.
1998-07-12 09:52:45 +00:00
bde
5d983285b3 Convert the maxusers directive to a normal MAXUSERS option (normally
define MAXUSERS in opt_param.h as directed in /sys/conf/options;
if it's not mentioned there, then define it in IDENT; never define
it in PARAM).  MAXUSERS probably should be a completely normal option.

Don't define PARAM now that it is empty.

Cleaned up similar conversion of cpu directives to XXX_CPU options.
1998-07-12 08:10:33 +00:00
bde
82ecca82af Warn about redefined options. Keep using the last value processed.
Options are processed reverse file order, so the first definition in
the config file wins (except for directives that are converted to
option).
1998-07-12 02:31:08 +00:00
bde
aa863717b9 Fixed off-by-1 errors in option line numbers. yyline is 0-based, but
was used as if it is 1-based.  This happened to give the correct result
for options without values because of a compensating error in newline
lexing.  Didn't fix the latter, so line numbers in yyerror() may still
be 1 too high in some cases.
1998-07-12 02:18:41 +00:00
brian
4f861a5e87 Correct enable/disable handling (broken when ironing out
32/64 bit issues recently).
1998-07-12 00:30:18 +00:00
brian
16c7986738 Check the ``alive'' filter for a packet *before* the
mbuf is deallocated by vj_SendFrame().
1998-07-11 19:05:24 +00:00
brian
664c9e049f Change MIN_LQRPERIOD from 5 to 2. 1998-07-11 02:48:36 +00:00
jkoshy
ddb25d9bc8 Remove illegal ".Nm". This file is still using -man, not -mdoc.
PR: 7223
1998-07-09 04:53:11 +00:00
bde
a5b3c3ea4f Fixed printf format errors. 1998-07-06 20:28:08 +00:00
bde
930e39f583 Removed bogus #ifdef INET - <net/if_slvar.h> no longer depends on it. 1998-07-06 20:09:36 +00:00
charnier
beb07fe1b8 Correct use of .Nm. Spelling. Add rcsid and remove unused #includes. 1998-07-06 07:19:27 +00:00
jkoshy
cea09a06a6 Document -I' and -R' options to `pkg_info'.
PR: 7155
1998-07-06 04:39:20 +00:00
brian
28a49d6dfd Don't disable ^D in interactive mode.
Wished for by: pkh
1998-07-04 22:04:12 +00:00
brian
17cce659be Don't require context when there's only one link
for ``open lcp''
1998-07-04 22:03:56 +00:00
jkh
3f5c1f515d MF22: check for null pointer. 1998-07-04 14:13:01 +00:00
brian
32fa3677a8 Make things clearer.
Submitted (some time ago) by: Ted Mittelstaedt <tedm@portsoft.com>
1998-07-04 12:07:03 +00:00
brian
0b47f48623 Version 2.0-beta becomes 2.0 :-) 1998-07-04 10:24:49 +00:00
brian
89cb3eea24 Suggest port 8668 rather than 6668 for natd.
6668 is IRC.
1998-07-04 01:53:54 +00:00
brian
e15057ae7c Only start checking carrier when the datalink state machine
exceeds DATALINK_READY.  When we go back to READY or less
(eg. ``close lcp''), switch the carrier-checking-timer off again.

This fixes the callback example in ppp.conf.sample.
Noted as broken by: Damian Kuczynski <damian@best.pw.edu.pl>
1998-07-03 17:24:38 +00:00
guido
b7d83099ea Fix off by 1 error. 1998-07-02 19:35:40 +00:00
phk
532390febb /var/log/wtmp entries for ptys are treated differently in ac, since
they may not be logins.  The code for determining whether it is a pty
entry is broken.

PR:		7137
Reviewed by:	phk
Submitted by:	Tom Rush <tarush@mindspring.com>
1998-07-02 05:34:08 +00:00
brian
079249c72b The CCP layer now behaves as follows:
o If we've denied and disabled all compression protocols, stay
  in ST_INITIAL and do an LCP protocol reject if we receive any
  CCP packets.
o If we've disabled all compression protocols, go to ST_STOPPED
  and wait for the other side to ask for something.
o If we've got anything enabled, start REQing as soon as the auth
  layer is up.
o If we're in multilink mode, than the link level CCP goes
  straight to ST_STOPPED irrespective of what's configured so that
  we never try to compress compressed stuff by default.
1998-06-30 23:04:17 +00:00
bde
b43cf77fb7 Don't assume that time_t is long. 1998-06-29 18:15:21 +00:00
bde
329ef73b32 Don't assume that time_t is long. Fixed printf format errors. 1998-06-29 18:12:08 +00:00
bde
6b98b4aca2 Don't assume that time_t is long. 1998-06-29 18:09:59 +00:00
bde
e98f798c6a Don't assume that time_t is long. 1998-06-29 17:54:29 +00:00
bde
64fc186e35 Don't assume that time_t is long. Fixed printf format errors (don't
assume that ntohl() returns long).
1998-06-29 17:51:39 +00:00
bde
be7e982a5e Don't assume that time_t is long. 1998-06-29 17:38:35 +00:00
bde
e93d50ef3b Don't assume that time_t is long. 1998-06-29 17:25:46 +00:00
jkh
18a2201c57 Crank the max possible disks/slices constants way down.
The probe for this sometimes makes IDE drives chatter their guts out
and takes an inordinately long time in such cases..
1998-06-29 09:28:01 +00:00
brian
ecefb9d1a2 o Fix remaining sizeof problems for 64 bit machines.
o Allow ``set ....'' when we have multiple links but aren't in
  multilink mode.
o Do a TLS when we receive a ``Open'' event in ``Closed'' state,
  despite the rfc state transition table.  This is clearly an
  error in the RFC as TLS cannot have yet been called (without
  TLF) in the ``Closed'' state.
  I've posted a message to comp.protocols.ppp for confirmation.
1998-06-27 23:48:54 +00:00
steve
40b850dd41 Note in log file if messages are being forwarded from a
remote machine.

PR:		7055
Submitted by:	Edwin Groothus <edwin@nwm.wan.philips.com>
1998-06-27 21:45:59 +00:00
steve
5a9ce09142 Typo.
PR:		7093
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-06-27 21:29:35 +00:00
brian
86d48ef9c4 More u_long -> u_int32_t 1998-06-27 16:24:52 +00:00
brian
1dcef5af2d I find it *really* irritating that you can't ``cvs rm''
things without removing them first.
1998-06-27 15:33:17 +00:00
brian
d8347e5d3e Remove redundant includes 1998-06-27 14:18:15 +00:00
brian
9666634a89 Don't dlopen()/dlsym() libalias, use it in the same way
as the rest of the world uses libraries.
1998-06-27 14:17:28 +00:00
brian
6a5332c7c7 Don't assume ``sizeof(u_long) == 4''
Submitted by: Theo
1998-06-27 12:03:50 +00:00
brian
0e8196a1ea Cast void * to char * for log_Printf(). 1998-06-27 12:03:46 +00:00
brian
2421d3c06a ``struct tunnel_header'' -> u_int32_t in OpenBSD.
struct tunnel_header is going soon.

Suggested by: Theo
1998-06-27 12:03:43 +00:00
brian
a0edc31f41 Don't depend on sizeof(u_long) == 4. 1998-06-26 19:02:40 +00:00
brian
6b48c99450 DISTRIBUTION=des 1998-06-26 18:50:29 +00:00
jkoshy
eae9bbe969 Document environment variables used by pkg_{add,create,info}. These
include PKG_TMPDIR, TMPDIR, PKG_DBDIR.  Add a FILES section to these
manual pages.

PR: docs/7064
1998-06-26 07:15:38 +00:00
brian
1e23d0e92c Add `ipcp'' as an optional argument to `open'', and make
open capable of re-negotiatiating the various layers.

It is now possible to change various link options and then
re-open the relevant layer, making the changes effective -
for example, switching off VJ compression or starting ECHO
LQRs on-the-fly.
1998-06-25 22:33:31 +00:00
wpaul
efe4f69151 A long time ago I hacked mountd so that it would deal intelligently
with export lines where the same hostname was specified more than once
(this happens a lot with netgroups sometimes). Recently I discovered
that it needs to be hacked to deal with multiple instances of the
same IP address too.

I've been using this modification locally for several months with no
hassles.
1998-06-25 21:26:06 +00:00
guido
c183560752 Implement new argument -l (OpenBSD has -a but we already use that).
This allows one to specify additional sockets in the unix domain
that syslogd listens to. Its primary use is to create log sockets in
chroot environments.
Obtained from:OpenBSD (with a bug fixed d
1998-06-25 19:39:19 +00:00
julian
2b2a057da4 Reviewed by: guido@mouse.gvr.org
Submitted by:	Archie@whistle.com
redo the last patch to allow differentiated kernel logging in
a much better way.
1998-06-24 23:50:20 +00:00
brian
ba3159e407 Oops - forgot these with the last commit. 1998-06-24 19:36:37 +00:00
brian
7c567ca3f8 o If we come out of select() with only write descriptors that
end up writing zero bytes, sleep for 1/10 of a second so that
  we don't end up using up too much cpu.
  This should only ever happen on systems that wrongly report a
  descriptor as writable despite the tty buffer being full.
  Discussed with: Jeff Evarts

o Do an initial run-time check to see if select() alters the passed
  timeval.  This knowledge isn't yet used, but will be soon.
1998-06-24 19:33:36 +00:00
jkh
70c19cb746 MF22: more explanatory message from config on version mismatch detection. 1998-06-24 06:16:32 +00:00
peter
2f3389d400 Forgot to resync the RELNOTES to 2.3.5 1998-06-23 21:41:58 +00:00
brian
203d5be5bf Suggest the use of `accept dns'', not `enable dns'' in
server mode.
1998-06-21 11:14:50 +00:00
peter
bffadee042 remove old hack that's no longer needed and now breaks the compile 1998-06-21 04:47:21 +00:00
mph
866042c3ac Correct punctuation. 1998-06-21 04:33:36 +00:00
peter
5cb66c6885 Merge ppp 2.3.3 -> 2.3.5 changes onto mainline. 1998-06-20 18:02:16 +00:00
brian
cbd53d5292 Do an InitRestartCounter when we get a TerminateReq
in Opened state.....  I have no idea why this never
caused problems in the past - maybe the restart
counter was bogusly initialised somewhere else :-/
1998-06-20 01:55:28 +00:00
brian
c2aa2f38cd Re-initialise our timer service after fork()ing
to lose our terminal session.  Is this a bug in
setitimer() ? - it must be called again in the
child !
1998-06-20 01:36:38 +00:00
brian
6e7ded224d Create & use fsm2initial(), a function to bring a
state machine back to ST_INITIAL without going
through any unnecessary TLS/TLF pairs.
1998-06-20 00:19:42 +00:00