Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

GIVE: Support the helpless victims of computer error.


computers / alt.bbs.mystic / iplocation

SubjectAuthor
* iplocationJay Harris
`- Re: iplocationJay Harris

1
iplocation

<403982223@f664.n229.z1.fidonet.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1666&group=alt.bbs.mystic#1666

  copy link   Newsgroups: alt.bbs.mystic
Path: i2pn2.org!i2pn.org!paganini.bofh.team!pasdenom.info!csiph.com!news.bbs.nz!.POSTED.agency.bbs.nz!not-for-mail
From: nospam.Jay.Harris@f664.n229.z1.fidonet.org (Jay Harris)
Newsgroups: alt.bbs.mystic
Subject: iplocation
Date: Sun, 15 Jan 2023 20:38:52 +1300
Organization: Agency HUB, Dunedin - New Zealand | bbs.nz/#Fidonet
Message-ID: <403982223@f664.n229.z1.fidonet.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: news.bbs.nz; posting-host="8IWYKlztXHa0+IViEdY46zrq8kpk7dC9fTbT74JiSDQ";
logging-data="22971"; mail-complaints-to="abuse@news.bbs.nz"
User-Agent: VSoup v1.2.9.47Beta [95/NT]
X-MailConverter: SoupGate-Win32 v1.05
X-Comment-To: g00r00
 by: Jay Harris - Sun, 15 Jan 2023 07:38 UTC

Hi g00r00,

Just wondering if the iplocation.bin file is working?

I have iplocation.bin in place, downloaded from:

https://download.ip2location.com/lite/IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP

I moved/renamed IP2LOCATION-LITE-DB1.IPV6.BIN in that archive to
mystic/data/iplocation.bin and have set some countries in iplocation.txt to B
instead of A.

/mystic/data$ ll ipl*
-rwxr-xr-x 1 jay jay 8.5M Jan 1 07:00 iplocation.bin*
-rwxrwxrwx 1 jay jay 5.6K Jan 7 10:47 iplocation.txt*

When I look at node1.log it's saying "Country: Unknown":

------------------- Node 1 (Mystic v1.12 A48 2023/01/08)
2023.01.15 19:54:30 Connect from 92.169.208.53
(lfbn-idf2-1-1403-53.w92-169.abo.wanadoo.fr)
2023.01.15 19:54:30 Country: Unknown
2023.01.15 19:54:30 MPL execute: /mystic/themes/default/scripts/connect.mpx
2023.01.15 19:54:45 User logged off
2023.01.15 19:54:45 Setting menu to "prelogin" (Default start menu)
2023.01.15 19:54:45 Shutting down

------------------- Node 1 (Mystic v1.12 A48 2023/01/08)
2023.01.15 20:20:02 Connect from 193.142.146.214 (Unknown)
2023.01.15 20:20:02 Country: Unknown
2023.01.15 20:20:02 MPL execute: /mystic/themes/default/scripts/connect.mpx
2023.01.15 20:20:09 Setting menu to "prelogin" (Default start menu)
2023.01.15 20:20:09 Shutting down

This is on the Linux 64 build if that matters. Am I doing something wrong?

Jay

.... The older you get, the better you get, unless you're a banana

Re: iplocation

<905857392@f664.n229.z1.fidonet.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1703&group=alt.bbs.mystic#1703

  copy link   Newsgroups: alt.bbs.mystic
Path: i2pn2.org!i2pn.org!news.bbs.nz!.POSTED.agency.bbs.nz!not-for-mail
From: nospam.Jay.Harris@f664.n229.z1.fidonet.org (Jay Harris)
Newsgroups: alt.bbs.mystic
Subject: Re: iplocation
Date: Tue, 24 Jan 2023 16:25:18 +1300
Organization: Agency HUB, Dunedin - New Zealand
Message-ID: <905857392@f664.n229.z1.fidonet.org>
References: <403982223@f664.n229.z1.fidonet.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: news.bbs.nz; posting-host="8IWYKlztXHa0+IViEdY46zrq8kpk7dC9fTbT74JiSDQ";
logging-data="18384"; mail-complaints-to="abuse@news.bbs.nz"
User-Agent: VSoup v1.2.9.47Beta [95/NT]
X-Comment-To: All
X-MailConverter: SoupGate-Win32 v1.05
 by: Jay Harris - Tue, 24 Jan 2023 03:25 UTC

On 15 Jan 2023, Jay Harris said the following...
JH> Hi g00r00,
JH>
JH> Just wondering if the iplocation.bin file is working?
JH>
JH> I moved/renamed IP2LOCATION-LITE-DB1.IPV6.BIN in that archive to
JH> mystic/data/iplocation.bin and have set some countries in iplocation.txt
JH> to B instead of A.
JH>
JH> When I look at node1.log it's saying "Country: Unknown":
JH>
JH> This is on the Linux 64 build if that matters. Am I doing something
JH> wrong?

Turns out I didn't turn on Country Block under Servers -> Configure Servers for
each of the servers I have enabled (Telnet, SSH & BinkP). Switching that on
allows the county to be shown in both mis.log and node#.log:

+ 2023.01.24 14:22:01 TELNET > Connect on slot 1/5 (180.194.230.226)
+ 2023.01.24 14:22:01 TELNET 1-HostName Unknown
+ 2023.01.24 14:22:01 TELNET 1-Country Philippines (PH)
+ 2023.01.24 14:22:03 TELNET 1-Creating terminal process
+ 2023.01.24 14:22:18 TELNET 1-Closing terminal process (5)
+ 2023.01.24 14:22:20 TELNET > Connect on slot 1/5 (180.194.230.226)
+ 2023.01.24 14:22:20 TELNET 1-HostName Unknown
+ 2023.01.24 14:22:20 TELNET 1-Country Philippines (PH)
+ 2023.01.24 14:22:22 TELNET 1-Creating terminal process
+ 2023.01.24 14:22:37 TELNET 1-Closing terminal process (5)
+ 2023.01.24 14:22:39 TELNET > Connect on slot 1/5 (180.194.230.226)
+ 2023.01.24 14:22:39 TELNET 1-HostName Unknown
+ 2023.01.24 14:22:39 TELNET 1-Country Philippines (PH)
+ 2023.01.24 14:22:41 TELNET 1-Creating terminal process
+ 2023.01.24 14:22:56 TELNET 1-Closing terminal process (5)
+ 2023.01.24 14:22:58 TELNET > Connect on slot 1/5 (180.194.230.226)
+ 2023.01.24 14:22:58 TELNET 1-HostName Unknown
+ 2023.01.24 14:22:58 TELNET 1-Auto banning IP 180.194.230.226
+ 2023.01.24 14:22:58 TELNET 1-Blocked connection

Jay

.... I'm not a complete idiot... Several parts are missing!

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor