Article View: alt.privacy.anon-server
Article #258755Dots again...
From: Anonymous
Date: Sun, 26 Aug 2012 20:32
Date: Sun, 26 Aug 2012 20:32
156 lines
7280 bytes
7280 bytes
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.
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, 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.
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.
Omnimix provides a way to handle these period problems. 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)."
The default value for this field is 'Full'.
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.
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.
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. Oh so
rare. Though it could, it just doesn't seem to happen. It's just
something we don't do.
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. It's quite likely that this SMTP
mishandling is present on non-remailer SMTP servers throughout the
internet. IMO, if this was a real problem, we'd know it and it and
would be corrected by now.
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.
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.
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.
Technical Details
Message-ID:
<f01ee092182de3704bbc4abf66b0a495@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-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2newsShow Full Headers
Complete Article Headers
Message-ID: <f01ee092182de3704bbc4abf66b0a495@foto.ro1.torservers.net> Subject: Dots again... Date: Sun, 26 Aug 2012 20:32:14 +0000 From: Anonymous <anonymous@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-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2news Newsgroups: alt.privacy.anon-server Mail-To-News-Contact: abuse@dizum.com Organization: mail2news@dizum.com Lines: 155 X-Original-Bytes: 6947