• Country Identification

    From stizzed@21:4/156 to All on Wednesday, May 29, 2019 21:02:46
    Is there anything special that has to be done to get Mystic to identify the country the caller is calling from? My logs show that each and every caller is from 'Unknown'. This is fine if the Goobermint is watching, but I would like to know for the log analyzer I'm writing.

    -Stizz

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: The ROCK BBS III - therockbbs.net - TELNET:10023 (21:4/156)
  • From ernie@21:4/157 to stizzed on Wednesday, May 29, 2019 23:11:35
    On 29 May 2019, stizzed said the following...
    Is there anything special that has to be done to get Mystic to identify the country the caller is calling from? My logs show that each and
    every caller is from 'Unknown'. This is fine if the Goobermint is watching, but I would like to know for the log analyzer I'm writing.

    There's instructions in <mysticpath>/data/iplocation.txt

    Having said that, I've followed the instructions and I haven't seen a change
    in the logs. :(

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: LostCause Halfway House (21:4/157)
  • From Avon@21:1/101 to ernie on Thursday, May 30, 2019 19:33:13
    On 29 May 2019 at 11:11p, ernie pondered and said...

    On 29 May 2019, stizzed said the following...
    Is there anything special that has to be done to get Mystic to identi the country the caller is calling from? My logs show that each and every caller is from 'Unknown'. This is fine if the Goobermint is watching, but I would like to know for the log analyzer I'm writing.

    There's instructions in <mysticpath>/data/iplocation.txt

    Having said that, I've followed the instructions and I haven't seen a change in the logs. :(

    Well yep I'd make sure you follow those notes first and foremost and ensure
    the file layout remains intact by using an editor like notepad++ or similar

    [snip]

    ; MASTER COUNTRY LOOKUP/BLOCK LIST
    ;
    ; To block a country, change the first letter from "A" to "B" to block all
    ; connections from that country.
    ;
    ; Be very careful not to mangle the layout of this file. Each line must
    ; have either an A or B on the line, followed by 2 letter ISO 3166-1 country
    ; code followed by the country name. They must all be separated by two spaces ;
    ; IP Database must be named "iplocation.bin" in the DATA directory and is a
    ; free "IP2Location LITE IP-COUNTRY Database" in the "IPV6 BIN" format, which
    ; can be downloaded from:
    ;
    ; lite.ip2location.com/database/ip-country
    ;
    ; Download the proper ZIP and store the ".bin" file contained in the archive
    ; in your DATA directorty as "iplocation.bin". An example of the proper
    ; database filename to download is "IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP"

    [snip]

    you also want to ensure you have the .bin file in the data directory also.

    There is an older copy of this file at http://mysticbbs.com/downloads/iplocation.zip if you want another place to
    find it. The .ZIP also contains a copy of an untouched iplocation.txt file.

    Close and restart your servers and make sure you actually turn it on. For example in the the BinkP server config

    Port ³ 24554
    Max Allowed ³ 5
    Auto IP Ban ³ 0 in 0 secs
    Country Block ³ Yes
    Send Blocked ³ No
    Time Out ³ 30

    Or in the Telnet server

    Port ³ 23
    Max Allowed ³ 8
    Auto IP Ban ³ 4 in 120 secs
    Country Block ³ Yes
    Send Blocked ³ No
    Dupe IP Limit ³ 0


    MIS server logs will show this kind of detail

    + 2019.05.30 15:54:41 TELNET > Connect on slot 1/8 (24.50.212.160)
    + 2019.05.30 15:54:41 TELNET 1-HostName Unknown
    + 2019.05.30 15:54:41 TELNET 1-Country Puerto Rico (PR)
    + 2019.05.30 15:54:41 TELNET 1-Creating terminal process


    Best, Paul

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From ernie@21:4/157 to Avon on Thursday, May 30, 2019 08:11:32
    On 30 May 2019, Avon said the following...
    On 29 May 2019 at 11:11p, ernie pondered and said...
    On 29 May 2019, stizzed said the following...
    There is an older copy of this file at http://mysticbbs.com/downloads/iplocation.zip if you want another place
    to find it. The .ZIP also contains a copy of an untouched iplocation.txt file.

    I'll have to grab that... as I see some strangeness in the logs... :)

    ------------------- Node 1 (Mystic v1.12 A43 2019/03/02)
    2019.05.30 07:26:11 Connect from 98.3.43.197
    (mta-98-3-43-197.rochester.rr.com)
    2019.05.30 07:26:11 Country: South Korea
    2019.05.30 07:26:11 Set time left 30 TE=476
    2019.05.30 07:26:13 ernie logged in
    2019.05.30 07:26:13 First login today, setting time to 999
    2019.05.30 07:26:13 Set time left 999 TE=1445
    2019.05.30 07:26:13 Setting time left to 999
    2019.05.30 07:26:14 MPL execute: /opt/mystic/lostcause/scripts/bulletin.mpx 2019.05.30 07:31:18 User logged off
    2019.05.30 07:31:18 Shutting down

    ------------------- Node 1 (Mystic v1.12 A43 2019/03/02) 2019.05.30 08:03:27 Connect from 98.3.43.197 (mta-98-3-43-197.rochester.rr.com)
    2019.05.30 08:03:27 Country: Netherlands
    2019.05.30 08:03:27 Set time left 30 TE=513
    2019.05.30 08:03:31 ernie logged in
    2019.05.30 08:03:31 First login today, setting time to 999
    2019.05.30 08:03:31 Set time left 999 TE=1482
    2019.05.30 08:03:31 Setting time left to 999
    2019.05.30 08:03:35 MPL execute: /opt/mystic/lostcause/scripts/bulletin.mpx

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: LostCause Halfway House (21:4/157)
  • From stizzed@21:4/156 to Avon on Thursday, May 30, 2019 23:02:07
    ; Download the proper ZIP and store the ".bin" file contained in the archive ; in your DATA directorty as "iplocation.bin". An example of
    the proper ; database filename to download is "IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP"

    Worked a CHARM, Paul!

    Thanks so very much!!!

    -Stizz

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: The ROCK BBS III - therockbbs.net - TELNET:10023 (21:4/156)