🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
26 messages
26 total messages Started by Carl Drud Thu, 28 Jun 2007 16:16
[Slrn] Cancel-Lock header
#201168
Author: Carl Drud
Date: Thu, 28 Jun 2007 16:16
30 lines
1832 bytes
I'm new to Slrn (and Linux) so bear with me.

In light of the announcement from Individual in:

Message-ID: <2007-06-28.Cancel2.0-en@fu-berlin.de>

regarding implementation of Cancel-lock header, I tried to set it up in
SLrn as they recommend that you insert the header yourself.

It was partly a success, because along the way it inserts two Cancel-lock
headers. 

When I look in my sent posts there is only one cancel-lock header, but
in Leafnodes failed.postings there are indeed two of them (identical),
like this:

Cancel-Lock: sha1:fTR2Xaq5tLjVabghGaDFs2TSrZM=
Message-ID: <ls0dl4-e28.ln1@cdnews.my-fqdn.de>
Cancel-Lock: sha1:fTR2Xaq5tLjVabghGaDFs2TSrZM=

I have the following entry in my slrn.rc:

set generate_message_id 0
set use_recommended_msg_id 1
set cansecret_file "/home/carl/News/slrn/canlock_secret"

Where can I have made a mistake?

-- 
Carl
Re: [Slrn] Cancel-Lock header
#201169
Author: Blinky the Shark
Date: Thu, 28 Jun 2007 17:35
41 lines
2562 bytes
Carl Drud wrote:
> I'm new to Slrn (and Linux) so bear with me.
>
> In light of the announcement from Individual in:
>
> Message-ID: <2007-06-28.Cancel2.0-en@fu-berlin.de>
>
> regarding implementation of Cancel-lock header, I tried to set it up in
> SLrn as they recommend that you insert the header yourself.
>
> It was partly a success, because along the way it inserts two Cancel-lock
> headers. 
>
> When I look in my sent posts there is only one cancel-lock header, but
> in Leafnodes failed.postings there are indeed two of them (identical),
> like this:
>
> Cancel-Lock: sha1:fTR2Xaq5tLjVabghGaDFs2TSrZM=
> Message-ID: <ls0dl4-e28.ln1@cdnews.my-fqdn.de>
> Cancel-Lock: sha1:fTR2Xaq5tLjVabghGaDFs2TSrZM=
>
> I have the following entry in my slrn.rc:
>
> set generate_message_id 0
> set use_recommended_msg_id 1
> set cansecret_file "/home/carl/News/slrn/canlock_secret"
>
> Where can I have made a mistake?

I'd not heard about this new thing with NIN.  I just looked at a post
I made yesterday and it's already got a Cancel-Lock header.  I did not
put it there.  Before I did that check I read the article from NIN that
you linked.  In reading it I got the impression that NIN would set that
header itself for its own users.  My check seems to show that that's
true.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Re: [Slrn] Cancel-Lock header
#201170
Author: Whiskers
Date: Thu, 28 Jun 2007 17:56
64 lines
3350 bytes
On 2007-06-28, Carl Drud <carl.drud@myrealbox.com> wrote:
> I'm new to Slrn (and Linux) so bear with me.
>
> In light of the announcement from Individual in:
>
> Message-ID: <2007-06-28.Cancel2.0-en@fu-berlin.de>
>
> regarding implementation of Cancel-lock header, I tried to set it up in
> SLrn as they recommend that you insert the header yourself.
>
> It was partly a success, because along the way it inserts two Cancel-lock
> headers. 
>
> When I look in my sent posts there is only one cancel-lock header, but
> in Leafnodes failed.postings there are indeed two of them (identical),
> like this:
>
> Cancel-Lock: sha1:fTR2Xaq5tLjVabghGaDFs2TSrZM=
> Message-ID: <ls0dl4-e28.ln1@cdnews.my-fqdn.de>
> Cancel-Lock: sha1:fTR2Xaq5tLjVabghGaDFs2TSrZM=
>
> I have the following entry in my slrn.rc:
>
> set generate_message_id 0
> set use_recommended_msg_id 1
> set cansecret_file "/home/carl/News/slrn/canlock_secret"
>
> Where can I have made a mistake?

When you run slrn --version is canlock shown as 'compiled in'?

