Assar Westerlund
499c5a0751
try hostname uncanonified if getaddrinfo() fails
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-19 14:19:38 +00:00
Assar Westerlund
9619d060ed
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:52:22 +00:00
Assar Westerlund
865bab938a
remove old prorotypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:52:03 +00:00
Assar Westerlund
d56fe61fa0
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-08 08:09:03 +00:00
Assar Westerlund
0457569ebe
(match_local_auth): handle ai_canonname being set in any of the addresses
...
returnedby getaddrinfo. glibc apparently returns the reverse lookup
of every address in ai_canonname.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-08 08:02:46 +00:00
Assar Westerlund
83a479f198
add man pages
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 15:13:05 +00:00
Assar Westerlund
c916f27cbf
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7681 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-28 03:39:52 +00:00
Assar Westerlund
615ff2f164
(main): call krb5_getportbyname with the default in host-byte-order
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7680 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-28 03:39:38 +00:00
Assar Westerlund
2e95868217
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7625 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-17 10:04:42 +00:00
Assar Westerlund
c15e4404a8
(match_local_auth): remove extra brace. spotted by Jakob Schlyter
...
<jakob@cdg.chalmers.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7623 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-17 10:03:47 +00:00
Assar Westerlund
97c1814ee5
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7613 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 11:54:22 +00:00
Assar Westerlund
ea9cde948d
(match_local_auth): handle ai_canonname not being set
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7606 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 11:45:23 +00:00
Assar Westerlund
f983ed56dc
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7555 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-06 17:12:00 +00:00
Assar Westerlund
5b9060e083
(krb4_authenticate): the NAT address might not be the one for the
...
relevant realm, try anyway.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7553 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-06 17:09:00 +00:00
Assar Westerlund
5473a3eaf1
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7552 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-06 16:47:59 +00:00
Assar Westerlund
dc84dad095
(recv_conn): type correctness
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7551 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-06 16:47:14 +00:00
Assar Westerlund
c34d277657
(connect_host): typo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7550 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-06 16:46:46 +00:00
Assar Westerlund
ab209f088f
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7548 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 13:52:27 +00:00
Assar Westerlund
3692b36f45
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7547 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 13:51:14 +00:00
Assar Westerlund
839fb22e8a
(INADDR_LOOPBACK): remove. now in roken.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7544 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 13:25:53 +00:00
Assar Westerlund
0c37b6af0c
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7529 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 11:01:55 +00:00
Assar Westerlund
8ba4450cf7
(recv_conn): use getnameinfo_verified
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7526 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 10:55:56 +00:00
Assar Westerlund
b15b894583
(recv_conn): replace inaddr2str with getnameinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7517 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 00:20:14 +00:00
Assar Westerlund
9784176873
(krb5_kuserok): type correctness
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7512 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 23:06:18 +00:00
Assar Westerlund
f14e1f5cff
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7504 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:20:36 +00:00
Assar Westerlund
2afff852fe
(connect_host): use getaddrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7497 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:05:50 +00:00
Assar Westerlund
69c0957e94
(find_auth_cookie, match_local_auth): re-write to use getaddrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7496 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:04:50 +00:00
Johan Danielsson
3ca5f8150f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Johan Danielsson
410b0164e7
do not use krb_get_our_ip_for_realm unless it exists
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7458 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 13:04:36 +00:00
Assar Westerlund
74ee80dc86
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7445 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-27 14:51:48 +00:00
Assar Westerlund
a5bdea7061
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7444 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-26 23:13:14 +00:00
Assar Westerlund
b26cf0520c
(recv_conn): better errors when getting unrecognized data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7443 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-26 23:12:50 +00:00
Assar Westerlund
8a5f0eae1f
(krb4_authenticate): obtain the `local' address when doing NAT. also
...
turn on passive mode. From <thn@stacken.kth.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7429 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-25 05:29:32 +00:00
Assar Westerlund
c35541a048
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7414 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-18 12:46:18 +00:00
Assar Westerlund
506da8874a
(krb5_destroy): free the correct part of the context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7413 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-18 12:46:04 +00:00
Assar Westerlund
e0bbe59f41
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7298 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-02 22:46:22 +00:00
Assar Westerlund
ac5267f34c
(main): redo the v4/v5 selection for consistency.
...
-4 -> try only v4
-5 -> try only v5
none, -45 -> try v5, v4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7297 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-02 22:45:10 +00:00
Assar Westerlund
363475a4ae
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7133 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 04:57:26 +00:00
Assar Westerlund
d516108f2f
(CLEANFILES): add generated files so that they get cleaned away
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7124 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 04:45:18 +00:00
Johan Danielsson
06b2a4dc57
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7071 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 14:37:54 +00:00
Assar Westerlund
82c7704d82
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7059 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-29 17:03:55 +00:00
Assar Westerlund
65423ced9d
(match_local_auth): only look for FamilyLocal (and FamilyWild)
...
cookies. This will not work when we start talking tcp to the local
X-server but `connect_local_xsocket' and the rest of the code doesn't
handle it anyway and the old code could (and did) pick up the wrong
cookie sometimes. If we have to match FamilyInternet cookies, the
search order has to be changed anyway
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7058 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-29 17:03:21 +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
bcd4c9a351
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6895 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-02 19:09:37 +00:00
Assar Westerlund
37af8f3e75
(childhandler): watch for child `wait_on_pid' to die.
...
(recv_conn): set `wait_on_pid' instead of looping on waitpid here
also. This should solve the problem of kxd looping which was caused
by the signal handler getting invoked before this waitpid and reaping
the child leaving this poor loop without any child
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6894 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-02 19:09:25 +00:00
Assar Westerlund
6da782ab9f
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6839 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 15:42:18 +00:00
Assar Westerlund
d265a2b7b8
(recv_conn): give better error message
...
(doit_active): don't die if fork gives EAGAIN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6838 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 15:41:25 +00:00
Johan Danielsson
7b10291769
(recv_conn): call setjob on crays;
...
(doit_passive): if fork fails with EAGAIN, don't shutdown, just close
the connection
re-implement `-t' flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6837 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 14:56:38 +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
3ebb7f50a9
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6451 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-12 20:57:27 +00:00