Commit Graph

15059 Commits

Author SHA1 Message Date
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
Jordan K. Hubbard
a1cbdd2864 Sync copyright notices.
Noticed-By: jfieber
1996-08-03 14:26:41 +00:00
Wolfram Schneider
5514e5cb54 documented that the dog Biff is dead
Obtained from: A Quarter Century of UNIX, Peter H. Salus
1996-08-03 14:25:02 +00:00
Jordan K. Hubbard
33b39685dc Remove clauses 3 and 4 from template copyright. 1996-08-03 13:46:00 +00:00
Jordan K. Hubbard
390a3f8faa Adapt to new libftpio. [jkh]
Better error messages.
Submitted-By: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu>
1996-08-03 13:14:47 +00:00
Jordan K. Hubbard
0f802bcd51 The bootstrap target in src/Makefile has the wrong order for lex/tsort
because lex has a library (libln.a) and bsd.lib.mk has been modified to use
'tsort -q'. Tsort has not been build yet...

tsort should be before lex.  [Whoops! Thanks! -jkh]

Submitted-By: roberto@keltia.freenix.fr (Ollivier Robert)
1996-08-03 13:00:35 +00:00
Jordan K. Hubbard
ccdae53c9a 1. Add verbose flag to ftp_login()
2. Remove pkg_* support - tcl7.5's channel interface has rendered this
   almost entirely unsupportable (at least in the way it currently stands).
Submitted-By: jmz & jkh
1996-08-03 11:58:54 +00:00
Jordan K. Hubbard
96a9d7fb41 Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
1996-08-03 10:11:56 +00:00
James Raynard
80550032a8 Combine the four Mach ATI64 questions and answers into one.
(Suggested by Charles Green).
1996-08-03 09:48:15 +00:00
Jordan K. Hubbard
2822939a71 Don't stick CD distributions under dists/ directory. 1996-08-03 06:49:00 +00:00