Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eve2pcap.py fails with IPv6 addresses #76

Closed
cherdt opened this issue Feb 3, 2020 · 1 comment
Closed

eve2pcap.py fails with IPv6 addresses #76

cherdt opened this issue Feb 3, 2020 · 1 comment

Comments

@cherdt
Copy link

cherdt commented Feb 3, 2020

I get the following message when using an eve log entry with IPv6 addresses as input:

socket.gaierror: [Errno 8] nodename nor servname provided, or not known

I altered the following line in payload2packet() to get it to work for IPv6:

packet = IP(src=event["src_ip"], dst=event["dest_ip"])

to

packet = IPv6(src=event["src_ip"], dst=event["dest_ip"])
@cherdt
Copy link
Author

cherdt commented Feb 3, 2020

...and now it's working fine without any changes. Sorry for the noise!

@cherdt cherdt closed this as completed Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant