LillyM_9417
Apr 27, 2012Altostratus
extra empty data packet
Hello,
I used the IRULE below, for replacing the first 4 bytes of data packet with the $exe+123456789012345678901234567890 data. It works fine except it sends 40+30 (data packet is 30 bytes)
bytes empty data packet. After this first empty data packet, it works fine and sends
$exe+123456789012345678901234567890 as expected.
What can be the reason of this?
Thanks a lot
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
set exe [TCP::payload 4]
set data 123456789012345678901234567890
set data "$exe$data"
TCP::payload replace 0 4 $data
TCP::release
}