I'm not 100% sure what the intended functionality of the header flag in the flow2features command is as I couldn't find a description in the documentation, but when I try to run it, it throws the following error:
ValueError Traceback (most recent call last)
File ~/mambaforge/envs/ml-310-legacy/lib/python3.10/site-packages/scapy/packet.py:455, in Packet.getattr(self, attr)
454 try:
--> 455 fld, v = self.getfield_and_val(attr)
456 except ValueError:
File ~/mambaforge/envs/ml-310-legacy/lib/python3.10/site-packages/scapy/packet.py:450, in Packet.getfield_and_val(self, attr)
449 return self.get_field(attr), self.default_fields[attr]
--> 450 raise ValueError
ValueError:
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
File ~/mambaforge/envs/ml-310-legacy/lib/python3.10/site-packages/scapy/packet.py:455, in Packet.getattr(self, attr)
454 try:
--> 455 fld, v = self.getfield_and_val(attr)
456 except ValueError:
File ~/mambaforge/envs/ml-310-legacy/lib/python3.10/site-packages/scapy/packet.py:450, in Packet.getfield_and_val(self, attr)
449 return self.get_field(attr), self.default_fields[attr]
--> 450 raise ValueError
...
1762 def getfield_and_val(self, attr):
1763 # type: (str) -> NoReturn
-> 1764 raise AttributeError(attr)
AttributeError: proto
I'm not 100% sure what the intended functionality of the header flag in the flow2features command is as I couldn't find a description in the documentation, but when I try to run it, it throws the following error:
ValueError Traceback (most recent call last)
File ~/mambaforge/envs/ml-310-legacy/lib/python3.10/site-packages/scapy/packet.py:455, in Packet.getattr(self, attr)
454 try:
--> 455 fld, v = self.getfield_and_val(attr)
456 except ValueError:
File ~/mambaforge/envs/ml-310-legacy/lib/python3.10/site-packages/scapy/packet.py:450, in Packet.getfield_and_val(self, attr)
449 return self.get_field(attr), self.default_fields[attr]
--> 450 raise ValueError
ValueError:
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
File ~/mambaforge/envs/ml-310-legacy/lib/python3.10/site-packages/scapy/packet.py:455, in Packet.getattr(self, attr)
454 try:
--> 455 fld, v = self.getfield_and_val(attr)
456 except ValueError:
File ~/mambaforge/envs/ml-310-legacy/lib/python3.10/site-packages/scapy/packet.py:450, in Packet.getfield_and_val(self, attr)
449 return self.get_field(attr), self.default_fields[attr]
--> 450 raise ValueError
...
1762 def getfield_and_val(self, attr):
1763 # type: (str) -> NoReturn
-> 1764 raise AttributeError(attr)
AttributeError: proto