Commit Graph

810 Commits

Author SHA1 Message Date
Assar Westerlund
792a7cc84c *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@762 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-27 00:23:59 +00:00
Assar Westerlund
e94704168d Removed conn_wait' and use mini_inetd' instead.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@761 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-27 00:22:00 +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
7ad859dc80 Added prototype for `mini_inetd', and fallback definitions for
SOMAXCONN, STDIN_FILENO, and STDOUT_FILENO.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@759 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-27 00:10:33 +00:00
Assar Westerlund
6350b3bdd3 Added mini_inetd.o
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@758 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-27 00:09:39 +00:00
Assar Westerlund
58cff78eae (des_rand_data): Try /dev/urandom as well.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@757 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-26 17:28:53 +00:00
Johan Danielsson
7ed1fa8dfd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@756 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 21:08:02 +00:00
Johan Danielsson
21b43c2d44 Create rxte{lnet,rm} at compile time.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@755 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 21:07:07 +00:00
Johan Danielsson
c568beb763 Set socket buffer size.
Changed transfer message.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@754 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 19:47:26 +00:00
Johan Danielsson
1433383cc7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@753 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 02:41:56 +00:00
Assar Westerlund
bbc8c0a25c (main): For now always use passive mode. That's the only thing that
has been tested and not a lot of people are going to use non-passive
anyways.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@752 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 00:09:45 +00:00
Assar Westerlund
d4310bdab1 Forgot some read' that should be krb_net_read'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@751 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 00:02:26 +00:00
Assar Westerlund
4668bc1b11 (doit): read display_number in ascii.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@750 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 00:00:32 +00:00
Assar Westerlund
4cff2498aa (connect_host): write display_number in ascii.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@749 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-16 00:00:12 +00:00
Assar Westerlund
cb41a1ee9b shell scripts for doing remote X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@748 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 22:07:10 +00:00
Assar Westerlund
b511fcdd77 (get_local_xsocket): Generate the /tmp/.X11-unix directory with the
sticky bit set.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@747 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 22:06:47 +00:00
Assar Westerlund
18808fa9cd Install rxterm and rxtelnet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@746 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 22:05:35 +00:00
Assar Westerlund
682884b05a (des_rand_data): Use a table with random devices.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@745 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 21:39:23 +00:00
Assar Westerlund
56d530b451 (get_local_xsocket): try to bind the socket instead of checking for
existence with lstat.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@744 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 21:13:23 +00:00
Johan Danielsson
7ee8ca0553 Reap children
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@743 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:54:01 +00:00
Johan Danielsson
584687bcd5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@742 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:30:56 +00:00
Johan Danielsson
4345835c38 Save display socket.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@741 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:30:09 +00:00
Johan Danielsson
fe8dde47bb Don't close remote socket.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@740 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:27:54 +00:00
Johan Danielsson
8ec9e5d7ec Cleanup when remote side exits.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@739 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:27:33 +00:00
Johan Danielsson
234a5f7a3a Hack for systems that lack setitimer (like crays).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@738 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 21:11:14 +00:00
Johan Danielsson
403e1eb526 * -> krb_net_*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@737 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 04:22:27 +00:00
Johan Danielsson
ab0afe3e7c foo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@736 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 03:13:11 +00:00
Johan Danielsson
2d0d525b27 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@735 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 02:45:02 +00:00
Johan Danielsson
aface2fa24 Cleanup.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@734 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 02:13:56 +00:00
Johan Danielsson
6ba7a91147 -D option to not mangle display.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@733 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:55:54 +00:00
Assar Westerlund
2322e86659 (doit): Send over the display number and the authority file actually
used to kx.

(create_and_write_cookie):  New function to generate and write into a
file a local cookie used between this pseudo-server and the clients on
this host.

(start_session):  New function to check and remove the local cookie
before the data is sent over to `kx'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@732 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:20:15 +00:00
Assar Westerlund
5910bad6f8 (display_num, xauthfile): New variables.
Now `kx' prints out the values of those two variables and then goes to
the background to enable some script to set these on the other host.

(start_session): New function that adds a local cookie before sending
the rest of the connection to the local X-server.

(main): Also recognize "unix" as a local DISPLAY.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@731 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:18:30 +00:00
Assar Westerlund
0d3f4d16c3 <X11/Xauth.h> used.
(get_local_xsocket): Changed parameter.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@730 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:14:39 +00:00
Assar Westerlund
0ebf3e6925 (get_local_xsocket): Now try to allocate the first free socket in
/tmp/.X11-unix.  Also `mkdir' this directory first.  Return the number
of the display opened.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@729 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:13:43 +00:00
Assar Westerlund
e02436a53f Added X libraries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@728 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:12:25 +00:00
Assar Westerlund
4153269462 Added prototype for `des_rand_data'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@727 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:11:44 +00:00
Assar Westerlund
be960824df Made `des_rand_data' non-static.
This function is useful and now even used.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@726 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:11:13 +00:00
Johan Danielsson
feaa4059db Add k_afs_cell_of_file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@725 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-11 18:23:29 +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
8775eed722 UNICOS5: removed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@723 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:35:57 +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
80faa61888 UNICOS5: removed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@721 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:30:13 +00:00
Assar Westerlund
02f4fb0e7b BFTPPATH: removed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@720 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:29:36 +00:00
Assar Westerlund
26341b10ad BFTPDAEMON: removed.
UNICOS5: removed.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@719 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:28:23 +00:00
Assar Westerlund
44b4fe5d48 BFTPDAEMON: removed.
UNICOS5: removed.
STREAMSPTY: added variable `really_stream'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@718 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:27:53 +00:00
Assar Westerlund
fa53a8d25f exit with return code == 1 to indicate failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@717 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-08 22:18:34 +00:00
Assar Westerlund
006393516d Removed unused `abortsend'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@716 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-08 22:14:03 +00:00
Assar Westerlund
58ed7945b1 Use @SET_MAKE@
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@715 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-08 22:13:40 +00:00
Assar Westerlund
629ba3dfca Name changed from !HAVE_H_ERRNO to NEED_H_ERRNO_DECLARATION.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@714 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-03 18:05:49 +00:00
Assar Westerlund
daa86645f6 Name changed NEED_H_ERRLIST_{PROTO,DECLARATION}.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@713 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-03 18:05:21 +00:00