SRA on AIX

SRA on AIX

Post by Nave » Thu, 13 Jul 1995 04:00:00



I am trying to compile the SRA package on AIX. I am having problems in
linking all the object files and the library routines. While linking the
code for the telnetd, the
error message that I get is that "unsetenv" and "setenv" are not
resolvable.  The functions for setenv and unsetenv are provided with
the SRA package (/SRA/lib/libbsd/setnenv.c).

The makefile uses the above library routines, which have have been
compiled successfully. I don't know what could be the problem.

Naveen Gupta.

 
 
 

SRA on AIX

Post by Chris A. Matting » Thu, 13 Jul 1995 04:00:00



>I am trying to compile the SRA package on AIX. I am having problems in
>linking all the object files and the library routines. While linking the
>code for the telnetd, the
>error message that I get is that "unsetenv" and "setenv" are not
>resolvable.  The functions for setenv and unsetenv are provided with
>the SRA package (/SRA/lib/libbsd/setnenv.c).
>The makefile uses the above library routines, which have have been
>compiled successfully. I don't know what could be the problem.
>Naveen Gupta.

Look at the setenv/getenv source that came with SRA.  A lot of times,
packages that come with these have the entire code segment #ifdef'd
with something to the effect of #ifdef NEED_SETENV

Check that, then check to see if the makefile is defining what
might need to be defined.

Hope this helps...

-Chris
--
Chris Mattingly       | My views are not necessarily those of my employers

                      | "Good programmers write good code; great programmers
                      | 'borrow' good code."  -- Mike Gancarz

 
 
 

1. 2.2-960801-SNAP telnet/telnetd SRA patches

I have been running a version of telnet/telnetd that has an
authentication method called SRA on my Sun for a while now.
So far as I can tell it basically exchanges the login/password
info using Diffie-Hellmen, so you don't have to be running Kerberos
or set up any keys beforehand to have fully encrypted sessions
(one of the byproducts of the authentication is an encryption key).

I saw RSA code in 2.2-960801-SNAP's libtelnet, but I couldn't get
it to work. So I decided to see if I could shoehorn the SRA stuff into
2.2 instead.

I have just finished an all-nighter adding the SRA authentication
code to the libtelnet in 2.2-960801-SNAP. There are some rough edges
still, but I have at least managed to do authenticated logins
both between my Sun and to localhost. I haven't quite convinced it
to go straight into an encrypted session after authentication yet,
though.

Does anyone care? :-) I can make patches if so.

--


+1 408 249 9630, log in as 'guest' | we'll get it together."
URL: http://www.kfu.com/~nsayer/   |               -- Mr. Lucas

2. method overloading with gcc

3. FreeBSD SRA & IDEA Telnet patch

4. Windows for people who don't want to know why it doesn't work?

5. SRA telnet

6. bind-4.3.9Beta9 'Connection Refused' problem

7. AIX anonymous FTP list, and porting to AIX FAQ

8. SunSoft

9. Upgrading from AIX 4.3.2 to AIX 4.3.3

10. Upgrading from AIX 4.3.3 to AIX 5.1

11. AIX 4.3.3 or AIX 4.3.2

12. AIX 4.2 vs AIX 4.3

13. AIX smit Re: Solaris vs AIX