Forum Discussion
ichalis_37981
Jun 26, 2006Historic F5 Account
Client connection table in TCL
Hi,
I have come across a number of scenarious where we have developed an iRule that works with a single client (proof of concept) but then the next stage is to implement multiple client support.
This would mean creating a client "connection table" and performing all of the expected house keeping tasks required to maintain such a table, such as adding entries/deleting entries/expiring entries and making sure the table does not grow too large.
One example is where we save the client Ip, client port and a system generated integer in a table, and use this to match outbound connections from the servers.
I have given this some thought, and before i go ahead and try to do this in TCL, i wanted to see if anyone has tackled this problem before. I cant help but think that I would be reinventing the wheel, especially as we already do a lot of this stuff in LTM).
What would be great is that if we took the object oriented approach, and created a "container" which you could store entires in and retrieve data from without having to worry about the background housekeeping tasks. These could be handled as a "global" setting, i.e entry timeouts etc. This could then be re-used whenever we have this requirement in the future.
Has anyone done anything like this?
Regards,
Evan.
1 Reply
- Deb_Allen_18Historic F5 AccountIt sounds like the session table might be what you need.
The wiki page is not too helpful yet, but if you search this forum for the phrase "session add", you will find some useful examples.
HTH
/deb
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
