Forum Discussion
craig_lee10_177
Nimbostratus
Aug 24, 2011capturing the hostname
Hi
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:
ftp.server1.com -> pool1
ftp.server2.com -> pool2
1 Reply
- hoolio
Cirrostratus
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.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects