Forum Discussion

craig_lee10_177's avatar
Icon for Nimbostratus rankNimbostratus
Aug 24, 2011

capturing the hostname



Does anyone know if it’s possible to create an irule that uses the TCP::collect or TCP::payload commands that captures the resolved hostname from the client making the request? I want to have multiple ftp services running on one virtual server and if a specific resolved hostname comes through then the traffic will be sent to different pools.



Example: -> pool1 -> pool2

1 Reply

  • Hi Craig,



    Unfortunately, this isn't possible as FTP doesn't have a host header like HTTP. The FTP client resolves the hostname to an IP address and then connects to the IP without including any information on which hostname was used.