summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* * Change 'struct resource' to 'struct config_resource'.dfr1998-11-152-4/+4
| | | | * Bump config version.
* o Break fixups into binary fixups and XFree86 based fixups.jkh1998-11-1512-207/+218
| | | | | | | | o Move fixups into extraction routine so all consumers don't have to duplicate the right behavior. o Make some things more orthogonal (just for asthetics sake) o Add option to go back and do it again if XF86Setup fails (possibly with a different setup - this one has always annoyed me).
* Modify pciconf(8) so that it will print out PCI devices that have no driverken1998-11-122-9/+19
| | | | | | | | | | | | | | configured in the kernel. It gives them a device name of "none" and monotonically incrementing unit numbers. (starting at 0) Before, pciconf would just skip over unconfigured devices. (unconfigured devices can be detected because they have a null string for a device name) Update the man page to reflect the new pciconf output. Unfortunately, this causes the sample 'pciconf -l' output lines to wrap, but I'm not sure what to do about that really. If anyone presents a reasonable case for printing out something other than "none1" for unconfigured devices, I'm willing to listen.
* Fix bug where trailing slash could confuse the registry removal.jkh1998-11-111-1/+7
| | | | Noticed by: des
* Fixed disorder.bde1998-11-101-25/+23
|
* Enable IPXrouted for alpha.dima1998-11-101-3/+3
|
* Don't forget to initialise dbuff when debugging.brian1998-11-101-5/+9
|
* Clean it up a little bit.dima1998-11-091-19/+8
|
* Allow for printing out integer arrays.phk1998-11-081-2/+8
|
* Explain what the command line switches do and what thebrian1998-11-082-14/+258
| | | | various prompts signify.
* Fix a few typosbrian1998-11-082-6/+6
| | | | Submitted by: Forgotten (sorry)
* Don't delete the primary interface address whenbrian1998-11-053-11/+20
| | | | | ``iface clean'' is used in auto mode while there are no active links.
* When warning about discarding packets in secure mode, include the IPdg1998-11-051-2/+3
| | | | address of the most recent offender.
* Add an "internal" driver for the "ident" protocol (tcp/113).phk1998-11-041-1/+31
| | | | | | | | It will return "ERROR:HIDDEN-USER" for all requests. To use it add: ident stream tcp nowait root internal to inetd.conf
* Typo curnwid -> currnwidmsmith1998-11-041-1/+1
| | | | Submitted by: Randy Bush <rbush@bainbridge.verio.net>
* Deal with both foo.hlp and FOO.TXT files.jkh1998-11-035-22/+34
|
* Remove the "adding default route" message and replace withobrien1998-11-021-1/+2
| | | | | | "Looking up host %s". Suggested by: msmith
* If the CBCP callee offsers no callback, send our configuredbrian1998-10-311-5/+7
| | | | | | response anyway. This is what Win95 does, despite it not being documented in the cbcp spec.... Reported by: Bill <petheram@acm.org>
* Allow multiple systems (config labels) on the commandbrian1998-10-316-101/+116
| | | | | | line and in the ``load'' & ``dial'' commands. The last label loaded becomes the current label name. Only require a label for -auto mode.
* Don't call PacketAliasIn() when we turn around packets destinedbrian1998-10-291-7/+1
| | | | | | for our interface address. We're about to call ip_Input() anyway, and ip_Input() does the PacketAliasIn(). Stack trace provided by: Cameron Grant <gandalf@vilnya.demon.co.uk>
* Increase the granularity of the debugging messages.obrien1998-10-291-12/+17
|
* Add some debugging statments (only if DEBUG opt is set), to try pin downobrien1998-10-291-1/+5
| | | | the hangs many of us are experiencing.
* Remove some redundant (#if 0'd) code.brian1998-10-291-8/+1
|
* Unlink old contents of package when extracting new.jkh1998-10-281-2/+2
| | | | Submitted by: pst
* Handle ELF symbols better. This fixes "vmstat -i" for the casejdp1998-10-281-21/+50
| | | | | | | | | where "/var/db/kvm_kernel.db" exists. Note, kvm_mkdb tries to be clever, and skips rebuilding the database if it thinks it's already up to date. To see the effects of this fix, you may need to manually delete "/var/db/kvm_kernel.db" and then run "kvm_mkdb".
* Check for C:\FREEBSD also, for backwards compatibilityjkh1998-10-281-2/+2
|
* Untimeout the chat expect timer as soon as we get abrian1998-10-271-1/+2
| | | | | | match - otherwise, with a delayed (\\d) ``send'', the timeout may happen during the send and cause a failure. Problem reported by: David L. Vondrasek <dallas.tx@airmail.net>
* Add ``set proctitle'' for changing argv[0]. All substitutionsbrian1998-10-275-6/+85
| | | | | | | are done in the same way as command execution. For example, ``set proctitle USER INTERFACE PROCESSID'' would be useful in a -direct profile for identifying who's connected.
* Add ``PROCESSID'' as a constant expanded when runningbrian1998-10-273-4/+11
| | | | commands.
* Stress that ``none'' must be specified on the `set callback'brian1998-10-272-10/+26
| | | | | line if callback is to be optional. Requested by: Andrzej Tobola <san@koziolek.lublin.top.pl>
* Shuffle the iface-alias option so that's in alphabeticalbrian1998-10-262-14/+14
| | | | order like the rest of the options.
* Add ``enable proxyall'' support. This adds proxy ARP entriesbrian1998-10-268-61/+169
| | | | | | | | | | for every machine on every class C or smaller subnet that we route to. Add ``set {send,recv}pipe'' for controlling our socket buffer sizes. Mention the IP number with the problem in a few error messages. All submitted by: Craig Leres <leres@ee.lbl.gov> Modified slightly by: me
* Fix the interface alias code. Previously, I was expecting somethingbrian1998-10-264-29/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like tun0: flags=blah 10.0.0.1 -> 10.0.0.100 10.0.0.2 -> 10.0.0.100 10.0.0.3 -> 10.0.0.100 to DTRT, despite the SIOCAIFADDR for each new alias returning -1 & EEXIST while adding the alias anyway. In real life, once we have the second alias with the same destination, nothing will route any more ! Also, because I was ignoring EEXIST, the dynamic IP assignment code was assigning duplicate addresses ('cos it was being lied to by iface_inAdd()). Now we have tun0: flags=blah 10.0.0.1 -> 255.255.255.255 10.0.0.2 -> 10.0.0.100 10.0.0.3 -> 255.255.255.255 This works - stuff bound to 10.1 & 10.3 will be considered alive by the kernel, and when they route back to the tun device, the packets get aliased to 10.2 and go out to 10.100 (as with the original plan). We still see the EEXIST in SIOCAIFADDR, but ignore it when our destination is 255.255.255.255, assuming that the alias *was* actually added. Additionally, ``iface add'' may now optionally be given only the interface address. The mask & destination default to 255.255.255.255.
* Don't send a DELAY value when sending CBCP_NONUMbrian1998-10-251-4/+8
| | | | | (as per the spec). Spotted by: Andrzej Tobola <san@koziolek.lublin.top.pl>
* Loosen our restrictions on setting enddisc, mrru,brian1998-10-244-30/+85
| | | | | | | | shortseq, authname and authkey. o Auth{name,key} may additionally be set in PHASE_ESTABLISH. o The others may be set in PHASE_ESTABLISH as long as no links have yet reached DATALINK_LCP.
* Ignore `vector xxxintr' specifications except for checking their syntax.bde1998-10-232-28/+9
| | | | | | | | | | | Interrupt handlers are now configured in drivers. Didn't update config/SMM.doc. It doesn't have any i386 examples (not even `isa'). Bumped CONFIGVERS. This is not necessary for -current yet, but using the new config with old system sources gives null pointers for all vectors.
* fix spelling error.jkh1998-10-232-4/+4
| | | | Submitted by: Pomegranate <daver@flag.blackened.net>
* Removed all `vector xxxintr' specifications. Interrupt handlers are nowbde1998-10-222-7/+7
| | | | configured in drivers.
* Solve the ``first connection'' problem that occurs onbrian1998-10-2214-417/+1082
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | demand-dial links with dynamic IP numbers where the program that causes the dial bind()s to an interface address that is subsequently changed after ppp negotiation. The problem is defeated by adding negotiated addresses to the tun interface as additional alias addresses and providing a set of ``iface'' commands for managing the interface. Libalias is also required (and what a name clash!) - it happily IP-aliases the address so that the source is that of the primary (negotiated) interface and un-IP-aliases it on the way back. An ``enable iface-alias'' is done implicitly by the -alias command line switch. If -alias isn't given, iface-aliasing is disabled by default and can't be enabled 'till an ``alias enable yes'' is done. ``alias enable no'' silently disables iface-alias. So, for dynamic-IP-type-connections, running ``ppp -alias -auto blah'' will work for the first connection, although existing bindings will not survive a disconnect/connect as the TCP peer will be trying to send to the old IP address - the packets won't route. It's now a lot easier to add IPXCP to ppp with minor updates to the new iface.[ch] (if anyone ever gets 'round to it). It's also now possible to manually add interface aliases with something like ``iface add 1.2.3.4/24 5.6.7.8''. This allows multi-homed ppp links :-)
* Since vfork() was changed to fork(), we have to pass errno back from thedes1998-10-201-3/+6
| | | | | | | child to the parent somehow. PR: 8353 Submitted by: Andrew J. Korty <ajk@purdue.edu>
* Specify BINOWN explicitly - we don't want to depend on bsd.own.mkbrian1998-10-201-0/+1
| | | | setting it to ``root''.
* Use sysctl() rather than kvm_read() when getting informationdima1998-10-192-0/+29
| | | | | about clock stuff from kernel. This fixes xntpd on alpha.
* Add entries for DiskOnChip2000 Flash device.jkh1998-10-192-2/+6
| | | | Submitted by: phk
* Add driver support for PCI fast ethernet adapters based on thewpaul1998-10-182-2/+4
| | | | | | | | | RealTek 8129/8139 chipset like I've been threatening. Update kernel configs, userconfig.c, relnotes and sysinstall. No man page yet; comming soon. I consider this driver stable enough that I want to give it some exposure in -current.
* Fixed missing libraries in DPADD.bde1998-10-173-9/+9
|
* Warn about (but process anyway) CBCP messages with an incorrect id.brian1998-10-171-1/+11
|
* Adjust our CBCP RESP id so that it's the same as the REQ.brian1998-10-171-1/+2
| | | | Submitted by: Tom <root@majestix.cmr.no>
* If the client asks for CBCP, then replies with CBCP_NONUMbrian1998-10-171-1/+8
| | | | | | to our REQ, allow no dialback - but only if we've ``set cbcp *''.. Suggested by: Andrzej Tobola <san@koziolek.lublin.top.pl>
* Explain what the ``*'' means for a CBCP phone numberbrian1998-10-171-3/+9
| | | | in ``show link''.
* Move help displays left one column to avoid problems withbrian1998-10-171-3/+5
| | | | | | broken terminals that can't handle 80 columns followed by a linefeed. Pointed out by: bde@FreeBSD.org
OpenPOWER on IntegriCloud