-
Notifications
You must be signed in to change notification settings - Fork 163
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
Issue with obtaining v4 and v6 prefixes on MACOS #45
Comments
hey @Therros2023, this appears to be a problem similar to #40. Please see if those steps help you. |
Hi @nitefood Cheers - just did having a look. Updated brew Update brew on the Mac:
Still cannot do prefix retrival. |
Ok, that's to be expected since that's BASH specific (the
Can you try running the command as |
Done. See Attached. |
So it's indeed breaking in the exact spot where the script accesses the At this point I'm inclined to think Homebrew's BASH package has an issue with this. The possible options that I can see are two:
|
Reinstall of homebrew bash was unsuccessful. Will try macports next. |
Was looking around to see if there were traces of this error somewhere else, and this comment caught my eye. Not sure if this is really the case (furthermore they discuss ksh and not BASH), but the behavior looks consistent to what you're experiencing (and the explanation would be meaningful for BASH as well, since it suggests FD3 is "special" on MacOS). Closing FD 3 on MacOS apparently could trigger a SIGKILL, which is what you're experiencing in the end. It's worth to test this idea by changing the code to use a FD other than 3. Please try the attached version that uses FD 6, and let me know. |
Retrieving prefix allocations and announcements for AS550... (press CTRL-C to caRetrieving information for IPv6 prefix 1/1 (press CTRL-C to cancel)...Killed: 9 |
Genius, that worked prefix retrieval is working again: Good find with that post.
|
Awesome, will commit this fix later today and close the issue. Thanks for reporting! |
Nah, thanks for taking the time - much appreciated. |
Hi nitefood,
Mac seems to have an issue grabbing prefixes both IPv4 and v6:
Seems to be an issue with how the connection to ripe is made, maybe?
The text was updated successfully, but these errors were encountered: