Closed ivan-balan closed 4 years ago
Similar issue is with the Netflow v5
class NetflowHeaderV5(Packet):
name = "Netflow Header v5"
fields_desc = [ShortField("count", 0), #<< no automatic handler for this value, causes issues if not set manually.
IntField("sysUptime", 0),
UTCTimeField("unixSecs", 0),
UTCTimeField("unixNanoSeconds", 0, use_nano=True),
IntField("flowSequence", 0),
ByteField("engineType", 0),
ByteField("engineID", 0),
ShortField("samplingInterval", 0)]
Thanks for the report. Feel free to submit a PR
Brief description
Environment
I`m not very experienced in Scapy, but as far as I my knowledge's go, it should be calculated during the post_build.
My guess:
I tried it in a few examples, seem to work as expected.
Thanks for a great tool. Stay safe.