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

A DNSBL server and RBL Checker client written in node.js

Notifications You must be signed in to change notification settings

ndrut/node-dnsbl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

A DNSBL server and RBL Checker client written in node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages