Forum Discussion
tcp::option insert client_ip ,Server-side F5 to remove the client IP, do SNAT
I have gone through the following irules insert the address of the client to the TCP: : option, my server topology is F5, so how to remove the option in the back of the F5 client SNAT address do
irules : when SERVER_CONNECTED { scan [IP::client_addr] {%d.%d.%d.%d} e b c d TCP::option set 28 [binary format cccc $e $b $c $d] all set tcp_option_content [binary format cccc $e $b $c $d] binary scan $tcp_option_content H* cli_addr_H log local0. "@@@@@$cli_addr_H" set opt28 [TCP::option get 28] log local0. "@@@@$opt28" }
Please tell me the address irules
2 Replies
- TUTU_196998
Nimbostratus
this is collect data ,The red box is the client IP hexadecimal
- TUTU_196998
Nimbostratus
this my rule,A great god given for TCP: : irules option
when SERVER_CONNECTED { scan $src_cli_addr {%d.%d.%d.%d} e b c d TCP::option set 28 [binary format cccc $e $b $c $d] all set tcp_option_content [binary format cccc $e $b $c $d] binary scan $tcp_option_content H* cli_addr_H }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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