Bug 153431 - security/amavisd-new p5-IO-Socket-INET6 causes massive delays on non ipv6 systems
Summary: security/amavisd-new p5-IO-Socket-INET6 causes massive delays on non ipv6 sys...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gabor Kovesdan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-24 19:00 UTC by Michael Scheidell
Modified: 2011-01-17 14:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1004 bytes, patch)
2010-12-24 19:00 UTC, Michael Scheidell
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!