Commit Graph

15068 Commits

Author SHA1 Message Date
Satoshi Asami
0e87d74cd4 Add missing ")". 1996-08-07 07:46:15 +00:00
Julian Elischer
381dd1d2ca Submitted by: archie@whistle.com
This is a patch to sys/net/if.c. What it does is patch the algorithm
for finding an IP address on an interface which most closely matches
a given IP address. The problem with it is when no address matches,
and you have to just pick one at random. Then the code ends up picking
the last IP address in the list. This patch changes things so it
picks up the first address instead.
Usually the first address is more useful as the later ones are aliases.
1996-08-07 04:09:05 +00:00
Satoshi Asami
bdd95fa258 Move James FitzGibbon to developers' section, now that he can commit
himself.  (No jokes on this one please.)
1996-08-07 02:49:25 +00:00
Jordan K. Hubbard
c668d40c24 Defer to fashion. 1996-08-07 02:15:26 +00:00
Julian Elischer
ed7e548bf3 Submitted by: archie@whistle.com
slight cleanups
1996-08-07 00:39:41 +00:00
Jordan K. Hubbard
16bcbad689 Add an Internet Hardware resources section and stick
"The Pentium Systems Hardware Performance Guide" which someone
posted today in there.
1996-08-07 00:39:06 +00:00
Mike Pritchard
2ce08cb20b Remove some hardcode *roff font change escape codes from
this man page to prevent half of it from coming out with underlines.

This man page needs to be gone over to fully convert it to mdoc format.

This closes PR#1440.

