Commit Graph

522 Commits

Author SHA1 Message Date
ache
4379ab04ff Add setlocale LC_CTYPE 1995-10-23 23:36:55 +00:00
ugen
1074db22b1 Support all the tcpflag options in firewall.
Add reading options from file, now ipfw <filename> will
read commands string after string from file , form of strings
same as command line interface.
1995-10-23 03:58:06 +00:00
joerg
ee1cb19f07 Totally revamp the man page, update to the state of affairs.
Make a link from boot_${ARCH}.8 to boot.8, so people will get what
they expect when asking "man boot".

I think David will lynch me when i'm requesting this to go into 2.1... :-)
1995-10-07 12:05:00 +00:00
jkh
8a1fa70dc0 This upgrades the driver for Cronyx-Sigma multiplexor boards
from version 1.2 to version 1.9.
Submitted by:	Serge Vakulenko, <vak@cronyx.ru>
1995-10-04 22:24:16 +00:00
bde
86a1f0bb7e Fix $Id$. 1995-10-03 15:11:11 +00:00
julian
a7126a6a16 remove the calls to DIOCWLABEL, as it isn't supported any more
and the error message confuses the user.
(just commented out foe now)
1995-10-03 11:12:50 +00:00
ugen
9c1ca355a5 Support IP Option smatching in grammar and listing.
TcpSyn option removed and will be shortly repoaced by support of all
TCP Flags including syn and ack...
1995-10-01 21:54:05 +00:00
markm
a60be9a7df As init/Makefile now 'knows' how to build secure code if necessary, clean
out the .if (<building secure>) / .endif
1995-10-01 15:15:09 +00:00
markm
213dd85117 Make this make work the same way as passwd and xntpd. Here it will allow
secure/sbin/init to be cleaned out, and sbin/Makefile to be tidied up.
1995-10-01 15:12:47 +00:00
markm
6771e98b3b Define CRYPTOBJDIR if secure is being built 1995-10-01 15:04:42 +00:00
peter
eacdab51aa Catch the case where the children can die too soon causing wait3()
to return ECHILD, which causes the while loop to run forever.
(eg: when accidently running nfsiod on a slow system with a kernel
 without NFS support...)
Obtained from: NetBSD; Frank van den Linden <frank@struis.fwi.uva.nl>
1995-10-01 03:23:13 +00:00
joerg
695113e9d5 Call the -u UCMD command on exit. The command is called with the
current unit number, and the "new" unit number of -1.  This allows the
script to actually deconfigure the SLIP interface (e.g. by running
"ifconfig delete") which has been impossible previously.

This is most likely a candidate for 2.1, too.
1995-09-29 22:03:13 +00:00
ache
a8d5404334 Build secure init if available and allowed 1995-09-29 19:35:10 +00:00
ache
acc1a409c6 Log user name with each info and total connection time elapsed
(for accounting purposes). Log few additional events like dialing
number and connection established. Set speed POSIXly.
1995-09-27 17:15:37 +00:00
ache
c78760f0a7 Rename PATH_LOCK to PATH_UUCPLOCK 1995-09-23 15:17:32 +00:00
ache
02773fa029 Use new _PATH_LOCK for lock names 1995-09-20 13:10:50 +00:00
ache
ff57306bc4 From Bruce:
slattach always exited early because fd is not open in acquire_line().

Other (trivial) changes that I've been neglecting for some time:

- Turn off O_NONBLOCK so that `chat' doesn't need to worry about it
  (`chat' actually does worry about it).
- Really set speeds POSIXly :-).  cfsetspeed() isn't POSIX.
- Fix spelling error in comment.
- Gripe about bad programming of doing everything from signal handlers.
  slattach should be written to do everything from the sigsuspend() loop,
  but I don't want to do it :-).

From me:
Use .PATH to find uucplock.c

Submitted by: bde
1995-09-20 12:56:25 +00:00
ache
1954e30948 Make uucp-lock optional: -L option 1995-09-20 04:56:09 +00:00
ache
241d9dc635 Make uucp-locking optional: -L option 1995-09-20 04:53:08 +00:00
ache
545650b894 Unlock device for redial_cmd, then lock again 1995-09-19 09:07:51 +00:00
ache
32649c9af4 Fix uucp locking
Remove unnecesary TIOCSETD
Move SLIO* before startup script call
1995-09-19 03:37:07 +00:00
ache
f7ecd9bbc1 Implement uucp-locking
Cleanup debug/syslog code
1995-09-19 03:27:31 +00:00
ache
6b2ee7716a Change new -U option to -S to go the same way as startslip. 1995-09-18 14:06:38 +00:00
ache
a23d159531 New option: -S #: set SLIP unit number 1995-09-18 14:01:11 +00:00
ache
403d6f6b4d New options:
-K #: set SLIP keepalive timeout
-O #: set SLIP outfil timeout
-U #: set SLIP unit number
sighup handler now sets tty disc for non-redial case too.
Implement SIGURG handling (from keepalive).
POSIXing speed settings.
1995-09-18 13:33:30 +00:00
ache
b6cff6618d Add new options:
-K: set keepalive SLIP timeout
-O: set outfill SLIP timeout
Handle SIGURG from keepalive like SIGHUP now, i.e. reconnect.
Back out background scription change, cause some synchro problems.
1995-09-17 21:47:24 +00:00
joerg
764cfcd69d Turn on scsiformat.
reformat.
1995-09-17 12:52:24 +00:00
joerg
bc8535dbcb Finally replace the defunct 4.4BSD scsiformat.c by Peter's wrapper
around scsi(8).  I've done extensive testing of it with a spare disk
in the past, and it's ready for prime-time now.

Submitted by:	dufault
1995-09-17 12:47:01 +00:00
dg
230a85465e Shorten a variable name. 1995-09-17 09:54:05 +00:00
dg
fd673a4e49 Use default COPTS. 1995-09-17 06:57:43 +00:00
ache
acf78c78b9 Use daemon() instead of fork/setsid/close.
Rearrange things to do fork as later as possible.
1995-09-16 05:18:20 +00:00
ache
c8876de397 Oops. Fix my error with -W option 1995-09-15 22:18:45 +00:00
ache
fa6033fe95 Close line before fork, or becomes close twice.
Debug output cleanup.
1995-09-15 20:34:55 +00:00
ache
10da1882af Tune it to REALLY sense carrier drop.
Now works with dialin devices too.
Add new option in slattach style -l: dont use modem control.
Add new option -W: specify max number of dial tries for one phone.
Remove -p option, this ugly hack not needed.
Fix script timeout expires.
Some code cleanups.
1995-09-15 20:06:50 +00:00
ache
ec511f8292 Restore TTYDISC on exit. Move setting of control terminal
after TTYDISC setting
1995-09-15 17:30:03 +00:00
ache
75bbddfdb8 Wait until login completed before starting SLIP (5 secs) 1995-09-15 17:08:42 +00:00
ache
71c209a0a0 Pass sequence number to called scripts via LINE env. variable.
It allows specific per phone number tunings
1995-09-15 16:41:10 +00:00
ache
fc0d2fcf30 Add reference to /usr/share/examples/startslip 1995-09-14 23:57:58 +00:00
ache
7c71a46961 Add example scripts 1995-09-14 22:37:50 +00:00
ache
4e31b924ed All changes still related to original version:
Don't close line twice.
Change typo == to = in assignment.
Don't restart, if ioctl fails.
Implement uucp-style locking to help dialout pgms.
1995-09-14 22:01:06 +00:00
ache
163e4e12ae Now understand "host!login:" style prompts additionly.
Add -t to specify login script timeout.
Add -w to specify retry wait time.
Describe -p option.
Now understand several -s sections (for several host phone numbers).
Remove -F sw (software flow control), it is impossible with slip.
Change -F hw (hardware flow control) option to -h as in slattach,
we don't need option with argument for only one case.
Call downscript on SIGTERM.
Improve debug diagnostic.
Allow startslip work with several slip lines without killing each other.
Unlink pid file on exit.
Skip \r and \0 in login script parsing instead making them \n.
Use absolute path to default script (/sbin/ifconfig).
Call up/down script in background to prevent hang on them.
1995-09-14 19:03:20 +00:00
joerg
07c20bb253 Avoid the "calculated sectors per cylinder disagrees with disklabel"
warning for the default case where the user hasn't specified either -t
or -u on the command line.  It's been confusing our users.
1995-09-09 13:03:09 +00:00
dg
e7bafd34db Fixed error in maxcontig calculation that caused it to default to "1". 1995-09-08 13:52:55 +00:00
joerg
9996aac55e Check a pointer in skipdirs() before dereferencing it. I don't fully
understand why it can become a null pointer under some circumstances,
but i've got a pile of tapes where this happens, and running it thru a
debugger proved that simply ending the loop in this case did the right
thing.

Anyway, it cannot make it worse than now, where restore kills itself
with "Memory fault".
1995-09-01 18:09:20 +00:00
joerg
79384fe51b Update to the slices era. Make /dev/rfoo0 the defaults, not
/dev/rfoo0d.

Scan a list of devices instead of insisting on all the world
being wd0.

Allow for disk names to be specified (e.g. `sd0') instead of full
path names only.

Sync the man page with the reality.
1995-09-01 18:00:14 +00:00
gpalmer
41fc38f808 Correct minor nit - to filter out SYN packets, the keyword is
`syn' not `tcpsyn' (which matches `tcp' which blocks all tcp
packets)
1995-08-31 21:12:05 +00:00
ache
32aaa3bb10 Remove -O2 from COPTS, known rogue 1995-08-29 14:04:39 +00:00
dg
9fcfa4e776 Document the -a option, and mention ``noauto''. 1995-08-26 06:06:15 +00:00
dg
d28bf0579f The changes for adding the "noauto" option were mostly wrong. MNT_NOAUTO
is a kernel flag, and the kernel definately doesn't need to know about
it.
1995-08-26 05:39:53 +00:00
jkh
1e0c5c0b0e Sigh. This isn't my night. I forgot the manpage updates too!
Thanks, Andrey.
1995-08-23 14:14:32 +00:00