summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Compensate for dodgy Win98/WinME MSCHAPv2 responses later in the codebrian2002-06-175-29/+34
| | | | | | | | | | | | | | | | path... after we've talked to any RADIUS servers involved, so that we haven't touched the data before it gets to the server. Make it clearer in the code that this compensation is done by setting a flag to a value of zero, a flag which rfc2759 says *MUST* be zero. While we're here, don't bother passing the peer challenge into radius_Authenticate(). It's already part of the key we're passing in (this becomes obvious now that I've structured that data...). This ``fix'' doesn't help to authenticate Win98/WinME users in my test environment as ports/net/freeradius seems to ignore the flag completely anyway, but it may help with other RADIUS servers.
* Just rename two generic-queue init routines from 'init_*' to '*_gi'gad2002-06-163-7/+7
| | | | | | ("gi" short for 'generic init'...). MFC after: 10 days
* Add a nearly complete rewrite of the lpc command 'down'. The only user-gad2002-06-164-3/+73
| | | | | | | | | | | | | | visible change should be that more than one queue can now be specified, if one uses the '-msg' parameter to separate the list of queues from the status message to set. The previous implementation of 'down' remains available as the command 'xdown', available for instant fallback if there seems to be anything wrong with the new one. If no one reports a problem after a few weeks, then a later update will remove 'xdown'. Reviewed by: freebsd-print@bostonradio.org MFC after: 10 days
* Make the description of the 'down' command a little more readable.gad2002-06-151-2/+4
| | | | MFC after: 10 days
* Reorganize the way that arguments are processed in lpc's generic-queuegad2002-06-151-20/+24
| | | | | | | commands, to make things a little cleaner (mainly for a later update). Reviewed by: freebsd-print@bostonradio.org MFC after: 10 days
* Add a new command to 'lpc' called 'setstatus', which would be used togad2002-06-156-28/+140
| | | | | | | | | change the status message of a print queue. This includes some minor changes to the upstat() routine, so that error messages are not printed while seteuid(priv-user). Reviewed by: freebsd-audit and freebsd-print@bostonradio.org MFC after: 10 days
* Do not issue deprecated ioctl.ume2002-06-151-0/+8
| | | | | Obtained from: KAME MFC after: 2 weeks
* Don't install obsolete gifconfig(8). Please use ifconfig(8) instead.ume2002-06-151-1/+0
|
* Don't install obsolete prefix(8). We now have `ifconfig eui64'.ume2002-06-151-1/+0
|
* A better prinflike fix...brian2002-06-151-2/+2
|
* Remove whitespace at the end of lines.brian2002-06-1531-89/+89
|
* Fix a printflike format errorbrian2002-06-151-1/+1
|
* Remove a forgotten diagnosticbrian2002-06-151-1/+0
|
* Changed the behavior when an interface-direct prefix being advertisedume2002-06-138-45/+166
| | | | | | | | | | | was removed from the kernel; Advertise the prefix with zero lifetimes rather than to remove the prefix from the prefix list to be advertised. This will help renumber a receiving host by deprecating the address derived from the old prefix. Obtained from: KAME MFC after: 2 weeks
* Bah humbug. Fix another typo on the same comment line. It also hadgad2002-06-131-1/+1
| | | | | | an option-space instead of a space... MFC after: 10 days
* Fix a typo in a comment from the previous commit. I had a bullet-charactergad2002-06-131-1/+1
| | | | | | | instead of an asterisk. Noticed by: keramida MFC after: 10 days
* Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable',gad2002-06-135-14/+457
| | | | | | | | | | | | | | | | | 'restart', 'start', 'stop' and 'up'. These are commands which mainly just alter the access bits on the lock-file of a queue, and they all now use a central routine to do that. This reduces the amount of code that is run as the priv userid, and eliminates a number of cases where error messages were written while that priv uid was in effect. As far as users are concerned, there should be no noticable difference in the new versions. In case there *is*, the previous implementations are still there as 'xabort', 'xenable', etc, so they are available for instant fallback. If no one reports a problem after a few weeks, then a later update will remove those x-commands. Reviewed by: freebsd-audit and freebsd-print@bostonradio.org MFC after: 10 days
* If a RAD_FILTER_ID is supplied by the RADIUS server, treat it as anbrian2002-06-122-1/+20
| | | | | | additional label from ppp.linkup & ppp.linkdown to load. Suggested and mostly submitted by: andrew pavlov <and@kremenchug.net>
* Bump the version number to reflect the recent RADIUS commitsbrian2002-06-121-1/+1
|
* Don't forget to process the Ident field on the front ofbrian2002-06-122-16/+26
| | | | | | | | | | | RAD_MICROSOFT_MS_CHAP_ERROR and RAD_MICROSOFT_MS_CHAP2_SUCCESS messages, and remove the hack in chap.c to ignore that ident field on the client side. This anomoly was hacked around during development, and I forgot to go back and fix it properly. Spotted by: Sergey Korolew <ds@rt.balakovo.ru>
* Reorder libraries to fix static linking (libssl depends on libcrypto, sodes2002-06-124-8/+8
| | | | | | it must come before libcrypto in LDADD) Reviewed by: bde
* de __Pimp2002-06-121-39/+30
| | | | | ANSI functions minor knf
* KNF.imp2002-06-121-87/+89
| | | | Use ANSI functions rather than old K&R style.
* Kill __P.imp2002-06-121-2/+2
|
* Understand the following Microsoft Vendor Specific RADIUS attributes:brian2002-06-128-55/+329
| | | | | | | | | | | | | | | | | RAD_MICROSOFT_MS_MPPE_ENCRYPTION_POLICY RAD_MICROSOFT_MS_MPPE_ENCRYPTION_TYPES RAD_MICROSOFT_MS_MPPE_RECV_KEY RAD_MICROSOFT_MS_MPPE_SEND_KEY These attributes may be supplied by a RADIUS server when MSCHAPv2 is used to authenticate. It *should* now be possible to build ppp with -DNODES and still support CHAP/MSCHAP/MSCHAPv2/MPPE via a RADIUS server, but the code isn't yet smart enough to do that (building with -DNODES just looses these facilities). Sponsored by: Monzoon
* Go back to taking the user's umask into account. Thanks to Alfred fordougb2002-06-101-23/+31
| | | | | | | hatching the idea of using dc, and Giorgos (keramida) for incubating it. This also reverses most of the previous commit which took out or modified the text about umask stuff.
* Change our default XF86Config location from /etc/ to /etc/X11/,obrien2002-06-103-3/+5
| | | | | | following the lead of The XFree86 Project's default. Approved by: Murray
* Don't depend on <pwd.h> to bogusly include <sys/types.h>.mike2002-06-091-0/+1
|
* Fix a bug where request_part_size() was hard-coded to check the rootSizejhb2002-06-072-2/+2
| | | | | | variable rather than the one passed in as the first argument. Sponsored by: The Weather Channel
* * Use the new stat(1) to get mode information from the files wedougb2002-06-061-34/+33
| | | | | | | are installing. * Since this means that for now we can't accomodate non-standard umask's, warn the user accordingly. * Convert the "press enter to continue" prompt into a function.
* libfetch now depends on libcrypto and libssl.ru2002-06-064-0/+20
|
* Added missing DPADD detected by ``make checkdpadd''.ru2002-06-061-1/+2
|
* Cast pid_t to long for printf()ingbrian2002-06-061-2/+2
| | | | Obtained from: OpenBSD
* Fix spelling nit in error message.gordon2002-06-051-1/+1
|
* o Remove ftp.freebsd.org from the USA servers and add to thejedgar2002-06-052-6/+10
| | | | | | | Denmark servers. o Add snapshots.jp.FreeBSD.org. Approved by: brian
* Add information about setting up media to use the multi-volume supportmurray2002-06-052-0/+120
| | | | | | in sysinstall. Reviewed by: ru
* Grammar nit.obrien2002-06-041-1/+1
| | | | Submitted by: keramida
* Change some "process id" variables from 'int' to 'pid_t', renaming somegad2002-06-041-28/+31
| | | | | | | | of them to keep better track of which-is-which (multiple variables were named 'pid'). Moved a global pid-variable into the only routine that used it. Net result: fixes two compile-time warnings... MFC after: 2 weeks
* Cosmetic improvements to some of the syslog() calls in here (in some casesgad2002-06-041-35/+44
| | | | | | simply getting the indentation right when the statement wraps). MFC after: 2 weeks
* Fix all the 'return' statements in here to follow style(9).gad2002-06-041-24/+24
| | | | MFC after: 2 weeks
* Avoid checking WIFEXITED and WTERMSIG in some error situations where thegad2002-06-041-3/+6
| | | | | | value in wstatus is not related to the process that we care about. MFC after: 2 weeks
* Backout revision 1.2 since it didn't work and replace it with a fix thatjhb2002-06-031-6/+2
| | | | | | actually does work. Ignore errors from kldload(2) if the errno value is EEXIST. It would help if this return value were documented in the kldload(2) manual page.
* Add a missing ``a''.brian2002-06-031-1/+1
|
* Stop using the depreciated 'union wait' definitions, moving to a moregad2002-06-032-26/+25
| | | | | | | standard handling of wait()-related routines. Submitted by: mike MFC after: 2 weeks
* Fix handling of the 'noError' variable. According to the code comments,jhb2002-06-032-24/+22
| | | | | | | | | | | one can set the 'noError' variable to ignore any errors that occur for the next command. However, the code was only unsetting 'noError' when an error actually occurred, so if you set 'noError', the next command completed ok, and the command after that failed, the second command's failure would be ignored. This fixes this by performing the 'noError' check earlier and then unsetting 'noError' after every command that is run. Sponsored by: The Weather Channel
* Add a 'mediaClose' script command to close the open media. An example usejhb2002-06-034-0/+28
| | | | | | | would be to unmount the CD you installed from and prompt the user to eject it before rebooting the machine. Sponsored by: The Weather Channel
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-026-6/+6
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* Don't send a RAD_NAS_IP_ADDRESS attribute as RAD_NAS_IDENTIFIER isbrian2002-06-021-0/+8
| | | | | | | | | | | | | | | | | sufficient. In fact, using both breaks the radiator RADIUS daemon when used with a db as it maps both attributes to the same field value and then fails the insert. I decided to remove RAD_NAS_IP_ADDRESS on the basis that rfc2138 says: An Access-Request MUST contain a User-Name attribute. It SHOULD contain either a NAS-IP-Address attribute or NAS-Identifier attribute (or both, although that is not recommended). It MUST despite the fact that this not recommended bit was removed from the updated rfc.
* Fix spelling errors: minumum, overriden, inherittedschweikh2002-06-021-6/+6
| | | | MFC after: 3 weeks
* Don't exit immediately if an error occurs, continue but exit non-zero.tjr2002-06-021-5/+9
|
OpenPOWER on IntegriCloud