summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Now that libfetch uses the high port range by default, add a -U option todes2001-03-242-13/+17
| | | | make it use the low (default) port range instead.
* Get rid of setgid kmem for systat, and while being there, fix some bugstmm2001-03-2310-151/+397
| | | | | | | | | | | and compiler warnings. The data for network statistics are still obtained via the kvm interface if systat was started with the needed privileges, otherwise sysctls are used. The reason for this is that with really many open sockets, the sysctl method is probably slower, but it systat -netstat is probably not really usable in either mode under these conditions. Approved by: rwatson
* Take setgid kmem away from nfsstat, it has not needed it for some timetmm2001-03-222-7/+1
| | | | | | now. Approved by: rwatson
* Properly deal with one char weekdaysache2001-03-221-4/+8
|
* Uppercase first month letterache2001-03-221-1/+6
| | | | Terminate weekday string
* Fix width for printing timeache2001-03-211-5/+4
|
* Don't attempt to parse %cache2001-03-211-5/+14
|
* Don't attempt to parse %cache2001-03-211-2/+7
|
* Don't attempt to parse %cache2001-03-211-3/+9
|
* Don't attempt to parse %cache2001-03-211-3/+9
|
* Don't attempt to parse %cache2001-03-211-17/+33
|
* Don't attempt to parse %cache2001-03-214-34/+56
|
* Don't attempt to parse %c, use nl_langinfo insteadache2001-03-211-13/+16
|
* Don't attempt to parse %c, use nl_langinfo insteadache2001-03-211-5/+10
|
* Restore old locale properlyache2001-03-211-1/+4
|
* Use nl_langinfo instead of %Efache2001-03-212-2/+7
|
* Use nl_langinfo instead of %EFache2001-03-211-1/+5
|
* Correct the top memory stats display: convert page counts to kB.tmm2001-03-201-0/+5
| | | | | | Submitted by: Andrea Campi <andrea@webcom.it> Approved by: rwatson Pointy hat to: myself
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-1910-535/+1767
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
* Add an example of a novel technique to the IPv6 code. This technique seemsphk2001-03-191-1/+2
| | | | | | | to have been developed after the IPv6 code was written, it's called "checking for error returns". Now netstat at least doesnt't go beserk in jails.
* s/protocol-cloned/cloned/ I have missed in 1.24 -> 1.25.ru2001-03-181-1/+1
|
* Use the newly introduced -W flag to netstat(1) to avoid truncated addresses.des2001-03-151-1/+1
|
* Add a -W flag that tells netstat not to truncate addresses even if they aredes2001-03-154-32/+68
| | | | | | | | too long for the column they're printed in. Move variable definitions out of netstat.h and into main.c. Clean up some warnings.
* net/route.c:ru2001-03-152-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A route generated from an RTF_CLONING route had the RTF_WASCLONED flag set but did not have a reference to the parent route, as documented in the rtentry(9) manpage. This prevented such routes from being deleted when their parent route is deleted. Now, for example, if you delete an IP address from a network interface, all ARP entries that were cloned from this interface route are flushed. This also has an impact on netstat(1) output. Previously, dynamically created ARP cache entries (RTF_STATIC flag is unset) were displayed as part of the routing table display (-r). Now, they are only printed if the -a option is given. netinet/in.c, netinet/in_rmx.c: When address is removed from an interface, also delete all routes that point to this interface and address. Previously, for example, if you changed the address on an interface, outgoing IP datagrams might still use the old address. The only solution was to delete and re-add some routes. (The problem is easily observed with the route(8) command.) Note, that if the socket was already bound to the local address before this address is removed, new datagrams generated from this socket will still be sent from the old address. PR: kern/20785, kern/21914 Reviewed by: wollman (the idea)
* with my mentor hat on...billf2001-03-151-2/+0
| | | | | | remove the concept of a 'maintainer' of our make. there really isn't a need for any one committer to hold an exclusive lock or serve as a filter for this code.
* Revert previous change -- apparently it's not quite right. It brokewill2001-03-151-15/+9
| | | | | | | | | | src/sys/modules/if_ef and possibly other things. I tested the build with a make based on rev. 1.26, and it worked fine. Since I'm not particularly inclined to figure out what's going on with this, it's probably prudent just to back it out for now. Found by: jkh Suggested by: jhay
* Fix make(1) bug: nested comments may be placed in .if, .else .if, andwill2001-03-151-9/+15
| | | | | | | | | | | | | .endif statements but can't be placed in .elif. Basically, the problem was that ParseSkipLine() didn't handle comments the same way that ParseReadLine() did, and thus you had errors with comments that are on a conditional line (i.e. "^.") rather than a non-conditional line. MFC candidate for 4.3-STABLE and 3.5-STABLE. PR: 25627 Bug found by: jhs Fix submitted by: Seth Kingsley <sethk@osd.bsdi.com> (thanks!!)
* MAXHOSTNAMELEN includes space for a NUL.brian2001-03-146-42/+13
| | | | | | Don't roll our own version of trimdomain(), use the one in libutil. Not objected to by: freebsd-audit
* Count and show incoming UDP datagrams with no checksum.ru2001-03-132-18/+21
|
* Fix top(1) display for SMP systems where the username is longer than 14will2001-03-121-1/+3
| | | | | | | | characters. This should avoid unattractive wrapping for people who are stuck in an 80x24 screen. :-) PR: 22270 Submitted by: William Carrel <williamc@go2net.com>
* reset uid back to the user before doing kerberised change password.assar2001-03-121-0/+1
| | | | | | | root permission is not needed and the kerberos library is paranoid about access control to the ticket file PR: bin/20779
* Updates for Blowfish password hashing.markm2001-03-111-2/+6
|
* Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons,obrien2001-03-082-38/+1
| | | | and remove leading `r'(aw) from it.
* Fix two bugs in null suffix handling. Both occured only after the suffixtmm2001-03-081-6/+19
| | | | | | | | | | | | list was cleared. Rules with null suffixes would not be rebuilt when the suffixes were added again. Adding null suffix rules would fail when a rule for the same source was declared before the suffix list was cleared. PR: 23328, 24102 Reviewed by: will Approved by: rwatson
* If SIGINFO is received during the transfer, print a status line similardes2001-03-071-5/+29
| | | | | | | | to the summary shown at the end of the transfer. Some days, I really hate Unix... Suggested by: cracauer
* Fix a formatting bug (MFC candidate)des2001-03-071-1/+1
|
* Pick up the environment variable ${NM} if it exists and use that to listdfr2001-03-061-1/+2
| | | | | symbols. This allows lorder to be used more easily in a cross-build environment.
* Add (and document) options for showing only listening or connected sockets.des2001-03-062-11/+39
|
* Fix ttynames generation broken with strlcatache2001-03-051-1/+1
| | | | | PR: 25541 Submitted by: Nickolay Dudorov <nnd@mail.nsk.ru>
* Switch from using rand() or random() to a stronger, more appropriate PRNGkris2001-03-051-10/+1
| | | | | | (random() or arc4random()) Reviewed by: bde
* When displaying interface statistics with -i show a '-' for anyjoe2001-03-041-15/+64
| | | | values that aren't updated for a particular network-layer address.
* BDECFLAGS.billf2001-03-041-9/+7
| | | | while I'm here, fix bitrotted debug code generating template.
* Preserve comma as separator when it is not equal to radix characterache2001-03-031-2/+7
|
* Don't use "," as load avg. separator because it can be precision point in someache2001-03-031-1/+1
| | | | locales, so leads to confusion
* Oops, remove tabs sneaked in wrong placeache2001-03-021-2/+2
|
* Use AM/PM time only when available in localeache2001-03-023-7/+10
|
* Add -g group to usage message.imp2001-03-021-2/+4
| | | | | | | Don't treat pointer as a boolean, but instead test it against NULL. Add warning for groups that don't exist Submitted by: ru
* Include -DDEFSHELL=1 in Makefile.dist so people boostrapping willimp2001-03-011-1/+2
| | | | | | | | have a sane default. Also add $FreeBSD$ while I'm here. Pointed out by: bde
* MAXPATHLEN includes the trailing NUL.imp2001-03-012-6/+6
| | | | | | | Correct array sizes to reflect this. Correct NUL termination after strncpy. # Didn't to strncpy -> strlcpy change.
* MAXPATHLEN contains the trailing NUL.imp2001-03-012-2/+2
|
OpenPOWER on IntegriCloud