Forum Discussion
Nat_Thirasuttakorn
Nov 24, 2015Employee
Hi Hamdi Fersi,
This iRules should replicate the bind... this part of code should do that
when SERVER_CONNECTED {
if { $first_bind_resp } {
TCP::collect
} else {
TCP::collect -all
TCP::respond $bind_message
}
}
one thing to note, the very first iRules expect bind_transmitter (hex 0x00000002) in your case, it could be bind_transceiver (hex 0x00000009)?
anyway, this part of code record the bind message. you could change it from
switch -glob $oper {
00000002 {
set bind_message [TCP::payload $len]
}
to
switch -glob $oper {
00000002 -
00000009 {
set bind_message [TCP::payload $len]
}
so it will record the message for both type of bind
Nat