rfc1036 / rblcheck Goto Github PK
View Code? Open in Web Editor NEWrblcheck
License: GNU General Public License v2.0
rblcheck
License: GNU General Public License v2.0
rblcheck - Command-line interface to DNSBL-style filters. Copyright (C) 1997, 1998, 1999, 2000, 2001 Edward S. Marshall <[email protected]> Copyright (C) 2019 Marco d'Itri <[email protected]> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ------------------------------------------------------------------------------- This program is a very basic interface to DNS listings such as the DNSBL filter operated by the MAPS project. The basic idea of the filter is that when someone is listed (for example, a blacklist for email abusers), a new domain name is resolved of the form "2.0.0.127.domain.name.com", where 2.0.0.127 is the abusive IP address in reverse (for example, 2.0.0.127 would be the IP address 127.0.0.2), and "domain.name.com" is the base domain name of the filtering service (such as "blackholes.mail-abuse.org", for the MAPS project DNSBL filter). To learn how to build this program, please read docs/INSTALL. Seriously. Make sure to check the default lists of DNSBLs in the "sites.h" file. The official home for rblcheck is https://github.com/rfc1036/rblcheck .
Currently rblcheck use the machine configured servers, the machine can be configured to hit a public resolver, which is not allowed by spamhauss, at least not on their free plan.
spanhaus give an error when a public resolver tries to query them:
$ dig 79.106.226.46.xbl.spamhaus.org +short
127.255.255.254
Which means according to https://www.spamhaus.org/faq/section/DNSBL%20Usage#200 "Query via public/open resolver".
The query works when querying their resolver directly:
$ dig 79.106.226.46.xbl.spamhaus.org @$(dig NS xbl.spamhaus.org +short | head -n 1) +norec
(oohh I which dig have an option for this, a bit like '+trace' but not from root...)
which gives NXDOMAIN as I'm hopefully not blacklisted.
This is surprising because it give false positives using rblcheck:
$ rblcheck 46.226.106.79
46.226.106.79 listed by xbl.spamhaus.org
46.226.106.79 listed by pbl.spamhaus.org
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.