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

Supporting IPv6 addresses for the --controller option #42

Merged

Conversation

dopheide-esnet
Copy link
Contributor

Accidentally found out that the --controller option doesn't support IPv6 addresses, so here's a first attempt. I'm hoping to build test cases once I remember how to get those to run.

@dopheide-esnet dopheide-esnet changed the title WIP: Supporting IPv6 addresses for the --controller option Supporting IPv6 addresses for the --controller option Aug 12, 2024
@dopheide-esnet
Copy link
Contributor Author

I've added tests for specifying both v4 and v6 addresses with the --controller option and fixed a result bug that discovered. This should be good now.

@dopheide-esnet dopheide-esnet changed the title Supporting IPv6 addresses for the --controller option WIP: Supporting IPv6 addresses for the --controller option Aug 14, 2024
@dopheide-esnet dopheide-esnet changed the title WIP: Supporting IPv6 addresses for the --controller option Supporting IPv6 addresses for the --controller option Aug 14, 2024
Copy link
Member

@ckreibich ckreibich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Dop! We currently have no other testing of IPv6, I think — I should look into some of those for our cluster testsuite. But if this works for you, yay!

I looked at the ipaddress module and whether it stomachs [...] in its IPv6 handling, but unfortunately it doesn't.

@ckreibich ckreibich merged commit 0aa6f27 into zeek:master Dec 13, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants