Unable to add a cryptomining anti phishing list, json format



  • List is here

    https://raw.githubusercontent.com/409H/EtherAddressLookup/master/blacklists/domains.json

    It seems to parse the list ok as after the download it correctly lists the number of domains.

    [ EthADdressLookup ]	 Downloading update .. 200 OK
      Remote timestamp missing .
      ----------------------------------------------------------------------
      Orig.    Unique     # Dups     # White    # Alexa    Final                
      ----------------------------------------------------------------------
      3312     3304       0          0          0          3304                 
      ----------------------------------------------------------------------
    

    However it then fails I am showing the errors for first 10 entries or so.

    [ DNSBL FAIL ] [ Skipping : EthADdressLookup ]
    
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:1: error: unknown keyword '0xproject.io'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:1: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:1: error: unknown keyword ','
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:1: error: unknown keyword '60'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:1: error: unknown keyword 'IN'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:1: error: unknown keyword 'A'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:1: error: unknown keyword '10.10.10.1'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:1: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:2: error: unknown keyword '0xtoken.com'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:2: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:2: error: unknown keyword ','
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:2: error: unknown keyword '60'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:2: error: unknown keyword 'IN'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:2: error: unknown keyword 'A'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:2: error: unknown keyword '10.10.10.1'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:2: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:3: error: unknown keyword 'aragonproject.io'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:3: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:3: error: unknown keyword ','
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:3: error: unknown keyword '60'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:3: error: unknown keyword 'IN'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:3: error: unknown keyword 'A'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:3: error: unknown keyword '10.10.10.1'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:3: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:4: error: unknown keyword 'bitsdigit.com'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:4: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:4: error: unknown keyword ','
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:4: error: unknown keyword '60'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:4: error: unknown keyword 'IN'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:4: error: unknown keyword 'A'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:4: error: unknown keyword '10.10.10.1'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:4: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:5: error: unknown keyword 'bitspark2.com'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:5: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:5: error: unknown keyword ','
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:5: error: unknown keyword '60'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:5: error: unknown keyword 'IN'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:5: error: unknown keyword 'A'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:5: error: unknown keyword '10.10.10.1'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:5: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:6: error: unknown keyword 'bittreat.com'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:6: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:6: error: unknown keyword ','
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:6: error: unknown keyword '60'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:6: error: unknown keyword 'IN'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:6: error: unknown keyword 'A'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:6: error: unknown keyword '10.10.10.1'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:6: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:7: error: unknown keyword 'bittrex.cam'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:7: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:7: error: unknown keyword ','
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:7: error: unknown keyword '60'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:7: error: unknown keyword 'IN'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:7: error: unknown keyword 'A'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:7: error: unknown keyword '10.10.10.1'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:7: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:8: error: unknown keyword 'bittrex.comze.com'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:8: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:8: error: unknown keyword ','
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:8: error: unknown keyword '60'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:8: error: unknown keyword 'IN'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:8: error: unknown keyword 'A'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:8: error: unknown keyword '10.10.10.1'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:8: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:9: error: unknown keyword 'coin-dash.com'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:9: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:9: error: unknown keyword ','
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:9: error: unknown keyword '60'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:9: error: unknown keyword 'IN'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:9: error: unknown keyword 'A'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:9: error: unknown keyword '10.10.10.1'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:9: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:10: error: unknown keyword 'coin-wallet.info'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:10: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:10: error: unknown keyword ','
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:10: error: unknown keyword '60'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:10: error: unknown keyword 'IN'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:10: error: unknown keyword 'A'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:10: error: unknown keyword '10.10.10.1'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:10: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:11: error: unknown keyword 'coindash.ru'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:11: error: stray '"'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:11: error: unknown keyword ','
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:11: error: unknown keyword '60'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:11: error: unknown keyword 'IN'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:11: error: unknown keyword 'A'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:11: error: unknown keyword '10.10.10.1'
    /var/db/pfblockerng/dnsbl/EthADdressLookup.bk:11: error: stray '"'
    

    any ideas, or is it simply an incompatible feed?


  • Moderator

    Its not a compatible list format… I will see about adding a parser for it tho...

    You could script the download and parse it with the following:

    fetch -o  /tmp/409h.orig "https://raw.githubusercontent.com/409H/EtherAddressLookup/master/blacklists/domains.json"
    cat /tmp/409h.orig | tr -d '"[],' > /tmp/409h.txt
    

    Then add the 409h.txt as a source file into the IPv4 tab….



  • works perfect, great support as always :)