• iplocation

    From Jay Harris@1:229/664 to g00r00 on Sunday, January 15, 2023 20:38:52
    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

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Northern Realms | bbs.nrbbs.net | 289-424-5180 (1:229/664)
  • From Jay Harris@1:229/664 to All on Tuesday, January 24, 2023 16:25:18
    On 15 Jan 2023, Jay Harris said the following...

    Hi g00r00,

    Just wondering if the iplocation.bin file is working?

    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.

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

    This is on the Linux 64 build if that matters. Am I doing something 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)