ftpproxy  

[general-l] ftp.proxy daemon mode on single interface {01}

Brian
Fri, 11 Jun 2004 02:38:01 +0200

<x-flowed>
Is there a way to bind ftp.proxy to a single interface on solaris?

eg. machine A has

127.0.0.2
127.0.0.3
127.0.0.4

ftp.proxy in daemon mode listens to 127.0.0.2:21
ftp.proxy (second instance) in daemon mode listens on 127.0.0.3:21

So there would be 2 total processes running for ftp.proxy.

I know I can specify different interfaces in ftp.proxy.conf for 1 
running ftp.proxy.  I have a need to be able to seperate this to 
different instances of the proxy.

Thanks,

Brian


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

</x-flowed>
From [EMAIL PROTECTED] Tue Jun 29 16:33:22 2004
Return-Path: <[EMAIL PROTECTED]>
Received: from mail.compucation.de (mail.compucation.de [213.185.64.44])
                by um1.pce.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP 
id i5TEQ2i12556
                (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO)
                for <[EMAIL PROTECTED]>; Tue, 29 Jun 2004 16:26:02 +0200
Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176])
                by compucation.de (mail.compucation.de [213.185.64.44])
                (MDaemon.PRO.v7.1.2.R)
                with ESMTP id md50000013526.msg
                for <[EMAIL PROTECTED]>; Tue, 29 Jun 2004 16:25:30 +0200
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 29 Jun 2004 16:25:21 +0200
From: [EMAIL PROTECTED]
To: "general-l List Member"  <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.2.1
X-Lookup-Warning: MAIL lookup on [EMAIL PROTECTED] does not match 213.228.0.176
X-MDRemoteIP: 213.228.0.176
Sender: [EMAIL PROTECTED]
X-Return-Path: [EMAIL PROTECTED]
Precedence: bulk
List-Unsubscribe: <[EMAIL PROTECTED]>
X-MDMailing-List: [EMAIL PROTECTED]
X-MDSend-Notifications-To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-MDaemon-Deliver-To: [EMAIL PROTECTED]
Subject: [general-l] (No Subject) {01}
X-MDAV-Processed: mail.compucation.de, Tue, 29 Jun 2004 16:25:34 +0200
X-UIDL: JeL!!!XF"!6%I!!?ZL"!
X-Eudora2Unix: 3905-11-05T08:39:36Z converted

Hello,

I am willing to set up ftp.proxy (solaris) on a host performing
authentication via a dedicated program ftpauth, so that users can do:

# ftp gwhost 2121
Name: gwuser:[EMAIL PROTECTED]
Password: gwpass:remotepass

Where (gwuser,gwpass) is check in program ftpauth, so i used no
configuration file and ran:
# ./ftp.proxy -D 2121 -a /usr/scripts/ftpauth -B -l -d -e

And to test parameter passing between ftp.proxy and ftpauth:
# cat ftpauth
#!/bin/sh
date >>log
echo "Params: $*">>log
env >>log
exit 0

ftpauth is forked but neither $* nor env parameters are passed
(i expected to see $PROXY_CLIENT PROXY_USERNAME $PROXY_SERVERLOGIN ...)

Can anyone help me ?
(once i have understood this, i will have to make ftpauth
return appropriate values: from the documentation it is not
based on exit code, but on stderr, but what is the data format
in my case) ?

Best regards
Paul


--general-l------------------------------------
To unsubscribe please visit:
http://www.ftpproxy.org/html/maillinglists.html
  • [general-l] ftp.proxy daemon mode on single interface {01} Brian