What did you do about port 20? You might want to use
Passive ftp.

Naresh
--- Manish K Arya <[EMAIL PROTECTED]> wrote:
> hi
>     actully authentication will be done on local ftp
> server and gw proxy will just ensure that username
> and remote host/network is not in block list of
> firewall.till now i am able to get login prompt from
> local ftp server thru my gw proxy and authenticate
> user,but after auth if i try to give any command it
> says "cannot establish data connection"
>    i  just want to use restriction on users and
> commands and redirect what ever comes on port 21 of
> gw proxy to local ftp server.
>    
> ---
> Manish Kumar Arya
> 
> 
> On Fri, 19 Apr 2002 15:25:29  
>  Binand Raj S. wrote:
> >On Friday 19 Apr 2002 3:15 pm, Manish K Arya wrote:
> >> hi
> >>    we are writing a transparent ftp proxy. our
> aim is to write a proxy code
> >> that sits on gateway and provides proxy
> services(logging,auth,filtering
> >> etc). when ever a user from external n/w does ftp
> on gateway,our proxy
> >> program forwards that request to some internal
> ftp server after validating
> >> remote user and machine.means if user does ftp on
> gw he/she gets login
> >> prompt from some internal ftp server.when user
> does login he get
> >> authenticated from internal ftp server. but at
> this stage there is a
> >> problem now if we try to give some commnd from
> ftp client.we get error like
> >> no data connection. what can we do for
> establishing data connection after
> >> auth.
> >
> >Your mail is not very clear. You say your proxy
> provides authentication
> >services, and that it validates the remote user and
> machine. But you also
> >say that the login prompt and authentication is
> that of the internal FTP
> >server. Which is it?
> >
> >Also, do you understand the FTP protocol?
> Specifically, do you know that
> >it has a quirk in that it requires a control
> connection and a data connection?
> >Also, about active and passive FTP?
> >
> >BInand
> >
> >
> >_______________________________________________
> >linux-india-programmers mailing list
> >[EMAIL PROTECTED]
>
>https://lists.sourceforge.net/lists/listinfo/linux-india-programmers
> >
> 
> 
> See Dave Matthews Band live or win a signed guitar
>
http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201/splash.asp
> 
> 
>          
> ================================================
> To subscribe, send email to [EMAIL PROTECTED]
> with subscribe in subject header
> To unsubscribe, send email to [EMAIL PROTECTED]
> with unsubscribe in subject header
> Archives are available at
> http://www.mail-archive.com/ilugd%40wpaa.org
>          
> =================================================
> 


=====
-- Naresh

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to