Because there is no workaround for this problem, you need to change
assp.pl to fix it shortly.
At assp.pl 2.4.5 build 15334 the sub mk_packet starts at line 66852. The
lines 66862 to 66869 are
($packet, $error) = Net::DNS::Packet->new( $fqdn , 'A');
return "Cannot build DNS query for $fqdn, type A: $error" unless
ref($packet);
push @{$self->{ID}}, $packet->header->id;
return $packet->data unless wantarray;
($txt_packet, $error) = Net::DNS::Packet->new($fqdn, 'TXT', 'IN');
return "Cannot build DNS query for $fqdn, type TXT: $error" unless
ref($txt_packet);
push @{$self->{ID}}, $packet->header->id;
$packet->data, $txt_packet->data;
change them to
($packet, $error) = Net::DNS::Packet->new( $fqdn , 'A');
return "Cannot build DNS query for $fqdn, type A: $error" unless
ref($packet);
eval{$packet->header->rd(1);};
push @{$self->{ID}}, $packet->header->id;
return $packet->data unless wantarray;
($txt_packet, $error) = Net::DNS::Packet->new($fqdn, 'TXT', 'IN');
return "Cannot build DNS query for $fqdn, type TXT: $error" unless
ref($txt_packet);
eval{$packet->header->rd(1);};
push @{$self->{ID}}, $packet->header->id;
$packet->data, $txt_packet->data;
by adding the line
eval{$packet->header->rd(1);};
two times
Thomas
Von: Mark Lopez <[email protected]>
An: For Users of ASSP <[email protected]>
Datum: 27.12.2015 16:48
Betreff: Re: [Assp-user] DNS Recursion
Awesome! Although, even without blacklist checks ASSTR still caught 100%
of incoming SPAM. :)
Regards,
Mark
-----Original Message-----
From: Thomas Eckardt [mailto:[email protected]]
Sent: Sunday, December 27, 2015 3:37 AM
To: For Users of ASSP <[email protected]>
Subject: Re: [Assp-user] DNS Recursion
I saw and can confirm, that the RD flag is no longer set per default, if a
DNS packet is created (without a Resolver-object) since any of the latest
versions of Net::DNS.
The next release will fix this.
Thomas
------------------------------------------------------------------------------
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user
DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally
privileged and protected in law and are intended solely for the use of the
individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no
known virus in this email!
*******************************************************
------------------------------------------------------------------------------
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user