Submitted by:	Jens Schweikhardt <schweikhardt@rus.uni-stuttgart.de>
1996-08-06 22:42:23 +00:00
Mike Pritchard
47cc13c104 Correct the paramter type of the second argument to fgets.
Obtained from: NetBSD-bugs mailing list
1996-08-06 22:34:44 +00:00
Poul-Henning Kamp
26a8b0bf7e Megacommit to straigthen out ETHER_ mess.
I'm pretty convinced after looking at this that the majority of our
drivers are confused about the in/exclusion of ETHER_CRC_LEN :-(
1996-08-06 21:14:36 +00:00
Poul-Henning Kamp
590dbfbf6a Use ether_ioctl() to do a lot of grunt work. 1996-08-06 21:09:25 +00:00
Poul-Henning Kamp
3cde2031c8 Fix another bogon. 1996-08-06 14:29:06 +00:00
Poul-Henning Kamp
4b7d97414e Make broadcast clients work. 1996-08-06 11:32:25 +00:00
Poul-Henning Kamp
0bb6e9ed65 Make password checking in ftpd work again. 1996-08-06 08:43:43 +00:00
Nate Williams
d0dc9fdb98 Fix memory leak bug in the path parsing code which never released it's
buffer in certain error conditions.  Sync up the code to that in NetBSD
where applicable.

Reviewed by:	Gary Jennejohn <garyj@munich.netsurf.de>
Submitted by:	Michael Smith <msmith@atrad.adelaide.edu.au>
Obtained from:	NetBSD sources
1996-08-05 20:52:30 +00:00
Stefan Eßer
d8a8289c5a Send out a period of "0" if negotiating asynchronous transfers (offset = 0).
A value of "255" used to be sent, and though it should not matter, there
appear to be a few devices that want both values to be zero for asynch.
1996-08-05 19:39:51 +00:00
Garrett Wollman
4ba3b09906 Add a listing of ISO 3166 country codes (probably the first thing in this
directory that's actually useful).  This will be needed for the
next-generation `tzsetup'.
1996-08-05 18:35:35 +00:00
James Raynard
a82abaa6a1 Back out roberto's amendment to my update of the Australian distributor's
address - Melbourne is a city in the state of Victoria, not vice versa! :-)

Also add reference to Greg Lehey's books in the appropriate section,
replace some redundant questions by pointers to the Handbook, replace
"look at this bit of the Handbook" pointers by URLs, clean up
inconsistent use of "one" and "you" and fix a couple of typos
introduced by my previous changes...
1996-08-05 17:18:03 +00:00
Poul-Henning Kamp
88e1602b1f use <net/ethernet.h> 1996-08-05 14:03:10 +00:00
Poul-Henning Kamp
e4b54c028f This file is the (intended) definitive source of the ETHER_ macros. 1996-08-05 14:02:38 +00:00
Alexander Langer
593f7481aa Filter by IP protocol.
Submitted by: fenner (with modifications by me)

Bring in the interface unit wildcard flag fix from rev 1.15.4.8.
1996-08-05 02:38:51 +00:00
Alexander Langer
71c011477f Filter by IP protocol.
Submitted by: fenner (with modifications by me)

Use a common prefix string for all warning messages generated during
ip_fw_ctl.
1996-08-05 02:35:04 +00:00
Paul Traina
18fb104c5a Gratuitous whitespace change so that I can commit the source of the recent
buffer overflow patch.
Reviewed by:	pst
Submitted by:	Dave Andersen <angio@aros.net>
1996-08-05 00:50:02 +00:00
Paul Traina
50893e50e2 Bring xditview back from the grave (part 2).
Fix things so it *really* won't compile if the environment isn't there.

This commit has been sitting in my to-do list for 2 months.  Xditview
should never have been half-removed, so now it's back with a vengance
because we want to keep groff intact as a package.
1996-08-05 00:44:59 +00:00
Paul Traina
ca9baf71f2 Bring xditview back from the grave (1 of 2 commits). 1996-08-05 00:42:06 +00:00
Paul Traina
b04b7cf55d Fix up some more buffer overflow problems. 1996-08-05 00:31:27 +00:00
Paul Traina
a5a4544e77 Convert STATS and PARANOID to run-time options.
Document the new -R (relax paranoia) option.

From NetBSD/Lite2: code and man page cleanups, Kerberos IV hooks
(relax, we're still exportable), and /etc/ftpchroot feature for
semi-anonymous accounts
1996-08-05 00:21:15 +00:00
Wolfram Schneider
db330c9349 add CTM mirrors 1996-08-04 22:41:09 +00:00
Paul Traina
61f891a6df If PARANOID is set, do not allow PORT commands to remote ports less than 1024
or addresses other than the requestor's address.  This violates the FTP
protocol (hmm...as I write this, I'm going to change this to a run-time var.)

Require login before PASV and RNTO commands.

Close unused PASV ports so they don't hang around forever.

Do not allow file overwrites via rename or STOR when anonymous
(suspenders).

Clean up buffer utilization.

My code, but heavily inspired by Hobbit's changes to wu-ftpd as pointed out
by Mike Prettejohn and Kit Knox.
1996-08-04 22:40:35 +00:00
Wolfram Schneider
7b2dfbf801 Create FreeBSD copyright (c comment) for OS version 1996-08-04 22:34:23 +00:00
Bill Paul
d2c75ac3d8 Fix a couple of bogons. The first two were brought to my attention
by Peter Wemm:

- In yppasswdproc_update_1_svc(), I wasn't paying attention and put
  a couple of lines of code _after_ a return() instead of before.
  (*blush*)

- The removal of certain temp files didn't always work (this showed
  up mostly if you were using /etc/master.passwd as your NIS passwd
  template instead of /var/yp/master.passwd). This is because the
  whole temp file creation mechanism I was using was tragically
  broken (you can't rename across filesystems).

This problem I found myself:

- If you have a very large password database (30,000 or more entries),
  there can be a delay of several seconds while pw_copy() copies the
  ASCII template file and subsitutes in the modified/new entry. During
  this time, the clnt_udp() code in the RPC library may get impatient
  and retry its request. This will get queued at the server and be
  treated as a second request. By then the password change will have
  been completed and the second request will fail (the old password is
  no longer valid). To attempt to fix this, we save the IP address and
  port of each request and ignore any subsequent requests from the
  same IP and same port that arrive within five minutes of each other.
1996-08-04 22:13:05 +00:00
Poul-Henning Kamp
154fd6a990 Enhance crunchgens understanding of our new /usr/obj/pwd strategy. 1996-08-04 20:38:53 +00:00
Poul-Henning Kamp
d1c4c866f0 Add separate kmalloc classes for BIO buffers and Ktrace info. 1996-08-04 20:13:08 +00:00
Poul-Henning Kamp
ca67a4e456 The check for multiple freed items were bogus. fixed. 1996-08-04 20:08:48 +00:00
Poul-Henning Kamp
218e61c915 Remove a spurious message. 1996-08-04 20:04:57 +00:00
Poul-Henning Kamp
c2069b2c84 Reduce reset timeout. "only" 16 seconds (!) for a 512K board. 1996-08-04 20:04:11 +00:00
Wolfram Schneider
83bd1013c3 documented in comments that 'avail' should be in
sync with the handbook
1996-08-04 19:30:34 +00:00
Bill Paul
09cd72056a Use err() instead of perror()/exit() and remember to #include <errno.h>
and <err.h>.
1996-08-04 19:17:15 +00:00
Wolfram Schneider
93d20d6e7f Add "Denmark". Most dictionaries (e.g. Langenscheidt, Oxford)
did not know this country. Shame!
1996-08-04 18:29:39 +00:00
Ollivier Robert
c4530749dd Correct the warning about "xconsole" when generating ASCII output. 1996-08-04 15:29:20 +00:00
Ollivier Robert
e31f0c0380 Update the address for the Australian CD distributor.
Suggested-By: David Henshaw by way of Martin Butkus (mail)
1996-08-04 15:21:53 +00:00
Ollivier Robert
686c2d9f7d Add pointers to both EFNET and BSDNet IRC channels.
Suggested-By: Dima
1996-08-04 15:13:42 +00:00
James Raynard
5dde6aa3d3 * Added lots more introductory material.
* Removed material that was duplicated in the installation instructions.

* Updated the address for an Australian supplier of CDROMs (supplied by
  David Henshaw via Martin Butkus).

* Give more info about how to get started with the installation.

* Update references to 2.1.0 as "the latest release".

* Added pointer to a Web page explaining how to have multiple operating
  systems on the same machine.

* Moved question about running DOS binaries out of the installation section.

* Added question re boot floppy not loading properly.

* Added explanation of disk geometry, moved things around so that "please
  refer to the previous question" no longer sends the reader with a
  non-booting system to a PLIP cable wiring diagram!

* Mention the time/space requirements for making a custom install floppy.

* Acknowledge a couple of people whose answers I've adapted in various
  places (and who deserve credit anyway for answering so many questions!)
1996-08-04 14:14:05 +00:00
Poul-Henning Kamp
86101139cf Make the NS and IPX cases compile again. 1996-08-04 11:45:37 +00:00
Poul-Henning Kamp
78a5a8f486 Update driver.
Obtained from: NetBSD
1996-08-04 10:58:17 +00:00
Poul-Henning Kamp
ab2460e4a6 Replace about 60 lines of code with a call to ether_ioctl().
This can be done for most of our ethernet drivers.
1996-08-04 10:57:29 +00:00
Poul-Henning Kamp
30106f6a8c Add a callback pointer to the interfaces "init" routine.
Add ether_ioctl() which can take care of the SIOC[SG]IFADDR cases for
most (ethernet) drivers.
1996-08-04 10:54:13 +00:00
Jordan K. Hubbard
68d9f6ce8b Adjust reference to PPP page.
Submitted-By: Tim Stoddard <tims@achilles.k12.ar.us>
1996-08-04 03:28:14 +00:00
Jean-Marc Zucconi
d616694a11 Suppress the messages from the server after login (ftpVerbose(ftp,0)). Errors
are already correctly reported.
1996-08-04 00:35:39 +00:00
Chuck Robey
10a2722556 Add Mark Huizer <xaa@stack.urc.tue.nl> for the kaffe port.
I forgot his name whilst typing in the commit message on the
port, and he wasn't in the handbook (I guessed wrong, using Marc
Van Kempen, sorry to both).  Now, his name is in here and I
won't get mixed up again!

Obtained from: Mark (not Marc!)
1996-08-03 19:51:06 +00:00
Mark Murray
c76c299053 Add relevant files to the FILES section
Submitted by:	Julian H Stacey
1996-08-03 19:13:35 +00:00