Commit Graph

1434 Commits

Author SHA1 Message Date
Bruce Evans
30c218bf14 Print error messages to stderr, not to stdout.
Fixed usage message to match reality (-a was missing) and man page
(arg names were spelled differently).
1997-02-13 12:05:12 +00:00
Garrett Wollman
2fde9bd6de When the mbuf code was changed to use a private allocator instead of
the kernel malloc, netstat was never updated to reflect the fact that
there are once again allocated-but-free mbufs, just as there are
clusters, and so the information presented about how much memory was
allocated to the network was bogus.  Fixed.
1997-02-12 19:33:22 +00:00
Mike Pritchard
59f9c87b34 Typo fix.
Obtained from: NetBSD-bugs PR# 3214
1997-02-12 13:50:02 +00:00
Garrett Wollman
857292949c Fix remote request for HTTP proxies. Should close PR#2670. 1997-02-11 20:46:06 +00:00
Daniel O'Callaghan
70498d5a53 Reduce the command field width by one when idle time is > 9 days, to
eliminate unsightly blank line.

Possibly a 2.2 candidate.
1997-02-11 10:49:25 +00:00
Mike Pritchard
3cdb4c34f5 Fix a couple of typos.
Submitted by:	bde
1997-02-11 03:45:14 +00:00
Garrett Wollman
cb0cd746b5 Fix PR#2700: report correct transmission speed, and restart transfers
from the restart point, not the end of the file (blush!).

Submitted by:	John-Mark Gurney <jmg@nike.efn.org>
1997-02-10 18:49:42 +00:00
David Nugent
720cdec3f6 Adds login class support for local & nis passwords:
- minpasswordlen=n         override minimum password length for class.
    - passwordperiod=n[smhdwy] auto-set next password change date.
1997-02-10 15:42:12 +00:00
Mark Murray
81eb579301 Better buffer length calculation and overrun detection. Closes PR 2577
Submitted by:	Julian Assange
1997-02-09 21:34:14 +00:00
Mike Pritchard
a29f1d234c Typo police. 1997-02-09 21:14:48 +00:00
Joerg Wunsch
b5b54135f4 Add a manpage for brandelf(1). Minor stylistic fixes, and a buffer
overrun fix, too.

Submitted by:	John-Mark Gurney <jmg@nike.efn.org>
1997-02-09 20:35:54 +00:00
Eivind Eklund
ab25b7d505 Removed potential buffer overflow. 1997-02-09 16:11:13 +00:00
Mike Pritchard
fab46a51da Really fix calendar to drop all permissions when
run with "calendar -a".  Also don't ignore the return
values from the setuid/setgid calls.

Thanks to bde for making me this about this.
1997-02-09 07:45:03 +00:00
Mike Pritchard
16c359a3de Typo fix.
Closes FreeBSD PR#2685.

Obtained from: NetBSD-BUGS PR# 3199
1997-02-09 07:01:33 +00:00
Poul-Henning Kamp
ed5392a66c Basically reverse last commit which was plain wrong. 1997-02-08 08:57:22 +00:00
Garrett Wollman
df6c4acc3c Fix off-by-one error in proxy host:port parser.
Submitted by:	fenner
1997-02-07 17:55:01 +00:00
Poul-Henning Kamp
1573315810 Add ${.CURDIR}/ to relative path to contrib. 1997-02-07 12:29:27 +00:00
Paul Traina
f89bbf631f Activate new OPIE programs 1997-02-07 03:57:21 +00:00
Paul Traina
f076997839 Build opiepasswd from contrib_opie module. 1997-02-07 03:56:15 +00:00
Paul Traina
247fd82927 Build opiekey from contrip_opie sources. 1997-02-07 03:54:54 +00:00
Paul Traina
dd7bd805eb Build opiekey from the contrib_opie module. 1997-02-07 03:53:12 +00:00
Wolfram Schneider
b883c8a310 delete unused variable BINDIR=/usr/libexec
/usr/bin -> ${BINDIR}
1997-02-06 15:00:24 +00:00
Mike Pritchard
3b4984d039 Initialize the group list when we switch uids when run as
root with "calendar -a".  Drop all privs when execing other
programs.

Obtained from: OpenBSD
1997-02-06 05:42:49 +00:00
Mike Pritchard
6836c26dc5 Add a couple of relavant man page xrefs for more information
on the structures time(1) displays, instead of refering
he reading to an include file.

Obtained from: NetBSD-bugs mailing list PR#3193
1997-02-06 05:21:39 +00:00
Garrett Wollman
76dafb8954 Some bug-fixes, clean-ups, and one new feature:
- Fix the bug with URIs of the form ftp://host/filename.
- Fix some more string-termination bugs in util.c.
- Use safe_malloc() rather than testing the return value of
  regular malloc() in 15 places.
- Implement HTTP authentication, for both servers and proxies.
  Currently only ``basic'' authentication is supported; This Is A Bug
  (but less of one tjhan nmot supporting any authentication).

I think there is only one more feature which is required for full
HTTP/1.1 support, which is Transfer-Encoding: chunked; this should
not be toohard, but it isn't very important, either.
1997-02-05 19:59:18 +00:00
Poul-Henning Kamp
f2071a9cf6 Add framemaker 5.0.
This file could be rationalized I belive.
1997-02-04 17:06:19 +00:00
Paul Traina
2ed98aa017 Cruft cleanup to eliminate useless warnings 1997-02-02 21:33:37 +00:00
Wolfram Schneider
65d758c4cb ${DESTDIR}/usr/bin -> ${DESTDIR}${BINDIR} 1997-02-02 14:41:43 +00:00
Bruce Evans
6525961b64 Null-terminate the string in percent_decode() so that we don't depend on
malloc() returning zeroed storage or dump core while starting up.

Found-by:	/etc/malloc.conf ->AJ
1997-02-02 09:16:37 +00:00
Mike Pritchard
3fef3b185e Fix calendar so that it doesn't report strange results on
Jan 1st (and probably other dates as well) for some variable
events.  E.g.

01/SunThird	whatever...

Was being printed as:

Jan  0	Whatever

when calendar was run on January 1st.

Closes PR#2461.
1997-02-02 07:37:46 +00:00
Garrett Wollman
2494e810b8 Some fixes for HTTP:
1) Implement redirects (or try to, at least).
2) Implement automatic retry after 503 errors when Retry-After is given.
3) Implement a -a flag to enable both of these behaviors.
4) Recognize Transfer-Encoding headers and emit a warning that the file
  is likely to be damaged.
5) Bug fix: only write the amount of data we read.
6) Actually document some of these.
7) Fix the usage message to display flags in semi-alphabetical order.
1997-01-31 19:55:51 +00:00
Mike Pritchard
2f1c3cc872 Correct the year that Sydney Australia was settled.
Submitted by:	 <stephen.ma@jtec.com.au>
Obtained from:  NetBSD-bugs PR#3115
1997-01-31 02:22:29 +00:00
Garrett Wollman
78be319939 Here is my long-threatened revamping of fetch. Jean-Marc probably won't
recognize it any more.  This makes the following significant changes:

- The main body of the program doesn't know a thing about URIs,
  HTTP, or FTP.  This makes it possible to easily plug in other
  protocols.  (The next revision will probably be able to dynamically
  add new recognizers.)

- There are no longer arbitrary timeouts for the protocols.  If you want
  to set one for yourself, use the environment variables.

- FTP proxies are now supported (if I implemented it right).

- The HTTP implementation is much more complete, and can now do restarts,
  preserve modtimes, and mrun in mirror mode.  It's not yet up to 1.1,
  but it's getting there.

- Transaction TCP is now used for sending HTTP requests.  The HTTP/1.1 syntax
  for requesting that the connection be closed after one request is
  implemented.

In all of this, I have doubtless broken somebody.  Please test it and tell me
about the bugs.
1997-01-30 21:43:44 +00:00
Wolfram Schneider
fa363c34a4 The option "fstype" does not handle the argument "msdos" correctly.
This error results from changing the name for the msdos file system
from "pcfs" to "msdos". Close PR #1105

submitted by: Thomas Wintergerst <thomas@lemur.nord.de>,
              Slaven Rezic <eserte@cs.tu-berlin.de>
1997-01-28 13:18:46 +00:00
Wolfram Schneider
7f6f2e9466 Store temp files in current directory instead /tmp. The current
directory is usually not world writable, this avoid security
problems due the evil Berkeleian symlinks.
1997-01-27 00:10:53 +00:00
Jordan K. Hubbard
d87e2a2cc5 Don't dereference NULL pwd on non-existant username (I wonder how long
THAT has been in here!).
1997-01-22 18:36:27 +00:00
David Nugent
5217f56ec6 Fix handling of empty shell field in passwd file (use /bin/sh); problem
was caused by introduction of login classes. Closes PR bin/2550.
Added references to login.conf to manpage, crossreference to login.conf(5).
1997-01-22 02:45:16 +00:00
Garrett Wollman
a5969f5ffc Print out the new uninteresting-multicast-packets statistic. 1997-01-21 21:08:57 +00:00
David Nugent
0a98733422 Activate limits(1). 1997-01-21 15:09:03 +00:00
David Nugent
c03293e593 limits(1): set and display process resources. 1997-01-21 15:05:15 +00:00
John Fieber
aeae2333f4 Make -hdr and -ftr options (to include arbitrary HTML at the
top and bottom of output) work with docbook.
1997-01-19 21:21:18 +00:00
John Fieber
3697c8d8a6 Do the Right Thing(TM) with source files that have extensions
other than .sgml.
1997-01-18 01:48:04 +00:00
John Fieber
0e224fbc11 Add rudimentary docbook support:
sgmlfmt -d docbook -f html myfile.docb

Depreciate undocumented -white option (now default).
1997-01-17 23:38:40 +00:00
Joerg Wunsch
8a641b5f2e Update for the French message catalog.
Submitted by:	charnier@xp11.frmug.org (Philippe Charnier)
1997-01-17 23:01:18 +00:00
John Fieber
3a3cc0fe3e Close PR #2453 (illegal tags in HTML <TITLE> element)
2.2 fodder
1997-01-17 21:44:45 +00:00
Joerg Wunsch
cefe4f6fa2 Fix a genuine off-by-one error that caused join to dump core when
trying to use field numbers tha weren't present in the input data.
1997-01-17 18:55:05 +00:00
Jordan K. Hubbard
ae0fde8e14 Handle timeouts in a slightly less baroque way. 1997-01-17 12:52:12 +00:00
Alexander Langer
8abdc2eb40 Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
Wolfram Schneider
da1ff3cb8a Sort cross references. 1997-01-15 23:25:55 +00:00
Mike Pritchard
d0aa25cbc5 Document the "more" command.
Submitted by:	Julian Coleman <j.d.coleman@ncl.ac.uk>
Obtained from:  NetBSD-bugs PR# 3104
1997-01-15 04:44:08 +00:00