IPG is not being followed when using ASTF-flow

62 views
Skip to first unread message

robert.b...@gmail.com

unread,
Jun 20, 2025, 6:08:43 AMJun 20
to TRex Traffic Generator
Hi guys,

have a problem, that when we want to generate following PCAP that is attached, the IPG is not followed exactly what is generated in the PCAP. I have only tested with UDP, not sure how TCP will work.

Used T-rex in ASTF-mode, and set parameter cps=1, limit=1 and cont=True, see snippet:

"""

prog_s = astf.ASTFProgram(side='s', stream=False)

prog_c = astf.ASTFProgram(side='c', stream=False)


temp_c = astf.ASTFTCPClientTemplate(port=port, program=prog_c, ip_gen=ip_gen, cps=1, limit=1, cont=True)

temp_s = astf.ASTFTCPServerTemplate(program=prog_s,

assoc=astf.ASTFAssociationRule(port=port, l7_map={"offset": list(range(0, hashlib.md5().digest_size))}))

profile = astf.ASTFProfile(default_ip_gen=ip_gen, templates=astf_templates, cap_list=[astf.ASTFCapInfo(file=file, cps=1, limit=1, cont=True)], default_c_glob_info=ginfo, default_s_glob_info=ginfo)
 """

I can send the whole script of course, but I think this is as simplified as possible. Any idea if this is expected behaviour, that one would not follow UDP timestamp? /Robert L B

whatsapp_voice_only.pcap
Reply all
Reply to author
Forward
0 new messages