Commit Graph

6355 Commits

Author SHA1 Message Date
rgrimes
2f5007b198 Update my email address. 1995-02-16 03:13:50 +00:00
wollman
810ad16a63 Don't need to retransmit FIN bit in CLOSING state.
Obtained from: Stevens, vol. 2, exercise 29.5 (solution p. 1090)
1995-02-16 01:53:31 +00:00
wollman
2886c2c520 spl back down in unusual out-of-memory condition in udp_output().
Obtained from: Stevens, vol. 2, exercise 23.4 (solution p. 1083)
1995-02-16 01:47:36 +00:00
wollman
10af01c61b Correctly initialize so_linger in ticks (not seconds).
Obtained from: Stevens, vol. 2, p. 1010
1995-02-16 01:42:45 +00:00
wollman
b474b8388c Avoid deadlock situation described by Stevens using his suggested replacement
code.

Obtained from: Stevens, vol. 2, pp. 959-960
1995-02-16 01:39:19 +00:00
wollman
a08136beda Don't add back in the IP header length to ip_len; icmp_error will do it
for us.

Obtained from: Stevens, vol. 2, p. 774
1995-02-16 01:25:06 +00:00
wpaul
2ba5f0f60c ypbind jumbo patch :)
The existing ypbind exhibits some truly anti-social behavior. After
initially establishing a binding with an NIS server, the following events
take place:

- ypbind waits for 60 seconds before trying to broadcast a ping again
- after the 60 seconds expires, ypbind sends out broadcasts every 5 seconds
  come hell or high water.

These broadcasts travel far and wide, even to NIS servers in other domains
which dutifully log the packets even though they don't respond to them.
This leads to lots of unnecessary traffic and bloated log files.

This behavior has been fixed/changed. Here's what happens now:

- We still broadcast every 5 seconds at startup, just like before.

- Once bound, we send out packets once every 60 seconds to the server
  we're bound to AND NO ONE ELSE.

- If we fail to receive a reply from our server within FAIL_THRESHOLD
  seconds, we assume our server has croaked and go back to broadcasting
  everywhere every 5 seconds again until somebody answers. FAIL_THRESHOLD
  is currently set to 20 seconds.

Other fixes/improvements:

- ypbind now logs 'server not responding' and 'server OK' messages where
  appropriate.

Thanks to Thomas Graichen <graichen@omega.physik.fu-berlin.de> for
reporting the problem and guilt-tripping me into fixing it. :)
1995-02-16 01:21:44 +00:00
wollman
becd0aad5f Attempting to bind() or connect() a routing socket, while meaningless,
shouldn't cause a panic.

Obtained from: Stevens, vol. 2, p. 667
1995-02-16 01:11:38 +00:00
wollman
69b5a37453 getsockopt(s, SOL_SOCKET, SO_SNDTIMEO, ...) would construct the returned
timeval incorrectly, truncating the usec part.

Obtained from: Stevens vol. 2 p. 548
1995-02-16 01:07:43 +00:00
wollman
845b959893 Transaction TCP support now standard. Hack away! 1995-02-16 00:55:44 +00:00
dg
599e27f98b Fixed botched previous change - use 'pageno' not initialized to NULL 'kva'.
Submitted by:	Lars Fredriksen
1995-02-16 00:41:16 +00:00
wollman
ffc5acb7aa Allow the user access to net.inet.igmp, even though there's nothing
sysctl(8) can interpret there.  (Someday there might be.)
1995-02-16 00:28:42 +00:00
wollman
805d47ed8e Add lots of useful MIB variables and a few not-so-useful ones for
completeness.
1995-02-16 00:27:47 +00:00
wollman
0c43ebeb07 Document Transaction TCP extensions to generic system calls. 1995-02-15 22:53:04 +00:00
joerg
8efb940d28 Wolfram now also submitted a man page for this.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-02-15 22:52:52 +00:00
ache
cfc1d31713 Restore deleted in second time my & bde fixes.
UGEN STOP IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1995-02-15 22:25:51 +00:00
wollman
3eec696704 Document Transaction TCP. 1995-02-15 22:07:28 +00:00
ache
5e89533cf9 Remove dir creating, done by mtree
Add missing file name for cmp
1995-02-15 20:59:13 +00:00
ache
127c0cf2ff Add include/readline and share/misc/pkg_manage 1995-02-15 20:57:01 +00:00
ache
17c6c8f1f2 pkg_manage added 1995-02-15 20:52:52 +00:00
ache
07744fc67d This commit was generated by cvs2svn to compensate for changes in r6462,
which included commits to RCS files with non-trunk default branches.
1995-02-15 20:47:56 +00:00
ache
85e70fdb05 pkg_manage utility, using file selector 1995-02-15 20:47:56 +00:00
joerg
2a2867cd9d Include three lines about the pcvt console driver, so we don't ever need
a different config file for it.
1995-02-15 20:38:36 +00:00
se
976470413d For the sake of people, who like to move pci_configure()
before isa_configure() in autoconf.c:

