<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.mail.spam.spf.devel">
    <title>gmane.mail.spam.spf.devel</title>
    <link>http://blog.gmane.org/gmane.mail.spam.spf.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2039"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2038"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2036"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2035"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2034"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2033"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2032"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2031"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2030"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2029"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2028"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2027"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2026"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2025"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2024"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2023"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2022"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2021"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2020"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2019"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2039">
    <title>Re: RT -- impossible to report bugs</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2039</link>
    <description>Scott Kitterman &lt;scott&lt; at &gt;kitterman.com&gt; [01-12-2008 14:46]:
[...]

Aww, typo.  Thanks.

</description>
    <dc:creator>Radoslaw Zielinski</dc:creator>
    <dc:date>2008-12-01T15:45:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2038">
    <title>Re: RT -- impossible to report bugs</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2038</link>
    <description>
This is because you've got an excess of t's in your mail.  Try 
libspf2&lt; at &gt;rt.anarres.org.

Scott K


</description>
    <dc:creator>Scott Kitterman</dc:creator>
    <dc:date>2008-12-01T13:46:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2036">
    <title>Re: Fwd: [milter-greylist] HEADS-UP: libspf2 causes milter-greylist memory leak?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2036</link>
    <description>
I do not believe we are allowed to look inside _res. I have certainly
included the patch for res_ndestroy, but I believe the library authors
have to make calling res_init() multiple times safe. Perhaps you could
check this in your system source code? I have checked two
implementations, including the one at
http://www.koders.com/c/fid6F05A2EABB6A6CFB02D691F0F98DFB676F0B15E7.aspx?s=sort#L212 and both appear safe.

Please see 1.2.9. Further patches will make 1.2.10 in a week or two.

S.



</description>
    <dc:creator>Shevek</dc:creator>
    <dc:date>2008-11-04T16:31:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2035">
    <title>Re: Fwd: [milter-greylist] HEADS-UP: libspf2 causes milter-greylist memory leak?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2035</link>
    <description>Hi,



hannah&gt; Why is that needed, and how portable is that in fact, compared to
hannah&gt; calling res_init unconditionally in that place?

Because, the libspf2 is not only consumer of the resolver.  The
res_init() might be called already before calling it from libspf2.  It
is enough to call res_init() once.
Basically, res_init() is used in this manner on BSDs.  The impact of
calling res_init() again and again is unclear.
I'm not sure about portability, but the _res and RES_INIT is described
in resolver(8) on at least BSDs and CentOS.

Sincerely,

--
Hajimu UMEMOTO &lt; at &gt; Internet Mutual Aid Society Yokohama, Japan
ume&lt; at &gt;mahoroba.org  ume&lt; at &gt;{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


</description>
    <dc:creator>Hajimu UMEMOTO</dc:creator>
    <dc:date>2008-10-29T17:39:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2034">
    <title>Re: include: result confusion?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2034</link>
    <description>Hi!

Just to be public about this (I've already talked in private about this
with Scott):

My patch about the result code for included, but missing domains was
*wrong*. Please ignore it. The code in v1.2.8 *is* correct in this
respect. My local *test* was wrong.

The other patch (src/libspf/spf_request.c) still stands, I think.

Kind regards and sorry for any confusion,

Hannah.

On Wed, Oct 22, 2008 at 12:28:10PM +0200, Hannah Schroeter wrote:



That's what's *wrong*.





That's what's probably ok.


</description>
    <dc:creator>Hannah Schroeter</dc:creator>
    <dc:date>2008-10-28T16:07:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2033">
    <title>Re: Fwd: [milter-greylist] HEADS-UP: libspf2 causes milter-greylist memory leak?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2033</link>
    <description>Hi!

On Tue, Oct 28, 2008 at 02:27:28PM +0100, Hannah Schroeter wrote:



And I see that in the svn repository it has been done just that way
(with autoconf), for that one first diff chunk.

Kind regards,

Hannah.


</description>
    <dc:creator>Hannah Schroeter</dc:creator>
    <dc:date>2008-10-28T13:40:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2032">
    <title>Re: Fwd: [milter-greylist] HEADS-UP: libspf2 causes milter-greylist memory leak?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2032</link>
    <description>Hi!

On Tue, Oct 28, 2008 at 03:15:20AM +0100, Johann E. Klasek wrote:








Makes sense.


Kind regards,

Hannah.


</description>
    <dc:creator>Hannah Schroeter</dc:creator>
    <dc:date>2008-10-28T13:27:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2031">
    <title>Re: Fwd: [milter-greylist] HEADS-UP: libspf2 causes milter-greylist memory leak?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2031</link>
    <description>
Sorry, but this patch won't work on platform where res_* functions are
real library functions, e.g on Solaris at least up to Solaris 9 ... The
above fix is targeting mainly Linux or maybe NetBSD where res_* is just
a macro layer. Even with checking the __RES macro value (resolver
release date) this could not be catched (e.g. Solaris 9 has
res_ndestroy, Solaris 8 not but both have the same __RES value!).

AFIAK some autoconf stuff is needed to get the information if 
res_ndestroy can (should) be used!


Johann Klasek



</description>
    <dc:creator>Johann E. Klasek</dc:creator>
    <dc:date>2008-10-28T02:15:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2030">
    <title>Re: Fwd: [milter-greylist] HEADS-UP: libspf2 causes milter-greylist memory leak?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2030</link>
    <description>Hi!

On Sat, Oct 25, 2008 at 01:48:32AM +0900, Hajimu UMEMOTO wrote:





I see this, but...


Why is that needed, and how portable is that in fact, compared to
calling res_init unconditionally in that place?

Kind regards,

Hannah.


</description>
    <dc:creator>Hannah Schroeter</dc:creator>
    <dc:date>2008-10-27T13:52:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2029">
    <title>Re: Fwd: [milter-greylist] HEADS-UP: libspf2 causes milter-greylist memory leak?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2029</link>
    <description>Hi,


pettai&gt; This has been fixed by a patch in the FreeBSD Ports tree. See (and specifically
pettai&gt; patch submission [2]):
pettai&gt; ftp://ftp.freebsd.org/pub/FreeBSD/development/FreeBSD-CVS/ports/mail/libspf2/files/patch-src_libspf2_spf__dns__resolv.c,v

pettai&gt; AFAICS, this fix doesn't seem to be in the latest version of the libspf2-1.2.8
pettai&gt; source. Maybe someone can add it to libspf2's main CVS branch instead?

Here is a patch against 1.2.8:

Index: src/libspf2/spf_dns_resolv.c
diff -u -p src/libspf2/spf_dns_resolv.c.orig src/libspf2/spf_dns_resolv.c
--- src/libspf2/spf_dns_resolv.c.origThu Oct 16 07:02:03 2008
+++ src/libspf2/spf_dns_resolv.cFri Oct 24 12:19:29 2008
&lt; at &gt;&lt; at &gt; -92,7 +92,11 &lt; at &gt;&lt; at &gt; static pthread_key_tres_state_key;
 static void
 SPF_dns_resolv_thread_term(void *arg)
 {
+#ifdef res_ndestroy
+res_ndestroy( (struct __res_state *)arg );
+#else
 res_nclose( (struct __res_state *)arg );
+#endif
 free(arg);
 }
 
&lt; at &gt;&lt; at &gt; -615,7 +619,7 &lt; at &gt;&lt; at &gt; SPF_dns_resolv_new(SPF_dns_server_t *lay
 #if HAVE_DECL_RES_NINIT
 pthread_once(&amp;res_state_control, SPF_dns_resolv_init_key);
 #else
-if ( res_init() != 0 ) {
+if ((_res.options &amp; RES_INIT) == 0 &amp;&amp; res_init() != 0) {
 perror("res_init");
 return NULL;
 }


Sincerely,

--
Hajimu UMEMOTO &lt; at &gt; Internet Mutual Aid Society Yokohama, Japan
ume&lt; at &gt;mahoroba.org  ume&lt; at &gt;{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


</description>
    <dc:creator>Hajimu UMEMOTO</dc:creator>
    <dc:date>2008-10-24T16:48:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2028">
    <title>Re: Fwd: [milter-greylist] HEADS-UP: libspf2 causes milter-greylist memory leak?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2028</link>
    <description>

For reasons I'm not quite sure of since I don't do C code, I have access to 
the libspf2 svn.  I looked and this is at least partially done in SVN, but 
also some of the code has been refactored, so I'm not sure the rest is 
applicable.  I'll make sure the maintainer is aware of the patch.

Scott K


</description>
    <dc:creator>Scott Kitterman</dc:creator>
    <dc:date>2008-10-24T16:30:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2027">
    <title>Fwd: [milter-greylist] HEADS-UP: libspf2 causes milter-greylist memory leak?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2027</link>
    <description>Hi,

According to tests done by some people in the milter-greylist community, libspf2
(and possible libspf_alt) causes memory leaks on some OSes. See a cut version
from the posts below:


This has been fixed by a patch in the FreeBSD Ports tree. See (and specifically
patch submission [2]):
ftp://ftp.freebsd.org/pub/FreeBSD/development/FreeBSD-CVS/ports/mail/libspf2/files/patch-src_libspf2_spf__dns__resolv.c,v

AFAICS, this fix doesn't seem to be in the latest version of the libspf2-1.2.8
source. Maybe someone can add it to libspf2's main CVS branch instead?

(Someone mentioned that this also seems to be the case in the older (and perhaps
unmaintained libspf_alt, but I don't know if anyone cared to test that).

Regards,
Fredrik


</description>
    <dc:creator>Fredrik Pettai</dc:creator>
    <dc:date>2008-10-24T16:02:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2026">
    <title>Re: include: result confusion?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2026</link>
    <description>Hi!

On Tue, Oct 21, 2008 at 06:29:26PM -0400, Scott Kitterman wrote:




My patch is against Shevek's svn, the trunk (r14023). I guess it should
apply, at most with an offset in the line numbers.

Alas, Shevek's svn doesn't have tags or branches to give me a notion
from which revision the releases (e.g. 1.2.8) are, so I can't prepare
patches against the release proper. The only tag it has is "1.0.0".

I also include a patch for an issue that caused crashes in our MX that
might be helpful and that isn't yet included by Shevek because he's
pondering a different solution, while I think my patch is definitely
better than nothing (at least our crashes are definitely gone).


Kind regards,

Hannah.



-------------------------------------------
Sender Policy Framework: http://www.openspf.org
Modify Your Subscription: http://www.listbox.com/member/
Archives: https://www.listbox.com/member/archive/1007/=now
RSS Feed: https://www.listbox.com/member/archive/rss/1007/
Powered by Listbox: http://www.listbox.com
</description>
    <dc:creator>Hannah Schroeter</dc:creator>
    <dc:date>2008-10-22T10:28:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2025">
    <title>Re: include: result confusion?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2025</link>
    <description>On Tue, 21 Oct 2008 16:59:43 +0200 Hannah Schroeter &lt;hannah&lt; at &gt;schlund.de&gt; 
wrote:

Ubuntu is releasing in about a week with 1.2.8.  If somone could send me a 
diff to revert this regression in the next few days I can get it fixed.  
I'd really appreciate it.


Scott K


</description>
    <dc:creator>Scott Kitterman</dc:creator>
    <dc:date>2008-10-21T22:29:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2024">
    <title>Re: include: result confusion?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2024</link>
    <description>Hi!

On Tue, Oct 21, 2008 at 10:46:30AM -0400, Stuart D. Gathman wrote:





I have actually a few patches still pending with Shevek, and prepared
one to revert a change that made my own test for this fail (after
passing with 1.2.5).

Thanks for confirming my interpretation of the RFC, so I won't have to
change my local test and I will be able to keep the local change in our
local revision control systems (the one for the company's development
and from whence the deployed software is build, and my own for merging
stuff around with S.).

Kind regards,

Hannah.


</description>
    <dc:creator>Hannah Schroeter</dc:creator>
    <dc:date>2008-10-21T14:59:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2023">
    <title>Re: include: result confusion?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2023</link>
    <description>

You are correct.  I am tasked with making libspf2 pass the test suite.
I am behind.

</description>
    <dc:creator>Stuart D. Gathman</dc:creator>
    <dc:date>2008-10-21T14:46:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2022">
    <title>include: result confusion?</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2022</link>
    <description>Hello!

When re-evaluating test results from the new libspf2 release, I get
this:

I have an spf record that includes: another domain. Say


foo.example -&gt; v=spf1 ... include:bar.example ...

And bar.example exists in the DNS (with other record types, such as A),
but has no TXT or SPF records.

I read the RFC in a way that that should result in PermError, from the
table in section 5.2 (recursive result of None should cause the include
mechanism to throw PermError).

A test for that passed before the update (with libspf2 1.2.5), however
fails now.

Am I correct in my interpretation? Should this get fixed again, so that
a None from the included record should result in a PermError overall?

Kind regards,

Hannah.


</description>
    <dc:creator>Hannah Schroeter</dc:creator>
    <dc:date>2008-10-21T14:10:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2021">
    <title>Re: New libspf2 release</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2021</link>
    <description>
Bleh, I should remove that test suite entirely, it's utterly superceded
by the one in the perl/ subdirectory. I forgot it was still there.

S.



</description>
    <dc:creator>Shevek</dc:creator>
    <dc:date>2008-10-16T23:06:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2020">
    <title>Re: [spf-discuss] Re: New libspf2 release</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2020</link>
    <description>

You can reuse the SPF machinery for recognizing local addresses if the
SPF library supports passing a policy without looking it up (as does pyspf).
At connect, pass a policy like "v=spf1 ip4:127.0.0.0/8 ip4:192.168.0.0/16"
and treat the connection as "local" on a Pass (and skip normal SPF 
checking).  The "local" policy should be configurable.  You could
also reject on fail for the local policy for a consistent and configurable
blacklist (e.g. use -exists: on selected ip blacklists).

</description>
    <dc:creator>Stuart D. Gathman</dc:creator>
    <dc:date>2008-10-16T18:20:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2019">
    <title>Re: New libspf2 release</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2019</link>
    <description>Hi!

On Thu, Oct 16, 2008 at 09:19:35AM +0400, Eugene Crosser wrote:



Dito for me.

Kind regards,

Hannah.


</description>
    <dc:creator>Hannah Schroeter</dc:creator>
    <dc:date>2008-10-16T17:52:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.spam.spf.devel/2018">
    <title>Re: New libspf2 release</title>
    <link>http://permalink.gmane.org/gmane.mail.spam.spf.devel/2018</link>
    <description>After the fix, I don't see problems so far. Will put the thing into
"production" environment later today.

Scott Kitterman wrote:


Speaking of which, this looks unfortunate (and has always been this way
afaik):

$ make check
[...]
====================================
6 of 7 tests failed
Please report to libspf2&lt; at &gt;anarres.org
====================================


I for one have nothing against removal.

Thanks,

Eugene




</description>
    <dc:creator>Eugene Crosser</dc:creator>
    <dc:date>2008-10-16T05:19:35</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.mail.spam.spf.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.mail.spam.spf.devel</link>
  </textinput>
</rdf:RDF>
