Commit Graph

15144 Commits

Author SHA1 Message Date
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
Jordan K. Hubbard 5f354572b7 Add tsort to bootstrap targets. 1996-08-03 06:44:46 +00:00
Jordan K. Hubbard 62eba8760b Use tsort -q 1996-08-03 06:43:05 +00:00
Nate Williams bba2eeca64 Changes to the SLIP support files to show how to do proxy ARP. 1996-08-03 05:43:40 +00:00
Jordan K. Hubbard 9a8104ec99 Make the same fix to the disk partition editor screen. 1996-08-03 05:29:24 +00:00
Jordan K. Hubbard f48bd9cf9e Fix an embarassing bogon in the key input code. I'll roll another snap
boot floppy for this one..
1996-08-03 05:25:56 +00:00
Peter Wemm 78ee1461b7 make si.c compile in kernels without COMPAT_43. 1996-08-03 00:21:44 +00:00
Bruce Evans 70e53371c4 Eliminated i586_ctr_rate. Use i586_ctr_freq instead. 1996-08-02 21:16:27 +00:00
Bruce Evans d9927d1118 Eliminated i586_ctr_rate. Use i586_ctr_freq instead.
Changed i586_ctr_bias from long long to u_int.  Only the low 32 bits
are used now that microtime uses a multiplication to do the scaling.
Previously the high 32 bits had to match those of rdtsc() to prevent
overflow traps and invalid timeval adjustments.
1996-08-02 21:16:13 +00:00
Bruce Evans 41ae0562ed Reduced division by i586_ctr_rate to multiplication by i586_ctr_multiplier. 1996-08-02 20:17:50 +00:00
Paul Traina 3acfee7c84 Add optional support for separate international CVS repository 1996-08-02 18:19:47 +00:00
Peter Wemm 614d1d0b5b dscheck() was returning without setting bp->b_error when given a negative
block number.. (assuming Debugger() returned).  The disk drivers assume
that dscheck() sets both error markers (bp->b_error and set B_ERROR in
bp->b_flags) if it fails.
1996-08-02 06:14:25 +00:00
Peter Wemm 2176b02c56 The sd and od drivers didn't check for negative block numbers (like wd.c
does) before calling dscheck().  dscheck() doesn't appreciate this and
calls Debugger() and returns without setting bp->b_error.

This can happen when there is a casting error and offsets > 2G are
converted to negative off_t's in the disk tools.  (dumpfs used to do this).
1996-08-02 06:10:49 +00:00
Jordan K. Hubbard 8566830b43 Close PR#1455. In a couple of weeks, I'll change bsd.lib.mk to use
tsort -q as well - I don't feel like adding tsort as Yet Another Item to the
bootstrap target.
1996-08-02 04:50:44 +00:00
Nate Williams 992eae3421 When I hit [Ctrl]+8, appeared 9 instead of 8. It may not be critical but
surprised me. ;-)

Submitted by:	tacha@tera.fukui-med.ac.jp <Tatoku Ogaito>
Obtained from:	NetBSD/GNATS
1996-08-01 22:38:30 +00:00
Poul-Henning Kamp 5e9ed9c990 Write protect the text segment of gzip'ed programs.
Various other cleanups by phk.

Reviewed by:	phk
Submitted by:	Igor Khasilev <igor@jabber.paco.odessa.ua>
1996-08-01 22:00:14 +00:00