Assar Westerlund
7d75a2a5f5
include libutil.h if it exists
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-21 23:09:03 +00:00
Assar Westerlund
b42cba5cb5
(getpty): call openpty if it exists
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-10 13:34:57 +00:00
Assar Westerlund
a5214a7bbc
(output_data): make sure of not forwarding `nfrontp' too far, thereby
...
allowing writes after the end of `netobuf'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 16:00:42 +00:00
Assar Westerlund
a4190c9469
remove two warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 15:58:01 +00:00
Assar Westerlund
721715003c
fix spelling in comment. from Peter Valchev <pval@openbsd.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-06 15:39:25 +00:00
Assar Westerlund
b4a6a79d1a
document -y, from Hans Insulander <hin@stacken.kth.se>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-27 21:29:38 +00:00
Assar Westerlund
58b8c01f2c
remove enmpty environment. from Hubert Feyrer
...
<hubert.feyrer@informatik.fh-regensburg.de >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-27 17:46:44 +00:00
Assar Westerlund
29b83d65a0
no return <void value> in a void function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-17 00:34:42 +00:00
Assar Westerlund
b8b84b1ac8
mdoc fixes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 08:25:00 +00:00
Assar Westerlund
5c4704bbe8
mdoc fixes from ru@freebsd.org
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-01 18:53:24 +00:00
Assar Westerlund
31aa7c2fe4
(fatalperror_errno): add prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-24 23:12:11 +00:00
Assar Westerlund
4b907b8737
(start_login): give the correct error if exec fails
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-24 23:11:43 +00:00
Assar Westerlund
56cb680b45
(fatalperror_errno): add a new function with explicit errno parameter
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-24 23:11:05 +00:00
Assar Westerlund
81ff46fb89
some minimal more amount of const-correctness
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-07 00:10:49 +00:00
Assar Westerlund
2aefcf796c
try to use handle using openssl instead of libdes better. based on patches from GOMBAS Gabor <gombasg@inf.elte.hu> and Brian May <bam@snoopy.apana.org.au>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:20:54 +00:00
Assar Westerlund
c0ff298e15
(startslave, start_login): 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@9660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 16:07:28 +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
1de4122ebd
update prototypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-08 16:05:13 +00:00
Assar Westerlund
102f79dd23
add LIB_kdfs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 06:12:02 +00:00
Assar Westerlund
130cb6b3fc
mdoc fixes from ru@freebsd.org
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-11 16:16:30 +00:00
Assar Westerlund
234e644214
(scrub_env): add supporting non-file TERMCAP variables
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-08 23:32:06 +00:00
Assar Westerlund
af16cfb31b
fixo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-07 21:29:42 +00:00
Assar Westerlund
4217ffeaf6
move include files around to avoid getting SE from sys/*.h on HP to
...
override SE from telnet.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-07 21:28:36 +00:00
Assar Westerlund
423299cbc5
(scrub_env): remove some const-ness
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-07 20:30:47 +00:00
Assar Westerlund
650f8bb0f0
(scrub_env): add LOGNAME and POSIXLY_CORRECT to the list of authorized
...
environment variables to be compatile with linux-telnetd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-07 18:14:45 +00:00
Assar Westerlund
f9699a902a
(scrub_env): change filtering algoritm from allowing everything except
...
a few bad cases to not allowing anything except a few non-dangerous
cases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-07 14:50:21 +00:00
Björn Groenvall
6bf98229af
Filter out some more environment variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-16 18:53:24 +00:00
Assar Westerlund
cbb97156e4
(telnet_getenv): make somewhat const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:20:43 +00:00
Assar Westerlund
4357c754d1
(telnet_getenv): make somewhat const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:03:38 +00:00
Assar Westerlund
baebf953a8
use LIB_des
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Johan Danielsson
388c5cda99
ignore Makefile.in
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-08 17:26:36 +00:00
Johan Danielsson
c787b9080d
switch to automake
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-05 17:16:41 +00:00
Assar Westerlund
265ace2a58
(stilloob): check that fds are not too large to select on
...
(ttloop): remove confusing output of errno
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-08 13:34: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
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