Re: Help me out for Virtual ftp

pratik <[email protected]> Sat, 11 May 2002 13:02:49 +0530
Newsgroups gmane.linux.redhat.release.cartman
Organization Ultrainfotech
Message-ID <[email protected]>
--------------040201000707020308070208
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hie Tony
Thanx a lot for the information you provided me which helped me a lot, 
now one question by the time i recv'd your mail i went through the 
official docs of wu-ftpd virtual host were i came to know for ip aliases 
so is it not possible that on the public ip which i have right now i 
make aliases on that ? if yes than how ? that's again a Q for me,

Pratik

Tony Nugent wrote:

>On Fri May 10 2002 at 15:12, pratik wrote:
>
>>Hie !!!
>>I want to setup virtual ftp for couple of domains, i have installed
>>wu-ftpd-2.6.1-16.7x.1 i want to create user1 for domain1 user2 for
>>domain2 & allow specific users to use specific domains folder only to
>>upload download data i have checked the documentations part but m
>>finding it difficult from were to start
>>Can any body guide me for how to setup virtual ftp, creat users , grant
>>Access to that user all in simplest way ?
>>I hope i get help for all above requirements.
>>
>
>Unlike the http protocol, ftp does not (can not) host virtual ftp
>domains on a single IP... each of your virtual ftp sites needs to
>have its own IP address (which can all be hosted on the one box and
>even all on the one interface, no problem).  Pointing the domain
>names in the DNS at a single IP does not work for virtual ftp sites
>like it does for http.
>
>  (http is different since the actual URL that is being requested is
>  in the client's header request given to the httpd server.  The ftp
>  protocol has no facility for this sort of functionality).
>
>Once you have your ftp server working with multiple IPs, from there
>you can hack the wu-ftpd config files to do what you want (since it
>can now differentiate its behaviour according to the local IP it is
>talking on).
>
>If you want to do things like prevent user1 from logging into
>domain2 (which would normally be possible with multiple accounts on
>the one box), then you'll have to do some fine tuning to the access
>controls in /etc/ftpaccess.
>
>Good luck.
>
>>Cartman-list mailing list
>>
>
>(gee, cartman?  zoot was a much better 6.x distro.  I thought this
>list was dead by now :)
>
>Cheers
>Tony
>
>
>
>_______________________________________________
>Cartman-list mailing list
>[email protected]
>https://listman.redhat.com/mailman/listinfo/cartman-list
>


--------------040201000707020308070208
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<head>
</head>
<body>
Hie Tony <br>
Thanx a lot for the information you provided me which helped me a lot, now
one question by the time i recv'd your mail i went through the official docs
of wu-ftpd virtual host were i came to know for ip aliases so is it not possible
that on the public ip which i have right now i make aliases on that ? if
yes than how ? that's again a Q for me, <br>
<br>
Pratik<br>
<br>
Tony Nugent wrote:<br>
<blockquote type="cite" cite="mid:[email protected]">
  <pre wrap="">On Fri May 10 2002 at 15:12, pratik wrote:<br><br></pre>
  <blockquote type="cite">
    <pre wrap="">Hie !!!<br>I want to setup virtual ftp for couple of domains, i have installed<br>wu-ftpd-2.6.1-16.7x.1 i want to create user1 for domain1 user2 for<br>domain2 &amp; allow specific users to use specific domains folder only to<br>upload download data i have checked the documentations part but m<br>finding it difficult from were to start<br>Can any body guide me for how to setup virtual ftp, creat users , grant<br>Access to that user all in simplest way ?<br>I hope i get help for all above requirements.<br></pre>
    </blockquote>
    <pre wrap=""><!----><br>Unlike the http protocol, ftp does not (can not) host virtual ftp<br>domains on a single IP... each of your virtual ftp sites needs to<br>have its own IP address (which can all be hosted on the one box and<br>even all on the one interface, no problem).  Pointing the domain<br>names in the DNS at a single IP does not work for virtual ftp sites<br>like it does for http.<br><br>  (http is different since the actual URL that is being requested is<br>  in the client's header request given to the httpd server.  The ftp<br>  protocol has no facility for this sort of functionality).<br><br>Once you have your ftp server working with multiple IPs, from there<br>you can hack the wu-ftpd config files to do what you want (since it<br>can now differentiate its behaviour according to the local IP it is<br>talking on).<br><br>If you want to do things like prevent user1 from logging into<br>domain2 (which would normally be possible with multiple accounts on<br>the 

one box), then you'll have to do some fine tuning to the access<br>controls in /etc/ftpaccess.<br><br>Good luck.<br><br></pre>
    <blockquote type="cite">
      <pre wrap="">Cartman-list mailing list<br></pre>
      </blockquote>
      <pre wrap=""><!----><br>(gee, cartman?  zoot was a much better 6.x distro.  I thought this<br>list was dead by now :)<br><br>Cheers<br>Tony<br><br><br><br>_______________________________________________<br>Cartman-list mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br><a class="moz-txt-link-freetext" href="https://listman.redhat.com/mailman/listinfo/cartman-list">https://listman.redhat.com/mailman/listinfo/cartman-list</a><br><br></pre>
      </blockquote>
      <br>
      </body>
      </html>

--------------040201000707020308070208--