I get 

]$ slrn --version
Slrn 0.9.8.1 [2004-10-07]
S-Lang Library Version: 1.4.9
Compiled at: Feb 28 2006 15:15:46
Operating System: Linux

 COMPILE TIME OPTIONS:
  Backends: +nntp +slrnpull +spool
  External programs / libs: -canlock -inews -ssl -uudeview
  Features: +charset_mapping +decoding +emphasized_text +end_of_thread
    +fake_refs +gen_msgid -grouplens +mime -msgid_cache +piping +rnlock
    +slang +spoilers -strict_from
 DEFAULTS:
  Default server object:     nntp
  Default posting mechanism: nntp
  Default character set:     isolatin
 SUPPORTED CHARACTER SETS:
  isolatin ibm850 ibm852 ibm857 ibm737 NeXT koi8

which I take to mean that canlock is not compiled into my version of slrn 
- certainly, even with a cansecret_file setting in ~/.slrnrc and a valid 
file, I get no Cancel-Lock header of my own (unless I just can't see it while 
articles are in Noffle's outgoing queue).

I might try re-compiling slrn on this system to make sure that canlock is 
'in'. 

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [Slrn] Cancel-Lock header
#201171
Author: Carl Drud
Date: Thu, 28 Jun 2007 18:03
20 lines
1831 bytes
On 2007-06-28, Blinky the Shark wrote:

> I'd not heard about this new thing with NIN.  I just looked at a post
> I made yesterday and it's already got a Cancel-Lock header.  I did not
> put it there.  Before I did that check I read the article from NIN
> that you linked.  In reading it I got the impression that NIN would
> set that header itself for its own users.  My check seems to show that
> that's true.

They do, but they do recommend setting it yourself providing ones
newsreader supports it.

As I understand the post¹, if you let them set the Cancel-lock header you
can't cancel only supersede. If you set yourself you can cancel and
supersede.

¹)http://groups.google.dk/group/alt.usenet.news-server-comparison/msg/7e6d4792819ad90f?hl=da&

-- 
Carl
Re: [Slrn] Cancel-Lock header
#201172
Author: Whiskers
Date: Thu, 28 Jun 2007 18:11
39 lines
2757 bytes
On 2007-06-28, Blinky the Shark <no.spam@box.invalid> wrote:
> Carl Drud wrote:

[...]

> I'd not heard about this new thing with NIN.  I just looked at a post
> I made yesterday and it's already got a Cancel-Lock header.  I did not
> put it there.  Before I did that check I read the article from NIN that
> you linked.  In reading it I got the impression that NIN would set that
> header itself for its own users.  My check seems to show that that's
> true.

    [...]  For our own users, our server automatically
    creates Cancel-Lock at posting time; a Cancel-Lock already present at
    posting time (added by the user himself) will be extended according to
    the technical specifications of the system. Analogously, Cancels and
    Supersedes through our server will automatically get the corresponding
    Cancel-Key after verification and will be executed.

    [...]

    Our recommendations for all members of Usenet:

    * Regular Users
            [...]

          o If your newsreading software supports the Cancel Lock
            feature, please activate it. Cancel Lock creates a
            verifiable connection between an article and a corresponding
            Cancel or Supersedes, resulting in a trusted Cancel/Supersedes
            that will be executed. As an added bonus, this system does
            not allow profiling like e.g. PGP signatures do.
    
    [...]

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [Slrn] Cancel-Lock header
#201173
Author: Carl Drud
Date: Thu, 28 Jun 2007 18:15
32 lines
2135 bytes
On 2007-06-28, Whiskers wrote:

