Commit Graph

4458 Commits

Author SHA1 Message Date
Brian Somers
7686a20048 Encode & Decode the PROTOCOMP fields correctly.
When NAKing the peer, get as close as we can to what
he REQd.
When the peer NAKs us, get as close as we can to what
they NAKd with on our next REQ.
1999-02-02 20:27:12 +00:00
Garrett Wollman
239e57d031 Add a `default' feature to tzsetup for use in script-driven installation
(if someone writes the other half).  Also rewrite the man page in a more
appropriate (formal) style.
1999-02-02 20:26:31 +00:00
Jordan K. Hubbard
5d5c8f3b7b List palm pilot category. 1999-02-02 16:57:55 +00:00
Jordan K. Hubbard
86784dbcd2 Show dependencies in package menu.
PR:		7454
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1999-02-02 15:57:14 +00:00
Brian Somers
ed0e926999 Don't allow root to specify non-existent labels on
the command line.
Revise the error diagnostics so that invalid labels
are reported immediately.
1999-02-02 09:35:30 +00:00
Brian Somers
aceaed9283 Reimplement the previous fix (no response to PAP requests)
at the authentication layer rather than at the PAP layer
so that it also applies to CHAP (no response to CHAP
challenges).
1999-02-02 09:35:17 +00:00
Garrett Wollman
9112ae0f0e Sigh. Fix capitalization bogon. Who had the pointy hat? 1999-02-02 01:04:51 +00:00
Wolfram Schneider
a1c1a4e918 Added xref to nologin(5). 1999-02-01 21:02:38 +00:00
Wolfram Schneider
1c669fdb34 Added xref to nologin(8). 1999-02-01 21:00:24 +00:00
Garrett Wollman
4f92720c08 Observe -U flag again, and use it in preference to getlogin(), if
the user is privileged.

I believe this should address both concerns in PR 9729, and may also
provide the desired behavior from PR 9485.
1999-02-01 19:53:08 +00:00
Jordan K. Hubbard
750eba274b Man, was I ever smoking crack when I wrote this. Don't free()
values I'm going to use again. :-}
1999-02-01 16:35:40 +00:00
Brian Somers
8db502bbfd If we receive no answer from the server when sending PAP
requests, give up (don't sit there indefinitely).
1999-02-01 13:42:25 +00:00
Bill Fumerola
787569e61c (1) Make usage() and SYNOPSIS agree with each other.
(2) Use 'device' instead of 'device name', there seems to be a precedent in
    /usr/share/man/man1

Prompted By:	bde
1999-01-31 15:30:21 +00:00
Brian Somers
ea56791112 Mention the error when we fail to connect(). 1999-01-31 12:24:29 +00:00
Bill Fumerola
e8015b0f00 Consistantly use 'devicename' instead of varying between 'discname' and
'devicename'.
1999-01-31 03:35:17 +00:00
Jordan K. Hubbard
6f6f564445 1. Install /boot/loader correctly on boot.flp
2. Back up old rc.conf.site if it exists.
1999-01-30 22:15:36 +00:00
Brian Somers
82d6780c9e o Send a CHAP challenge of 16 random digits when RADIUS is
configured.  This isn't strictly necessary according to the
  rfc, but it's suggested there....
o Don't forget to include our authname when sending a
  CHAP challenge when RADIUS is configured.
o Don't supply the ``16'' representing the chap answer
  length to radius_Authenticate() - libradius does this
  for us.
o When we successfully authenticate via radius_Authenticate(),
  continue with datalink_AuthOk() as expected.

Sponsored by: Internet Business Solutions Ltd., Switzerland
1999-01-29 22:46:31 +00:00
Jordan K. Hubbard
50895b8915 More support for Alpha installs.
Submitted by:	dfr
1999-01-29 11:39:04 +00:00
Bill Fumerola
65aaeb15d5 Reflect syslog(8)'s acceptance of either tabs or spaces.
PR:		docs/9660
Submitted by:	Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1999-01-28 22:55:08 +00:00
Bill Fumerola
2d073cdff2 Fix nasty bug where getpackagesite() will return an integer if it doesn't
know what revision of FreeBSD is being run. This case should never happen,
but just in case.
1999-01-28 20:17:32 +00:00
Garrett Wollman
e288508dc3 jkoshy forgot up update the heading date on the man page. 1999-01-28 19:56:05 +00:00
Brian Somers
0b67236810 MAINTAINER=brian@FreeBSD.org 1999-01-28 15:16:38 +00:00
Brian Somers
4026c3661c Version 2.0 > 2.1 to reflection RADIUS additions. 1999-01-28 09:40:15 +00:00
Brian Somers
972a1bcf5d Initial RADIUS support (using libradius). See the man page for
details.  Compiling with -DNORADIUS (the default for `release')
removes support.

TODO: The functionality in libradius::rad_send_request() needs
      to be supplied as a set of routines so that ppp doesn't
      have to wait indefinitely for the radius server(s).  Instead,
      we need to get a descriptor back, select() on the descriptor,
      and ask libradius to service it when necessary.
      For now, ppp blocks SIGALRM while in rad_send_request(), so
      it misses PAP/CHAP retries & timeouts if they occur.

      Only PAP is functional.  When CHAP is attempted, libradius
      complains that no User-Password has been specified... rfc2138
      says that it *mustn't* be used for CHAP :-(

Sponsored by: Internet Business Solutions Ltd., Switzerland
1999-01-28 01:56:34 +00:00
Joseph Koshy
ad088da187 Note that the 'owner.group' field is optional in the config file.
PR:		docs/9602
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-01-27 04:27:49 +00:00
Jordan K. Hubbard
24c1db52ef Write changes out to /etc/rc.conf.site now rather than mucking with
rc.conf.  There were many different ways I could have done this, some of
them "cleaner", but this represented the lowest impact.
1999-01-27 02:32:47 +00:00
Bill Fumerola
67ee87268c typo - "a follows" -> "as follows"
PR:		docs/9708
Submitted by:	jp-man project
1999-01-26 22:45:51 +00:00
Bill Fumerola
ad22d0720b Numbering typo, missed a '0'
Submitted by:	Brian Feldman
1999-01-26 22:31:23 +00:00
Peter Wemm
c2a1ba0f78 Automatically load the vn module if it isn't already in the kernel. 1999-01-26 04:53:09 +00:00
Bill Fumerola
c6a6c9c017 Update pkg_add's remote package feature to reflect the new structure of
wcarchive. This needs to be updated when:

(a) The directory structure changes on wcarchive
(b) getosreldate() has a new significance
	(ie. get ELF packages/get a.out packages)
(c) Branches are changed around

As we stand right now, 3.0-postELFday and 4.0-x all point to the same
directory, but when 4.0 starts to have its own packages, this file will
need to be changed.
1999-01-25 21:08:13 +00:00
Brian Somers
756783fc20 Don't SEGV when ``set proctitle'' is used in the default
section.
Submitted by:	Dan Lukes <dan@obluda.cz>
PR:		9669
1999-01-25 10:19:03 +00:00
Doug Rabson
2bfad86d33 Back out a couple of i386 conditionals which aren't needed with the new
syscons and fix a few printfs.

Reviewed by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-01-25 08:48:49 +00:00
Joseph Koshy
ab6c21a54f Correct a typo and an unparseable sentence.
PR:		docs/9659
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-01-25 06:22:31 +00:00
Peter Wemm
5e418b65f6 Support 'O MaxHeaderLines=' to override the default header count and line
length limits.  The configuration keyword is: confMAX_HEADER_LINES
1999-01-24 07:54:30 +00:00
Mark Murray
e116238d83 Add the texinfo'ed docs to the build/install. 1999-01-23 21:24:49 +00:00
Doug Rabson
f01de75c0f Remove a workaround for the alpha port using an outdated version of syscons. 1999-01-23 17:04:13 +00:00
Garrett Wollman
8fba304b43 A slight bit of code and doco cleanup, but mostly:
Add the much-needed and long-desired ability to force the log rotation
to take place on a specific day or time, and document same.  This works
by extending the syntax of the `when' field to allow a restricted
ISO 8601 time specification, and performing the log rotation if newsyslog
is run during the same hour as is specified.
1999-01-22 19:38:39 +00:00
Matthew Dillon
c67ba15991 Fix formatting bug with [NFS swap] vs /dev/DEVNAME 1999-01-22 10:57:22 +00:00
Matthew Dillon
782f8687be Make pstat use new kvm_getswapinfo() libkvm call. 1999-01-22 10:36:48 +00:00
Garrett Wollman
15d1bc9ece I don't know how this happened since I know I compiled this on my machine.
Fix braino oflag -> uflag (or perhaps I should have gone the other way).
1999-01-21 21:09:56 +00:00
Garrett Wollman
5b7f6bf978 Merge changes from vendor branch (tzcode1999a), plus the following additional
changes:

- Finish migrating zic to its own private.h.
- Fix zic.8 so that it really is written in -mdoc.
- Add four new flags to zic (&document):
	-D	don't create directories
	-u	change ownership of newly-created files to user
	-g	change ownership of newly-created files to group
	-m	change mode of newly-created files to modespec
  These, once proven, can be used to clean up the installation.

Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz (partially)
1999-01-21 17:46:19 +00:00
Garrett Wollman
32b2240b31 This commit was generated by cvs2svn to compensate for changes in r42994,
which included commits to RCS files with non-trunk default branches.
1999-01-21 17:33:32 +00:00
Garrett Wollman
7765d84cde First stage in giving zic/zdump its own version of private.h so that they
are decoupled somewhat from libc/stdtime's version.
1999-01-21 17:33:32 +00:00
Garrett Wollman
7e3ce9032d Remove two files replaced with HTML by vendor. 1999-01-21 17:32:37 +00:00
Garrett Wollman
ace01ac29e Updated timezone compiler from Arthur Olson.
Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz
1999-01-21 17:31:43 +00:00
Garrett Wollman
948760979c This commit was generated by cvs2svn to compensate for changes in r42991,
which included commits to RCS files with non-trunk default branches.
1999-01-21 17:31:43 +00:00
Matthew Dillon
eedc343625 Update pstat -s to handle both old and new swapper.
Add pstat -ss to dump new swapper's radix tree.
1999-01-21 08:08:55 +00:00
Bill Fenner
5c7b1fd97f Fix raw timestamps (zero-pad usecs)
Print 4-digit years in TIMESTAMP_PARSEABLE mode after '99.

PR:		bin/9507
1999-01-20 18:33:13 +00:00
Brian Somers
b51a60cc47 Recurse when we've switched state via LoginDone(). If we've
got an open link, we want it to be select()d on - otherwise
we get a freeze when ``openmode'' is passive.
1999-01-20 18:06:52 +00:00
Jordan K. Hubbard
c80ac74f4b Replace old SAVE_USERCONFIG code with a customized version of Andrzej's
kget code.  Also collapse a redundant case in cdrom code.
1999-01-20 12:31:43 +00:00