The NetBSD Project

CVS log for src/usr.bin/telnet/commands.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / telnet

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.80 / (download) - annotate - [select for diffs], Fri Jul 8 21:51:24 2022 UTC (19 months, 2 weeks ago) by mlelstv
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.79: +5 -5 lines
Diff to previous 1.79 (colored)

Prevent crashes as shown in PR 56918.

Revision 1.79 / (download) - annotate - [select for diffs], Sat Jan 9 18:26:03 2021 UTC (3 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.78: +8 -4 lines
Diff to previous 1.78 (colored)

preserve errno because we are doing system calls between error printing
and error setting.

Revision 1.78 / (download) - annotate - [select for diffs], Sat Jan 9 18:22:42 2021 UTC (3 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored)

restore perror -> warn (reported by Havard Eidnes)

Revision 1.70.14.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:48 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.70.14.1: +6 -5 lines
Diff to previous 1.70.14.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.77 / (download) - annotate - [select for diffs], Fri Oct 4 11:39:44 2019 UTC (4 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.76: +6 -5 lines
Diff to previous 1.76 (colored)

use memmove() instead of strncpy() for overlapping strings.
ensure nul termination.

Revision 1.70.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:24 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.70: +151 -279 lines
Diff to previous 1.70 (colored)

Sync with HEAD

Revision 1.70.12.2 / (download) - annotate - [select for diffs], Fri Jan 18 08:51:02 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.70.12.1: +18 -64 lines
Diff to previous 1.70.12.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

Synch with HEAD

Revision 1.76 / (download) - annotate - [select for diffs], Sat Jan 5 08:55:58 2019 UTC (5 years, 1 month ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.75: +13 -15 lines
Diff to previous 1.75 (colored)

Match the function prototype of encrypthandler instead of casting to it.
Make GCC 9 snapshot happier with the code

While here, remove unnecessary braces around return (KNF).

Revision 1.75 / (download) - annotate - [select for diffs], Sat Jan 5 06:47:24 2019 UTC (5 years, 1 month ago) by maya
Branch: MAIN
Changes since 1.74: +2 -46 lines
Diff to previous 1.74 (colored)

unifdef compatibility for old BSD servers. This has been
disabled, so no binary change. from openbsd.

Revision 1.74 / (download) - annotate - [select for diffs], Sat Jan 5 06:30:05 2019 UTC (5 years, 1 month ago) by maya
Branch: MAIN
Changes since 1.73: +7 -7 lines
Diff to previous 1.73 (colored)

Avoid unnecessary casts, from openbsd. No binary change.

Revision 1.70.12.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:11 2018 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.70: +146 -228 lines
Diff to previous 1.70 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.73 / (download) - annotate - [select for diffs], Fri Dec 14 23:40:17 2018 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-1226
Changes since 1.72: +144 -130 lines
Diff to previous 1.72 (colored)

minor cleanup:
- more const
- prevent overflow of the argument vector
- change a lot of unsigned to signed to eliminate casts

Revision 1.72 / (download) - annotate - [select for diffs], Fri Dec 14 06:08:18 2018 UTC (5 years, 2 months ago) by maya
Branch: MAIN
Changes since 1.71: +4 -5 lines
Diff to previous 1.71 (colored)

G/C In3270 - always false

Revision 1.71 / (download) - annotate - [select for diffs], Thu Dec 13 04:49:19 2018 UTC (5 years, 2 months ago) by maya
Branch: MAIN
Changes since 1.70: +2 -97 lines
Diff to previous 1.70 (colored)

unifdef TN3270 which is never defined (and wouldn't build if it was)
delete tn3270 file no longer needed.
SetIn3270(); expands to nothing now, so remove it.

No functional change.

Revision 1.68.22.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:25 2016 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.68: +3 -243 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Tue Oct 4 14:36:11 2016 UTC (7 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.69: +2 -3 lines
Diff to previous 1.69 (colored)

GC header left from earlier diagnostic test.

Revision 1.69 / (download) - annotate - [select for diffs], Tue Oct 4 14:35:38 2016 UTC (7 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.68: +4 -243 lines
Diff to previous 1.68 (colored)

Remove source routing support.

Revision 1.67.34.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:40 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.67: +80 -78 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

sync with head

Revision 1.68 / (download) - annotate - [select for diffs], Mon Jan 9 16:08:55 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, agc-symver-base, agc-symver
Branch point for: pgoyette-localcount
Changes since 1.67: +80 -78 lines
Diff to previous 1.67 (colored)

PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION
(rfc2941)
- Minimal diffs to separate MKCRYPTO from USE_KERBEROS

Revision 1.67 / (download) - annotate - [select for diffs], Mon Dec 18 14:18:40 2006 UTC (17 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.66: +4 -10 lines
Diff to previous 1.66 (colored)

volatile fixes from Anon Ymous

Revision 1.66 / (download) - annotate - [select for diffs], Thu May 11 00:25:46 2006 UTC (17 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

end the argument list to exec*(3) with a NULL instead of a bare '0', as
the latter isn't a pointer context in these varargs functions.

Revision 1.65 / (download) - annotate - [select for diffs], Fri May 5 00:03:22 2006 UTC (17 years, 9 months ago) by rpaulo
Branch: MAIN
Changes since 1.64: +8 -2 lines
Diff to previous 1.64 (colored)

Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292).
* RFC 3542 isn't binary compatible with RFC 2292.
* RFC 2292 support is on by default but can be disabled.
* update ping6, telnet and traceroute6 to the new API.

From the KAME project (www.kame.net).
Reviewed by core.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Apr 4 21:35:20 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.63: +9 -7 lines
Diff to previous 1.63 (colored)

Turn if/then/elif into a switch

Revision 1.63 / (download) - annotate - [select for diffs], Thu Feb 2 19:33:12 2006 UTC (18 years ago) by he
Branch: MAIN
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored)

Rename debug to telnet_debug, to allow static linking with libssh.a.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jan 25 04:20:54 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.61: +4 -5 lines
Diff to previous 1.61 (colored)

fix compilation after changes to telopts. I will revisit this and constify
it later.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Mon Apr 4 17:13:29 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Pull up revision 1.61 (requested by atatat in ticket #87):
charaters -> characters

Revision 1.61 / (download) - annotate - [select for diffs], Sun Apr 3 02:43:57 2005 UTC (18 years, 10 months ago) by atatat
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

charaters -> characters

Revision 1.60 / (download) - annotate - [select for diffs], Tue Nov 16 05:59:32 2004 UTC (19 years, 3 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.59: +2 -6 lines
Diff to previous 1.59 (colored)

NI_WITHSCOPEID was not picked up by IETF standardization process.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Mar 20 23:26:05 2004 UTC (19 years, 11 months ago) by heas
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.58: +3 -4 lines
Diff to previous 1.58 (colored)

- deal with a dead tty in ttyflush() by cleaning-up and exiting instead of
  returning a failure code and processing that all the way up the stack.
- deal with a dead peer similarly and do it without setjmp/longjmp() (at
  christos' request).

These fix bin/20304 and my own observations when the remote abruptly closes
the connection.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jan 5 23:23:37 2004 UTC (20 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Aug 7 11:16:08 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.56: +3 -7 lines
Diff to previous 1.56 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Jul 14 16:06:46 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.55: +3 -16 lines
Diff to previous 1.55 (colored)

more unifdef

Revision 1.55 / (download) - annotate - [select for diffs], Mon Jul 14 16:00:52 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.54: +2 -4 lines
Diff to previous 1.54 (colored)

more unifdef

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jul 14 15:56:28 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.53: +21 -76 lines
Diff to previous 1.53 (colored)

remove unneeded #ifdef.  (confirmed that same *.o is generated)

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jul 12 14:29:35 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.52: +7 -7 lines
Diff to previous 1.52 (colored)

use bounded copy ops

Revision 1.52 / (download) - annotate - [select for diffs], Sat Jul 12 13:33:08 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.51: +8 -12 lines
Diff to previous 1.51 (colored)

strlcpy

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jun 18 20:51:00 2003 UTC (20 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.50: +145 -248 lines
Diff to previous 1.50 (colored)

Ansify.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Apr 27 11:09:57 2003 UTC (20 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored)

one <sys/cdefs.h> include is enough
fixes PR misc/21340 by Igor Sobrado

Revision 1.49 / (download) - annotate - [select for diffs], Fri Aug 23 08:14:20 2002 UTC (21 years, 6 months ago) by kanaoka
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

- Support -4 and -6.  Approved by itojun.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jun 14 00:30:56 2002 UTC (21 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.47: +95 -141 lines
Diff to previous 1.47 (colored)

De-register, de-__P. Remove #ifndef __STDC__ parts.
defines.h: Be more careful with braces in macro definitions.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jan 6 01:02:47 2002 UTC (22 years, 1 month ago) by sjg
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.46: +5 -2 lines
Diff to previous 1.46 (colored)

Make telnet escape work in tn3270

PR: 1816

Revision 1.46 / (download) - annotate - [select for diffs], Mon Sep 3 07:51:43 2001 UTC (22 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.45: +4 -3 lines
Diff to previous 1.45 (colored)

just to be sure, set telnetport to 0.
From: Pekka Savola <pekkas@netcore.fi>

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jan 16 02:50:31 2001 UTC (23 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

comment or delete text after CPP directives.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jan 3 12:41:00 2001 UTC (23 years, 1 month ago) by mjl
Branch: MAIN
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

Fix possible buffer overruns. From OpenBSD, but without breaking stuff.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Thu Jun 22 07:09:05 2000 UTC (23 years, 8 months ago) by thorpej
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.42: +167 -7 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Update from trunk:
Bring the telnet situation back into better shape.  Specifically,
pull in just about all of the differences from the crypto-us telnet
suite (which includes Kerberos 4 and connection encryption support).
Also bring in the Kerberos 5 support from the Heimdal telnet, and
frob a little so that it can work with the non-Heimdal telnet suite.

There is still some work left to do, specifically:
- Add Heimdal's ticket forwarding support to the Berkeley Kerberos 4
  module.
- Add connection encryption support to the Heimdal Kerberos 5
  module.  Hints on this can be taken from the MIT Kerberos 5
  module which still exists in crypto-us.

However, even with the shortcomings listed above, this is a
better situation than using the stock Heimdal telnet suite,
which does not understand the IPSec policy stuff, and is also
based on much older code which contains bugs that we have already
fixed in the NetBSD sources.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 22 06:47:48 2000 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +167 -7 lines
Diff to previous 1.42 (colored)

Bring the telnet situation back into better shape.  Specifically,
pull in just about all of the differences from the crypto-us telnet
suite (which includes Kerberos 4 and connection encryption support).
Also bring in the Kerberos 5 support from the Heimdal telnet, and
frob a little so that it can work with the non-Heimdal telnet suite.

There is still some work left to do, specifically:
- Add Heimdal's ticket forwarding support to the Berkeley Kerberos 4
  module.
- Add connection encryption support to the Heimdal Kerberos 5
  module.  Hints on this can be taken from the MIT Kerberos 5
  module which still exists in crypto-us.

However, even with the shortcomings listed above, this is a
better situation than using the stock Heimdal telnet suite,
which does not understand the IPSec policy stuff, and is also
based on much older code which contains bugs that we have already
fixed in the NetBSD sources.

Revision 1.42 / (download) - annotate - [select for diffs], Thu May 25 23:02:53 2000 UTC (23 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (colored)

add missing #ifdef INET6, to compile without -DINET6.
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>

Revision 1.41 / (download) - annotate - [select for diffs], Thu May 25 12:25:14 2000 UTC (23 years, 9 months ago) by blymn
Branch: MAIN
Changes since 1.40: +8 -2 lines
Diff to previous 1.40 (colored)

Convert telnet and top to the new termcap interface.  This stops some
buffer overflows in top from ever happening.

Revision 1.40 / (download) - annotate - [select for diffs], Sat May 13 03:13:59 2000 UTC (23 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.39: +6 -3 lines
Diff to previous 1.39 (colored)

recover old error message on unknown service ("telnet localhost foo"
when foo is not valid).  gai_strerror may be too generic.
fix suggested in openbsd camp.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Feb 29 19:36:43 2000 UTC (23 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.38: +25 -19 lines
Diff to previous 1.38 (colored)

sync comment for sourceroute() to reality

Revision 1.38 / (download) - annotate - [select for diffs], Sat Feb 5 17:44:11 2000 UTC (24 years ago) by itojun
Branch: MAIN
Changes since 1.37: +12 -14 lines
Diff to previous 1.37 (colored)

use getnameinfo for "Trying ::1..." message, to enable printing of
IPv6 scopeid.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jan 31 14:25:42 2000 UTC (24 years ago) by itojun
Branch: MAIN
Changes since 1.36: +45 -35 lines
Diff to previous 1.36 (colored)

sync with latest libipsec/kernel.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jan 27 19:20:49 2000 UTC (24 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.35: +30 -27 lines
Diff to previous 1.35 (colored)

clarify reverse lookup and -N.
getaddrinfo(AI_CANONNAME) does not imply reverse lookup.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:37:13 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.31: +18 -18 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Pull up to last week's -current.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Dec 13 04:52:20 1999 UTC (24 years, 2 months ago) by itojun
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.34: +2 -9 lines
Diff to previous 1.34 (colored)

remove setuid(getuid()).  they are unnecessary as noone is going to
setuid telnet(1).

i'm not sure why it is here (maybe someone reused this code from
other setuid'ed program, or someone cut-and-pasted the code from
somewhere else?), it was from revision 1.1 (= 4.4BSD).

briefly discussed in: tech-net?

Revision 1.34 / (download) - annotate - [select for diffs], Fri Dec 3 06:52:13 1999 UTC (24 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.33: +13 -7 lines
Diff to previous 1.33 (colored)

clarify getaddrinfo() loop.  try to contact all possible addresses
unless we experience fatal error.
XXX changed location of setuid(getuid()), may need someone's review.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Dec 3 06:34:24 1999 UTC (24 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.32: +8 -7 lines
Diff to previous 1.32 (colored)

clarify reverse address lookup (-N).  AI_NUMERICHOST is for forward lookup.

XXX RFC2553 does not say that AI_CANONNAME means reverse lookup.
we need to check if getaddrinfo(3) implementation is correct.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Sep 30 12:35:52 1999 UTC (24 years, 4 months ago) by soren
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Remove extraneous colons and newlines from perror(3) arguments.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 28 06:35:15 1999 UTC (24 years, 7 months ago) by abs
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.30: +6 -3 lines
Diff to previous 1.30 (colored)

Add -N option (numeric host address) - idea taken from FreeBSD.
Fix bug where -E8 would still pick up 0xFF as escape (again from FreeBSD)

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jul 21 13:24:56 1999 UTC (24 years, 7 months ago) by jtk
Branch: MAIN
Changes since 1.29: +6 -2 lines
Diff to previous 1.29 (colored)

fix handling of port number preceded by minus sign to restore documented behavior

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jul 14 20:47:41 1999 UTC (24 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.28: +56 -43 lines
Diff to previous 1.28 (colored)

clarify socket-connect trial loop.  fix freeaddrinfo().
adjust indentation (commands.c uses sw=4 ts=8).

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 12 22:10:52 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Whitespace cleanup.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jul 2 15:11:53 1999 UTC (24 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored)

bark if mismatched address families are found on source route.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jul 2 15:09:10 1999 UTC (24 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.25: +273 -209 lines
Diff to previous 1.25 (colored)

IPv6-ready telnet.
source route (telnet @localhost@localhost) works for IPv6 as well.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Nov 6 19:54:18 1998 UTC (25 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.24: +14 -17 lines
Diff to previous 1.24 (colored)

- synchronize with the domestic version
- setupterm -> setup_term
- char -> unsigned char

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jul 26 22:35:48 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +6 -5 lines
Diff to previous 1.23 (colored)

const poisoning.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jul 9 18:34:02 1998 UTC (25 years, 7 months ago) by msaitoh
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

Declare ints, too, don't default them.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jul 7 13:20:12 1998 UTC (25 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.21: +3 -4 lines
Diff to previous 1.21 (colored)

Fix pasto in previous.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 6 06:56:06 1998 UTC (25 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.20: +5 -4 lines
Diff to previous 1.20 (colored)

- use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames

Revision 1.20 / (download) - annotate - [select for diffs], Mon Mar 30 02:30:08 1998 UTC (25 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored)

use static int instead of static

Revision 1.19 / (download) - annotate - [select for diffs], Thu Mar 5 08:10:06 1998 UTC (25 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +6 -2 lines
Diff to previous 1.18 (colored)

Avoid GCC warning on m68k.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Mar 4 13:51:57 1998 UTC (25 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.17: +2 -4 lines
Diff to previous 1.17 (colored)

Adjust for tn3270 cleanup.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 3 07:32:46 1998 UTC (25 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Add a cast to make the compiler happy on the Alpha.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Feb 28 12:36:20 1998 UTC (26 years ago) by enami
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Fix compile error of tn3270/tn3270; getpgrp() takes no argument.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 27 10:44:12 1998 UTC (26 years ago) by christos
Branch: MAIN
Changes since 1.14: +201 -139 lines
Diff to previous 1.14 (colored)

WARNSify and fix problems passing int * -> long *

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 24 22:03:48 1996 UTC (27 years, 11 months ago) by jtk
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.13: +7 -3 lines
Diff to previous 1.13 (colored)

sync up with domestic fixes

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 28 21:03:53 1996 UTC (28 years ago) by thorpej
Branch: MAIN
Changes since 1.12: +7 -2 lines
Diff to previous 1.12 (colored)

RCS id cosmetics.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 24 18:43:39 1996 UTC (28 years ago) by jtk
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

restore last of the lost local changes.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Feb 24 18:33:50 1996 UTC (28 years ago) by jtk
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

replace another lost change: "help" is a valid hostname.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Feb 24 01:18:33 1996 UTC (28 years ago) by jtk
Branch: MAIN
Changes since 1.9: +52 -44 lines
Diff to previous 1.9 (colored)

update to 95.10.23 version of telnet
also, RCS ID police

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 5 04:19:30 1996 UTC (28 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

contrary to unpopular opinion, 'help' is a perfectly valid hostname.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 3 06:24:48 1995 UTC (29 years, 1 month ago) by hpeyerl
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Squish #581.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 24 17:50:00 1994 UTC (29 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

headers, and use INADDR_NONE appropriately.

Revision 1.6 / (download) - annotate - [select for diffs], Sun May 8 20:42:26 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

020 -> IPTOS_LOWDELAY

Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 25 03:00:22 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.4: +151 -198 lines
Diff to previous 1.4 (colored)

new telnet from ftp.cray.com.  Encryption support ripped out, pending
figuring out what to do about it...

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 1 18:07:25 1993 UTC (30 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Add RCS identifiers.

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 29 15:13:32 1993 UTC (30 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored)

fix sending simple commands, from Jonathan Stone <jonathan@CS.Stanford.EDU>

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 19 07:28:01 1993 UTC (30 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +14 -10 lines
Diff to previous 1.1 (colored)

Cleanup for GCC 2.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (30 years, 11 months ago) by cgd
Branch: WFJ-920714
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>