🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #258786

Re: Dots again...

#258786
From: Nomen Nescio
Date: Tue, 28 Aug 2012 17:15
822 lines
24432 bytes
Anonymous wrote:

>Hi,
>
>After I posted my message, I was disappointed that some say it's 
>babble. I guess I could have done better. I appreciate that you chose 
>to discuss this as it allows us to learn more.
>
>In article <9d30a985ee5531ac5773d65e410b67ce@foto.nl1.torservers.net>
>Anonymous <anonymous@foto.nl1.torservers.net> wrote:
>>
>> Anonymous wrote:
>>
>> >Yep, we've been talking about the dots again :) It really looks like
>> >someone with some technical understanding needs to explain what is
>> >actually happening. Specifically we're talking about the single dot
>> >that appears at the bottom of some omnimix posts and why they appear
>> >there.
>>
>> And we're talking about the chance of severe data loss no matter which
>> software you use!
>
>Yes, we're talking about data loss, but I'm not sure what you mean 
>here. The period appearing at the bottom of om messages doesn't 
>prevent any data loss.

The period is part of a complete SMTP encoding according to RFC 821

a) If the first character of the line is a period, one additional
period is inserted at the beginning of the line.
b) The character sequence "<CRLF>.<CRLF>" ends the mail text.

I agree, that a) is the part that prevents data loss.

> That's in the delivered message.

Which happens when the exit (like most of them) doesn't work like an
SMTP server ignoring the trailing period. (No judgement intended.)

I added 2 postings to alt.testing.testing, which show that a 'Full'
SMTP encoding would match Dizum's (SMTP server-) behaviour and avoid
data loss with that remailer, which happens with 'None':

| From: Nomen Nescio <nobody@dizum.com>
| Newsgroups: alt.testing.testing
| Subject: Remailer Test
| Message-ID: <1f7bc9ddd4abcad2f421d4e77782d756@dizum.com>
| Date: Tue, 28 Aug 2012 09:53:46 +0200 (CEST)
| Mail-To-News-Contact: abuse@dizum.com
| Organization: mail2news@dizum.com
| 
| Transparency Encoding: None
| Exit Remailer: Dizum
| 
| | ..2
| | .1
| | 0
| | .1
| | ..2
| | 
| | ..
| | .
| | 
| | .
| | ..
| 
| .2
| 1
| 0
| 1
| .2
| 
| .

and

| From: Nomen Nescio <nobody@dizum.com>
| Newsgroups: alt.testing.testing
| Subject: Remailer Test
| Message-ID: <2a34d89a5fde61fdf696d42f57bb014c@dizum.com>
| Date: Tue, 28 Aug 2012 08:51:25 +0200 (CEST)
| Mail-To-News-Contact: abuse@dizum.com
| Organization: mail2news@dizum.com
| 
| Transparency Encoding: Full
| Exit Remailer: Dizum
| 
| | ..2
| | .1
| | 0
| | .1
| | ..2
| | 
| | ..
| | .
| | 
| | .
| | ..
| 
| ..2
| .1
| 0
| .1
| ..2
| 
| ..
| .
| 
| .
| ..

>
>The period needs to be in the outgoing message before being sent,

and perhaps before Mixmaster encryption, but there's no official rule
yet

> and 
>it's done by the client not the user. The user never sees this 
>encoding.

Sure.  He should never be confronted with such things.

>
>Ok, I see, you're saying the single dot in posts is worth the benefit.

No, that remains undecided.  YMMV.