ncr_intr() protected by splbio()/splx()

Submitted by:	wolf
1995-02-15 20:06:38 +00:00
ache
23fc8dcfb6 Changes for new _menu interface 1995-02-15 19:48:10 +00:00
ache
cdce999162 file selector, helpline, helpfile and more, with my fixes
Submitted by: wmbfmk@urc.tue.nl
1995-02-15 19:44:08 +00:00
phk
0070522abf Various nitpicking from Stephen.
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-15 19:41:38 +00:00
ache
0d02bc7e5e Make libexec & sbin for tcp_wrapper and others 1995-02-15 19:12:21 +00:00
ugen
ac4461d616 More changes to support user calls.
It's 22:00  here,utility still to come(hopefully tomorrow
morning..)
1995-02-15 18:41:57 +00:00
bde
1c49a44459 Avoid duplicating ttselect() so that we don't have to change cyselect()
when ttselect() is improved.  This requires using an array of tty structs
and not using ttymalloc().

Fix an off by 1 error.  Some caclulations seem to be off by a factor
of NCY.  NCY defaults to 16, which gives 256 tty structs occupying
0xd000 bytes.  The minor number encoding only allows 16 ttys.

Update the types of timeout functions to 2.0.
1995-02-15 18:41:41 +00:00
ugen
7fb8e81a9a More changes to support user calls. 1995-02-15 18:41:21 +00:00
ache
79ae67a411 Add more verbosity for status, if standalone 1995-02-15 17:43:12 +00:00
ache
4de424616e mixer added 1995-02-15 17:39:52 +00:00
ache
127aac8fac This commit was generated by cvs2svn to compensate for changes in r6448,
which included commits to RCS files with non-trunk default branches.
1995-02-15 17:33:04 +00:00
ache
48179f425a non-X mixer, useful into rc.local 1995-02-15 17:33:04 +00:00
ugen
c5ca269014 Fix couple of nasty bugs..
- Overflow now calculated right
- Close works ok,does not looses tty
- Better overflow handling now the snooping stops
   on overflow,but programm notified and can reconnect if
   it want to..Default maximal buffer set to 664 K and this
   is probably too much..:)))
Utility still to come
1995-02-15 16:35:38 +00:00
ugen
8c820601e3 Add more flags to snoop device 1995-02-15 16:33:16 +00:00
bde
84929da814 Remove duplicated code from ttymalloc(). Disable ttyfree().
Restore fixes to flushing that were lost in the previous commit.

Clean up snoop changes.

Add my TODO list from 1.1.5.  The improvements in 1.1.5 should be "obtained"
first.
1995-02-15 16:00:56 +00:00
dg
6e6d9b50f5 Woops, last change wasn't done quite right...fixed. 1995-02-15 14:45:08 +00:00
dg
924afc8ee9 Yanked out (now obsolete) support for 'fastboot'. 1995-02-15 14:35:29 +00:00
dg
a65847afd2 Include the special device in the error output so that it makes sense. 1995-02-15 14:29:26 +00:00
dg
5fd0c3dcf7 Verify that the last component of the mount point path exists and is
a directory - allows for better error reporting.
1995-02-15 14:20:50 +00:00
ats
37e002b3ba Add a description for the np flag. 1995-02-15 13:59:56 +00:00
dg
0463f3bf5a Use proc0's proc struct rather than curproc's when calling sync. 1995-02-15 12:27:01 +00:00
jkh
4cb30b0489 Whap a few things not used in the Cyclades driver, at least not for now. 1995-02-15 12:01:24 +00:00
jkh
7ae596701e Fix a few more nits. Should compile better now! :_) 1995-02-15 11:59:41 +00:00
dg
b121ce187f Fixed bug caused by attempting a connect with a null 'nam'. 1995-02-15 11:30:35 +00:00
dg
4470fda903 Don't bother calling pmap_create() when creating the temporary map.
The whole COW section of vm_mmap() should be rewritten; the current
implementation is highly convoluted.
1995-02-15 09:22:17 +00:00
jkh
2f60a5a926 Quiet the last of the warnings. Must have had my eyes closed when
I committed this! ;-(
1995-02-15 08:19:31 +00:00
dg
905f17b4ab >From a week or two ago I got kernel panics as soon as I tried to access my
tape drive. I traced it to sys/scsi/scsi_base.c where some code were added
to print the return values of the sense command. My tape drive returned a
extended flags value of 0x20, so the key that is the lower 4 bits, is 0.
The code uses "key-1" to index into a table and then the kernel go to never-
never land.

Here is a fix for this. Will somebody please apply it?

Submitted by:	John Hay
1995-02-15 07:44:07 +00:00