-
Notifications
You must be signed in to change notification settings - Fork 785
Add addr6 support to fortinet fnsysctl ifconfig #2255
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
base: master
Are you sure you want to change the base?
Add addr6 support to fortinet fnsysctl ifconfig #2255
Conversation
|
i also encountered an "Interrupt" option on an older version (v5.x) of my firewalls and i'm unsure whether it's still present in newer versions of ifconfig. i didn't add it in the pull request for the above reason. tell me if u want to see it in the pull request. |
@giovanni-bellini-argo |
|
I added patterns to capture the IPv6 prefix length as In terms of normalization, this is one of those situations where more discussion may occur or maybe we implement normalization at a later time for the next major release version. |
Dismissing review since there are remaining questions.
|
here is the requested example: i couldn't find in which versions of ifconfig this line is included so i can't state this line isn't included in newer versions, but the only case i found is in a v5.x, as state above. |
as for normalization what u want to normalize exactly? |
Nice. Thank you. I was going to obfuscate your MAC addresses in the test data (in case you're worried about that), put some of those interfaces in a separate file, and generate the yaml. But I can't push those updates to your branch any longer. If you'd like me to open a PR against your fork I certainly can.
Fair question as I wasn't clear. Whether we want to differentiate IPv6 prefixes from IPv4 with the name. |
|
first of all i can confirm the interrupts can be found on v6 and i added them to the pull request as suggeted. as for the mac addresses, don't worry, i aleady obfuscated them so no need to, and they are of a machine we only use for tests which is not exposed. as for the normalization i would suggest that till someone finds any related problems it's ok to keep it like this. |
|
@giovanni-bellini-argo I'm thinking that maybe it's enough to just match the line (but not capture the number). |
Add inet addr6 support to fortinet fnsysctl ifconfig