🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Anonymous Mon, 10 Sep 2012 17:21
[slrn] mixmaster scripts- slrn should form replies, not mixmaster
#251420
Author: Anonymous
Date: Mon, 10 Sep 2012 17:21
65 lines
3175 bytes
The mixmaster scripts that folks have posted here pipe the unquoted
original message to mixmaster.  Mixmaster then forms it into a reply,
lets the user edit it, and sends it.  Theoretically, that works well.
The problem is that mixmaster is unreliable, and simultaneously
incapable of saving plain text copies.  When the message fails to
post, the user must re-compose the message from scratch.

So another approach is needed.  SLRN should really do more of the
work.  SLRN should form the reply and launch the editor, because SLRN
is already capable of saving local copies of what gets sent.  Lastly,
SLRN should pipe the completed and saved message to mixmaster.

FWIW, this is the current (unreliable) approach:

Add this line to .slrnrc:

  interpret "mixmaster.sl"

files:

mixmaster.sl> define mixmaster_ff ()
mixmaster.sl> {
mixmaster.sl>     pipe_article("mixmaster.sh -ff");
mixmaster.sl> }
mixmaster.sl> 
mixmaster.sl> definekey ("mixmaster_ff", "&", "article");
mixmaster.sl> 
mixmaster.sl> define mixmaster_fr ()
mixmaster.sl> {
mixmaster.sl>     pipe_article("mixmaster.sh -fr");
mixmaster.sl> }
mixmaster.sl> 
mixmaster.sl> definekey ("mixmaster_fr", "\e&", "article");

mixmaster.sh> #!/bin/bash
mixmaster.sh> 
mixmaster.sh> typeset script_pathname=${0}
mixmaster.sh> typeset script_name=${script_pathname##*/}
mixmaster.sh> 
mixmaster.sh> case "$1" in
mixmaster.sh>     *txt)
mixmaster.sh> 	tmp_fn="$1"
mixmaster.sh> 
mixmaster.sh> 	emacs --eval "(progn (find-file \"$tmp_fn\")(post-mode))"
mixmaster.sh> 	;;
mixmaster.sh>     -ff|-fr)
mixmaster.sh> 	#slrn invocation
mixmaster.sh> 	original_editor=$EDITOR
mixmaster.sh> 	EDITOR=$script_pathname
mixmaster.sh> 	formail -I DKIM-Signature: -I Comments: | mixmaster $*
mixmaster.sh> 	EDITOR=$original_editor
mixmaster.sh> 	;;
mixmaster.sh>     *)
mixmaster.sh> 	#CLI invocation
mixmaster.sh> 	original_editor=$EDITOR
mixmaster.sh> 	EDITOR=$script_pathname
mixmaster.sh> 	mixmaster $*
mixmaster.sh> 	EDITOR=$original_editor
mixmaster.sh> 	;;	
mixmaster.sh> esac

Would any S-Lang gurus mind coming up with a new mixmaster.sl script
that formats a reply, lauches the editor, and saves before doing a
pipe_article?
Re: [slrn] mixmaster scripts- slrn should form replies, not mixmaster
#251570
Author: Fritz Wuehler
Date: Fri, 14 Sep 2012 00:54
29 lines
2678 bytes
Anonymous <noreply@breaka.net> wrote:

> The mixmaster scripts that folks have posted here pipe the unquoted
> original message to mixmaster.  Mixmaster then forms it into a reply,
> lets the user edit it, and sends it.  Theoretically, that works well.
> The problem is that mixmaster is unreliable, and simultaneously
> incapable of saving plain text copies.  When the message fails to
> post, the user must re-compose the message from scratch.

This is the way Mixmaster has always worked. It does not have any provision
for saving a plain text copy as well it should not. If you save a plain text
copy anywhere you are seriously compromising your anonymity in the event Bad
Things Happen To Good People.

> So another approach is needed.  SLRN should really do more of the
> work.  SLRN should form the reply and launch the editor, because SLRN
> is already capable of saving local copies of what gets sent.  Lastly,
> SLRN should pipe the completed and saved message to mixmaster.

I don't agree and I did not save a copy of this post. If it gets there it
gets there if it doesn't it doesn't.

> Would any S-Lang gurus mind coming up with a new mixmaster.sl script
> that formats a reply, lauches the editor, and saves before doing a
> pipe_article?

By the way, there is nothing stopping you from saving the file from whatever
editor Mixmaster invokes for you to compose your post. 
Re: Re: [slrn] mixmaster scripts- slrn should form replies, not mixmaster
#251646
Author: Anonymous
Date: Wed, 19 Sep 2012 23:10
46 lines
2939 bytes
>Anonymous <noreply@breaka.net> wrote:
>
>This is the way Mixmaster has always worked. It does not have any provision
>for saving a plain text copy as well it should not.

This is conventional wisdom.

>If you save a plain text copy anywhere you are seriously compromising
>your anonymity in the event Bad Things Happen To Good People.

Why plain text?  There are many ways to secure information.  

It's not for mixmaster to make assumptions about how the user will use
the information, or how the user might secure it during the retention
period, or if it even needs to be secured at all.  You're overlooking
many use cases here.

Mixmaster need not be used for anonymity at all.  A user may need to
be identified, but use mixmaster for anti-reconnaissance (iow, sterile
headers).  Or simply to get around an email firewall that is DNS
blocking them.

>I don't agree and I did not save a copy of this post. If it gets
>there it gets there if it doesn't it doesn't.

You may not need a copy for this particular use case, but this isn't
the only use case.

>By the way, there is nothing stopping you from saving the file from
>whatever editor Mixmaster invokes for you to compose your post.

Inconvenience blocks that.  It's not role of the editor to be aware of
the mbox format of message storage, so you're talking hacks.
Moreover, the editor does not have access to information that
mixmaster adds to the header.

The thesis of this post is to minimize hacks, and at least put the
capability where it belongs.  Editors are generally dumb about how the
text will be used (and rightly so).  Emacs is capable of doing this -
it could even replace both slrn and mixmaster and do the whole job end
to end.  But that doesn't mean it's a good idea.

SLRN is the tool that manages the most of the reading and posting
processes, and that's where the message retention logic belongs.

Re: Re: [slrn] mixmaster scripts- slrn should form replies, not mixmaster
#251654
Author: Fritz Wuehler
Date: Fri, 21 Sep 2012 12:14
93 lines
5531 bytes
Anonymous <noreply@breaka.net> wrote:

> >Anonymous <noreply@breaka.net> wrote:
> >
> >This is the way Mixmaster has always worked. It does not have any provision
> >for saving a plain text copy as well it should not.
> 
> This is conventional wisdom.

So far so good then!

> 
> >If you save a plain text copy anywhere you are seriously compromising
> >your anonymity in the event Bad Things Happen To Good People.
> 
> Why plain text?  There are many ways to secure information.  
> 
> It's not for mixmaster to make assumptions about how the user will use
> the information, or how the user might secure it during the retention
> period, or if it even needs to be secured at all.  You're overlooking
> many use cases here.

No, I'm not. 1st of all I'm not the author of Mixmaster and Mixmaster is not
the only client. Perhaps one of the others would serve you better. In my
view Mixmaster is a good simple client that does what is needed and no
more. It is in line with the UNIX philosophy of simplicity and doing one
thing and not trying to kitchen sink everything.

> Mixmaster need not be used for anonymity at all.  A user may need to
> be identified, but use mixmaster for anti-reconnaissance (iow, sterile
> headers).  Or simply to get around an email firewall that is DNS
> blocking them.

There are other much more reliable ways of doing these things.  If you don't
need anonymity then why would you tolerate the latency and unreliability of
Mixmaster? Using Tor and Thunderbird would be a lot easier and 100% reliable.

> 
> >I don't agree and I did not save a copy of this post. If it gets
> >there it gets there if it doesn't it doesn't.
> 
> You may not need a copy for this particular use case, but this isn't
> the only use case.

If so, consider the PGP support in Emacs, use Emacs as your editor, and save
the file from there. Or if you don't need anonymity you could use Mutt or
some other email client that saves an encrypted copy of your mail or usenet
post. You can't have it all unless you're willing to do some manual
stuff. Maybe Omnimix or one of the other GUI clients does all this. I am not sure.

> 
> >By the way, there is nothing stopping you from saving the file from
> >whatever editor Mixmaster invokes for you to compose your post.
> 
> Inconvenience blocks that.  It's not role of the editor to be aware of
> the mbox format of message storage, so you're talking hacks.

Indeed we now agree that you are talking hacks to Mixmaster, when you really
seem to want a much more broadly featured client. Does slrn use mbox? I
thought it just appended usenet posts as raw messages when you save them.

> Moreover, the editor does not have access to information that
> mixmaster adds to the header.

Isn't that the point? Mixmaster is about anonymity and protecting you from
outing yourself as much as possible. If you are an idiot you could make
things pretty bad for yourself by saving damning evidence you really did
send something they didn't want you to. 

All the headers *are* available. What are you using for your editor? If you
use Emacs you can save the raw message with all the headers.

> The thesis of this post is to minimize hacks, and at least put the
> capability where it belongs.  Editors are generally dumb about how the
> text will be used (and rightly so).  Emacs is capable of doing this -
> it could even replace both slrn and mixmaster and do the whole job end
> to end.  But that doesn't mean it's a good idea.

That seems to be what you're suggesting. Mixmaster is what it is and it does
what it does. Going beyond that isn't a good idea either. If it were, the
people who wrote it who also designed the protocol and know a lot more
about the threat model than you and I probably do, decided the feature set. 

Works for me!

> SLRN is the tool that manages the most of the reading and posting
> processes, and that's where the message retention logic belongs.

In Windows they do expect all-in-one clients. In my setup I'm using
Mixmaster, slrn, and Emacs and they all do specific jobs. I don't find it
difficult and in the event I need to save a copy of a usenet post I can save
it from Emacs.
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