[rbldnsd] Question regarding use of rbldnsd with MAPS RBL

Mark Hennessy mhennessy at cloud9.net
Tue Apr 26 22:28:48 MSD 2005


What should an ACL file look like?
If, for example, I want to allow all requests from 192.168.1.3 and
192.168.1.5, but reject requests from everywhere else, what would the file
have to look like to achieve that result?

--
 Mark Hennessy
-----Original Message-----
From: rbldnsd-bounces at corpit.ru [mailto:rbldnsd-bounces at corpit.ru] On Behalf
Of Mark Hennessy
Sent: Tuesday, April 26, 2005 2:24 PM
To: Small Daemon for DNSBLs
Subject: RE: [rbldnsd] Question regarding use of rbldnsd with MAPS RBL

That did it, thanks.

--
 Mark Hennessy

-----Original Message-----
From: rbldnsd-bounces at corpit.ru [mailto:rbldnsd-bounces at corpit.ru] On Behalf
Of Michael Tokarev
Sent: Tuesday, April 26, 2005 2:19 PM
To: rbldnsd at corpit.ru
Subject: Re: [rbldnsd] Question regarding use of rbldnsd with MAPS RBL

Mark Hennessy wrote:
> I tried to build the most recent version to get the ACL capability, but I
get
> errors.
> I'm using FreeBSD 4.11
> Here is the compilation output:
> 
>  rbldnsd VERSION="0.994.92 (16 Apr 2005)"
> 
[]
> gcc -Wall -W -O2  -c rbldnsd_acl.c
> rbldnsd_acl.c: In function `ds_acl_query':
> rbldnsd_acl.c:142: `AF_INET' undeclared (first use in this function)
> rbldnsd_acl.c:142: (Each undeclared identifier is reported only once
> rbldnsd_acl.c:142: for each function it appears in.)

Please add two lines:

  #include <sys/socket.h>
  #include <netinet/in.h>

into the start of rbldnsd_acl.c file, after other #include statements.
Unlike with real releases, I haven't tried this version on any other
platform but linux, and linux C library header files includes this
stuff indirectly, while other libraries does not.

/mjt
_______________________________________________
rbldnsd mailing list
rbldnsd at corpit.ru
http://www.corpit.ru/mailman/listinfo/rbldnsd

_______________________________________________
rbldnsd mailing list
rbldnsd at corpit.ru
http://www.corpit.ru/mailman/listinfo/rbldnsd



More information about the rbldnsd mailing list