Subj : Re: iplocation
To   : All
From : Jay Harris
Date : Tue Jan 24 2023 04:25 pm

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!

--- Mystic BBS v1.12 A48 (Linux/64)
* Origin: Northern Realms | bbs.nrbbs.net | 289-424-5180 (1:229/664)