Forum Discussion

zak_thompson_86's avatar
zak_thompson_86
Icon for Nimbostratus rankNimbostratus
Jan 24, 2008

L4 and tcp::*

I thought in 9.4.x tcp::* will be available to L4? try settingi a irule that needs tcp::collect and it complaints about the L4 profile needing a TCP Profile in order to work?

Trying to do some fast L4 traffic but split off different requests to different pools.

i.e


when CLIENT_ACCEPTED {
  TCP::collect 100
}

then the client_data event..


switch -glob $http_uri {
    "/images" -
    "*.gif" -
    "*.jpg" -
    "*.ico" -
    "*.js" -
    "*.png" {
      pool image-squids
    }
    "*.php" -
    "*.php?*" {
      pool phpgen
    }
     default {
        pool newmedia4
     }
  }
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    I wonder if it's just a validation error or whether it's not valid to try to buffer packets when passing traffic to the PVA. If you bypass the validation, does the rule work? I would guess not, but could you try this?

     

     

     

    set collect_cmd "TCP::collect 100"

     

    eval $collect_cmd

     

     

    Aaron