Skip Menu |

This queue is for tickets about the Mail-SPF CPAN distribution.

Report information
The Basics
Id: 21925
Status: resolved
Priority: 0/
Queue: Mail-SPF

People
Owner: JMEHNLE [...] cpan.org
Requestors: advax [...] triumf.ca
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.001



Subject: Deep recursion on subroutine "Mail::SPF::Record::interp
Date: Thu, 5 Oct 2006 14:38:32 -0700 (PDT)
To: bug-Mail-SPF [...] rt.cpan.org
From: Andrew Daviel <advax [...] triumf.ca>
Another memory blow-up, probably a result of two domains including each others records. Show quoted text
----- The following addresses had permanent fatal errors ----- <kobayasi@d0gz.net> (reason: 550 unknown user) ----- The following addresses had permanent fatal errors ----- <hhui@triumf.ca> (reason: 1)
----- Transcript of session follows ----- Query d0gz.net TXT $VAR1 = bless( { 'Value' => '', 'Qualifier' => '', 'ParseValue' => '' }, 'Mail::SPF::Mech::MX' ); $VAR1 = bless( { 'Value' => ':nukote.com', 'Qualifier' => '', 'Domain' => 'nukote.com', 'ParseValue' => '' }, 'Mail::SPF::Mech::Include' ); $VAR1 = bless( { 'Value' => '', 'Qualifier' => '~', 'ParseValue' => '' }, 'Mail::SPF::Mech::All' ); Query d0gz.net MX match_in_domain(mail.d0gz.net, A) Query mail.d0gz.net A mail.d0gz.net. 86398 IN A 67.108.184.101 match_in_domain(mail.d0gz.net, AAAA) Query mail.d0gz.net AAAA Expand nukote.com -> nukote.com Query nukote.com TXT $VAR1 = bless( { 'Value' => '', 'Qualifier' => '', 'ParseValue' => '' }, 'Mail::SPF::Mech::MX' ); $VAR1 = bless( { 'Value' => ':d0gz.net', 'Qualifier' => '', 'Domain' => 'd0gz.net', 'ParseValue' => '' }, 'Mail::SPF::Mech::Include' ); $VAR1 = bless( { 'Value' => '', 'Qualifier' => '~', 'ParseValue' => '' }, 'Mail::SPF::Mech::All' ); Query nukote.com MX match_in_domain(post.nukote.com, A) Query post.nukote.com A post.nukote.com. 300 IN A 67.108.184.113 match_in_domain(post.nukote.com, AAAA) Query post.nukote.com AAAA Expand d0gz.net -> d0gz.net Query d0gz.net TXT $VAR1 = bless( { 'Value' => '', 'Qualifier' => '', 'ParseValue' => '' }, 'Mail::SPF::Mech::MX' ); $VAR1 = bless( { 'Value' => ':nukote.com', 'Qualifier' => '', 'Domain' => 'nukote.com', 'ParseValue' => '' }, 'Mail::SPF::Mech::Include' ); $VAR1 = bless( { 'Value' => '', 'Qualifier' => '~', 'ParseValue' => '' }, 'Mail::SPF::Mech::All' ); Query d0gz.net MX match_in_domain(mail.d0gz.net, A) Query mail.d0gz.net A mail.d0gz.net. 86398 IN A 67.108.184.101 ... ... $VAR1 = bless( { 'Value' => ':d0gz.net', 'Qualifier' => '', 'Domain' => 'Deep recursion on subroutine "Mail::SPF::Record::interp" at /usr/lib/perl5/site_perl/5.8.5/Mail/SPF/Mech/Include.pm line 39. Deep recursion on subroutine "Mail::SPF::Mech::Include::interp" at /usr/lib/perl5/site_perl/5.8.5/Mail/SPF/Record.pm line 101. d0gz.net', 'ParseValue' => '' }, 'Mail::SPF::Mech::Include' ); yup ... $ host -t txt d0gz.net d0gz.net text "v=spf1 mx include:nukote.com ~all" $ host -t txt nukote.com nukote.com text "v=spf1 mx include:d0gz.net ~all" ------------------- Another one: To: <CKNW-AM@listenerclub.com> PTR: Unexpected RR type CNAME at /usr/lib/perl5/site_perl/5.8.5/Mail/SPF/Mech/PTR.pm line 64. PTR/A: Unexpected RR type PTR at /usr/lib/perl5/site_perl/5.8.5/Mail/SPF/Mech/PTR.pm line 59. MX: Unexpected RR type CNAME at /usr/lib/perl5/site_perl/5.8.5/Mail/SPF/Mech/MX.pm line 37. Query listenerclub.com TXT $VAR1 = bless( { 'Value' => '', 'Qualifier' => '', 'ParseValue' => '' }, 'Mail::SPF::Mech::MX' ); $VAR1 = bless( { 'Value' => ':backupmx.fia.net', 'Qualifier' => '', 'Domain' => 'backupmx.fia.net', 'ParseValue' => '' }, 'Mail::SPF::Mech::MX' ); $VAR1 = bless( { 'Value' => ':mail.listenerclub.com', 'Qualifier' => '', 'Domain' => 'mail.listenerclub.com', 'ParseValue' => '' }, 'Mail::SPF::Mech::MX' ); $VAR1 = bless( { 'Value' => ':fia.net', 'Qualifier' => '', 'Domain' => 'fia.net', 'ParseValue' => '' }, 'Mail::SPF::Mech::Include' ); $VAR1 = bless( { 'Value' => '', 'Qualifier' => '-', 'ParseValue' => '' }, 'Mail::SPF::Mech::All' ); Query listenerclub.com MX match_in_domain(backupmx.fia.net, A) Query backupmx.fia.net A backupmx.fia.net. 104794 IN A 64.79.164.67 etc. $ host -t txt listenerclub.com listenerclub.com text "v=spf1 mx ip4:64.79.164.19 ip4:64.79.164.16 ip4:64.79.164.34 ip4:64.79.165.244 mx:backupmx.fia.net mx:mail.listenerclub.com include:fia.net -all" $ host -t txt fia.net fia.net text "v=spf1 mx ptr include:fimc.net -all" host -t txt fimc.net fimc.net text "v=spf1 mx mx:dirks.fimc.net ip4:64.79.165.240 ip4:10.0.0.9 include:fia.net -all" -- Andrew Daviel, TRIUMF, Canada Tel. +1 (604) 222-7376 (Pacific Time) security@triumf.ca
Mail::SPF is currently undergoing a major extension and overhaul (including documentation). A new, polished release is expected within the next 4 weeks (really!). Please wait until then and retry the new release.
Subject: Re: [rt.cpan.org #21925] Deep recursion on subroutine "Mail::SPF::Record::interp
Date: Sun, 8 Oct 2006 10:52:19 -0700 (PDT)
To: Julian Mehnle via RT <bug-Mail-SPF [...] rt.cpan.org>
From: Andrew Daviel <advax [...] triumf.ca>
On Fri, 6 Oct 2006, Julian Mehnle via RT wrote: Show quoted text
> Mail::SPF is currently undergoing a major extension and overhaul > (including documentation). A new, polished release is expected within > the next 4 weeks (really!). Please wait until then and retry the new > release.
Thanks. Bad timing on my part - doing a system upgrade too early. (I don't know if these guys are just clueless, or deliberately trying to screw up SPF in order to get spam around it. But clearly one can't trust DNS records to be well-formed) -- Andrew Daviel, TRIUMF, Canada Tel. +1 (604) 222-7376 (Pacific Time) security@triumf.ca
Please try Mail::SPF 2.001.