Forum Discussion

Ingo_37166's avatar
Ingo_37166
Icon for Nimbostratus rankNimbostratus
Jul 11, 2008

FTP "host header" to pool

Hi there,

 

 

i want to have multiple ftp services running on one virtual server (one IP). With an irule the services should be sent to different pools.

 

 

Example:

 

supportftp.xy.com -> pool1

 

customerftp.xy.com -> pool2

 

gamesftp.xy.com -> pool3

 

 

I know how to do that with http. You can make a "if http header then ...".

 

But is there a way with ftp too?? I supose the http header comand will not work

 

 

Greetings from Switzerland!

 

Ingo
  • I don't think FTP has any kind of headers. The actual data in the network streams don't include the host it's connecting to anywhere (as far as I can determine). I'm not sure if there's anything in the connection that you could use to determine which hostname was used, as I believe FTP just resolves the hostname to an IP and uses that to connect.

     

     

    You'd probably have to have different virtual servers (different IPs), or use different ports for each.
  • Okay, thanks guys! I think i will jut put all the FTPs to different existing virtuall adresses. Seems to be the easiest way.

     

    I do not want to analyse the TCP stream (this time ...).

     

     

    Thanks, Ingo