Commit graph

2541 commits

Author SHA1 Message Date
Brian Somers 2f8fcf44da Only compress tcp packets. Calculate size of
logbuff rather than guessing at 2000.

PR:		2046
Submitted by:	torii@tcd.hitachi.co.jp
1997-05-07 23:30:50 +00:00
Brian Somers e68d210e8f Allow up to 40 args in the chat script (was 20).
Ignore subsequent args rather than scribbling.

PR:		1952
Submitted by:	Mikael Hybsch <micke@free.dynas.se>
1997-05-07 23:01:25 +00:00
Brian Somers ea3b35174b Allow a '-' flag as a placeholder so that path_to_pid_file
can be specified without the flags field.
Fix bogus "trail" left in parse routine where the code jumps
past the end of the line and wanders into oblivion.
1997-05-06 23:11:06 +00:00
Brian Somers 2cd0474b47 Make ppp exit on loss of carrier in -background mode.
Submitted by:	Jim Carroll <jim@carroll.com>
1997-05-05 23:45:15 +00:00
Andrey A. Chernov 805bd6d982 Do not kill -HUP syslog if running in user mode (-r), it allows
private user logs rotation without error diagnostics
1997-05-05 15:00:15 +00:00
Jordan K. Hubbard 6ca2689df0 DOH! Fix package-extractor looping problem by moving some code
to the *proper* part of the loop.
1997-05-05 08:38:12 +00:00
Jordan K. Hubbard 00137300da Adapt routing configuration glue to rc.conf format. 1997-05-05 06:32:44 +00:00
Paul Traina eeb3219eef Add in some more config file support -- add variables to shut up
sysinstall about the dangerously dedicated message, and other
variables to allow pre-configuring the distribution sets.

Still todo: add a variable to define an initial set of packages that
should be loaded.
Reviewed by:	jkh
1997-05-05 05:16:03 +00:00
Andrey A. Chernov 63202ff1e6 Log each ppp line to separate /var/log/ppp.tunX.log instead mixing of
all lines into single /var/log/ppp.log
1997-05-04 02:39:04 +00:00
Andrey A. Chernov 3d807d3be6 1) Add yet one optional field: pid file to send SIGHUP to if log rotated
(good thing for apache f.e.) This change is backward compatible with old
newsyslog.conf files.

2) Do not compress log if SIGHUP sending failed for some reason
(f.e. pid file deleted). Newcoming messages will be lost
otherwise.

3) Misc cleanup while I am here.
1997-05-04 01:53:53 +00:00
Joerg Wunsch 3548606371 Nobody ever seemed to be interested in reviewing these changes, and i
found that my syslogd is now running them for several months...

Add an option to syslogd to restrict the IP addresses that are allowed
to log to this syslogd.  It's too late to develop the inter-syslogd
communications protocol mentioned in the BUGS section, some 10 years
too late.  Thus, restricting the IP address range is about the most
effective change we can do if we want to allow incoming syslog
messages at all.

IMHO, we should encourage the system administrators to use this option,
and thus provide a knob in /etc/rc.* for it, defaulting to -a 127.0.0.1/32
(just as a hint about the usage).

