Change profile or chunking on 'CLIENT_ACCEPTED"

Does anybody have a sample iRule or know how to change the profile or chunking after a ‘CLIENT_ACCEPTED’?

I do not want to do a simple redirect.

Thanks,

I think the PROFILE:: commands will only allow you to retrieve a profile setting, not modify them. What are you trying to do exactly? Maybe with more detail, people can try to give more exact suggestions.

Aaron

Your best bet may be to use multiple Virtuals, depending on what you’re trying to do.

If you can give a more thorough description of what you’re actually trying to achieve we might be able to show you how to get there.

Thanks,

Colin

What I am trying to do is turn off chunking if the client is coming from a predefined block of IP addresses. Since chunking is defined in the profile I was hoping that I could use an IRule with a ‘matchclass’ statement to change/set the profile.

I think you set the HTTP version to 1.0 to prevent chunking on the serverside. Else, Colin’s suggestion of specifying a new VIP as a resource in the rule using the ‘virtual’ command (Click here) should work nicely if you’re on 9.4 or higher.

Aaron