Giter Site home page Giter Site logo

rblcheck's Introduction

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 .

rblcheck's People

Contributors

debian-janitor avatar helmutg avatar rfc1036 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rblcheck's Issues

Should rblcheck query NS servers directly?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.