T-Rex latency UDP invalid checksum

182 views
Skip to first unread message

azele...@gmail.com

unread,
Nov 7, 2016, 2:02:43 PM11/7/16
to TRex Traffic Generator
Hi,

T-Rex generates invalid UDP checksum when STLFlowLatencyStats is being used.
Have this problem with 2.09 and 2.10. Niantic as well as XL710 have the same problem.

Is there any work around this?

Thanks,
Alex Z.

hanoh haim

unread,
Nov 7, 2016, 2:05:22 PM11/7/16
to azele...@gmail.com, TRex Traffic Generator
Can you send the Python code? Do you have a Field Engine?
you can set the UDP checksum to zero using Scapy. this will solve the issue.


Hanoh


--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/f532cd07-7b6c-42d3-9142-5f4bad8f2c6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Hanoh
Sent from my iPhone

hanoh haim

unread,
Nov 7, 2016, 2:09:46 PM11/7/16
to azele...@gmail.com, TRex Traffic Generator
something like that 

UDP(dport=12,sport=1025,chksum=0)

if you have a Field Engine you can use the Instruction to Fix UDP/TCP Checksum

Hanoh

azele...@gmail.com

unread,
Nov 7, 2016, 3:32:55 PM11/7/16
to TRex Traffic Generator, azele...@gmail.com
On Monday, November 7, 2016 at 2:09:46 PM UTC-5, Hanoch Haim wrote:
> something like that 
>
> UDP(dport=12,sport=1025,chksum=0)
>
>
> if you have a Field Engine you can use the Instruction to Fix UDP/TCP Checksum
>
>
> Hanoh
>
>
>
>
>
> On Mon, Nov 7, 2016 at 9:05 PM, hanoh haim <hhaim...@gmail.com> wrote:
>
> Can you send the Python code? Do you have a Field Engine?
> you can set the UDP checksum to zero using Scapy. this will solve the issue.
>
>
>
>
> Hanoh
>
>
>
>
> On Mon, Nov 7, 2016 at 9:02 PM, <azele...@gmail.com> wrote:
> Hi,
>
>
>
> T-Rex generates invalid UDP checksum when STLFlowLatencyStats is being used.
>
> Have this problem with 2.09 and 2.10. Niantic as well as XL710 have the same problem.
>
>
>
> Is there any work around this?
>
>
>
> Thanks,
>
> Alex Z.
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
>
> To post to this group, send email to trex...@googlegroups.com.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/f532cd07-7b6c-42d3-9142-5f4bad8f2c6b%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
>
> HanohSent from my iPhone
>
>
>
>
>
> --
>
>
>
> HanohSent from my iPhone

Hanoh,

chksum=0 solved the problem ;-)

Thanks a lot!
Alex
Reply all
Reply to author
Forward
0 new messages