Bug 153431

Summary: security/amavisd-new p5-IO-Socket-INET6 causes massive delays on non ipv6 systems
Product: Ports & Packages Reporter: Michael Scheidell <michael.scheidell>
Component: Individual Port(s)Assignee: Gabor Kovesdan <gabor>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Michael Scheidell 2010-12-24 19:00:17 UTC
see:

<http://www.gossamer-threads.com/lists/spamassassin/users/157611>

if you include p5-IO-Socket-INET6 with a system that doesn't have ipv6 compiled in the kernel, you can cause 28 second delays PER DNS LOOKUP IN amavisd-new.

with mx, a, ptr, dkim, rbl and spf lookups, you can cause 3 mins delays per email.

(spamassassin -D < ../test-messages/sample-spam.txt took 6 second without INET6, 2mins 46 seconds with)

Fix: Q to maintainer:  I can't see why p5-IO-Socket-INET6 is required on non ipv6 systems.  without it, everything seems fine.


this patch will fix it:
How-To-Repeat: portinstall p5-IO-Socket-INET6 on a non ipv6 system:
(comes installed as a requirement for amavisd-new)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-12-24 19:00:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gabor

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-01-17 14:33:20 UTC
gabor       2011-01-17 14:33:14 UTC

  FreeBSD ports repository

  Modified files:
    security/amavisd-new Makefile distinfo 
  Log:
  - Make IPv6 support optional because it causes a delay on systems that
    do not support it
  
  PR:             ports/153431
  Submitted by:   Michael Scheidell <michael.scheidell@secnap.com>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.83      +8 -4      ports/security/amavisd-new/Makefile
  1.41      +0 -1      ports/security/amavisd-new/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Gabor Kovesdan freebsd_committer freebsd_triage 2011-01-17 14:33:32 UTC
State Changed
From-To: open->closed

Committed, thanks!