The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 18 19:44:57 2024 UTC (8 weeks ago) by martin
Branches: netbsd-9
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.1: +8 -4 lines
Pull up following revision(s) (requested by riastradh in ticket #1927):

	lib/libtelnet/encrypt.h: revision 1.10
	libexec/telnetd/telnetd.c: revision 1.59
	libexec/telnetd/sys_term.c: revision 1.50
	lib/libtelnet/encrypt.c: revision 1.20
	lib/libtelnet/enc_des.c: revision 1.18
	lib/libtelnet/enc-proto.h: revision 1.11
	libexec/telnetd/state.c: revision 1.33
	libexec/telnetd/state.c: revision 1.35
	libexec/telnetd/telnetd.c: revision 1.60

Fix memory leak - free resources allocated by getaddrinfo

Fix off by one in telrcv()

In case of "\r" in the data buffer, the code was unconditionally looking ahead
to next character, even if "\r" was last character in the buffer. That
condition leads to read outside of the data (one byte after the array)
Thanks christos@ for the review
PR bin/58787  libtelnet - avoid using a global variable


From RVP -- make 'encrypt_debug_mode' be a static (file scope)
variable instead of extern, and convert the (had been recently
anyway) unused function encrypt_debug() into an accensor function
for it.

This is the minor (almost irrelevant) change from PR bin/58787
PR bin/58787  telnetd - handle auto authentication better
Apparently from FreeBSD via RVP -- but FreeBSD deleted telnetd
more than 2 years ago, so I assume instead from

        https://github.com/cschuber/freebsd-telnet/tree/main/contrib/telnet

Revision 1.49.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 18 19:42:41 2024 UTC (8 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +8 -4 lines
Pull up following revision(s) (requested by riastradh in ticket #1013):

	lib/libtelnet/encrypt.h: revision 1.10
	libexec/telnetd/telnetd.c: revision 1.59
	libexec/telnetd/sys_term.c: revision 1.50
	lib/libtelnet/encrypt.c: revision 1.20
	lib/libtelnet/enc_des.c: revision 1.18
	lib/libtelnet/enc-proto.h: revision 1.11
	libexec/telnetd/state.c: revision 1.33
	libexec/telnetd/state.c: revision 1.35
	libexec/telnetd/telnetd.c: revision 1.60

Fix memory leak - free resources allocated by getaddrinfo

Fix off by one in telrcv()

In case of "\r" in the data buffer, the code was unconditionally looking ahead
to next character, even if "\r" was last character in the buffer. That
condition leads to read outside of the data (one byte after the array)
Thanks christos@ for the review
PR bin/58787  libtelnet - avoid using a global variable


From RVP -- make 'encrypt_debug_mode' be a static (file scope)
variable instead of extern, and convert the (had been recently
anyway) unused function encrypt_debug() into an accensor function
for it.

This is the minor (almost irrelevant) change from PR bin/58787
PR bin/58787  telnetd - handle auto authentication better
Apparently from FreeBSD via RVP -- but FreeBSD deleted telnetd
more than 2 years ago, so I assume instead from

        https://github.com/cschuber/freebsd-telnet/tree/main/contrib/telnet

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Oct 29 13:10:10 2024 UTC (2 months, 2 weeks ago) by kre
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +8 -4 lines
PR bin/58787  telnetd - handle auto authentication better

Apparently from FreeBSD via RVP -- but FreeBSD deleted telnetd
more than 2 years ago, so I assume instead from
	https://github.com/cschuber/freebsd-telnet/tree/main/contrib/telnet

Revision 1.47.28.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:19 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.47.28.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.28.1: +2 -9 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 16 19:12:46 2019 UTC (5 years, 5 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -9 lines
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.49: download - view: text, markup, annotated - select for diffs
Thu Aug 15 01:15:21 2019 UTC (5 years, 5 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: netbsd-10
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -9 lines
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.47.28.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:30 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -5 lines
Sync with HEAD

Revision 1.47.26.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:28 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +2 -5 lines
Sync with HEAD, resolve a few conflicts

Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Dec 13 04:29:18 2018 UTC (6 years, 1 month ago) by maya
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -5 lines
Remove unused macros.

Revision 1.45.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:23 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.45.6.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.6.1: +5 -6 lines
Rebase to HEAD as of a few days ago.

Revision 1.44.34.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:37:14 2014 UTC (10 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.44.34.2: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.34.2: +5 -6 lines
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.47: download - view: text, markup, annotated - select for diffs
Fri Jun 28 15:48:02 2013 UTC (11 years, 6 months ago) by christos
Branches: 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, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, 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-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-3-RELEASE, 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, 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, pgoyette-compat
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -6 lines
fix wrong variable check, remove casts
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html

Revision 1.44.34.2: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:32:30 2013 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.44.34.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.34.1: +7 -3 lines
sync with (a bit old) head

Revision 1.45.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:00:46 2012 UTC (12 years, 1 month ago) by tls
Branches: tls-maxphys
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +7 -3 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Nov 4 21:57:40 2012 UTC (12 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, agc-symver-base, agc-symver
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +7 -3 lines
Only include the headers we use and remove useless variable.

Revision 1.44.34.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:37 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -6 lines
sync with head

Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Jan 9 16:36:48 2012 UTC (13 years ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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
Branch point for: tls-maxphys
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -6 lines
PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION
(rfc2941)
- separate MKCRYPTO from USE_KERBEROS
- WARNS=4

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jan 17 21:44:50 2007 UTC (18 years ago) by hubertf
Branches: 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-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
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -5 lines
Remove duplicated #includes and some trailing whitespace while here.
From Slava Semushin <slava.semushin@gmail.com>

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu May 5 01:28:57 2005 UTC (19 years, 8 months ago) by lukem
Branches: 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
use _PATH_DEV instead of "/dev/"

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Feb 6 05:58:21 2005 UTC (19 years, 11 months ago) by perry
Branches: MAIN
CVS tags: netbsd-3-base, 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, netbsd-3
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +50 -76 lines
de-__P, ANSIfy function declarations, remove obsolete "register" declarations.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Nov 14 18:07:56 2004 UTC (20 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +16 -9 lines
Pass -a [srrvis'd struct sockaddr] to login, so that login can record the
address where we have logged in from.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Sep 19 05:54:46 2003 UTC (21 years, 4 months ago) by itojun
Branches: 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
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +7 -4 lines
realloc pedannt

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Aug 7 09:46:52 2003 UTC (21 years, 5 months ago) by agc
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -7 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

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

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Jul 14 16:23:40 2003 UTC (21 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -29 lines
more cleanups

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jul 14 16:16:42 2003 UTC (21 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -103 lines
remove unused function
XXX what's the difference between #ifdef UTMPX and #ifdef SUPPORT_UTMPX

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jul 14 15:55:54 2003 UTC (21 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +42 -1337 lines
remove unneeded #ifdefs.  improves readability.
(confirmed that exact same *.o is produced)

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Jul 13 09:40:20 2003 UTC (21 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -4 lines
use bounded string op (there still are remains)

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Aug 22 07:23:27 2002 UTC (22 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +9 -13 lines
use strlcpy.  minor style fixes

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Aug 20 13:58:22 2002 UTC (22 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -2 lines
add some more ifdefs, so that we don't define variables we don't use.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Aug 20 13:12:00 2002 UTC (22 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +8 -2 lines
PR/17999: FUKAUMI Naoki: Support wtmpx entries.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Sep 2 18:32:35 2001 UTC (23 years, 4 months ago) by wiz
Branches: 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
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +38 -38 lines
Fix #ifdef indentation after recent removal of #ifdef NEWINIT-code.
Patch by Brian Ginsbach.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Aug 30 23:25:15 2001 UTC (23 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -101 lines
Remove code #ifdef'd on NEWINIT (never used on NetBSD).
Sync with Cray, patch by Brian Ginsbach in private mail.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Aug 29 00:32:26 2001 UTC (23 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -2 lines
Cray-only patch (sync with cray). Patch by Brian Ginsbach in private mail.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:14:04 2001 UTC (23 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +13 -90 lines
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.27: download - view: text, markup, annotated - select for diffs
Mon Aug 20 11:34:01 2001 UTC (23 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
Rename variable to avoid shadowing.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Aug 20 11:19:29 2001 UTC (23 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
Improve whitespace a bit, per bin/13667 by Brian Ginsbach.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Aug 20 11:13:17 2001 UTC (23 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -8 lines
Typo fixes and syslog string improvements, from bin/13667 by Brian Ginsbach.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Aug 20 11:04:52 2001 UTC (23 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
Fix type of last execl argument, inspired by bin/13667.

Revision 1.18.4.3: download - view: text, markup, annotated - select for diffs
Sun Jul 29 04:13:05 2001 UTC (23 years, 5 months ago) by jhawk
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002
Diff to: previous 1.18.4.2: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.4.2: +17 -17 lines
Pull up revision 1.23 via patch (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.23: download - view: text, markup, annotated - select for diffs
Thu Jul 19 04:57:50 2001 UTC (23 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +18 -18 lines
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.22: download - view: text, markup, annotated - select for diffs
Sun Feb 4 22:32:16 2001 UTC (23 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +11 -12 lines
fix redundant declarations.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jan 10 02:51:37 2001 UTC (24 years ago) by lukem
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -8 lines
use LOG_ERR for fatal errors, LOG_WARNING for other errors
minor knf
deprecate LOG_ODELAY; it's the default

Revision 1.18.4.2: download - view: text, markup, annotated - select for diffs
Fri Dec 15 00:37:19 2000 UTC (24 years, 1 month ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH001
Diff to: previous 1.18.4.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.4.1: +10 -11 lines
Pull down (revert) revision 1.19 (requested by tv):
  1.19 would require a header file update, and is not really
  required.

Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Thu Dec 14 23:02:53 2000 UTC (24 years, 1 month ago) by he
Branches: netbsd-1-5
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +47 -18 lines
Pull up revisions 1.19-1.20 (requested by assar):
  Fix buffer overflow and environment passing problems, and only
  accept a limites set of environment variables and non-filename
  TERMCAP variables.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Dec 9 00:50:21 2000 UTC (24 years, 1 month ago) by assar
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +38 -21 lines
(scrub_env): change to only accept a listed set of variables,
including only non-filename contents for TERMCAP

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Nov 19 20:17:39 2000 UTC (24 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +22 -10 lines
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.15.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 8 18:10:46 2000 UTC (25 years ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +6 -4 lines
Pull up revision 1.18 (requested by itojun):
  Abort if memory for execv(2) argument array cannot be allocated
  instead of passing an array with incomplete contents to login(1).
  Fixes PR#9082.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Dec 31 12:42:35 1999 UTC (25 years ago) by tron
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -4 lines
Abort if memory for execv(2) argument array cannot be allocated instead
of passing an array with incomplete contents to login(1).
Fix provided by Jun-ichiro itojun Hagino in PR bin/9082.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Sep 17 19:00:32 1999 UTC (25 years, 4 months ago) by aidan
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -2 lines
Kerberos5 ticket forwarding works.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Aug 12 23:05:22 1999 UTC (25 years, 5 months ago) by aidan
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -2 lines
Added kerberos5_cleanup() to cleanup if KRB5 defined.  This is to destroy
a forwarded ccache on cleanup.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Feb 12 05:30:12 1999 UTC (25 years, 11 months ago) by dean
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Branch point for: netbsd-1-4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 29 17:31:56 1998 UTC (26 years, 4 months ago) by tsarna
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +7 -4 lines
Execute ttyaction on termination of rlogind/telnetd sessions.
Also, say a little bit about ttyaction in the getty and login manpages.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Aug 5 00:15:25 1998 UTC (26 years, 5 months ago) by perry
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +25 -2 lines
Fix for pr 5904 from Zdenek Salvet; we now use openpty() to get a pty.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Apr 1 15:02:47 1998 UTC (26 years, 9 months ago) by kleink
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -3 lines
No need to include <sys/tty.h>.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Oct 8 08:45:12 1997 UTC (27 years, 3 months ago) by mrg
Branches: 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
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +26 -16 lines
WARNS?=1.  RCS ids.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Aug 25 19:31:51 1997 UTC (27 years, 4 months ago) by kleink
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -3 lines
Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Mar 20 04:25:53 1996 UTC (28 years, 10 months ago) by tls
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +19 -5 lines
apply Thorsten's patch to add gettytab support to telnetd.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Feb 28 20:38:21 1996 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -2 lines
RCS id cosmetics.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Feb 24 19:13:37 1996 UTC (28 years, 10 months ago) by jtk
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -6 lines
restore lost local change (be careful with 'long' vs. 'int'
distinctions)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Feb 24 01:22:21 1996 UTC (28 years, 10 months ago) by jtk
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +216 -44 lines
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.5: download - view: text, markup, annotated - select for diffs
Thu Feb 8 06:10:52 1996 UTC (28 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -1 lines
Make sure that the user name cannot ever be interpreted as an option to
login(8).  Note: This does *not* fix any security holes.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Dec 23 14:29:46 1994 UTC (30 years ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -6 lines
be a bit more careful with types, casts, and and function declarations.

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Sep 24 00:42:20 1994 UTC (30 years, 3 months ago) by mycroft
Branches: WFJ-920714, CSRG
CVS tags: lite-1
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +512 -61 lines
Import original 4.4-Lite version.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Feb 25 03:20:56 1994 UTC (30 years, 10 months ago) by cgd
Branches: 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
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +513 -62 lines
new telnetd from ftp.cray.com.  Encryption support ripped out, pending
figuring out what to do about it...

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:29:10 1993 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Add RCS identifiers.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 10 months ago) by cgd
Branches: 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
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 10 months ago) by cgd
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>