summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Very big makeover in the way telnet, telnetd and libtelnet are built.markm2003-07-161-282/+0
| | | | | | | | | | | | | | | | | | | | | | | Previously, there were two copies of telnet; a non-crypto version that lived in the usual places, and a crypto version that lived in crypto/telnet/. The latter was built in a broken manner somewhat akin to other "contribified" sources. This meant that there were 4 telnets competing with each other at build time - KerberosIV, Kerberos5, plain-old-secure and base. KerberosIV is no longer in the running, but the other three took it in turns to jump all over each other during a "make buildworld". As the crypto issue has been clarified, and crypto _calls_ are not a problem, crypto/telnet has been repo-copied to contrib/telnet, and with this commit, all telnets are now "contribified". The contrib path was chosen to not destroy history in the repository, and differs from other contrib/ entries in that it may be worked on as "normal" BSD code. There is no dangerous crypto in these sources, only a very weak system less strong than enigma(1). Kerberos5 telnet and Secure telnet are now selected by using the usual macros in /etc/make.conf, and the build process is unsurprising and less treacherous.
* Mrege from crypto telnet with "make unifdef". This gets a bunch ofmarkm2003-05-111-5/+5
| | | | $FreeBSD$ tags and some debug variable safety belts.
* Unifdef(1) the crypto telnet sources.markm2002-09-251-4/+0
|
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* After running "make unifdef", commit the result. This code is nowmarkm2001-11-301-61/+19
| | | | a complete subset of the crypto (master) code.
* Use strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.sobomax2001-10-161-1/+1
| | | | MFC after: 2 weeks
* Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.markm2001-08-291-3/+0
|
* Code merge and diff reduction between this and crypto telnet.markm2001-08-201-57/+19
| | | | | Also remove useless AUTHENTICATION code. We have never compiled this here, and it is doubtful that it even works without crypto.
* Document -u in the usage().ru2001-07-051-9/+9
| | | | Make usage fit on a standard 80-column display.
* A feature to allow one to telnet to a unix domain socket.dillon2001-05-231-1/+4
| | | | Obtained from: Lyndon Nerenberg <lyndon@orthanc.ab.ca>
* getopt and friends are declared in <unistd.h>imp2000-09-041-3/+3
| | | | getopt returns -1 not EOF.
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-271-3/+43
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* Add "-N" option to the SYNOPSIS and usage().ru1999-06-171-3/+3
|
* Add "-s src_addr" option to allow setting of the source IP address.ru1999-06-161-6/+16
|
* Add "-N" option to supress reverse name lookup.billf1998-12-141-1/+4
| | | | | | | This comes in really handy when you're telneting the broken DNS server by IP. PR: bin/8698
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Remove obsolete SOCKSv4 supportpst1996-05-301-4/+0
|
* Add support for sockspst1996-04-231-0/+4
|
* Remove trailing whitespace.rgrimes1995-05-301-5/+5
|
* Fix big f*ckup by doing "make nocrypt"csgr1994-08-271-9/+0
| | | | | (Don't think I don't realize what a big f*ckup this was.) Submitted by: geoff.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+322
OpenPOWER on IntegriCloud