The NetBSD Project

CVS log for src/libexec/telnetd/telnetd.c

[BACK] Up to [cvs.NetBSD.org] / src / libexec / telnetd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.59 / (download) - annotate - [select for diffs], Thu Sep 21 14:00:34 2023 UTC (5 months, 1 week ago) by shm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.58: +3 -2 lines
Diff to previous 1.58 (colored)

Fix memory leak - free resources allocated by getaddrinfo

Revision 1.55.18.1 / (download) - annotate - [select for diffs], Mon Aug 29 16:14:57 2022 UTC (18 months ago) by martin
Branch: netbsd-8
Changes since 1.55: +7 -7 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Pull up following revision(s) (requested by dholland in ticket #1757):

	libexec/telnetd/telnetd.c: revision 1.58 (via patch)

telnetd: fix the crash that's been talked about the past couple days.

(Move initialization of the slc table earlier so it doesn't get
accessed before that happens.)

Calling the crash a DoS or security problem is a bit overwrought; it's
just a bug.

Revision 1.55.28.2 / (download) - annotate - [select for diffs], Mon Aug 29 16:13:25 2022 UTC (18 months ago) by martin
Branch: netbsd-9
Changes since 1.55.28.1: +7 -7 lines
Diff to previous 1.55.28.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Pull up following revision(s) (requested by dholland in ticket #1508):

	libexec/telnetd/telnetd.c: revision 1.58 (via patch)

telnetd: fix the crash that's been talked about the past couple days.

(Move initialization of the slc table earlier so it doesn't get
accessed before that happens.)

Calling the crash a DoS or security problem is a bit overwrought; it's
just a bug.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Aug 26 19:30:44 2022 UTC (18 months ago) by dholland
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.57: +7 -7 lines
Diff to previous 1.57 (colored)

telnetd: fix the crash that's been talked about the past couple days.

(Move initialization of the slc table earlier so it doesn't get
accessed before that happens.)

Calling the crash a DoS or security problem is a bit overwrought; it's
just a bug.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Dec 8 20:21:09 2021 UTC (2 years, 2 months ago) by andvar
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

s/desireable/desirable/ in comments.

Revision 1.55.26.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:19 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.55: +6 -10 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.55.28.1 / (download) - annotate - [select for diffs], Fri Aug 16 19:12:46 2019 UTC (4 years, 6 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.55: +6 -10 lines
Diff to previous 1.55 (colored)

Pull up following revision(s) (requested by kamil in ticket #61):

	libexec/telnetd/telnetd.c: revision 1.56
	libexec/telnetd/sys_term.c: revision 1.49

telnetd: Stop defining the same variables concurrently in bss and data
auth_level and require_secure_login were defined in two places:

 - global.c that picked it from headers and removed 'extern'
 - telnetd.c that initialized it to 0

line was defined twice: in global.c and sys_term.c with a non-zero value.

Remove the definition and initialization from sys_term.c and initialize
the variable early in main().

Detected during the build of telned with Address Sanitizer (MKSANITIZER).
Reviewed by <mrg>

Revision 1.56 / (download) - annotate - [select for diffs], Thu Aug 15 01:15:21 2019 UTC (4 years, 6 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.55: +6 -10 lines
Diff to previous 1.55 (colored)

telnetd: Stop defining the same variables concurrently in bss and data

auth_level and require_secure_login were defined in two places:

 - global.c that picked it from headers and removed 'extern'
 - telnetd.c that initialized it to 0

line was defined twice: in global.c and sys_term.c with a non-zero value.
Remove the definition and initialization from sys_term.c and initialize
the variable early in main().

Detected during the build of telned with Address Sanitizer (MKSANITIZER).

Reviewed by <mrg>

Revision 1.54.6.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:23 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.54: +2 -5 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.52.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:37:14 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.52.4.1: +2 -5 lines
Diff to previous 1.52.4.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.55 / (download) - annotate - [select for diffs], Thu Feb 27 18:20:21 2014 UTC (10 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, 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, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, 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-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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, netbsd-9, netbsd-8
Changes since 1.54: +2 -5 lines
Diff to previous 1.54 (colored)

Global variable is never a null pointer.

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:37 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.52: +12 -12 lines
Diff to previous 1.52 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Tue Jan 10 23:39:11 2012 UTC (12 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.53: +7 -8 lines
Diff to previous 1.53 (colored)

Use __dead

Revision 1.53 / (download) - annotate - [select for diffs], Mon Jan 9 16:36:48 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.52: +7 -6 lines
Diff to previous 1.52 (colored)

PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION
(rfc2941)
- separate MKCRYPTO from USE_KERBEROS
- WARNS=4

Revision 1.52 / (download) - annotate - [select for diffs], Sun Apr 24 21:18:24 2011 UTC (12 years, 10 months ago) by elric
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

#include <com_err.h> -> #include <krb5/com_err.h>.

Revision 1.50.20.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:18 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Jul 20 01:09:07 2008 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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, 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, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.

Revision 1.50 / (download) - annotate - [select for diffs], Tue May 9 20:18:07 2006 UTC (17 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, 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, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-revivesa
Changes since 1.49: +6 -4 lines
Diff to previous 1.49 (colored)

change (mostly) int to socklen_t.  GCC 4 doesn't like that int and
socklen_t are different signness.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Feb 2 18:31:12 2006 UTC (18 years, 1 month ago) by he
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Make the debug variable static, to accomodate static linking with libssh.a.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Fri Jul 1 15:15:02 2005 UTC (18 years, 8 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Apply patch (requested by lha in ticket #2041):
Remove static local variable so its easier to correctly use strlcpy.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Fri Jul 1 15:12:47 2005 UTC (18 years, 8 months ago) by tron
Branch: netbsd-2
CVS Tags: 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
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Apply patch (requested by lha in ticket #2041):
Remove static local variable so its easier to correctly use strlcpy.

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Mon Jun 27 09:20:13 2005 UTC (18 years, 8 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.46.2.1: +2 -2 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

Pull up revision 1.48 (requested by lha in ticket #502):
Remove static local variable so its easier to correctly use strlcpy.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jun 21 22:29:53 2005 UTC (18 years, 8 months ago) by lha
Branch: MAIN
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

Remove static local variable so its easier to correctly use strlcpy.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Mon Jun 13 22:07:52 2005 UTC (18 years, 8 months ago) by tron
Branch: netbsd-3
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored)

Pull up revision 1.47 (requested by lukem in ticket #400):
Ensure IF is initialized before trying to use it.
Found with -Wuninitialized.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jun 1 15:57:40 2005 UTC (18 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored)

Ensure IF is initialized before trying to use it.
Found with -Wuninitialized.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Feb 6 05:58:21 2005 UTC (19 years ago) by perry
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.45: +27 -34 lines
Diff to previous 1.45 (colored)

de-__P, ANSIfy function declarations, remove obsolete "register" declarations.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Nov 30 04:13:43 2004 UTC (19 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored)

PR/28473: Jed Davis: telnetd loses data and corrupts crypto state due to
typo in use of poll(). There was an && instead of an & (hi charles)

Revision 1.44 / (download) - annotate - [select for diffs], Sun Nov 14 18:07:56 2004 UTC (19 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

Pass -a [srrvis'd struct sockaddr] to login, so that login can record the
address where we have logged in from.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Aug 7 09:46:52 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-base, 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-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2-0, netbsd-2
Changes since 1.42: +3 -7 lines
Diff to previous 1.42 (colored)

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

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

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jul 22 00:03:26 2003 UTC (20 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.41: +2 -5 lines
Diff to previous 1.41 (colored)

Since telnetd has ignored the USER environment variable for logging in for
quite a bit of time, make telnetd ignore it completely now.  This results
in the :if=: entry in the default gettytab entry to honored instead of
being ignored.  The -h option to telnetd will continue to suppress the
inclusion of :if=:

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jul 15 10:14:54 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.40: +7 -6 lines
Diff to previous 1.40 (colored)

use bounded string op.  bump shlib major for libtelnet due to API change.

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

SIGINFO is defined

Revision 1.39 / (download) - annotate - [select for diffs], Mon Jul 14 15:55:55 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.38: +25 -483 lines
Diff to previous 1.38 (colored)

remove unneeded #ifdefs.  improves readability.
(confirmed that exact same *.o is produced)

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jul 13 09:40:21 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

use bounded string op (there still are remains)

Revision 1.37 / (download) - annotate - [select for diffs], Sat May 17 21:28:53 2003 UTC (20 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.36: +5 -8 lines
Diff to previous 1.36 (colored)

use strlcpy

Revision 1.36 / (download) - annotate - [select for diffs], Fri May 9 20:50:35 2003 UTC (20 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.35: +6 -3 lines
Diff to previous 1.35 (colored)

PR/21233: Onno van der Linden: -U option does not work as advertised.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Sep 20 19:11:17 2002 UTC (21 years, 5 months ago) by mycroft
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.34: +5 -7 lines
Diff to previous 1.34 (colored)

Remove dead code.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Sep 18 20:58:56 2002 UTC (21 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.33: +32 -40 lines
Diff to previous 1.33 (colored)

select() -> poll()

Revision 1.33 / (download) - annotate - [select for diffs], Tue Aug 20 13:58:22 2002 UTC (21 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.32: +10 -2 lines
Diff to previous 1.32 (colored)

add some more ifdefs, so that we don't define variables we don't use.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jan 31 07:54:50 2002 UTC (22 years, 1 month ago) by itojun
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.31: +8 -4 lines
Diff to previous 1.31 (colored)

implement -u <len>. PR 13676

Revision 1.31 / (download) - annotate - [select for diffs], Sun Sep 2 18:56:26 2001 UTC (22 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

-edebug should only be mentioned in the help #ifdef ENCRYPTION, not #ifdef
AUTHENTICATION. Noted (with patch) by Brian Ginsbach.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Aug 30 23:25:16 2001 UTC (22 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.29: +2 -22 lines
Diff to previous 1.29 (colored)

Remove code #ifdef'd on NEWINIT (never used on NetBSD).
Sync with Cray, patch by Brian Ginsbach in private mail.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Aug 24 00:14:04 2001 UTC (22 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.28: +2 -64 lines
Diff to previous 1.28 (colored)

Remove lots of #ifdef's for dead Cray hardware and obsolete UNICOS releases;
also some Cray-specific fixes. No change for NetBSD.
From Brian Ginsbach of Cray Inc. in bin/13614 and private mail.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Aug 20 11:14:05 2001 UTC (22 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Fix typo, and duplicate ';'. From bin/13667 by Brian Ginsbach.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Aug 20 11:01:48 2001 UTC (22 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.26: +8 -8 lines
Diff to previous 1.26 (colored)

Add some (const char *) casts per bin/13667 by Brian Ginsbach.

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Sun Jul 29 04:13:09 2001 UTC (22 years, 7 months ago) by jhawk
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002
Changes since 1.20.4.1: +28 -34 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Pull up revision 1.26 (requested by itojun):
  Security-related fixups for telnet
    Bound-check all "*nfrontp++" code.  From OpenBSD and Heimdal.
    Complain if file descriptor goes above FD_SETSIZE.  From OpenBSD.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 19 04:57:50 2001 UTC (22 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.25: +28 -34 lines
Diff to previous 1.25 (colored)

bound-check all "*nfrontp++" code.  from openbsd/heimdal.
bark if file descriptor goes above FD_SETSIZE.  from openbsd.

XXX needs more checking.
XXX what is tab stop size for this code?  need more consistency...
XXX we should really remove #ifdef CRAY, UNICOS5 and such.
we just cannot read it through.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Feb 4 22:32:17 2001 UTC (23 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.24: +6 -12 lines
Diff to previous 1.24 (colored)

fix redundant declarations.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 10 02:51:37 2001 UTC (23 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

use LOG_ERR for fatal errors, LOG_WARNING for other errors
minor knf
deprecate LOG_ODELAY; it's the default

Revision 1.23 / (download) - annotate - [select for diffs], Sun Nov 19 20:17:39 2000 UTC (23 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.22: +4 -5 lines
Diff to previous 1.22 (colored)

Buffer overflow and environment passing fixes [originally inspired from
FreeBSD]. We really didn't need the environment fixes, but for the sake
of keeping the code as close as possible...

Revision 1.22 / (download) - annotate - [select for diffs], Fri Aug 18 03:25:52 2000 UTC (23 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.21: +6 -6 lines
Diff to previous 1.21 (colored)

make error case handling in -daemon case meet with other portion of the code.
(use fprintf-then-exit, not errx - costmetic)

Revision 1.20.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-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.20: +91 -7 lines
Diff to previous 1.20 (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.21 / (download) - annotate - [select for diffs], Thu Jun 22 06:47:49 2000 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +91 -7 lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Thu Jan 13 13:11:31 2000 UTC (24 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.19: +23 -9 lines
Diff to previous 1.19 (colored)

Make 'if' capability from gettytab work. *shudder*.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:30:17 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up to last week's -current.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 16 06:00:24 1999 UTC (24 years, 2 months ago) by itojun
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

do not touch __ss_len directly, they are not supposed to be touched.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 11 03:04:14 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

Nuke some whitespace.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 11 03:00:07 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Put the RCS ID in the correct place.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jul 2 06:32:08 1999 UTC (24 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.15: +74 -48 lines
Diff to previous 1.15 (colored)

dual-stack telnetd.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 12 05:30:12 1999 UTC (25 years ago) by dean
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.14: +10 -10 lines
Diff to previous 1.14 (colored)

Fix for PR 5821
- s/SecurID/SECURELOGIN/g and define SECURELOGIN in Makefile
- update man page to reflect S/Key and Kerboros authentication used
  not SecurID

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

Declare ints, too, don't default them.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 6 06:49:41 1998 UTC (25 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.12: +6 -5 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Mon Oct 20 02:12:17 1997 UTC (26 years, 4 months ago) by enami
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
Changes since 1.11: +2 -4 lines
Diff to previous 1.11 (colored)

No need to declare optind and optarg.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 16 06:52:52 1997 UTC (26 years, 4 months ago) by mikel
Branch: MAIN
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored)

don't include <sys/cdefs.h> twice, kill old-style getpty() declaration

Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 14 01:16:43 1997 UTC (26 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

use <termcap.h>

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 8 08:45:13 1997 UTC (26 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.8: +27 -14 lines
Diff to previous 1.8 (colored)

WARNS?=1.  RCS ids.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 8 01:09:02 1997 UTC (26 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Put a whitespace after the keyword `switch'.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 8 01:08:08 1997 UTC (26 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Compare a return value of getopt() against -1 instead of EOF.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Mar 20 04:25:57 1996 UTC (27 years, 11 months ago) by tls
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.5: +8 -4 lines
Diff to previous 1.5 (colored)

apply Thorsten's patch to add gettytab support to telnetd.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 28 20:38:23 1996 UTC (28 years ago) by thorpej
Branch: MAIN
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored)

RCS id cosmetics.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 24 01:22:23 1996 UTC (28 years ago) by jtk
Branch: MAIN
Changes since 1.3: +44 -15 lines
Diff to previous 1.3 (colored)

update to telnetd from 95.10.23 version.  Includes Borman's scrub_env()
to keep stuff out of the environment on the way to exec (we already have
one in the state machine that keeps them from arriving over the wire, so
this should be redundant, but it'll make any further updates easier to
have it present).

also, RCS Id police.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sat Sep 24 00:42:23 1994 UTC (29 years, 5 months ago) by mycroft
Branch: WFJ-920714, CSRG
CVS Tags: lite-1
Changes since 1.1.1.1: +390 -57 lines
Diff to previous 1.1.1.1 (colored)

Import original 4.4-Lite version.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Feb 25 03:20:59 1994 UTC (30 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1, 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.2: +378 -77 lines
Diff to previous 1.2 (colored)

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

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

Add RCS identifiers.

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, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, 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>