Article delegate-en/4541 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A4539@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: ftp mount and virtual names bound to one IP-address
11 Aug 2009 06:30:10 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A4539@delegate-en.ML_> on 08/10/09(21:55:05)
you Jens-Erik Hansen <puicqbdyi-b7qnori4kwhr.ml@ml.delegate.org> wrote:
 |I try to distinguish ftp mounts by the host name. Therefor I start
 |delegated with:

As long as I know, the FTP protocol (and other application protocols
excpet HTTP/1.1) does not support switching host by a virtual host name.
That is the hostname shown at the client as the server name is not
transferred to the server.
So what you can do with FTP is using multipl IP-addresses and ipfw
(or iptables) and DeleGate's MOUNT with "odst=host" option.
Another possible way is using SSL (or extended TLS) (just for)
"Server Name Indication" which indicates the (logical or virtual)
server name from the client's view to the client.

 |SERVER=ftp://ftpserver.foo.org:-:{*:8021}
 |MOUNT="/* ftp://ftpserver.foo.org/ftpdir/* host=-ftp1.foo.org"
 |MOUNT="/* ftp://ftpserver.foo.org/* host=-ftp2.foo.org"
 |
 |With this configuration I always go to ftp://ftpserver.foo.org/ whether
 |if I connect to ftp1.foo.org or ftp2.foo.org.
 |
 |Please can you point me to the right direction how I can accomplish that
 |I go to ftp://ftpserver.foo.org/ftpdir/ if I connect to ftp1.foo.org org
 |and that I go to ftp://ftpserver.foo.org/ if I connect to ftp2.foo.org?

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V