summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Convert if_multiaddrs from LIST to TAILQ so that it can be traversedphk2001-02-061-3/+3
| | | | | | backwards in the three drivers which want to do that. Reviewed by: mikeh
* Add package signing utilities; somebody might actually want them.wes2001-02-0617-0/+2514
| | | | | | | | | These are not enabled in the pkg_install Makefile as of yet; adding the "sign" directory to the SUBDIR list will enable building of sign. Submitted by: Wes Peters Obtained from: Original framework from OpenBSD 2.7, X.509 bits from DoBox.
* mdoc(7) police: modifiers should be marked with .Cm, not .Ar.ru2001-02-051-14/+19
|
* Make the ``arp -d hostname proxy'' really do something useful.ru2001-02-051-2/+2
| | | | | | Specifically, ``proxy'' modifier tells the code to delete only Proxy ARP entry for the ``hostname''; the usual ARP entry will be unaffected by this operation.
* -pedantic mode:sobomax2001-02-052-1/+3
| | | | | - Add a missed prototype for the recently added show_cksum() function; - put in "explicit braces to avoid ambitious else" suggested by gcc(1).
* Add a ``Usable'' function to the ccp switch. The functionbrian2001-02-045-2/+35
| | | | | | | | | | | | | is called prior to sending a CCP configure request for a given protocol. The default is to send the request, but this is overridden for MPPE which checks to see if the lcp negotiations agreed CHAP81, and if not fails. Use the same function to decide if we should reject peer requests for MPPE. This should get rid of those boring messages about not being able to initialise MPPE when we don't negotiate CHAP81.
* This seems to stop syslog console messages looping. The problemdwmalone2001-02-041-1/+1
| | | | | | is that LOG_FAC doesn't do quite what you think it does. PR: 24704
* Remove the need to list each and every cpu platform. Config will nowpeter2001-02-044-55/+10
| | | | take your word for the 'machine' switch.
* MPPE_MasterKeyValid is only there if HAVE_DES is defined.brian2001-02-041-0/+2
|
* Don't send an authentication failure response if we fail sendingbrian2001-02-041-13/+26
| | | | a radius accounting packet.
* Make the MPPE MasterKey Invalid messages a bit clearer (it nowbrian2001-02-042-4/+6
| | | | | | complains that you can't do MPPE without CHAP81). Reset MasterKeyValid to zero when we hit phase DEAD.
* Untangle some cunfusion between the CLOSE_STAYDOWN, CLOSE_LCP andbrian2001-02-043-18/+21
| | | | | | | | CLOSE_NORMAL meanings. CLOSE_NORMAL doesn't change the currently required state, the others do. This should stop ppp from entering DATALINK_READY when LCP shutdown doesn't end up happening cleanly. Bump our version number to reflect this change.
* Add a -g flag for verifying an installed package against its recordedjkh2001-02-035-2/+41
| | | | | | | | checksums (to see if it's been modified post-installation). Naturally, this mechanism is only as secure as the contents of /var/db/pkg if you're using it for auditing purposes. Submitted by: Roman Shterenzon <roman@xpert.com>
* Move wicontrol from i386 to MI section. (yes, it compiles on alpha, wherepeter2001-02-031-1/+1
| | | | | theoretically NEWCARD might work one day). if_wi.c is in the MI config section already.
* Try to kldload if_tun if we get ENOENT from opening /dev/tunN -brian2001-02-021-1/+1
| | | | | | | not just if we get ENXIO. This makes ppp work with DEVFS when if_tun isn't built into the kernel (without needing to manually kldload it).
* Revert previous checkin ("proxy" is required in some instances).archie2001-02-012-2/+7
| | | | Add a note to that effect to the man page.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-0156-406/+463
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-012-4/+5
|
* Try and make it clearer that the static units thing is a FYI only.peter2001-01-311-1/+1
|
* Unwind a bit more cruft - we only have one type of device now.peter2001-01-314-14/+6
|
* Oops. An old version of a local change leaked in with the last commit.peter2001-01-311-22/+9
| | | | Since it is here, clean it up a bit.
* Redo the stray header file cleanup code to not depend on timestampspeter2001-01-314-28/+54
| | | | | or access times or anything. Just bite the bullet and keep a list of header files that we know about.
* Fix documentation: "proxy" is not a keyword for the arp(8) command line.archie2001-01-312-2/+1
|
* Make vnconfig annoy users for 15 seconds to make them switch to mdconfig.phk2001-01-302-0/+12
|
* AARGH! This does not mix too well with the -o noatime mount option.peter2001-01-291-1/+6
| | | | :-(
* I confess. This is a truely nasty hack. I am so ashamed!peter2001-01-291-0/+57
| | | | | | | | (I think config(8) source does bad things to your brain :-) Clean up likely stray *.h files in the build directory. Eg: if isa.h ceases being generated, zap it. The heuristics to figure out a 'likely' file are pretty revolting.
* Fix some log_Printf() castingbrian2001-01-292-8/+6
| | | | Obtained from: NetBSD (pkgsrc)
* Only remove socket files with ``set server open''.brian2001-01-295-21/+31
| | | | | | | Only show the mask in ``show bundle'' when it's been specified. Complain about unexpected arguments after ``set server {none,open,closed}'' Log re-open failures as warnings rather than phase messages. Fix some markup for the ``set server'' man page description.
* Add static dependency on libisc.a to get isc_movefile() on which namedasmodai2001-01-281-0/+11
| | | | | | | | | now depends. This keeps named the same as before the import, that is: only linking against libc dynamically, at a little space increase, which might be due to the source code changes anyway. Very neglectable space difference. Some people might dub it a hack. It will do for now at least.
* Don't pass PacketAliasProxyRule() a buffer with leading whitespace as itbrian2001-01-281-1/+1
| | | | can't handle it.
* Finish cleaning up the error reporting (standardize on err*()/warn*())kris2001-01-284-140/+44
| | | | | | and fix some overflows. Submitted by: Mike Heffner <mheffner@vt.edu>
* Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.hm2001-01-261-5/+7
|
* Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.hm2001-01-261-2/+3
|
* Fix arg countbrian2001-01-262-2/+2
|
* If executing the stuff from ppp.linkdown results in a state change,brian2001-01-261-4/+6
| | | | | | | don't continue adjusting the ipcp state machine. This allows ``down'' to work in ppp.linkdown - useful for a tunnel setup.
* Allow ``set server closed'' to close the diagnostic socket.brian2001-01-269-85/+258
| | | | | | | | | Allow ``set server open'' to re-open the diagnostic socket. Handle SIGUSR1 by re-opening the diagnostic socket When receiving SIGUSR2 (and in ``set server none''), don't forget the socket details so that ``set server open'' and SIGUSR1 open it again. Don't create the diagnostic socket as uid 0 ! It's far to dangerous.
* New option `-g' to allow selecting custom text geometry in VESA_800x600 rastersobomax2001-01-252-6/+53
| | | | | | | text mode. For example `vidcontrol -g 100x37 VESA_800x600' will setup 100x37 text mode as opposed to default 80x25. Reviewed by: imp
* Return exit value 0 on success when PID is specified.kuriyama2001-01-251-0/+1
|
* -pthread -> -lc_rdeischen2001-01-241-1/+1
|
* mdoc(7) police: Remove the debug line that prevents hyphenationru2001-01-241-1/+0
| | | | | for the purposes of spelling checking that left in after my last visit to this file.
* Make `-y' option actually work.sobomax2001-01-241-1/+1
| | | | Submitted by: reg
* zero-cleared allocated prefix information when configured.ume2001-01-231-0/+2
| | | | Obtained from: KAME
* Backed out the DST support changes.babkin2001-01-233-173/+7
|
* Various cleanups of inetd: Avoid shadowing variables, use socklen_tdwmalone2001-01-222-20/+18
| | | | | | | instead of ints, don't cast to char *, clear up some remote name handling code which had become a little odd. Should result in no functional changes.
* Don't mention /etc/protocols in inetd documentation or comments, as inetddwmalone2001-01-222-5/+4
| | | | | | | doesn't actually use it. PR: 24307 Submitted by: opentrax@email.com
* Use .Pa instead of .Dq.sobomax2001-01-221-3/+2
| | | | Submitted by: ru
* Add support for configuring PowerPC kernels.benno2001-01-224-0/+6
| | | | Reviewed by: peter
* - Add ability to handle bzip2-compressed packages;sobomax2001-01-228-26/+79
| | | | | | | - fix cosmetics to shut-up compiler in -pedantic mode (axe several unused vars and provide default clause in several switch() statements). No response from: -ports
* Fix for NetBSD wherebrian2001-01-222-2/+4
| | | | | | | .Oc Oc .Xc doesn't seem to work....
* mdoc(7) police: .Dv -> .Cm where appropriate.ru2001-01-221-6/+6
|
OpenPOWER on IntegriCloud