> which I take to mean that canlock is not compiled into my version of slrn 
> - certainly, even with a cansecret_file setting in ~/.slrnrc and a valid 
> file, I get no Cancel-Lock header of my own (unless I just can't see it while 
> articles are in Noffle's outgoing queue).
>
> I might try re-compiling slrn on this system to make sure that canlock is 
> 'in'. 

Mine looke like this:

~$ slrn --version
Slrn 0.9.8.1pl2 [2007-01-25]
        * Note: This version is based on a CVS HEAD checkout.
S-Lang bibliotek: version 2.0.6
Oversættelsestidspunkt: Jan 26 2007 21:10:25
Styresystem: Debian

 OVERSÆTTELSESVALG:
  Servertyper: +nntp +slrnpull +spool
  Eksterne programmer/biblioteker: +canlock +inews +ssl +uudeview
  Funktioner: +charset_mapping +decoding +emphasized_text +end_of_thread
    +fake_refs +gen_msgid -grouplens -msgid_cache +piping +rnlock +slang
    +spoilers -strict_from
 STANDARDINDSTILLINGER:
  Standard-servertype:     nntp
  Standard-sendemekanisme: nntp


-- 
Carl
Re: [Slrn] Cancel-Lock header
#201177
Author: Whiskers
Date: Thu, 28 Jun 2007 20:31
44 lines
3019 bytes
On 2007-06-28, Carl Drud <carl.drud@myrealbox.com> wrote:
> On 2007-06-28, Whiskers wrote:
>
>> which I take to mean that canlock is not compiled into my version of slrn 
>> - certainly, even with a cansecret_file setting in ~/.slrnrc and a valid 
>> file, I get no Cancel-Lock header of my own (unless I just can't see it while 
>> articles are in Noffle's outgoing queue).
>>
>> I might try re-compiling slrn on this system to make sure that canlock is 
>> 'in'. 
>
> Mine looke like this:
>
> ~$ slrn --version
> Slrn 0.9.8.1pl2 [2007-01-25]
>         * Note: This version is based on a CVS HEAD checkout.
> S-Lang bibliotek: version 2.0.6
> Oversættelsestidspunkt: Jan 26 2007 21:10:25
> Styresystem: Debian
>
>  OVERSÆTTELSESVALG:
>   Servertyper: +nntp +slrnpull +spool
>   Eksterne programmer/biblioteker: +canlock +inews +ssl +uudeview

[...]

That suggests that slrn can use the canlock library.  Is that library 
installed?  

It doesn't seem to be widely available, but Debian has it 
<http://packages.debian.org/stable/libs/libcanlock2>.  Mandriva hasn't got 
it, so I'll probably make use of the source-cade from the Debian site when
I compile slrn for myself (my current slrn version is from the 'official' 
Mandriva RPM).

Another snag might be if slrn can only create a Cancel-Lock hash when 
slrn creates it's own MIDs; I haven't tested that aspect yet, but it's 
something I'd be on the lookout for.  I notice that you currently have 
your local server setting MIDs, as I do.

--  
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [Slrn] Cancel-Lock header
#201179
Author: Carl Drud
Date: Thu, 28 Jun 2007 21:03
22 lines
1968 bytes
On 2007-06-28, Whiskers wrote:

> That suggests that slrn can use the canlock library.  Is that library 
> installed?  

Yes it is. As I wrote, when I look at the message in my sent posts the
message has one cancel lock header. So it generates it, but it then gets
rejected by Individual when posting it from Leafnode. 

The message land in the failed.postings folder, and there it has two
identical Cancel-lock headers, which is the reason it is rejected by
Individual.

> Another snag might be if slrn can only create a Cancel-Lock hash when 
> slrn creates it's own MIDs; I haven't tested that aspect yet, but it's 
> something I'd be on the lookout for.  I notice that you currently have 
> your local server setting MIDs, as I do.

Have tried that as well, same result.

-- 
Carl
Re: [Slrn] Cancel-Lock header
#201183
Author: Whiskers
Date: Thu, 28 Jun 2007 21:50
34 lines
2779 bytes
On 2007-06-28, Carl Drud <carl.drud@myrealbox.com> wrote:
> On 2007-06-28, Whiskers wrote:
>
>> That suggests that slrn can use the canlock library.  Is that library 
>> installed?  
>
> Yes it is. As I wrote, when I look at the message in my sent posts the
> message has one cancel lock header. So it generates it, but it then gets
> rejected by Individual when posting it from Leafnode. 
>
> The message land in the failed.postings folder, and there it has two
> identical Cancel-lock headers, which is the reason it is rejected by
> Individual.
>
>> Another snag might be if slrn can only create a Cancel-Lock hash when 
>> slrn creates it's own MIDs; I haven't tested that aspect yet, but it's 
>> something I'd be on the lookout for.  I notice that you currently have 
>> your local server setting MIDs, as I do.
>
> Have tried that as well, same result.

I'm not sure I quite understand what you are saying.  Do you mean that 
slrn creates a Cancel-Lock header when you post to your local Leafnode, 
and that a second Cancel-Lock header appears when Leafnode posts on to 
Individual.net?  That would suggest that Leafnode is generating the 
duplicate header.

I'll try to re-build my slrn with canlock support, and see what results I 
can get (I use Noffle rather than Leafnode).

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [Slrn] Cancel-Lock header
#201198
Author: Whiskers
Date: Fri, 29 Jun 2007 13:40
50 lines
3466 bytes
On 2007-06-28, Whiskers <catwheezel@operamail.com> wrote:

[...]

> I'll try to re-build my slrn with canlock support, and see what results I 
> can get (I use Noffle rather than Leafnode).

Fallen at first hurdle.  Compiling the canlock2b package for my Mandriva 
system is beyond my knowledge; the tarball has a makefile but no configure 
script or intallation instructions (beyond "How to compile it: If you are
lucky, it will be enough to unpack the archive, change to it top directory
and run make").

The farthest I can get is this:

[mark@tavy canlock2b]$ ls
Build*  CHANGES  doc/  include/  Makefile*  README  src/  t/
[mark@tavy canlock2b]$ ./Build
make: *** No rule to make target `t/sha1test.c', needed by `sha1test'.  Stop.
rm -f src/*.o t/*.o t/*.out *.gmon gmon.*
[mark@tavy canlock2b]$

The README file also says "The libcanlock.a that will be produced is what
you want to link into your newsreader or whatever" which doesn't quite
match the notes in /doc/INSTALL.unix in the tarball for slrn-0.9.8.1, where
it says:

--with-canlock[=DIR]
    Tells slrn to make use of the canlock library (needed to use
    "Cancel-Locks" when posting, see <http://cssri.meowing.net/>).
    USE WITH CARE: libcanlock does not seem to be fully mature yet; also, 
    the library does not have an installation routine. When installing it by
    hand, be careful to copy only canlock.h (and none of the other header
    files that come with it) into your system include directory.


I can't access the meowing URL; I get message 423:

                                                                    423 Locked
                                    Locked
                                          
   The  requested resource is currently locked. The lock must be released
   or proper identification given before the method can be applied.

So I seem to have some learning to do yet.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [Slrn] Cancel-Lock header
#201199
Author: Adam Funk
Date: Fri, 29 Jun 2007 14:26
22 lines
2144 bytes
On 2007-06-29, Whiskers wrote:

> --with-canlock[=DIR]
>     Tells slrn to make use of the canlock library (needed to use
>     "Cancel-Locks" when posting, see <http://cssri.meowing.net/>).
>     USE WITH CARE: libcanlock does not seem to be fully mature yet; also, 
>     the library does not have an installation routine. When installing it by
>     hand, be careful to copy only canlock.h (and none of the other header
>     files that come with it) into your system include directory.
>
>
> I can't access the meowing URL; I get message 423:
>
>                                                                     423 Locked
>                                     Locked
>                                           
>    The  requested resource is currently locked. The lock must be released
>    or proper identification given before the method can be applied.
>
> So I seem to have some learning to do yet.

I'm getting that too.  It's an amusing error message, isn't it?
Re: [Slrn] Cancel-Lock header
#201200
Author: Carl Drud
Date: Fri, 29 Jun 2007 15:10
18 lines
1811 bytes
On 2007-06-28, Whiskers wrote:

> I'm not sure I quite understand what you are saying.  Do you mean that 
> slrn creates a Cancel-Lock header when you post to your local Leafnode, 
> and that a second Cancel-Lock header appears when Leafnode posts on to 
> Individual.net?  

Exactly. It might not have been clear from what I wrote. English is not
my native language, so my apologies.

> That would suggest that Leafnode is generating the 
> duplicate header.

Somehow yes, but I have deselected that option in the Leafnode config
file.

-- 
Carl
Re: [Slrn] Cancel-Lock header
#201201
Author: Whiskers
Date: Fri, 29 Jun 2007 18:11
30 lines
2791 bytes
On 2007-06-29, Adam Funk <a24061@ducksburg.com> wrote:
> On 2007-06-29, Whiskers wrote:
>
>> --with-canlock[=DIR]
>>     Tells slrn to make use of the canlock library (needed to use
>>     "Cancel-Locks" when posting, see <http://cssri.meowing.net/>).
>>     USE WITH CARE: libcanlock does not seem to be fully mature yet; also, 
>>     the library does not have an installation routine. When installing it by
>>     hand, be careful to copy only canlock.h (and none of the other header
>>     files that come with it) into your system include directory.
>>
>>
>> I can't access the meowing URL; I get message 423:
>>
>>                                                                     423 Locked
>>                                     Locked
>>                                           
>>    The  requested resource is currently locked. The lock must be released
>>    or proper identification given before the method can be applied.
>>
>> So I seem to have some learning to do yet.
>
> I'm getting that too.  It's an amusing error message, isn't it?

Someone clearly managed to get some sort of lock operating!

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [Slrn] Cancel-Lock header
#201203
Author: Whiskers
Date: Fri, 29 Jun 2007 18:20
26 lines
2367 bytes
On 2007-06-29, Carl Drud <carl.drud@myrealbox.com> wrote:
> On 2007-06-28, Whiskers wrote:
>
>> I'm not sure I quite understand what you are saying.  Do you mean that 
>> slrn creates a Cancel-Lock header when you post to your local Leafnode, 
>> and that a second Cancel-Lock header appears when Leafnode posts on to 
>> Individual.net?  
>
> Exactly. It might not have been clear from what I wrote. English is not
> my native language, so my apologies.

Your English is fine  :))  Expressing strange things is difficult in any 
language; sometimes it takes two heads  <Grin>

>> That would suggest that Leafnode is generating the 
>> duplicate header.
>
> Somehow yes, but I have deselected that option in the Leafnode config
> file.

Curioser and curioser.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [Slrn] Cancel-Lock header
#201208
Author: Peter J Ross
Date: Fri, 29 Jun 2007 19:01
35 lines
2541 bytes
In news.software.readers on Fri, 29 Jun 2007 19:20:46 +0100, Whiskers
<catwheezel@operamail.com> wrote:

> On 2007-06-29, Carl Drud <carl.drud@myrealbox.com> wrote:
>> On 2007-06-28, Whiskers wrote:
>>
>>> I'm not sure I quite understand what you are saying.  Do you mean that 
>>> slrn creates a Cancel-Lock header when you post to your local Leafnode, 
>>> and that a second Cancel-Lock header appears when Leafnode posts on to 
>>> Individual.net?  
>>
>> Exactly. It might not have been clear from what I wrote. English is not
>> my native language, so my apologies.
>
> Your English is fine  :))  Expressing strange things is difficult in any 
> language; sometimes it takes two heads  <Grin>
>
>>> That would suggest that Leafnode is generating the 
>>> duplicate header.
>>
>> Somehow yes, but I have deselected that option in the Leafnode config
>> file.
>
> Curioser and curioser.

I can't find any indication in the documentation that Leafnode
recognises Cancel-Lock as anything special.

I also can't find any duplicated Cancel-Lock headers in Carl's posts
here.

Very odd.

-- 
PJR :-)
Re: [Slrn] Cancel-Lock header
#201209
Author: Carl Drud
Date: Fri, 29 Jun 2007 19:08
18 lines
1914 bytes
On 2007-06-29, Peter J Ross wrote:

> I can't find any indication in the documentation that Leafnode
> recognises Cancel-Lock as anything special.
>
> I also can't find any duplicated Cancel-Lock headers in Carl's posts
> here.

That's because I've disabled it in Slrn. Individual.net inserts one this
one. 

Have a look at this message I made to the mozilla.test earlier today,
with cancel-lock in Slrn enabled.

http://groups.google.dk/group/mozilla.test/msg/ea77bb11a6818b18?dmode=source&hl=da

-- 
Carl
Re: [Slrn] Cancel-Lock header
#201217
Author: Peter J Ross
Date: Fri, 29 Jun 2007 20:11
27 lines
2317 bytes
In news.software.readers on Fri, 29 Jun 2007 21:08:30 +0200, Carl Drud
<carl.drud@myrealbox.com> wrote:

> On 2007-06-29, Peter J Ross wrote:
>
>> I can't find any indication in the documentation that Leafnode
>> recognises Cancel-Lock as anything special.
>>
>> I also can't find any duplicated Cancel-Lock headers in Carl's posts
>> here.
>
> That's because I've disabled it in Slrn. Individual.net inserts one this
> one. 
>
> Have a look at this message I made to the mozilla.test earlier today,
> with cancel-lock in Slrn enabled.
>
> http://groups.google.dk/group/mozilla.test/msg/ea77bb11a6818b18?dmode=source&hl=da

Yes, that's weird, and it proves that the problem certainly isn't with
individual.net

I have no further suggestions, but thanks for the lesson in Danish.
:-)

-- 
PJR :-)
Re: [Slrn] Cancel-Lock header
#201228
Author: Carl Drud
Date: Sat, 30 Jun 2007 00:27
27 lines
2205 bytes
On 2007-06-29, Peter J Ross wrote:

> Yes, that's weird, and it proves that the problem certainly isn't with
> individual.net

It is indeed weird. I just tried again. When I look at the message in my
posts in ~/News/slrn/ it looks like this:

Message-ID: <9gjgl4-tsf.ln1@cdnews.my-fqdn.de>
Cancel-Lock: sha1:DyGAL9WixwtSfDKSqsaKstoDXYU=

and when I go to Leafnodes out.going folder it looks like this:

Cancel-Lock: sha1:DyGAL9WixwtSfDKSqsaKstoDXYU=
Message-ID: <9gjgl4-tsf.ln1@cdnews.my-fqdn.de>
Cancel-Lock: sha1:DyGAL9WixwtSfDKSqsaKstoDXYU=

and Individual.net rejects the message due to the double Cancel-lock
header.

> I have no further suggestions, but thanks for the lesson in Danish.
> :-)

You're welcome.;-)

-- 
Carl
Re: [Slrn] Cancel-Lock header
#201240
Author: Whiskers
Date: Sat, 30 Jun 2007 13:13
33 lines
2709 bytes
On 2007-06-30, Carl Drud <carl.drud@myrealbox.com> wrote:
> On 2007-06-29, Peter J Ross wrote:
>
>> Yes, that's weird, and it proves that the problem certainly isn't with
>> individual.net
>
> It is indeed weird. I just tried again. When I look at the message in my
> posts in ~/News/slrn/ it looks like this:
>
> Message-ID: <9gjgl4-tsf.ln1@cdnews.my-fqdn.de>
> Cancel-Lock: sha1:DyGAL9WixwtSfDKSqsaKstoDXYU=
>
> and when I go to Leafnodes out.going folder it looks like this:
>
> Cancel-Lock: sha1:DyGAL9WixwtSfDKSqsaKstoDXYU=
> Message-ID: <9gjgl4-tsf.ln1@cdnews.my-fqdn.de>
> Cancel-Lock: sha1:DyGAL9WixwtSfDKSqsaKstoDXYU=
>
> and Individual.net rejects the message due to the double Cancel-lock
> header.
>
>> I have no further suggestions, but thanks for the lesson in Danish.
>> :-)
>
> You're welcome.;-)

Try having slrn set the MID instead of Leafnode, and disabling slrn's 
use_recommended_msg_id.  

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [Slrn] Cancel-Lock header
#201244
Author: Neil Woods
Date: Sat, 30 Jun 2007 17:56
47 lines
3299 bytes
Whiskers <catwheezel@operamail.com> writes:

> On 2007-06-28, Whiskers <catwheezel@operamail.com> wrote:
>
> [...]
>
>> I'll try to re-build my slrn with canlock support, and see what results I 
>> can get (I use Noffle rather than Leafnode).
>
> Fallen at first hurdle.  Compiling the canlock2b package for my Mandriva 
> system is beyond my knowledge; the tarball has a makefile but no configure 
> script or intallation instructions (beyond "How to compile it: If you are
> lucky, it will be enough to unpack the archive, change to it top directory
> and run make").

You *could* try the following.  The tin newsreader source contains
libcanlock (recent versions of it do, anyway). I happened to have a copy
of tin version 1.8.0 already unpacked, so I changed to the relevant
directory (in my case /usr/local/src/tin-1.8.0/libcanlock) and executed
the 'Build' script.  This worked fine and built the relevant library
libcanlock.a together with a couple of test executables to verify the
lib is working OK.

Then, when building slrn, do:

$ ./configure --with-canlock=/usr/local/src/tin-1.8.0/libcanlock

(obviously specifying the correct location above).

[snip]

> --with-canlock[=DIR]
>     Tells slrn to make use of the canlock library (needed to use
>     "Cancel-Locks" when posting, see <http://cssri.meowing.net/>).
>     USE WITH CARE: libcanlock does not seem to be fully mature yet; also, 
>     the library does not have an installation routine. When installing it by
>     hand, be careful to copy only canlock.h (and none of the other header
>     files that come with it) into your system include directory.

Actually, '--with-canlock=<dir>' worked fine.  I didn't need to copy the
header file.

-- 
Neil.
The poetry of heroism appeals irresitably to those who don't go to a war,
and even more so to those whom the war is making enormously wealthy."
		-- Celine
Re: [Slrn] Cancel-Lock header
#201245
Author: Whiskers
Date: Sat, 30 Jun 2007 19:35
51 lines
3572 bytes
On 2007-06-30, Neil Woods <cnw+usenet@pobox.com> wrote:
> Whiskers <catwheezel@operamail.com> writes:
>
>> On 2007-06-28, Whiskers <catwheezel@operamail.com> wrote:
>>
>> [...]
>>
>>> I'll try to re-build my slrn with canlock support, and see what results I 
>>> can get (I use Noffle rather than Leafnode).
>>
>> Fallen at first hurdle.  Compiling the canlock2b package for my Mandriva 
>> system is beyond my knowledge; the tarball has a makefile but no configure 
>> script or intallation instructions (beyond "How to compile it: If you are
>> lucky, it will be enough to unpack the archive, change to it top directory
>> and run make").
>
> You *could* try the following.  The tin newsreader source contains
> libcanlock (recent versions of it do, anyway). I happened to have a copy
> of tin version 1.8.0 already unpacked, so I changed to the relevant
> directory (in my case /usr/local/src/tin-1.8.0/libcanlock) and executed
> the 'Build' script.  This worked fine and built the relevant library
> libcanlock.a together with a couple of test executables to verify the
> lib is working OK.
>
> Then, when building slrn, do:
>
> $ ./configure --with-canlock=/usr/local/src/tin-1.8.0/libcanlock
>
> (obviously specifying the correct location above).
>
> [snip]

That's an interesting lateral approach if the frontal one fails  :))

>> --with-canlock[=DIR]
>>     Tells slrn to make use of the canlock library (needed to use
>>     "Cancel-Locks" when posting, see <http://cssri.meowing.net/>).
>>     USE WITH CARE: libcanlock does not seem to be fully mature yet; also, 
>>     the library does not have an installation routine. When installing it by
>>     hand, be careful to copy only canlock.h (and none of the other header
>>     files that come with it) into your system include directory.
>
> Actually, '--with-canlock=<dir>' worked fine.  I didn't need to copy the
> header file.

The notes in slrn's tarball may refer to an earlier version of canlock.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [Slrn] Cancel-Lock header
#201247
Author: Whiskers
Date: Sat, 30 Jun 2007 21:55
55 lines
4003 bytes
On 2007-06-30, Neil Woods <cnw+usenet@pobox.com> wrote:
> Whiskers <catwheezel@operamail.com> writes:
>
>> On 2007-06-28, Whiskers <catwheezel@operamail.com> wrote:
>>
>> [...]
>>
>>> I'll try to re-build my slrn with canlock support, and see what results I 
>>> can get (I use Noffle rather than Leafnode).
>>
>> Fallen at first hurdle.  Compiling the canlock2b package for my Mandriva 
>> system is beyond my knowledge; the tarball has a makefile but no configure 
>> script or intallation instructions (beyond "How to compile it: If you are
>> lucky, it will be enough to unpack the archive, change to it top directory
>> and run make").
>
> You *could* try the following.  The tin newsreader source contains
> libcanlock (recent versions of it do, anyway). I happened to have a copy
> of tin version 1.8.0 already unpacked, so I changed to the relevant
> directory (in my case /usr/local/src/tin-1.8.0/libcanlock) and executed
> the 'Build' script.  This worked fine and built the relevant library
> libcanlock.a together with a couple of test executables to verify the
> lib is working OK.
>
> Then, when building slrn, do:
>
> $ ./configure --with-canlock=/usr/local/src/tin-1.8.0/libcanlock
>
> (obviously specifying the correct location above).
>
> [snip]
>
>> --with-canlock[=DIR]
>>     Tells slrn to make use of the canlock library (needed to use
>>     "Cancel-Locks" when posting, see <http://cssri.meowing.net/>).
>>     USE WITH CARE: libcanlock does not seem to be fully mature yet; also, 
>>     the library does not have an installation routine. When installing it by
>>     hand, be careful to copy only canlock.h (and none of the other header
>>     files that come with it) into your system include directory.
>
> Actually, '--with-canlock=<dir>' worked fine.  I didn't need to copy the
> header file.

OK.  I've given up on the canlock2b package for now, even with the missing 
file restored (by copy/paste from RFC 3174!) I still can't 'make' with te 
makefile supplied.  So I've downloaded the tarball for tin-1.8.3 and as 
you say, it includes "libcanlock" so I extracted that and ran the Build 
script, and the hmactest and canlocktest scripts seem to confirm that 'it 
is working'.  So I'll copy the libcanlock files into a sensible location 
and have a go at compiling slrn and report progress again  :))

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [Slrn] Cancel-Lock header
#201254
Author: Carl Drud
Date: Sun, 01 Jul 2007 09:54
15 lines
1917 bytes
On 2007-06-30, Whiskers wrote:

>>> I have no further suggestions, but thanks for the lesson in Danish.
>>> :-)
>>
>> You're welcome.;-)
>
> Try having slrn set the MID instead of Leafnode, and disabling slrn's 
> use_recommended_msg_id.  

I have tried that. In fact I have tried every combination I can think
of. ;-)

-- 
Carl
Re: [Slrn] Cancel-Lock header
#201345
Author: Robert Grimm
Date: Tue, 03 Jul 2007 07:07
42 lines
3368 bytes
Carl Drud <carl.drud@myrealbox.com> wrote:
> On 2007-06-30, Whiskers wrote:
>> Try having slrn set the MID instead of Leafnode, and disabling slrn's 
>> use_recommended_msg_id.  

> I have tried that. In fact I have tried every combination I can think
> of. ;-)

It is clearly a slrn problem. I also tried to post to news.individual
directly, with use_recommended_msg_id and also with generate_message_id.

Seen with ddd:
In slrn_post_file Cancel-Lock: is inserted twice. For some reason, after
inserting the Message-Id a->cline->buf contains 
"Cancel-Lock: sha1:(generated canlock)".

I made the following changes, and it looks ok. (see my headers,
especially Cancel-Lock:)
#v+
--- /tmp/post.c 2007-07-03 08:47:41.461098455 +0200
+++ src/post.c  2007-07-02 08:02:38.000000000 +0200
@@ -1587,8 +1587,8 @@
                            a->cline->buf=slrn_safe_malloc(14+strlen(canlock));
                            sprintf(a->cline->buf, "Cancel-Lock: %s", canlock);
                            SLFREE (canlock);
-                           Slrn_Post_Obj->po_puts(a->cline->buf);
-                           Slrn_Post_Obj->po_puts("\n");
+                           /*Slrn_Post_Obj->po_puts(a->cline->buf);
+                           Slrn_Post_Obj->po_puts("\n");*/
                            a->cline=a->cline->next;
                         }
 #endif /* SLRN_HAS_CANLOCK */
#v-

but I am sure this is only playing with symptoms. 

My skills are limited, but I hope this can point someone to the bug.

Rob
-- 
"Tell me why (and how) are all the stupid people breeding"
	      The Idiots are taking over     --NOFX
Re: [Slrn] Cancel-Lock header
#201348
Author: andrew
Date: Tue, 03 Jul 2007 07:37
16 lines
2078 bytes
On 2007-07-03, Robert Grimm <spam@robgri.de> wrote:

[....]

Pardon me for editing out your entire message :-) But I have not seen
this before:

User-Agent: slrn/0.9.8.1pl2.2 (Linux)

I thought that _I_ had the most recent version that comes as ***.lpl1?

            Andrew

-- 
Andrew's Corner
http://people.aapt.net.au/~adjlstrong/mutt.html
Re: [Slrn] Cancel-Lock header
#201349
Author: Robert Grimm
Date: Tue, 03 Jul 2007 07:54
20 lines
2484 bytes
andrew <nospam@andrew.invalid> wrote:
> Pardon me for editing out your entire message :-) But I have not seen
> this before:

> User-Agent: slrn/0.9.8.1pl2.2 (Linux)

> I thought that _I_ had the most recent version that comes as ***.lpl1?

The cvs-version is pl2. The new fallback_charset-patch by Thomas
Wiegner brings pl2.1, the pl2.2 is only a pointer for me. 
I used the source. ;)

>             Andrew

Rob
-- 
"The PROPER way to handle HTML postings is to cancel the article, then hire a
hitman to kill the poster, his wife and kids, and fuck his dog and smash his
computer into little bits.  Anything more is just extremism." 		
					-- Paul Tomblin
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads