Love Hörnquist Åstrand
7adcb73bb8
include krb5.h to avoid krb5_getportbyname warning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 10:33:18 +00:00
Love Hörnquist Åstrand
692e21b3e7
remove setting of DES_check_key, all code uses DES_set_key_checked
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:22:39 +00:00
Love Hörnquist Åstrand
f026b13d65
call setprogname to make libvers happy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-22 18:07:49 +00:00
Love Hörnquist Åstrand
b6b6ef861a
use new DES_ api
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:48:53 +00:00
Assar Westerlund
68823821a9
add --version as a special case
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-23 19:29:38 +00:00
Johan Danielsson
31ad1085bf
use sysconfdir
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-12 15:09:20 +00:00
Assar Westerlund
66e47c8292
move NOERROR
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-17 02:09:05 +00:00
Assar Westerlund
afe19111e9
add a kludge to make it build on aix (that defines NOERROR in both
...
sys/stream.h and arpa/nameser.h and considers that a fatal error)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-17 02:09:04 +00:00
Assar Westerlund
67813438a7
kill some warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-29 00:45:23 +00:00
Assar Westerlund
5efe4881d6
(doit, my_telnet): re-write code to keep track both of remote hostname
...
and utmp string to be used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 16:06:27 +00:00
Assar Westerlund
526ba90e4c
(my_telnet): check that fds are not too large to select on
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-08 13:32:28 +00:00
Assar Westerlund
3e00ddf50d
use esetenv
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-02 05:06:04 +00:00
Assar Westerlund
5f648d3799
use socklen_t where appropriate instead of int
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 20:53:11 +00:00
Assar Westerlund
d82eb01c8a
(doit): use getnameinfo_verified
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7527 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 10:59:52 +00:00
Assar Westerlund
4a9a216cef
use getnameinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7500 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:10:28 +00:00
Assar Westerlund
825e2aa265
(main): getopt returns -1 not EOF. From <art@stacken.kth.se>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7380 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-13 06:31:04 +00:00
Assar Westerlund
bf75fac82a
large strc{py,at}_truncate -> strlc{py,at} replacement
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 20:41:57 +00:00
Assar Westerlund
66e1d23128
(doit): only free hp if != NULL. From: Jonas Oberg <jonas@coyote.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6678 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 19:38:45 +00:00
Assar Westerlund
f73f6efab3
(doit): remove unused variable mapped_sin
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6665 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-29 02:24:57 +00:00
Assar Westerlund
ab7ce95925
make it handle v4 and v6 sockets. (it doesn't handle being given a v6
...
socket that's really talking to an v4 adress (mapped) because the rest
of the code in telnetd is not able to handle it anyway). please run
two telnetd from your inetd, one for v4 and one for v6.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6548 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 00:44:13 +00:00
Johan Danielsson
1c0462d0c8
replace perror/exit with fatalperror
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5544 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-15 16:40:52 +00:00
Assar Westerlund
80d58fee2e
(main): 0 -> STDIN_FILENO. remove abs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5532 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-13 21:20:17 +00:00
Assar Westerlund
5c4a9b57f0
s/net_write/telnet_net_write/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5072 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-07-09 23:16:40 +00:00
Johan Danielsson
a5f54865d4
merge strcpy_truncate branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Johan Danielsson
b65aae8e32
Output contents of /etc/issue.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3993 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-14 19:35:13 +00:00
Assar Westerlund
d6f52a511f
(terminaltypeok): always return OK. It used to call `tgetent' to
...
figure if it was a defined terminal type. It's possible to overflow
tgetent so that's a bad idea. The worst that could happen by saying
yes to all terminals is that the user ends up with a terminal that has
no definition on the local system. And besides, most telnet client
has no support for falling back to a different terminal type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3760 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-03 06:08:26 +00:00
Assar Westerlund
545297c6e4
roken_*
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3695 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-29 01:28:03 +00:00
Johan Danielsson
837c4cf855
use k_getportbyname with krb4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3607 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-14 21:28:59 +00:00
Johan Danielsson
6f0f6f1b30
Update after merge
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3606 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-14 20:57:05 +00:00
Assar Westerlund
6267d2df50
cast argument 1 to gethostbyaddr' to
const char *'
...
Rename some variables that conflict with cpp symbols on HP-UX 10.20
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3405 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-07 20:28:10 +00:00
Johan Danielsson
023d1960b0
context to krb5_getportbyname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3315 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-31 17:54:35 +00:00
Assar Westerlund
7841b971fb
Makefile.am and quick hacks
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2140 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-10 12:54:14 +00:00
Assar Westerlund
1ee9f247d1
no set_utid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1745 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 13:47:59 +00:00
Assar Westerlund
690fcf3eb8
<curses.h> and <term.h> doesn't seem to be used and breaks on fujitsu.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1734 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-18 22:17:31 +00:00
Assar Westerlund
5da8f7da41
telnetd cleanup
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1695 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 06:30:05 +00:00
Assar Westerlund
dd02a92a8b
replace sprintf all over the place
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1635 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 14:29:33 +00:00
Assar Westerlund
7a4e4936b1
conditional getsockopt
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1189 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-26 19:34:04 +00:00
Assar Westerlund
3d7c57acdb
clean-up
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1187 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-24 23:13:35 +00:00
Assar Westerlund
94cb9a93ac
got rid of lots of stupid casts
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1057 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-19 22:48:40 +00:00
Assar Westerlund
6202f22614
removed all stupid (void)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1034 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 20:23:48 +00:00
Assar Westerlund
239db0f710
removed all stupid register declarations
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1033 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 20:04:43 +00:00
Johan Danielsson
a0d6c7a8d8
Ifdef TIOCPKT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1003 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 04:09:00 +00:00
Assar Westerlund
7e00a1cefe
Removed -s' for securID and added
-a otp' for OTP.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@996 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 00:20:37 +00:00
Assar Westerlund
edb66c9354
SOCKS-support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@860 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-18 05:35:32 +00:00
Assar Westerlund
7ceaba756d
(main): use `mini_inetd'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@760 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-27 00:11:53 +00:00
Assar Westerlund
87db6dcb90
Removed all convex code.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@724 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-10 20:35:10 +00:00
Assar Westerlund
351f18b02d
NEWINIT, UNICOS7x, UNICOS5: removed
...
STREAMSPTY: added variable `really_stream'
Now able to handle the case where the OS supports stream ptys but we
run out of them and start using ordinary BSD ones.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@722 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:35:07 +00:00
Assar Westerlund
3467387cd6
removed old extern declarations.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@711 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-03 18:03:15 +00:00
Assar Westerlund
1e35a8c714
new option -y for no warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@707 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-02 19:12:33 +00:00
Assar Westerlund
83290cb18a
s/gethostname/k_gethostname/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@703 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-31 21:12:29 +00:00