>
>> >That dot is the result of Christian attempting to fix a problem he
>> >sees as serious. That problem is how SMTP servers send messages. It's
>> >like this. The receiver-SMTP says to the sender-SMTP, "Ok send me
>> >your data and after that, send a period on a line by itself, so I'll
>> >know you're done."
>> >
>> >That's basically how it works. Then there's a problem. What if I,
>> >unaware, use a period on a line by itself in my message. I'll be
>> >really stupid and put it somewhere near the beginning and...hey, it
>> >cuts off my message. The server thinks I'm finished. However, the
>> >SMTP protocol has a method for handling this situation so that won't
>> >happen.
>> >
>> >It's called Transparency. Christian refers to it. Here's the section
>> >from RFC821 dealing with the topic:
>> >
>> >4.5.2  TRANSPARENCY
>> >
>> >   Without some provision for data transparency the character
>> >   sequence "<CRLF>.<CRLF>" ends the mail text and cannot be sent
>> >   by the user.  In general, users are not aware of such
>> >   "forbidden" sequences.  To allow all user composed text to be
>> >   transmitted transparently the following procedures are used.
>> >
>> >      1. Before sending a line of mail text the sender-SMTP checks
>> >      the first character of the line.  If it is a period, one
>> >      additional period is inserted at the beginning of the line.
>> >
>> >      2. When a line of mail text is received by the receiver-SMTP
>> >      it checks the line.  If the line is composed of a single
>> >      period it is the end of mail.  If the first character is a
>> >      period and there are other characters on the line, the first
>> >      character is deleted.
>> >
>> >So the SMTP protocol is expecting problems with periods and will fix
>> >them. It's really very simple. But Christian's tests clearly show
>> >this isn't happening correctly all the time. Christian's test message
>> >looked like this:
>> >
>> >##
>> >From: Christian Danner <---@---.--->
>> >Newsgroups: alt.test.ignore
>> >Subject: Dot Test
>> >MIME-Version: 1.0
>> >Content-Type: text/plain; charset=us-ascii
>> >Content-Transfer-Encoding: 7bit
>> >
>> >.....
>> >....
>> >...
>> >..
>> >.
>> >
>> >.
>> >..
>> >...
>> >....
>> >.....
>> >
>> >.....5
>> >....4
>> >...3
>> >..2
>> >.1
>> >0
>> >.1
>> >..2
>> >...3
>> >....4
>> >.....5
>> >.
>> >
>> >In a perfect world,
>>
>> No matter in which world, it's required
>>
>> > that message should arrive with exactly the same
>> >number of dots on each line as when it was sent. Note the single dot
>> >ending the message, as prescribed by the RFC. Turns out some
>> >remailers removed a dot from each line. Others added a dot to each
>> >line. Very few handled it correctly.
>>
>> It still is unclear, which of those results are 'correct', as there's
>> no standard yet.  The problem is that all remailers behave
>> differently.
>
>Oh, there's a standard. The encoding and decoding are described 
>clearly in RFC821 section 4.5.2 Transparency. That is exactly how 
>sender-SMTPs and receiver-SMTPs are instructed to encode and decode. 
>Testing shows that this isn't being followed much. That's why 
>Christian is concerned. It's really something we all should 
>understand.

I'm not aware of any official statement from Mixmaster developers,
which addresses encoding of Mixmaster in- and output, are you?

>
>In the test message above, for the encoding/decoding to be completely 
>correct, every line in the message must have exactly the same number 
>of periods as it had when it originally was sent. Christian's testing 
>showed that often this was not the case. Sometimes the message ended 
>up with an extra period on every line. Others ended up with one less 
>period per line. One too many. One not enough, these are flawed 
>messages.
>
>There is a current thread called 'Adequate number in chain?'. In that 
>thread is a post with 249 lines. That post contains Christian's 
>complete test results. For some reason I can't get a working link to 
>that for you, but take a look.

Yes, thanks, article <5fd3ce5e353a58be4f2403d7d56b4737@dizum.com>, I
read it.

>
>> >
>> >Christian's fear of this condition is that changing text in the
>> >signed portion of a pgp message would cause it to fail verification.
>> >That certainly could happen.
>>
>> So that's no less than a serious problem with the Mixmaster network no
>> matter how hard you try to talk it down.
>
>You're right. I didn't realize I came across saying this is OM's 
>fault. No that isn't the case. It's the SMTP servers. When I refered 
>to SMTP mishandlings I was talking about SMTP servers. The problem 
>exists in the mixmaster network. However, it isn't mixmmaster's 
>fault. I would say it is a problem of SMTP server misconfiguration.

Of those remailer-associated SMTP servers, ACK.

>
>> >
>> >Omnimix provides a way to handle these period problems.
>>
>> No, it provides different ways to handle it, unfortunately none them
>> being able to meet every exit remailer's requirements, as that's
>> simply impossible.  It's your choice to get the exit remailer fault
>> you like most.
>
>Ok, but I didn't see that in the help. You are correct. If you knew 
>the exit remailer, you might be able to correct it, but there is 
>another factor. That is the reciever-SMTP, which would be, for 
>example, the recipient's ISP's mail server. That adds the possibility 
>of of further unforseen decoding problems.

But those are usually standard servers with enough normal traffic so
that such a bug should become evident very fast.

>
>I guess you could select a set of remailers to use as exits. Ones 
>that handled messages the same. But would you really? Do you want to 
>commit today to any set of exit remailers on the off chance you might 
>put a period at the beginning of some line, some day? It doesn't make 
>sense. Anyway, on that day, I'd prefer to encounter a dialog box 
>telling me not to do that. Hell, I've never done it so far as I know. 
>I doubt I'll do it more than a time or 2 the rest of my life :) For 
>me, setting the transparency to none is the correct setting.

