-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
NSE: add script for discovering OSPF neighbors #743
Conversation
…ove them outside of DBDescription
Ok, I've got the conflicts resolved, but I have one issue and question: All of our scripts should behave in a reasonable fashion if OpenSSL is not compiled in, so instead of One option would be to check for OpenSSL in the script in the same way, and fail gracefully if |
…in and md5 authentication is found
@dmiller-nmap thanks for pointing this out, I've updated the script: it now fails gracefully just in case. |
EDIT: I fixed the problem by changing the endianness in my nselib/ospf.lua, as Emyl suggested. Hi,
This output indicates that the hello timer sent by the script is 2560 instead of 10 (or 256 times the correct value) and the dead timer is 671088640 instead of 40 (or 16777216 times the correct value) Wireshark output:
EDIT: After changing the endianness, I get the following output:
|
Hi!!
I'd like to contribute to the project by sharing a script for discovering OSPF neighbors.
To make the script work, I've made several additions to the ospf library, and also a small addition to ipOps. I've also considered to partially rewrite the ospf library using Lua native functions instead bin/bit, but I stopped because (maybe due to my poor Lua skills) I didn't found a convenient way to handle hex strings.
Comments are welcome! Thanks!