Forum Discussion

Philipp_Stadler's avatar
Philipp_Stadler
Icon for Nimbostratus rankNimbostratus
Feb 11, 2014

Tie mupltiple TCP sessions together

Hi all,

 

I've a question regarding corresponding TCP session on a website. I want to count all bytes and multiple other parameters for a website in an irule.

 

In my expample I've installed a webserver and mediawiki. A single load of the main page triggers multiple HTTP requests included in multiple TCP requests. (This is done at almost every webpage) At the moment I'm only able to tie all HTTP requests in one TCP request in an irule together, but I couldn't find a way, to tie all TCP requests for a single load of the Main Page.

 

Is there a possibility to do that in any way?

 

Many thanks for your hints,

 

Philipp

 

2 Replies

  • At the moment I'm only able to tie all HTTP requests in one TCP request in an irule together, but I couldn't find a way, to tie all TCP requests for a single load of the Main Page.

     

    is http cookie useful? what if we insert cookie in the first response and then count all request/connection which cookie value matches.

     

  • good point - I thought about that already but wasn't sure if this fits my requirements. I just tested it and cookies could really be used to tie it together (in conjunction with session tables). But now I have the problem when to trigger the logmessage.