<x-flowed>
Hello

and sorry that I forgot to reply earlier.

At 10:27 02.07.2004, you wrote:
>Hello,
>
> > Now for the practical part.  Change the line
> >    putenv(varname);
> > in the Solaris code to
> >    putenv(strdup(varname));
> > If I'm right this should do the magic.
> >
> > Regards
> > Wolfgang Zekoll
>
>Thank you; the trick to export environment to an external
>authenticator works on Solaris !!!

That's fine.

>I assumed it was based on exit code only, but when my
>program returns 0 on exit, the proxy does not even try
>to establish a tcp connection to the server.
>However, all environment variables look OK, showing
>that server address has been resolved.

According to the source it is exit code based.

># ./ftp.proxy -D 2121 -a /usr/scripts/ftpauth -B -l -d -e
>
># cat ftpauth
>#!/bin/sh
>exit 0
>
>The syntax used is:
>#ftp myproxy 2121
>username: localuser:[EMAIL PROTECTED]
>password: localpass:remotepass
>
>When using tcpdump on remotehost i cannot incoming packets
>from the proxy host.

Instead of doing packet dumps try this: Look into you syslog file, the use 
of the above shell script as acp should generate a message, it's either 
`access granted' in case of exit code 0 and `access denied' else.  Do you 
have such messages?

Regards

Wolfgang Zekoll

--
http://quietsche-entchen.de/ - schwimmt und quietscht.



--general-l------------------------------------
To unsubscribe please visit:
http://www.ftpproxy.org/html/maillinglists.html

</x-flowed>
From [EMAIL PROTECTED] Fri Jul 09 10:07:55 2004
X-Persona: <FTP-Proxy>
Return-Path: <>
Received: from compucation.de [213.185.64.44] by compucation.de [213.185.64.44]
                (with RAW) (MDaemon.PRO.v7.1.2.R)
                for <[email protected]>; Fri, 09 Jul 2004 03:03:46 +0200
Date: Fri, 09 Jul 2004 03:03:46 +0200
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Precedence: bulk
X-MDSend-Notifications-To: [trash]
Subject: Unsubscription notification: [EMAIL PROTECTED], [EMAIL PROTECTED]
To: [email protected] (ftp.proxy)
X-MDaemon-Deliver-To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
X-Actual-From: [EMAIL PROTECTED]
X-Return-Path: <>
X-MDAV-Processed: mail.compucation.de, Fri, 09 Jul 2004 03:03:48 +0200
X-Eudora2Unix: 3905-11-05T08:39:36Z converted

<[EMAIL PROTECTED]> has signed off the [EMAIL PROTECTED] mailing list.

Reply via email to