Forum Discussion

upatel209_95128's avatar
upatel209_95128
Icon for Nimbostratus rankNimbostratus
May 07, 2018

Getting an error on this iRule

rule anon_ip { when CLIENT_ACCEPTED { log local0. "-" TCP::collect 0 0 } when CLIENT_DATA { if { [TCP::payload] contains "anonymous" } { log local0. "-" log local0. [TCP::payload] log local0. [IP::local_addr] } TCP::release TCP::collect } }

 

3 Replies

  • What error?

     

    Can you post the irule readable? Select the code and click on the 4th icon above the text field!

     

  • rule anon_ip { when CLIENT_ACCEPTED { log local0. "-" TCP::collect 0 0 } when CLIENT_DATA { if { [TCP::payload] contains "anonymous" } { log local0. "-" log local0. [TCP::payload] log local0. [IP::local_addr] } TCP::release TCP::collect } }

    text