On Sat Oct 07 07:53:50 2006, alex@yalab.net wrote:
Show quoted text> The ethernet layer may add trailer, currently TCP module take up this
> trailer
> as TCP data, this is wrong.
> This is the way that work for me:
> $tcp_data_len = $ip->{len} - (($ip->{hlen} + $tcp->{hlen})*4);
I think the issue is fixed now. The IP layer will truncate its payload
in function of its length parameter, and so the TCP layer will not
receive the trailing noise.
I'll close the issue for now. If you still see an issue, please feel
free to raise it again.