Please state opinions about whether to merge this change into 2.2 or
not (i've got it running on RELENG_2_2 anyway).
1997-05-03 22:17:43 +00:00
Masafumi Max NAKANE a1c9d782b7 Minor typo.
PR:		3473
Submitted by:	Josh Gilliam <soil@quick.net>
1997-05-02 22:00:05 +00:00
Andrey A. Chernov 2105643e74 Change "no" answer to "default" for login class, because "no" class
can exists and "default" class is really equal to empty class.
1997-05-01 23:34:25 +00:00
Andrey A. Chernov a0c103b58d Allow "no" answer on login class prompt override non-empty
/etc/adduser.conf defaultclass with empty one
1997-05-01 23:23:06 +00:00
Andrey A. Chernov 84dc96f1be 1. Deal with login classes now
2. Turn on send_message by default for security reasons (mailbox
must be pre-created)
1997-05-01 22:55:58 +00:00
Steve Passe 9d35fde7d6 fixed minor typo, bumped to version 2.0.9 1997-04-30 23:54:55 +00:00
Paul Traina 0f4b7baa2d Back out msmith's recent commit which breaks using symbolic names for netmasks.
Instead, reverse the order of the testing, so if a symbolic name starts with
a digit, we'll see if we can make a network address out of it first.  If
that fails, then we'll call getnet...
1997-04-30 18:40:12 +00:00
Jordan K. Hubbard 8681ebdcd1 YAMF22 1997-04-29 09:14:24 +00:00
John-Mark Gurney 24685462af add an Id line, minor mdoc fix ups
add ftp to list of facilities in syslog.conf
Closes PR#3389
Submitted-by: Pius Fischer
1997-04-29 09:09:40 +00:00
Doug Rabson 4b15c06830 Fix so that amd can build with hesiod support.
Submitted by:	Kevin Van Maren <vanmaren@marker.cs.utah.edu>
1997-04-29 08:43:52 +00:00
Doug Rabson f7411a35d2 Fix makefiles so they work without having to 'make depend' 1997-04-29 08:42:34 +00:00
Steve Passe 6b178bfd1b added mptable to directory list of usr.sbin programs. 1997-04-29 03:09:01 +00:00
Steve Passe 2b33a0f919 add a userland program for SMP support
mptable examines and displays the MP table of an SMP motherboard.
1997-04-29 03:06:35 +00:00
Bill Paul 27cfb28087 Back out unnecessary overly-paranoid paranoia test from here too; yp_access()
does the right thing already.
1997-04-28 14:22:31 +00:00
Bill Paul cc7ff6f503 Back out one of my paranoia tests from the last commit here; yp_access()
already deals with it appropriately. (You know you've been working too
hard when you forget how your own code works.)
1997-04-28 14:18:38 +00:00
Garrett Wollman aeb83a466a Condition SO_PRIVSTATE twiddling on the definedness of SO_PRIVSTATE.
(This was done as a #ifdef to keep source compatibility between 2.2 and 3.0.)
1997-04-28 13:55:07 +00:00
Jordan K. Hubbard 3de5b08eda Adapt to rc.conf file format. 1997-04-28 10:31:14 +00:00
Jordan K. Hubbard 593230d218 Back out mount change here (which is the only branch it should have
occupied in the first place :)
1997-04-28 09:35:59 +00:00
Jordan K. Hubbard 7499a04abf YAMF22 1997-04-28 06:15:49 +00:00
Paul Traina cf27d94b69 Whoops -- code inspection showed I forgot to clean up getopt string 1997-04-26 00:03:21 +00:00
Paul Traina 26bed90fac Secure mode (-s) incorrectly disabled both sending and receiving of syslog
packets over UDP.  Secure boxes should still be able to send packets.
1997-04-26 00:00:33 +00:00
Mike Smith 590ef650e0 Don't call getnetbyname() on a netmask. On a system with a slow net
connection, a large set of network exports could take many minutes to
time out, giving the appearance of a total hang during boot.
1997-04-23 11:03:10 +00:00
Bruce Evans f4c1975c26 Removed inconsistent declaration of malloc(). `make world' with DESTDIR
set to something other than "/" now actually works.
1997-04-23 10:16:58 +00:00
Doug Rabson 2a66cfc532 Add a -2 flag to mountd to allow an admin to disable NFSv3 services.
This is handy for testing and possibly to work around busted v3 clients.
1997-04-22 10:37:27 +00:00
Doug Rabson a7c99c34e6 Update the host filesystem so that it works with NFSv3 1997-04-22 10:24:29 +00:00
Brian Somers 07030d97c1 Add a reconnect capability directing ppp to re-establish
the connection after an unexpected loss of carrier:

    set reconnect timer ntries

The man page warns against using this command when your
timeout value is slightly more than the other sides :{}

Suggested by: burton@bsampley.vip.best.com (Burton Sampley)
1997-04-21 01:02:02 +00:00
Jordan K. Hubbard 0aa615d28d Sync with 2.2 and clean up some tortured english that was added. 1997-04-20 16:46:36 +00:00
Andrey A. Chernov 4ded859ba2 Fix typo in previous commit 1997-04-19 11:31:38 +00:00
Poul-Henning Kamp 6b5f0ac2a3 Unceremoneously discard HDLC frames with less than two bytes in them.
XXX: real fix: this could should check the number of bytes in the packet
before accessing them.

Found by: phkmalloc
1997-04-19 09:25:58 +00:00
Doug Rabson 748c4cdf38 Fix make depend. 1997-04-19 09:15:25 +00:00
Doug Rabson e38dff1718 Generate mount*.[ch] and nfs_prot*.[ch] from the .x files.
Delete bogus local versions of mount*.[ch] and nfs_prot*.[ch].

Use v3 protocol by default for NFS mounts.  If v3 is not supported, v2 is
used automatically.  Add a new mount options for NFS, 'nfsv2' to allow the
administrator to force the use of the older protocol.

Document the new mount options and fix a couple of markup problems.
1997-04-18 13:23:38 +00:00
Daniel O'Callaghan e2f35cc2cf Add FILES section to manpage.
Create /var/run/ttyXn.if interface file and /var/run/slX.pid
PID file, following format of pppd(8).
1997-04-16 09:54:50 +00:00
Daniel O'Callaghan 52379a4d35 Suggested by: David Nugent
Use /etc/ppp/ppp.deny instead of /etc/ppp/ppp.disabled
1997-04-16 02:07:10 +00:00
Bruce Evans 5455a8224b Fixed type mismatch caused by bogus prototypes. rpcgen for some reason
doesn't generate any prototypes for the functions to be registered.
1997-04-15 16:18:57 +00:00
John-Mark Gurney 6ecb7b2027 fix some typos, and some slight clean up...
Closes PR#3266
1997-04-15 07:41:10 +00:00
John-Mark Gurney ec93646d18 fix a few typos..
Closed PR#3265
1997-04-15 07:15:47 +00:00
John-Mark Gurney b27098e7ca fix a couple typos...
Closer PR#3264
1997-04-15 07:06:15 +00:00
Daniel O'Callaghan 629098536b Reviewed by: Brian Somers <brian@freebsd.org>
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.
1997-04-15 07:00:35 +00:00
Brian Somers 4f72618556 Remove osreldate. I got the number wrong anyway :( 1997-04-15 00:03:36 +00:00
Brian Somers 43ea9d19fa Make the next number redial ability configurable. The
"set redial pause [times]" command becomes
"set redial end-pause[.next-pause] [times]" and next-pause
defaults to 3 seconds.  This keeps things backwards
compatable.

Suggested by:	ache
1997-04-14 23:48:20 +00:00