Skip to Content.
Sympa Menu

discuss - Re: [opennic-discuss] [script issue] Problem with opennic-up script in wiki referenced repository

discuss AT lists.opennicproject.org

Subject: Discuss mailing list

List archive

Re: [opennic-discuss] [script issue] Problem with opennic-up script in wiki referenced repository


Chronological Thread  
  • From: kevin <krattai AT gmail.com>
  • To: discuss AT lists.opennicproject.org
  • Subject: Re: [opennic-discuss] [script issue] Problem with opennic-up script in wiki referenced repository
  • Date: Wed, 17 Mar 2021 09:11:14 -0500

To follow up with the opennic-up script issue on the kewlfft repo, got
a response indicating the repo owner is "not using the DNS at the
moment".

Not sure if someone else wants to fork the script and maintain
and adjust the opennic wiki accordingly, or perhaps it might be best to
just remove the reference in the wiki at this time.

Here's the issue
thread on the kewlfft/opennic-up repo:

https://github.com/kewlfft/opennic-up/issues/8

I do not know of any static IPs that "should" be used "safely" in the
script and don't have the time at the moment to look at the script to
determine how best to solve for the problem.

Cheers,

Kevin

On Wed, 2021-03-17 at 01:28 -0500, kevin wrote:
> OK, here's the issue and I will post a bug issue to the repository,
> but
> the repository in question was last updated 9 months ago so not sure
> how active it is.
>
> I received this report of the error:
>
> "Ramiro Romani, [16.03.21 22:25]
> [In reply to Rat]
> when I run the opennic-up script I get this:
> Error: error sending query: Error creating socket
>
> Using 161.97.219.82 as API host
> Updating whitelist with IP for user: xxxx
> https://api.opennic.org/geoip/?list&ipv=4&res=200&adm=0&bl&wl
> ERROR: API not available"
>
>
> "Ramiro Romani, [16.03.21 22:58]
> [In reply to Rat]
> the script is located here: https://github.com/kewlfft/opennic-up
> "
>
> I found out that script and repo is referenced in the DNS Wizards ->
> Linx, second item in the wiki:
> https://wiki.opennic.org/
>
> Two lines in the script have hard coded IPs and neither of the IPs
> resolve at this time
>
> anycast="185.121.177.177"
>
> # wait for network up 20s*4
> log 'Checking network is up'
> fping -q -t 20000 "$anycast"
>
> # find out what the IP address of api.opennicproject.org is, fallback
> static IP address configured
> apihost=api.opennic.org
> apiip=$(dnslookup "$anycast" "$apihost")
> echo $apiip
> apiip=${apiip:-"161.97.219.82"}
> log "Using $apiip as API host"
>
> The IP 185.121.177.177 is down and 161.97.219.82 is abandoned to a VM
> host provider.
>
> Anyhow, the reason I'm posting this to the list is, I don't remember
> if I have wiki edit rights / an account to make any changes and I'm
> not sure if that repo is being maintained so don't want to remove
> what should otherwise be a valid reference. But if that script is
> abandoned and won't be updated, then perhaps that script should be
> removed as a reference on the wiki.
>
> Hope that all made sense.
>
> Cheers,
>
> kevin




Archive powered by MHonArc 2.6.24.

Top of Page