Of course that would be better than partitioning oneself by a dot
message, though I'd prefer to have the network fixed.  I don't think
this is hard to achieve, there's just no awareness of the problem on
behalf of Mixmaster remops.

>
>> > On the OM
>> >Mix|Message tab the Transparency option is described like this:
>> >
>> >"Method of message encoding prior to Mixmaster handover.
>> >{according to RFC 821 section 4.5.2 / SMTP and RFC 977 / NNTP).
>> >
>> >None: No encoding (JBN / QS behavior).
>> >Body: Duplicate leading period within body lines.
>> >End:  Append a line containing a period to indicate end of text.
>> >Full: Apply both those rules according to the RFCs (transparency)."
>>
>> Make an educated guess.  Why, for heaven's sake, would he introduce
>> more than one encoding method, if not for trying to compensate
>> different remailer behaviours.
>
>I guess Christian would have to answer that. It's been 6 years. I 
>honestly don't think it was so you could pick remailers matching a 
>prefered encoding flaw. But hey, opinions are a dime a dozen. Take 
>mine with a grain of salt. I just can't buy 'well, he could have'. He 
>hasn't.

Why not?  Network guys like him try to adhere to RFCs wherever
possible.  Why shouldn't he have offered all possible permutations
from no up to complete (body periods + end period) RFC 821 encoding?

