Commit Graph

2755 Commits

Author SHA1 Message Date
jkh
19bd03738f YAMF22 1997-06-13 17:55:32 +00:00
jkh
7c9e3d56ff YAMF22 1997-06-13 14:21:22 +00:00
jkh
0f4e861b68 Incorporate an ancient typo fix that never made it over from 2.2. 1997-06-13 14:06:10 +00:00
jkh
3e69679410 reverse polarity on bit-flip from 2.2 1997-06-13 11:00:13 +00:00
jkh
ae10f85664 YAMF22 1997-06-13 09:34:10 +00:00
jkh
c2c577d2bb YAMF22 1997-06-13 07:11:57 +00:00
brian
346b6e02b2 Fix "delete ...", it now only insists on
one arg too.

Discovered by:	Rikk Salamat <rikks@web-impact.com>
1997-06-13 03:59:36 +00:00
brian
27812dcefe Add ppp.linkdown file to compliment ppp.linkup.
Submitted by:	Forgotten
Passed on by:	Terry Dwyer 61 8 9491 5161 <tdwyer@io.telstra.com.au>

Also remove extraneous setuid(0) - it's only undone by
the subsequent call to SelectSystem().
1997-06-13 02:07:32 +00:00
brian
bc457c2835 Fix "show ?" alignment.
PR:		3830
Submitted by:	Josh Gilliam <josh@quick.net>
1997-06-13 00:09:54 +00:00
brian
74ab23f128 Document ppp over tcp (how to tunnel) 1997-06-13 00:04:58 +00:00
jkh
926a316f41 YAMF22 1997-06-12 09:01:38 +00:00
jkh
0b4996eb1a YAMF22 1997-06-12 08:46:51 +00:00
jkh
4e9bb8ff6a YAMF22 1997-06-12 07:35:40 +00:00
jkh
5e98d4a1bc YAMF22 - Bugs Of Evil in variable handling and rc.conf editing.
PR#: 3218 [partial]
1997-06-11 08:41:10 +00:00
brian
e0adf1f08c Sort out ppp over tcp:
o Allow "set var" with no args to blank var (don't req "").
  o Zero VarTerm ASAP if not in interactive mode.
  o Never print anything to stdout in -direct mode.
  o Count redial when failing to open modem.
  o Increase device size to 40 characters (for host:port).
  o Remove missed "if (fd == 0) fd = 1;".
  o Don't give up on incoming non-terminal connections.
1997-06-11 03:57:51 +00:00
brian
c6205e5690 Make the man page a little more detailed.
Update the version number to 1.00.
Increase the predictor-1 buffer by 2 bytes.
1997-06-09 23:38:38 +00:00
jkh
b8c978337c Add a sample script file so people have some idea of what to pass to Load. 1997-06-09 05:10:08 +00:00
brian
b743dbe266 Overhaul ppp:
o Use syslog
  o Remove references to stdout/stderr (incl perror())
  o Introduce VarTerm - the interactive terminal or zero
  o Allow "set timeout" to affect current session
  o Change "set debug" to "set log"
  o Allow "set log [+|-]flag"
  o Make MSEXT and PASSWDAUTH stuff the default
  o Move all #ifdef DEBUG stuff into the code - this
    shouldn't be too much overhead.  It's now controlled
    with "set log +debug"
  o Add "set log command, debug, tun, warn, error, alert"
  o Remove cdefs.h, and assume an ansi compiler.
  o Improve all diagnostic output
  o Don't trap SIGSEGV
  o SIGHUP now terminates again (log files are controlled
    by syslog)
  o Call CloseModem() when changing devices
  o Fix parsing of third arg of "delete"

I think this fixes the "magic is same" problems that some
people have been experiencing.
The man page is being rewritten.  It'll follow soon.
1997-06-09 03:27:43 +00:00
jkh
6476e77e01 1. Make it possible to set up all the TCP/IP values from a script.
2. Update to XFree86 3.3
1997-06-09 01:19:44 +00:00
wpaul
a785383baa Clobber unneeded prototypes; in particular, the redeclaration of malloc()
will break compilation if DESTDIR is not set. The update.c module is
actually from the Sun RPC distribution so this is really their bogon, but
I should have noticed it when I integrated the code into rpc.ypupdated.

Sung to me by: Satoshi
1997-06-06 15:47:57 +00:00
jkh
ca1b83a362 Add support for srcdir overrides. 1997-06-06 12:19:11 +00:00
jkh
e36d560237 Resurrect / implement some of the more esoteric scripting features,
such as partitioning a disk or overriding an interactive prompt.
1997-06-05 09:48:03 +00:00
brian
aecf14fc23 Remove mis-leading version info. 1997-06-03 00:35:03 +00:00
brian
c7d587e120 Back out last change (which in fact breaks rfc1661)
and modify the behaviour so that a timer is started
and the restart counter is zeroed (as per the State
Machine Diagram).

Pointed-out-by:	joerg
1997-06-02 00:04:40 +00:00
brian
b04d7fb136 Go directly to ST_STOPPED when a TerminateReq is
received and after the TerminateAck is sent (as
per rfc1661) rather than to ST_STOPPING.  Going
to ST_STOPPING will leave us in a state where
we're waiting for the other side to do something -
not a good idea, especially as the client side sends
a TerminateReq then exits on idle timeout.
1997-06-01 14:37:19 +00:00
brian
9bb0637518 Reduce MAX_M[RT]U back to 2048. Even on a null-modem
ppp link, we gain nothing with a larger mtu.

Suggested by:	joerg

Fix pred1 buffer size (must be == MAX_MTU)
1997-06-01 11:35:04 +00:00
brian
a58096cbf5 Remove initial startup printf's in -direct mode.
Make "same magic" error send a NAK (as per rfc).
1997-06-01 03:43:26 +00:00
brian
b583e76068 Implement "set mtu" command to allow the client to
reduce the interface mtu.
Allow max mru spec of 16k.
Add "show m[rt]u" ability.
1997-06-01 01:13:04 +00:00
brian
3d9ec4a236 Remove "set mtu ..." ability. Currently, this is an
"alias" for "set mru ...", but there's no such thing
as setting your mtu in the ppp protocol (rfc1661).
1997-05-31 16:37:19 +00:00
jkh
e3396804bd Fix typos (of the printed output kind). 1997-05-30 01:03:09 +00:00
wpaul
1d239a2785 Another (harmless, luckily) mind-o: somehow I typed 'rpc.ypupdated.'
instead of 'rpc.ypupdated' when I added rpc.ypupdated to the SUBDIRS
list.

Carved into my forehead with an rusty railroad spike by: Mark Murray
1997-05-29 14:21:39 +00:00
wpaul
55149b19a2 Mind-o: MAN8= yes --> NOMAN= yes
Etched onto my brain with acid by: Mark Murray.
1997-05-29 13:59:22 +00:00
brian
5032cae4f1 Correct the return of DialModem()
Suggested by:	kfurge <kfurge@worldnet.att.net>
1997-05-29 02:29:13 +00:00
wpaul
74869985cf Activate new Secure RPC programs. 1997-05-28 16:05:18 +00:00
wpaul
958395337f This commit was generated by cvs2svn to compensate for changes in r26236,
which included commits to RCS files with non-trunk default branches.
1997-05-28 15:47:10 +00:00
wpaul
9224ac8d9f This commit was generated by cvs2svn to compensate for changes in r26234,
which included commits to RCS files with non-trunk default branches.
1997-05-28 15:44:22 +00:00
jkh
cf4066f387 Always write out rc.conf, regardless of status.
PR:		3698
1997-05-27 18:56:03 +00:00
jkh
5d4961d982 Correct SNAP server paths.
Bring in CDE fixes.
1997-05-27 16:41:52 +00:00
jkh
9a8c877603 sysconfig -> rc.conf
Submitted by:	Igor Vinokurov <igor@cs.ibank.ru>
1997-05-27 07:19:57 +00:00
fenner
0fc45d9c51 Update Makefile to build tcpdump-3.3 .
PR:		3371
Submitted by:	Chris Timmons <skynyrd@opus.cts.cwu.edu>
1997-05-27 02:21:28 +00:00
jkh
4e8cf4b4a5 Lame typo fix here too. 1997-05-26 05:33:16 +00:00
jkh
617293d4e4 YAMF22 1997-05-26 04:57:56 +00:00
brian
3e769c4ccf De-couple ppp from libalias. If libalias isn't there, the
alias commands simply won't work.  Only root may specify the
location of the alias lib (otherwise, it's hard-coded).

Make logprintf silently fail if LogOpen hasn't been called.

Suggested by:	eivind
1997-05-26 00:44:10 +00:00
brian
a474d39a05 Include <alias.h>, not "alias.h" 1997-05-25 19:49:44 +00:00
wpaul
721fa82549 This commit adds support to ypbind(8) for binding to non-local servers.
The standard SunOS ypbind(8) (and, until now, the FreeBSD ypbind)
only selects servers based on whether or not they respond to clnt_broadcast().
Ypbind(8) broadcasts to the YPPROC_DOMAIN_NONACK procedure and waits
for answers; whichever server answers first is the one ypbind uses
for the local client binding.

This mechanism fails when binding across subnets is desired. In order
for a client on one subnet to bind to a server on another subnet, the
gateway(s) between the client and server must be configured to forward
broadcasts. If this is not possible, then a slave server must be
installed on the remote subnet. If this is also not possible, you
have to force the client to bind to the remote server with ypset(8).

Unfortunately, this last option is less than ideal. If the remote
server becomes unavailable, ypbind(8) will lose its binding and
revert to its broadcast-based search behavior. Even if there are
other servers available, or even if the original server comes back
up, ypbind(8) will not be able to create a new binding since all
the servers are on remote subnets where its broadcasts won't be heard.
If the administrator isn't around to run ypset(8) again, the system
is hosed.

In some Linux NIS implementations, there exists a yp.conf file where
you can explicitly specify a server address and avoid the use of
ypbind altogether. This is not desireable since it removes the
possibility of binding to an alternate server in the event that the
one specified in yp.conf crashes.

Some people have mentioned to me how they though the 'restricted mode'
operation (using the -S flag) could be used as a solution for this
problem since it allows one to specify a list of servers. In fact,
this is not the case: the -S flag just tells ypbind(8) that when it
listens for replies to its broadcasts, it should only honor them if
the replying hosts appear in the specified restricted list.

This behavior has now been changed. If you use the -m flag in conjunction
with the -S flag, ypbind(8) will use a 'many-cast' instead of a broadcast
for choosing a server. In many-cast mode, ypbind(8) will transmit directly
to the YPPROC_DOMAIN_NONACK procedure of all the servers specified in
the restricted mode list and then wait for a reply. As with the broadcast
method, whichever server from the list answers first is used for the
local binding. All other behavior is the same: ypbind(8) continues
to ping its bound server every 60 seconds to insure it's still alive
and will many-cast again if the server fails to respond. The code used
to achieve this is in yp_ping.c; it includes a couple of modified RPC
library routines.

Note that it is not possible to use this mechanism without using
the restricted list since we need to know the addresses of the available
NIS servers ahead of time in order to transmit to them.

Most-recently-requested by: Tom Samplonius
1997-05-25 19:49:33 +00:00
max
ea75dc558d Typo: .SH --> .Sh.
PR:		3683
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-05-25 19:11:26 +00:00
ache
9b4b59d4f8 When no last file specified for % command user barf(error diagnostic)
instead of segmentation fault
1997-05-24 21:45:55 +00:00
brian
b802e4fce6 Fix the reconnect option, and add an explanation to vars.h 1997-05-24 17:32:42 +00:00
davidn
9cbae70c69 Fixes skeleton directory test-it-is-a-directory logic.
PR:		3666
Reviewed by:
Submitted by:	iaint@css.tuu.utas.edu.au
Obtained from:
1997-05-24 10:41:49 +00:00
jkh
bcebc98936 Merge from 2.2 - XiG support updates. 1997-05-23 18:54:29 +00:00
asami
21b8549c72 Typo fix: ${.DESTDIR} -> ${DESTDIR}.
Reviewed by:	bde
1997-05-23 08:43:27 +00:00
asami
341bb65e1b Add ${DESTDIR} to absolute pathnames of required sources.
Reviewed by:	bde
1997-05-23 07:45:42 +00:00
asami
6f495376a0 Typo (${.DESTDIR} -> ${DESTDIR}).
Reviewed by:	bde
1997-05-23 07:45:06 +00:00
brian
4b19e7e2dc Finish updating for the latest alias code.
Submitted by:	Charles Mott <cmott@srv.net>
1997-05-23 05:34:15 +00:00
brian
4ea4cc4eb3 Add SO_REUSEADDR socket opt in case the last telnet
connection is in a time_wait.

Submitted by:	Brian Campbell <brianc@pobox.com>
1997-05-23 05:22:48 +00:00
brian
3f750179f3 Use the latest alias engine - now in libalias.
Submitted by:	Charles Mott <cmott@srv.net>
1997-05-23 04:54:03 +00:00
msmith
830522ca9e Make it build under 3.x
Submitted by:	fsmp
1997-05-23 04:04:17 +00:00
fsmp
fdb571d5c7 Made 'options NINTR' greater of 24 and calculated value.
This coincides with changing kernel default to 64.
1997-05-22 22:55:05 +00:00
jkh
91c925fff8 Adjust config variables to more closely match rc.conf 1997-05-22 21:26:11 +00:00
msmith
e06484f26a Add wlconfig. 1997-05-22 08:59:41 +00:00
msmith
9fb80ec9f1 This commit was generated by cvs2svn to compensate for changes in r26005,
which included commits to RCS files with non-trunk default branches.
1997-05-22 08:58:18 +00:00
msmith
58afeb6ddf This is a program for configuring the Parameter Storage Area on ISA
Wavelan cards via the 'wl' driver.  It can be used to set the IRQ, and
discover all manner of odd things about the device.
1997-05-22 08:58:18 +00:00
jkh
335bd0c21a Be more bullish about saving configuration information. 1997-05-22 04:04:30 +00:00
jkh
47d3169c2f Actually, rethink last commit and simply remove the apache configuration
entirely, as promised earlier (it's outdated now and doesn't really belong
in sysinstall).
1997-05-22 00:17:11 +00:00
jkh
4cc5568ecf Update version of apache. 1997-05-22 00:13:58 +00:00
jmz
1a0968247b Remove the select command. The WORMIOCQUIRKSELECT ioctl call has been removed
from the driver.
1997-05-19 17:37:30 +00:00
eivind
e3e4b44d15 it's'' -> its'' where appropriate and typo fixes in time2posix.3.
Closes PR docs/3612.

Submitted by:	Josh Gilliam <soil@quick.net>
1997-05-19 16:33:27 +00:00
jkh
858e6db988 sysconfig -> rc.conf
PR:		3461
Submitted by:	"Donald J. Maddox" <root@cola97.scsn.net>
1997-05-19 07:30:45 +00:00
brian
878631ad24 Output exit status description of child in background mode. 1997-05-19 03:02:36 +00:00
brian
23ddbdb79c Mega update to sort out bad implementations
of reconnect & -background.

o   Fix reconnect anomolies.
o   Make reconnect apply to failed LQR hangups (& mention in man page).
o   Make reconnect effective in -background mode.
o   Listen on socket in -background mode.
o   Try all phone numbers in -background mode.
o   Insist on system arg in -background mode.
o   Make a control-connection close command exit in -background mode.
o   Output status message to stdout on exit of parent in -background mode.
o   Don't notify parent of success too soon.
o   Describe termination EX_* code.
o   Miscelaneous diagnostic corrections.
o   Remove redundant connect_time from modem.c.
o   Don't repeatedly DownConnection().
1997-05-19 02:00:16 +00:00
brian
78c4aa1876 Make openmode active by default (for both client/server).
Requested by:	The masses.
1997-05-17 16:08:48 +00:00
peter
98748ae1be Don't override BINOWN and BINGRP by setting them to "bin". Use the
system defaults (BINOWN is often root as a security precaution).
1997-05-17 11:53:03 +00:00
brian
25acaf3915 Check for duplicate spool dirs.
Submitted by:	eivind
1997-05-17 03:04:43 +00:00
ache
eb3fa582a0 Change FTS_PHYSICAL (not follow symlinks but return them)
to FTS_LOGICAL (follow symlinks and return their targets)

Because
1) In the real system there is a lot of symlinks nowdays over
/var, /spool, etc. Mtree can't do anything for them, i.e. change
permissions/owner. I.e. if you have /var/mail -> /somewhere
it will never be changed to group "mail" 775 like -current does now,
symlink totally confuses mtree.

2) Mtree can't deal with symlinks properly in any case (they are created
separately in other places now), so we lost no functionality by making
them invisible for mtree.
1997-05-15 08:46:57 +00:00
jkh
02b1bac1e4 Add SNAP servers to list of FTP sites. 1997-05-14 07:12:47 +00:00
brian
a840a7f786 Build pid_filename without a double slash.
Make ``Dial attempt'' diagnostics consistent.

