Skip to content

Header flag in flow2features throwing error #36

@Conmcgr

Description

@Conmcgr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions