Commit Graph

234 Commits

Author SHA1 Message Date
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
e3d3bbceb5 DCE stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 05:33:48 +00:00
Assar Westerlund
34406dd27b (*): make sure to always call time, ctime, and gmtime with `time_t's.
there were some types (like in lastlog) that we believed to always be
time_t.  this has proven wrong on Solaris 8 in 64-bit mode, where they
are stored as 32-bit quantities but time_t has gone up to 64 bits


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-26 19:48:27 +00:00
Assar Westerlund
7fd0277523 add missing .El. from itojun by way of NetBSD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 07:10:32 +00:00
Assar Westerlund
8dbe577b96 add missing .el
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-08 10:58:58 +00:00
Assar Westerlund
4bc28ec99e add telnetd.8
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 15:12:46 +00:00
Assar Westerlund
cae7f2dce0 (addarg): make void (return value isn't check anyway). fatal error
when malloc fails


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-01 11:53:59 +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
70daae2bd7 (ttloop): make it return 1 if interrupted by a signal, which must have
been what was meant from the beginning


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6900 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-05 19:16:53 +00:00
Assar Westerlund
d376fa6a08 (ttloop): update prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6899 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-05 19:15:21 +00:00
Assar Westerlund
881cb26cc3 (telnet_spin): actually return the value from ttloop (otherwise it's
kind of bogus)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6898 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-05 19:14:50 +00:00
Assar Westerlund
0e52d82e0b (rmut): free utxp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6745 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-05 09:51:45 +00:00
Assar Westerlund
cc0a3e7102 (rmut): work around utmpx strangness. From Miroslav Ruda
<ruda@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6719 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:06:20 +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
0679f13c72 update prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6549 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 00:45:30 +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
Assar Westerlund
770a0aab91 update to new format for cpp define SunOS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6480 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-22 02:58:32 +00:00
Assar Westerlund
69a24aca75 (start_login): print a different warning with `-a otp'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6426 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-06 02:47:59 +00:00
Assar Westerlund
085dff975f document -a otp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6425 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-06 02:41:32 +00:00
Assar Westerlund
10a6c011d2 (telrcv): magic patch to make it work against DOS Clarkson Telnet.
From Miroslav Ruda <ruda@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6222 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-13 23:12:50 +00:00
Assar Westerlund
e53706c80a use LIB_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5897 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-09 18:29:48 +00:00
Johan Danielsson
27bc0b4df2 don't run check-local
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5820 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-01 14:59:33 +00:00
Johan Danielsson
e496873b3a _CRAY -> HAVE_STRUCT_UTMP_UT_ID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5788 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-29 14:11:24 +00:00
Johan Danielsson
0f23e17f6f fix broken checkin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5652 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-20 13:58:20 +00:00
Assar Westerlund
f42ca9c63a correct path to Makefile.am.common
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5638 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-19 23:16:50 +00:00
Johan Danielsson
e927fa05a5 include Makefile.am.common
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5580 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-18 10:24:53 +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
Johan Danielsson
1d9f6d8f2f add WFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5501 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-11 13:50:16 +00:00
Johan Danielsson
009112b3ee remove unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5500 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-11 13:49:48 +00:00
Johan Danielsson
84bd0825e7 HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5458 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-01 09:50:29 +00:00
Johan Danielsson
aaae186ab9 merge new-crypto branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5332 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-11 21:03:59 +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
Assar Westerlund
e9fea047b0 random fixes to make it build with socks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5028 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-13 00:06:56 +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
99c23f7634 Link programs with $(LINK), not $(CC).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5000 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-31 18:05:21 +00:00
Johan Danielsson
921cc2cf63 move libdes after krb4 libs to avoid multiple definitions with shared libs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4965 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-28 18:04:01 +00:00
Johan Danielsson
192688e7db libtoolize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4914 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-23 14:23:28 +00:00
Johan Danielsson
473184da43 Use LIB_logwtmp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4762 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-08 08:52:06 +00:00
Assar Westerlund
6554532c43 add DESTDIR support and .PHONY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4572 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-15 05:58:31 +00:00
Assar Westerlund
6c65feaf64 consistent order of CFLAGS and CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4246 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-29 01:17:41 +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
e0c54c119f cond otp. and use top_builddir
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3874 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-09 09:04:09 +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
Assar Westerlund
770632d951 const and char-cleanup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3694 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-29 01:27:11 +00:00