Reset lostCarrier when it has reached max.
Suggested by:	Kevin Street <street@iName.com>
1997-05-14 01:18:51 +00:00
brian
56b7cd4823 Don't attempt to ioctl(modem...) when modem is
closed.  Just DownConnection().
1997-05-14 01:14:32 +00:00
brian
da1f3796fb Don't output extraneous tab
Submitted by:	Garance A Drosehn <gad@eclipse.its.rpi.edu>
1997-05-13 20:52:31 +00:00
brian
5237af1834 Don't drop into the troff args after parsing -#.
Submitted by:	 Garance A Drosehn <gad@eclipse.its.rpi.edu>
1997-05-13 20:46:45 +00:00
brian
ef2012e7ef Fix a bug (dereferencing zero) introduced by the last mods.
Submitted by:	David Nugent <davidn@labs.usn.blaze.net.au>
1997-05-13 20:34:01 +00:00
brian
6ba44d044c Correct the files section for tunX.pid and ttyXX.if 1997-05-13 09:31:05 +00:00
brian
3e7c128c86 Correct sample file name. 1997-05-12 11:54:12 +00:00
brian
b232b4a072 Create ttyXX.if and tunX.pid irrespective of
whether we're -dedicated.

Required by:	David Nugent <davidn@labs.usn.blaze.net.au>
1997-05-11 10:23:16 +00:00
ache
3ac5170301 Cosmetique 1997-05-11 00:44:37 +00:00
ache
c1dcd2e66d Print out reject masks on "show lcp" 1997-05-11 00:41:30 +00:00
ache
25beb556af Use random() for GenerateMagic() 1997-05-11 00:16:00 +00:00
ache
3bc8ed5d76 Cosmetique fixes:
shorten help message to fit the screen
return to prompt from "show ipcp"
1997-05-10 23:46:29 +00:00
davidn
5f5e8a9170 login_getclass() -> login_getpwclass(). 1997-05-10 19:02:03 +00:00
fsmp
1bad255f51 Document APIC_IO as mandatory.
Document SMP_AUTOSTART as working.
1997-05-10 17:46:57 +00:00
pst
ba33b371b5 Fix null dereference if config variable not set. 1997-05-10 17:11:24 +00:00
brian
8097244e78 Refuse to negotiate HISADDR of 0.0.0.0 (NAK it)
Submitted by:	NAKAMURA Motonori <motonori@econ.kyoto-u.ac.jp>
1997-05-10 15:37:40 +00:00
brian
c48be01e6f Ouch. This was dying to cause problems !
Luckily the side-effects were what was
intended.
1997-05-10 03:44:50 +00:00
brian
8409443936 Add a ttyXX.if file in /var/run that points to
the tunX.pid file.  Change the ppp.tunX.pid name
to tunX.pid

Requested by:	Daniel O Callaghan <danny@panda.hilink.com.au>
1997-05-10 03:39:57 +00:00
brian
d26420c3b8 Tidy up the code - bounds checking, return
value checking etc.

Submitted by:	eivind
1997-05-10 01:22:19 +00:00
brian
995db11a2e Don't reconnect (due to reconnect setting) after
close command.
1997-05-09 23:34:56 +00:00
brian
b37c00e98d Set setitimer() arg correctly. 1997-05-09 20:48:21 +00:00
jdp
e9869fc2b2 Null commit to force version bump. 1997-05-09 16:16:31 +00:00
jkh
f5ac26fadc Merge 1.33.2.12 from 2.2 1997-05-09 07:44:19 +00:00
joerg
c5e3cc3eae Kill a stale .pq line. 1997-05-08 15:31:39 +00:00
brian
c004367c45 Allow mixed case commands.
Allow HISADDR, MYADDR, INTERFACE and ALL in mixed case.
1997-05-08 01:26:31 +00:00