summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Update sockstat to support INET6 socket printing.shin2000-02-262-6/+10
| | | | | | | Approved by: jkh Submitted by: Ben Smithurst <ben@scientia.demon.co.uk> Reviewed by: des
* Use libcrypto in place of libdes.markm2000-02-248-15/+11
|
* Correctly print out "Connected to" hostname.shin2000-02-241-4/+3
| | | | | | | Temporal buffer was used for the hostname and freed before actually used. Specified by: ru Approved by: jkh
* Fix a 'tip' core dump caused by a null pointer dereference whenbsd2000-02-221-1/+1
| | | | | | | | sending a file to the remote system. PR: bin/15660 Reviewed by: jkh Approved by: jkh
* Fix several problems with EPSV (verbosity, one-per-session, missing place)ache2000-02-213-6/+14
| | | | Approved by: jkh
* Fixed a little bit strange INET6 output.shin2000-02-191-0/+1
| | | | | Specified by: Ben Smithurst <ben@scientia.demon.co.uk> Approved by: jkh
* Use static buffer to save source route hostnames.shin2000-02-191-1/+1
| | | | Approved by: jkh
* Print "Trying ..." for each host. Also cleanups for error printing.shin2000-02-191-8/+3
| | | | | | Approved by: jkh Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* Removed bogus line.shin2000-02-191-1/+0
| | | | | Specified by: ache Approved by: jkh
* Added IPv6 name resolving support for utmp logging.shin2000-02-191-15/+42
| | | | Approved by: jkh
* Don't try EPSV once it failed.shin2000-02-181-5/+12
| | | | | Specified by: Andrey A. Chernov" <ache@nagual.pp.ru> Approved by: jkh
* Fix a leak. (Thanks Bruce, this was a bonehead mistake on my part :).)sef2000-02-151-3/+8
| | | | Submitted by: Bruce Evans
* Fix bugs in telnet.shin2000-02-151-8/+16
| | | | | | | | | Sorry there were still several bugs. -error retry at af missmatch was incomplete. -af matching for source addr option was wrong -socket was not freed at retry. Approved by: jkh
* Add -4 and -6 options.shin2000-02-156-16/+46
| | | | | | | | | Current getaddrinfo() implemetation has a problem of too much resolving waiting time on INET6 enabled systems. -4 and -6 options can limit name resolving address family and is a possible workaround for the problem. Approved by: jkh
* PR: 10850unfurl2000-02-151-6/+10
| | | | Submitted by: Scott Hazen Mueller <scott@zorch.sf-bay.org>
* Remove the version information from `.Os FreeBSD' here. Not onlychris2000-02-141-1/+1
| | | | | | | | might it confuse people, but it causes a warning message with nroff, and no version history mentions a 1.2 version of FreeBSD. If anything, a ``HISTORY'' section should show which version this appeared in.
* Reduce the number of args to .%T to an acceptable number bychris2000-02-141-1/+1
| | | | | removing the `Nm' command from the line. This means that %T will actually work.
* Add more dual stack consideration.shin2000-02-124-16/+71
| | | | | | | | -Should retry as much as possible when dest addr and source addr(specified with -s option) address family missmatch happend Approved by: jkh
* Fix parsing problems.shin2000-02-122-3/+31
| | | | | | | | -"ftp hostname:/path" was not working. - IPv6 raw addr specification was not well supported, such as, "ftp http://\[1:2:3:4:5:6:7:8:\]/index.html" Approved by: jkh
* Fix several bogus bugsshin2000-02-123-5/+10
| | | | | | | -Some address resolving related structures were not freed after use. -Some error messages were not printed out correctly. Approved by: jkh
* Teach passwd about a new "mixpasswordcase" login.conf parameter. If thisnik2000-02-111-5/+12
| | | | | | | | | | | | parameter is missing, or specified as above, then passwd behaves as normal when the user enters an all lower case password -- i.e., it prompts them to use mixed case, and will only grudgingly accept an all lower case password. If you negate this entry in login.conf, with "mixpasswordcase@", then passwd will allow all lower case passwords without complaining. Approved by: jkh
* Teach passwd about a new "mixpasswordcase" login.conf parameter. If thisnik2000-02-111-2/+11
| | | | | | | | | | | | parameter is missing, or specified as above, then passwd behaves as normal when the user enters an all lower case password -- i.e., it prompts them to use mixed case, and will only grudgingly accept an all lower case password. If you negate this entry in login.conf, with "mixpasswordcase@", then passwd will allow all lower case passwords without complaining. Approved by: jkh
* Add more dual stack consideration.shin2000-02-101-27/+96
| | | | | | | | | | | | | | -Should retry as much as possible when some of source routing intermediate hosts' address families missmatch happened. (such as when a host has only A record, and another host has each of A and AAAA record.) -Should retry as much as possible when dest addr and source addr(specified with -s option) address family missmatch happend Approved by: jkh
* Let ftp command use only PORT(no EPRT) for IPv4 destination.shin2000-02-091-1/+0
| | | | | | | | | Because if ftpd is invoked with -R option, and EPRT is used via firewal or NAT which don't understand EPRT, then the data connection from ftpd to ftp client will fail. Reported By: ume@mahoroba.org Approved by: jkh
* There is a problem in that one cannot use ctype.h at the same time as partsobrien2000-02-082-70/+86
| | | | | | | | | | | | | | of the C++ stdlib. Our ctype.h uses symbols of the form _<X> to denote the various character classes. Our ctype.h also extends the usual ctype.h offering by adding the "_T" (special) class. Problem is parts of the STL also use the symbol "_T" as its parameterized type. These two uses are incompatible. Thus change the form of the symbols used in ctype to something that fixes the current problem and is less likely to cause conflicts in the future. Requested by: Tomoaki NISHIYAMA <tomoaki@biol.s.u-tokyo.ac.jp> Ok'ed by: JKH
* Fix telnet core dump at invalid service name specified.shin2000-02-071-0/+6
| | | | | | | | Added an error check to avoid it. Approved by: jkh Submitted by: Robert Muir <rmuir@gibralter.net>
* Move brandelf from being i386 specific to the MI area -- Linux emulationobrien2000-02-061-1/+1
| | | | is comming to the Alpha.
* Revert part of the last commit, remove {g|s}etflags from the libcjoe2000-02-055-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | interface, and statically link them to the programs using them. These functions, upon reflection and discussion, are too generically named for a library interface with such specific functionality. Also the api that they use, whilst ok for private use, isn't good enough for a libc function. Additionally there were complications with the build/install-world process. It depends heavily upon xinstall, which got broken by the change in api, and caused bootstrap problems and general mayhem. There is work in progress to address future problems that may be caused by changes in install-chain tools, and better names for {g|s}etflags can be derived when some future program requires them. For now the code has been left in src/lib/libc/gen (it started off in src/bin/ls). It's important to provide library functions for manipulating file flag strings if we ever want this interface to be adopted outside of the source tree, but now isn't necessarily the right moment with 4.0-release just around the corner. Approved: jkh
* Add NI_NAMEREQD flag to getnameinfo() call. Without this flag,shin2000-01-291-1/+1
| | | | | | | | getnameinfo() don't return error at name resolving failure. But it is used at doaddrlookup(-N) case in telnet, error need to be returned to correctly initialize hostname buffer. Discovered at checking recent KAME repository change, noticed by itojun.
* fix breakage of make release.shin2000-01-291-3/+10
| | | | Confirmed by: German Tischler <tanis@gaspode.franken.de>
* Fix typo's.asmodai2000-01-281-2/+2
| | | | | PR: 16430 Submitted by: Adam.Kranzel@teru.dyndns.org (shade@dnai.com)
* IPv6 multicast routing.shin2000-01-285-10/+237
| | | | | | | | | | | | | kernel IPv6 multicast routing support. pim6 dense mode daemon pim6 sparse mode daemon netstat support of IPv6 multicast routing statistics Merging to the current and testing with other existing multicast routers is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances the base code in KAME distribution. Make world check and kernel build check was also successful.
* Historically file flags (schg, uschg, etc) have been converted fromjoe2000-01-276-13/+3
| | | | | | | | | | | | | | | | | string to u_long and back using two functions, flags_to_string and string_to_flags, which co-existed with 'ls'. As time has progressed more and more other tools have used these private functions to manipulate the file flags. Recently I moved these functions from /usr/src/bin/ls to libutil, but after some discussion with bde it's been decided that they really ought to go in libc. There are two already existing libc functions for manipulating file modes: setmode and getmode. In keeping with these flags_to_string has been renamed getflags and string_to_flags to setflags. The manual page could probably be improved upon ;)
* cleanup using suggestions from bdemharo2000-01-271-4/+4
|
* Style change and comment difference per bde.mjacob2000-01-271-4/+7
| | | | | Obtained from:bde@freebsd.org Marionette by:mjacob@freebsd.org
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-2713-344/+802
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* Fixes for my mandoc braindamage.obrien2000-01-271-7/+19
| | | | Submitted by: sheldonh
* A cleaner fix to previous.mjacob2000-01-271-7/+10
| | | | Obtained from:bde@freebsd.org
* Fix ctags from core dumping on alpha. Let the diffs out to review,mjacob2000-01-271-5/+9
| | | | but I timed out. Added FreeBSD CVS header.
* Add human-readable output flag, -hmharo2000-01-253-16/+128
| | | | Reviewed by: obrien
* several tcp apps IPv6 updateshin2000-01-253-6/+20
| | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* Fxi various man pages to stop abusing the .Bx macro to generatempp2000-01-233-7/+7
| | | | | | | the string "FreeBSD". Use the .Fx macro instead. Also did some minor re-wording/formatting to work around a deficiency with the .Fx macro when it comes to puncuation characters other than periods and commas.
* Revert the change from memset() to bzero(), since bzero() is simplysheldonh2000-01-201-1/+1
| | | | | | | | | | a special case of memset and we already initialize all those members of the struct tm which are required by mktime(). The memset() is only necessary for style conformity with the rest of the file. :-) Scenic route tour by: bde
* Change the error message to be the FreeBSD one, not the OSF/1 one.obrien2000-01-191-2/+6
|
* ${.MAKE} -> ${MAKE}ru2000-01-191-1/+1
| | | | Reviewed by: hoek
* Utility to control the printing of "Fixed up unaligned data access for pidobrien2000-01-194-0/+233
| | | | | | | | nnn at pc 0xADDR" and the fixup of the UA fault on the DEC Alpha when an unaligned access fault happens. Modeled after the OSF/1 utility of the same name. Submitted by: gallatin
* Document truncation of strings when a NUL character is reached in a formatchris2000-01-191-0/+6
| | | | | | | string. PR: 15929 Submitted by: Daniel Hagan <dhagan@cs.vt.edu>
* Correctly parse broken MDTM responses from servers which formatsheldonh2000-01-181-16/+36
| | | | | | | | tm_year with "19%02d". PR: 15981 Reported by: klh@netcom.com (Ken Harrenstien) Reviewed by: bde
* Create tempfiles securely.kris2000-01-172-23/+16
| | | | Reviewed by: imp
* Fixed breakage of K&R support in rev.1.26. yyparse() was defined asbde2000-01-171-7/+7
| | | | | | `int yyparse(;) ; { ... }' in K&R mode. Getting rid of the second unwanted semicolon in this made the ifdef tangle more tangled than before. Fixed a backwards comment in the tangle.
OpenPOWER on IntegriCloud