OpenGrok
Cross Reference: sra.c
xref
: /
src
/
lib
/
libtelnet
/
sra.c
Home
|
History
|
Annotate
|
Download
|
only in
libtelnet
History log of
/src/lib/libtelnet/sra.c
Revision
Date
Author
Comments
1.12
30-Oct-2021
nia
libtelnet: convert malloc(x * y) to reallocarr
1.11
09-Jan-2012
christos
PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION
(rfc2941)
- minimal fixes to compile with WARNS=4
- separate kerberos (USE_KERBEROS) from encryption (MKCRYPTO)
1.10
01-Jul-2011
christos
branches: 1.10.2;
- use defines for lengths
- strlcpy/snprintf
- KNK
1.9
01-Jul-2011
joerg
Fix memset usage. XXX should use static allocate and proper sizeof()
1.8
25-Oct-2005
christos
eliminate unused passpromptlen and copy a default password each time we
don't receive one in SRA_CONTINUE.
1.7
25-Oct-2005
christos
XXX: SRA does not have a protocol feature to pass back a password prompt
which is needed for things like S/KEY. We abuse the SRA_CONTINUE message
passing the password prompt there. That is usually NULL, so SRA
implementations usually ignore it. While I am here, if telnet_gets() fails
[user hit <eof> for example], then we exit.
1.6
05-May-2005
lukem
Don't perform a check for "secure" tty for root logins when using PAM;
that is what we provide pam_securetty(8) for.
Fix the -DNOPAM build option by allowing it to compile
(even though we don't use this source file when USE_PAM=no).
1.5
05-May-2005
lukem
PAM may change the user name during the authentication process;
ensure that we deal with this so that SRA authenticated logins
will pass the changed user name to login(1).
1.4
05-May-2005
lukem
Fix the check for insecure root logins in rootterm():
- It was originally referring to a bogus version of `line'.
(problem solved by using 'extern char *line' instead of 'extern char line[]')
- It wasn't stripping the leading "/dev/" off `line' before calling getttynam(3)
1.3
19-Apr-2005
christos
check pwd != NULL
1.2
09-Apr-2005
christos
Use getpwnam_r. From john nemeth.
1.1
19-Feb-2005
christos
branches: 1.1.2;
PAM support from FreeBSD.
1.1.2.5
09-Jul-2005
tron
Pull up revision 1.3 (requested by lukem in ticket #536):
check pwd != NULL
1.1.2.4
09-Jul-2005
tron
Pull up revision 1.2 (requested by lukem in ticket #536):
Use getpwnam_r. From john nemeth.
1.1.2.3
07-May-2005
tron
Pull up revision 1.6 (requested by lukem in ticket #253):
Don't perform a check for "secure" tty for root logins when using PAM;
that is what we provide pam_securetty(8) for.
Fix the -DNOPAM build option by allowing it to compile
(even though we don't use this source file when USE_PAM=no).
1.1.2.2
07-May-2005
tron
Pull up revision 1.5 (requested by lukem in ticket #252):
PAM may change the user name during the authentication process;
ensure that we deal with this so that SRA authenticated logins
will pass the changed user name to login(1).
1.1.2.1
07-May-2005
tron
Pull up revision 1.4 (requested by lukem in ticket #248):
Fix the check for insecure root logins in rootterm():
- It was originally referring to a bogus version of `line'.
(problem solved by using 'extern char *line' instead of 'extern char line[]')
- It wasn't stripping the leading "/dev/" off `line' before calling getttynam(3)
1.10.2.1
17-Apr-2012
yamt
sync with head
Indexes created Mon Oct 13 05:10:05 GMT 2025