Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 149377 Details for
Bug 217261
mail-filter/SpamAssassin-Botnet timeout patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
the actual patch
timeout.patch (text/plain), 1016 bytes, created by
Benny Pedersen
on 2008-04-11 09:27:58 UTC
(
hide
)
Description:
the actual patch
Filename:
MIME Type:
Creator:
Benny Pedersen
Created:
2008-04-11 09:27:58 UTC
Size:
1016 bytes
patch
obsolete
>--- Botnet.pm.ori 2007-08-06 15:59:16.000000000 +0200 >+++ Botnet.pm 2007-08-06 16:02:43.000000000 +0200 >@@ -711,5 +711,14 @@ > (defined $max) && > ($max =~ /^-?\d+$/) ) { >- $resolver = Net::DNS::Resolver->new(); >+ $resolver = Net::DNS::Resolver->new( >+ udp_timeout => 5, >+ tcp_timeout => 5, >+ retrans => 0, >+ retry => 1, >+ persistent_tcp => 0, >+ persistent_udp => 0, >+ dnsrch => 0, >+ defnames => 0, >+ ); > if ($query = $resolver->search($name, $type)) { > # found matches >@@ -834,5 +843,14 @@ > my ($ip) = @_; > my ($query, @answer, $rr); >- my $resolver = Net::DNS::Resolver->new(); >+ my $resolver = Net::DNS::Resolver->new( >+ udp_timeout => 5, >+ tcp_timeout => 5, >+ retrans => 0, >+ retry => 1, >+ persistent_tcp => 0, >+ persistent_udp => 0, >+ dnsrch => 0, >+ defnames => 0, >+ ); > my $name = ""; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217261
:
149375
| 149377