Skip to content
Rbldnsd Rspamd version
Branch: master
Clone or download
Latest commit 2e2f0a6 May 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake Add CMake build system Nov 26, 2018
contrib Add keys logging Mar 20, 2019
debian Meh, fix stuff May 16, 2019
sds Add antirez sds library Apr 18, 2019
t1ha Add t1ha and LTO optimisations Dec 10, 2018
.gitignore Makefile.in: Add 'check' target to run self-test and python-driven te… Mar 12, 2013
CHANGES-0.81 removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
CMakeLists.txt Add antirez sds library Apr 18, 2019
LICENSE.txt Small changes to the license files. Adding copy of GPL2 Sep 29, 2016
NEWS Updating the changelog May 16, 2018
README Update build files and docs Dec 10, 2018
README.user
TODO removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
btrie.c instead of re-implementing assert(), just #undef NDEBUG for TEST build Apr 28, 2013
btrie.h Portability: Fixes to make 'gcc -pedantic' happy. Mar 13, 2013
config.h.in Add support of vectorized datagramms processing Mar 25, 2019
dns.h removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
dns_dnequ.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
dns_dnlabels.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
dns_dnlen.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
dns_dnreverse.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
dns_dntol.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
dns_dntop.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
dns_findname.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
dns_maketab.awk removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
dns_ptodn.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
hooks.c feature: (experimental) support for dynamically-loaded extensions (DSOs) Sep 17, 2006
ip4addr.h use btrie instead of ip4trie in rbldnsd_ip4trie.c Mar 12, 2013
ip4atos.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
ip4mask.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
ip4parse.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
ip6addr.c ip6addr.c(ip6prefix, ip6atos): support compressed "::" notation Mar 12, 2013
ip6addr.h s/ip6addr_t/ip6oct_t/g Mar 6, 2011
istream.c Fix prototypes Mar 24, 2019
istream.h
khash.h Prefer static linking of jemalloc Mar 23, 2019
mempool.c Fix emalloc definition to improve lto Feb 15, 2019
mempool.h removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
qsort.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
rbldnsd.8 prepare 0.998 version Dec 5, 2015
rbldnsd.c Add missing includes Apr 23, 2019
rbldnsd.h Add missing includes Apr 23, 2019
rbldnsd.py Fix for pydns >= 2.3.6 Jul 31, 2013
rbldnsd_acl.c Preliminary aclkey implementation Mar 20, 2019
rbldnsd_aclkey.c Fix empty labels parsing Mar 21, 2019
rbldnsd_combined.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
rbldnsd_dnhash.c Allow all dnset features in dnhash (including wildcards) Mar 21, 2019
rbldnsd_dnhash_fixed.c Preliminary aclkey implementation Mar 20, 2019
rbldnsd_dnset.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
rbldnsd_generic.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
rbldnsd_ip4set.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
rbldnsd_ip4trie.c Allow zero-length CIDR "wildcard" prefixes in ip4trie and acl datasets Mar 12, 2013
rbldnsd_ip4tset.c removed CVS $Keywords$ after cvs=>git conversion Mar 6, 2011
rbldnsd_ip6trie.c ip6trie: new dataset type Mar 12, 2013
rbldnsd_ip6tset.c use dump_ip6() in rblnsd_ip6tset.c Mar 12, 2013
rbldnsd_packet.c Add keys logging Mar 20, 2019
rbldnsd_util.c Add some more utilities Apr 18, 2019
rbldnsd_zones.c Allow to read zones with \r\n line endings Mar 21, 2019
test_acl.py Apparently one can still create ipv6 sockets even when has_ipv6 is False Aug 1, 2013
test_btrie.py add python tests to DISTFILES and move it to main dir Apr 7, 2013
test_ip4trie.py Fix typo in docstring Aug 2, 2013
test_ip6trie.py Avoid the use of inet_pton to parse ipv6 addresses. Jul 30, 2013
tests.py add python tests to DISTFILES and move it to main dir Apr 7, 2013

README

This is rbldnsd.

Main changes from the original source:

1. Added CMake build system
2. Added LTO support when compiling
3. Better portability
4. Switched to semver versioning
5. Added hashed backend (dnhash) that uses less CPU but doesn't support wildcards/negations

TODO:

1. Rate limits using leaky bucket model
2. Hyperscan based regexp backend
3. Multiprocessing using SO_REUSEPORT and eBPF filters to optimise UDP flows
4. Better documentation

The current source tree has been forked from https://github.com/spamhaus/rbldnsd and is now maintained by Vsevolod Stakhov.
The original source was written originally by Michael Tokarev <mjt+rbldnsd@corpit.ru>


The original, unmantained source and debian packages can always be found at:
  http://www.corpit.ru/mjt/rbldnsd.html


Copyright (C) 2018 Vsevolod Stakhov
Copyright (C) 2016-2018 The Spamhaus Project Ltd.
Copyright (C) 2002 Michael Tokarev

  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.,
  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
You can’t perform that action at this time.