Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Latest commit

 

History

History
75 lines (56 loc) · 2.23 KB

readme.md

File metadata and controls

75 lines (56 loc) · 2.23 KB

node-rblchecker

Server (rbl-server.js):

Update the values in config.json:

{
    "listenHost": "0.0.0.0",                // Listening host
    "listenPort": "53",                     // Listening port (DNS requests default to port UDP 53)
    "hostBase": "rbl.iheardyouliek.com",    // The base hostname requests will be prepended to.
    "standardResponse": "127.0.0.2",        // The response returned when there's a match.
    "logfile": "./access.log"               // Path to the file used for logging.

}

####Example output:

[root@desktop andrew]# host 2.0.0.127.rbl.iheardyouliek.com
2.0.0.127.rbl.iheardyouliek.com has address 127.0.0.2
[root@desktop andrew]# dig txt 2.0.0.127.rbl.iheardyouliek.com +short
"cbl.abuseat.org"
"multi.surbl.org"
"bl.spamcannibal.org"
"spam.abuse.ch"
"b.barracudacentral.org"
"bl.spamcop.net"
"spam.dnsbl.sorbs.net"
"dnsbl.sorbs.net"

Supported RBL's:

TODO

  • [Server] Figure out why each request has two packets, resulting in two log entries.

Client (rbl.js):

Ran from cli:

rbl.js

[root@phoenix rbl]# ./rbl.js 127.0.0.2
Barracuda has your IP on it's blacklist!
SpamCop has your IP on it's blacklist!
Sorbs Aggregate Zone has your IP on it's blacklist!
Composite Blocking List has your IP on it's blacklist!
Sorbs spam.dnsbl Zone has your IP on it's blacklist!
Spam Cannibal has your IP on it's blacklist!
Multi SURBL has your IP on it's blacklist!
dnsbl.abuse.ch has your IP on it's blacklist!