From: Dirk Koopman Date: Mon, 2 Jan 2017 21:48:51 +0000 (+0000) Subject: add rbn.pl - a deduplicating RBN spot filter X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=51d87fa76d0619748d20c522809f952eb4c2bb0d;p=spider.git add rbn.pl - a deduplicating RBN spot filter This is some experimental preparatory work for adding in handling of an RBN feed to DXSpider. --- diff --git a/Changes b/Changes index d23c9733..5d16d91f 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,6 @@ 02Jan17======================================================================= 1. Add CTY-2615 prefixes +2. Add rbn.pl - an experimental rbn deduplicating spot filter. 26Dec16======================================================================= 1. Fix some possible routes to $myalias callsigns becoming nodes. 22Nov16======================================================================= diff --git a/perl/rbn.pl b/perl/rbn.pl new file mode 100755 index 00000000..0c966473 --- /dev/null +++ b/perl/rbn.pl @@ -0,0 +1,114 @@ +#!/usr/bin/perl +# +# An RBN deduping filter +# +# Copyright (c) 2017 Dirk Koopman G1TLH +# + +use strict; +use 5.10.1; +use IO::Socket::IP -register; +use Math::Round qw(nearest); + +my $host = 'telnet.reversebeacon.net'; +my $port = 7000; +my $mycall = shift or die "usage:rbn.pl [debug] [