>
>> In the OM history (https://www.danner-net.de/om/History.txt) you read
>>
>> | 1.7.0 As Mixmaster remailer systems interpret message data in a variety of ways
>> |         with some of them ensuring message transparency according to RFC 821
>> |         section 4.5.2 by deleting periods previously added, but others not
>> |         doing so, which may result in data corruption and even loss, an option
>> |         that allows to control the sender side transcoding was added aiming at a
>> |         reduction of that nevertheless still unpredictable risk.

Doesn't that prove that he intended to offer specific encoding methods
custom-tailored to all those different exit remailer configs to reduce
message alteration as much as possible.

>>
>>
>> Fact is, we have a problem with exit remailers treating incoming
>> messages differently.  Don't conceal that fact behind a
>> smokescreen of false accusations towards OM and QSL.  Fix your
>> remailer!
>
>I'm glad you posted that. That's good. I didn't know that. Thanks, it 
>shows the mixmaster team are aware of this. Also, it says there is a 
>mixmaster option that allows for fixing this. Either it isn't in use 
>or it doesn't work so great. Recent tests show there are still 
>problems.
>
>But it was never my intent to suggest the problem lie with om or qsl. 
>My point was that in trying to correct the problem, om was failing on 
>occassion and leaving the tell-tale period. That's all I was getting 
>at. Some might call it partitioning. With a setting of Full, it's 
>bound to happen. That period has seen some derision over the years. 
>We talk about dots. 90% of people don't understand. I was attempting 
>to explain why this happened, so everyone could understand. And why I 
>thought it not an idea method of handling the problem. I admit, I did 
>a shitty job of explaining. It was a second rewrite. I guess it 
>needed more.

No, your explanation was quite good, though the conclusion I thought
to read in it wasn't what I expected.  But here you cleared things up
now.

>
>>
>> >
>> >The default value for this field is 'Full'.
>>
>> Wrong.  Since version 1.9.3 it is 'None'.
>>
>> | 1.9.3 Mixmaster transparency encoding preset changed to None.
>
>When you wrote that, I suddenly felt both good and bad. I felt bad 
>that I had somehow gotten this wrong. I didn't remember changing it. 
>I felt good that om wasn't shipping with the Full default.
>
>I'm sad to say, I have 1.9.5, now, and it defaults to Full. I 
>completely uninstalled it and reinstalled. The transparency field is 
>set to Full. It said it was completely uninstalled. I've had a few 
>versions. Is it possible it's getting that from some earlier install?

Remove OmniMix.ini and Transparency Encoding will be set to 'None'
(RemailerTransparencyMode=0) at the next start of the program.

>
>> >
>> >So, in other words he's offering to force these things to be handled
>> >correctly. He's applying the rules BEFORE giving the message to
>> >mixmaster for encryption. He's setting things up for some other SMTP
>> >server somewhere else. The problem is, though it works sometimes,
>> >it's working for the wrong reason. It works sometimes because that's
>> >the nature of the problem. When you do it wrong it will still work
>> >sometimes. Christian believes he's applying the rules of
>> >Transparency, but he's not. The rules of transparency are applied
>> >during the sending of the message. Item 1. in the 4.5.2 Transparency
>> >section (above) clearly says that.
>>
>> But tell me, what's the reason why QSL does it wrong as well?
>
>Well, I would expect qsl to be like jbn and qs and not do anything. I 
>hate to sound like I'm telling these guys how to do their job, I just 
>think that a qsl dialog alerting the user would be a good addition. 
>That's just me. I'll not mention it again.
>
>> >
>> >What Christian is doing is nothing more than if the user (the person
>> >writing) puts those there himself. The rules will be applied again
>> >when the message is sent. Because some servers act correctly and some
>> >not, Christian's fix appears to work sometimes and fail others. He's
>> >just adding dots for the server to screw up. PGP sig verification
>> >will still fail sometimes.
>>
>> What he did was implementing different encoding methods to preserve
>> the choice of different exit remailers no matter how they process your
>> message.  The only thing he missed was to add a header switch for
>> Transparency Encoding so that it can be controlled by the mail client
>> along with the remailer chain.
>
>That may well have been his intention, but he didn't do it. People 
>have harrassed Christian over the trailing period in posts for years. 
>He had good reason to fix it. I expect that's why it was set to none 
>in 1.9.3. I wonder how it got turned on again. He may have not 
>intended that.

My recent installations didn't show that effect.

>
>> >
>> >Just how big a problem is this SMTP mishandling?
>> >
>> >To the best of my memory, we haven't ever seen it. I don't remember
>> >any posts failing to pass sig verification for this reason over the
>> >years. I'm sure we would have. We've had a lot of years to find out.
>> >This has proven in real life to be a non-issue. Obviously, it could
>> >happen, but a message must have a dot problem to begin with.
>>
>> A message having a "dot problem"???  Please explain.
>
>Any line in a message with a period starting the line. That includes 
>a line with only a period in it. Those are the lines that are 
>supposed to be encoded/decoded.
>
>> > Oh so
>> >rare. Though it could, it just doesn't seem to happen. It's just
>> >something we don't do.
>>
>> You mean with Mixmaster you have to care about how to use periods to
>> avoid data loss?  If I understand that correctly, beyond all client
>> software you now also try to hold the user composing his text in a
>> wrong way liable for an incorrect transmission?  That's bloody stupid,
>> just another smoke screen.  Fix your remailer bug!
>
>I agree with you that the problem should be fixed at the SMTP server. 
>From the section of the mixmaster manual you included it looks like 
>they don't expect that to happen.

Right.  I remember Zax saying years ago that encoding isn't expected
with messages destined for Mixmaster, but I may be wrong about that.
Let's wait what he has to contribute to this discussion.

>
>When I said, it just doesn't happen, I'm going solely by experience 
>in this group. It was a practical consideration. Can you point to 
>some evidence of anyone discussing this happening? I know full well 
>it could happen. We just haven't seen it.

I often introduce text attachments to a quoted sentence with 3 periods
.. and never can be sure all three of them appear at the destination.

>
>> >But something we have seen with some regularity is a trailing dot on
>> >omnimix posts. It doesn't even require a dot problem to begin with.
>> >It creates it's own. Doesn't that appear to make the solution worse
>> >than the problem? It's a bit ridiculous, really. Why not just leave
>> >it alone. It hasn't caused any harm.
>>
>> Only complete data loss after a line with a period.  Irrelevant.
>
>If Christian's method is the best way to achieve the security 
>desired, then good for him. It does on rare occassion mark the 
>message as om. It marks the message even when no encoding is required.

No, that's not what I recommended.  Nobody likes to choose between
data loss and partitioning.  I want a true solution, achieved at the
exit remailer.

>
>You have said yourself that he chose to turn the option off in 1.9.3. 
>So Christian decided to let it go.

Yes, in reaction to ongoing criticism he may have rated anonymity
higher than data loss.  What would have been your choice?

> That makes om no different than 
>jbn and qs and qsl.

.. [three periods] which may have been intended to prevent
partitioning.

> Really, what we're talking about here is 
>academic. It's no longer being used.
>
>I'm thinking the Full default got turned back on inadvertantly. If I 
>had known it wasn't in use anymore, this discussion would not have 
>happened.

But we need this discussion as a call for remop action!  I wonder why
neither of them joins in.

>
>> > It's quite likely that this SMTP
>> >mishandling is present on non-remailer SMTP servers throughout the
>> >internet.
>>
>> Any proof, particularly about user acceptance?
>
>I don't get what you're asking. I was just saying that if the 
>remailer SMTP servers are flawed, non-remailer SMTP servers probably 
>are too. It's not like the SMTP server comes with mixmaster. It's 
>installed separately just like any non-remailer server.

I can't imagine any higher-traffic SMTP server being misconfigured in
the way we're discussing with its users tolerating that.

>
>> > IMO, if this was a real problem, we'd know it and it and
>> >would be corrected by now.
>>
>> First this was a non-existing problem, now it's not a real problem,
>> what's next?
>
>It was serious enough Christian sought to fix it. At the same time we 
>have seen no reports of it affecting anyone. Everyone is free to 
>reach their own conclusion.
>
>> >
>> >It was said this dot appearing at the bottom of posts is not a bug
>> >but instead, a result of "diverging remailer implementations." Sorry,
>> >it's a bug. If you create a fix for the problem and it doesn't work
>> >correctly all the time, you have a bug. Christian knows this bug
>> >exists and still turns this option on by default in his program.
>> >That, I don't understand.
>>
>> You're wrong. The OmniMix version I installed defaults to
>>
>> Transparency Encoding for Mixmaster: None
>
>Same as I wrote above. My 1.9.5 defaults to Full. Maybe it isn't 
>intended.

A reinstallation with default values has to include the deletion of
configuration files like OmniMix.ini.  Otherwise the parameter set
would persist.

>
>> >For a programmer seriously concerned about this problem, a good
>> >alternative might be, when encountering this dot problem, to pop up a
>> >dialog explaining the problem and requesting the user change his
>> >message. You could even refuse to send the message until it's fixed.
>> >It's also remotely possible that contacting the individual remailer
>> >operators regarding this problem might bring about some improvement.
>>
>> AFAIKS, for remops seriously concerned about this problem, the only
>> way to go would be to reach arrangement on the message processing
>> principles at the exit remailer.  Creating such a standard means
>> getting down to the root of the trouble, allowing remops to fix their
>> exit remailers in case they break that rule, and enabling client
>> programmers to confine themselves to one single encoding method.
>>
>> >
>> >It's not uncommon to see a programmer develop tunnel vision and
>> >lavish way to much attention on a problem that does not warrant it.
>> >IMO this is the case with omnimix and transparency.
>>
>> You're nuts.  Whether remailers will ever come of age as an
>> established communication method depends decisively on eradicating
>> flaws, not ignoring them.  Your strategy is doomed to failure.  But I
>> forgot, you're on a crusade against OmniMix not in the least caring
>> about the Mixmaster network.
>
>My statement was correct that it happens to programmers. I solely was 
>stating my opinion. I didn't say that I'm unequivically right about 
>it. I explained the problem (poorly). I explained what was being done 
>about it (poorly), and I concluded with what I I called an opinion. 
>The only thing we differ over is how to fix it. That's the only 
>difference. I don't require you think like me. I have a point of 
>view. So do you. I know there are things we can agree upon and things 
>we can not. People learned something and they're free to reach their 
>own conclusions.

Fair enough.

Bye







































































































































































































































Technical Details
Message-ID: <707c51f3a067352f9e56bf151e9523b3@dizum.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-microsoft.public.pocketpc.developer.20141024.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!7no56251337wig.0!news-out.google.com!e9ni59663858wia.0!nntp.google.com!proxad.net!feeder1-2.proxad.net!news.mixmin.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2news
References: <f01ee092182de3704bbc4abf66b0a495@foto.ro1.torservers.net> <9d30a985ee5531ac5773d65e410b67ce@foto.nl1.torservers.net> <037276ee2c2d891e291c9d838d50409c@foto.ro1.torservers.net>

Show Full Headers
Complete Article Headers
Message-ID: <707c51f3a067352f9e56bf151e9523b3@dizum.com>
Subject: Re: Dots again...
Date: Tue, 28 Aug 2012 17:15:11 +0000
From: Nomen Nescio <nobody@dizum.com>
References: <f01ee092182de3704bbc4abf66b0a495@foto.ro1.torservers.net> <9d30a985ee5531ac5773d65e410b67ce@foto.nl1.torservers.net> <037276ee2c2d891e291c9d838d50409c@foto.ro1.torservers.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-microsoft.public.pocketpc.developer.20141024.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!7no56251337wig.0!news-out.google.com!e9ni59663858wia.0!nntp.google.com!proxad.net!feeder1-2.proxad.net!news.mixmin.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2news
Received: by 10.180.95.2 with SMTP id dg2mr2546435wib.2.1346174121255;
MIME-Version: 1.0
Newsgroups: alt.privacy.anon-server
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com
Lines: 821
X-Original-Bytes: 24148