
spf at anarres
Mar 5, 2004, 3:49 AM
Post #5 of 14
(3175 views)
Permalink
|
On Thu, 4 Mar 2004, David Woodhouse wrote: > On Thu, 2004-03-04 at 00:13 +0000, spf [at] anarres wrote: > > A new version of the SRS documentation to accompany version 0.29 of the > > software has been released on the SRS distribution page at > > http://www.anarres.org/projects/srs/ > > It is available in DVI, PostScript and PDF formats. > > §2.8 is ambiguous about the hash used. I assume you mean to add a _new_ > hash at each stage, not quote the original one added by the first host > which rewrites SRS0 to SRS1? > > So it should presumably read... > > Hop Address Return path > 1 user [at] source user [at] source > 2 alias [at] forward SRS0=HHH0=TT=source.com=user [at] forward > 3 target [at] bouncer SRS1=HHH1=forward.com==HHH0=TT=source.com=user [at] bouncer > 4 relay.com SRS1=HHH2=forward.com==HHH0=TT=source.com=user [at] relay > > <Message bounces> > > SRS1=HHHn=forward.com==HHH0=TT=source.com=user [at] somewhere > SRS0=HHH0=TT=source.com=user [at] forward > user [at] source Ah, yes, this is kind of a side-effect of the fact that I used a lazy LaTeX macro to produce those addresses. I have hopefully clarified this in the argument. > Now, you say "Of course there is nothing to prevent the bouncing mailer > daemon from being SRS1-aware and [implementing?] step n+1, as long as it > does not skip the SRS0 step by removing B (in this case, forward.com)." > > 1. How does the bouncing mailer check the hash HHHn which was added by > the previous step? It doesn't. In fact, in the light of recent discussions, I will remove this paragraph, since this might lead to an SRS-aware mailer spamming SRS0 at some host (irrelevant, but some people don't like it). > 2. What prevents an attacker _pretending_ to be bouncer.com in stage 3 > above, and sending a mail from 'SRS1+HHHx+forward.com==...@bouncer.com' > in the knowledge that 'bouncer.com' and the bogus hash HHHx will be > removed from the address entirely, leaving a successful joe-job of an > SRS0 address at forward.com (which admittedly is unlikely to be accepted > and probably isn't too much of a problem)? Not a lot, but this requires quite a convoluted set of circumstances involving multiple forwarders, all of which must be set up by the victim, not by the spammer. > This does seem to fix the problem of mail getting _directly_ through the > hosts which rewrite SRS1->SRS0, because each one will check for its own > hash. Only joe-jobs are possible with this, and that's not too much of a > problem. > > You need to include a study of the resultant length of your localparts > in the 'Guarded Scheme' and estimate the possibility that they will > exceed the 64-character limit. There is a brief such study in the subsection entitled "the 64 character limit" but I have not included Meng's data. Perhaps I should. > You also need to consider the amount of local storage required per > address in the 'Database Scheme'. Perhaps consider a hybrid scheme where > addresses which _will_ fit into 64 characters are encoded using the > Guarded Scheme, but those which would break are put in the database > instead? > > Also consider the possibility of attacks designed specifically to use up > local storage at a forwarding host. I will consider this as well. I have put blank headings into the document, upon which I will expand as soon as I have time. > > It's my job to produce protocols, it's your job to produce attacks on > > the protocol. > > Not really. It's my job just to observe that I'm not sufficiently > convinced, and I don't want to roll out such a fundamental change to the > way my systems have operated for years, just to make the flawed > assumptions made by SPF come true and hence render it a viable concept. > > So I disagree slightly with your statement above that it's only up to > you to document the protocol, and for others to challenge it. Your task > -- maybe not yours _personally_, Shevek, but the advocates of SPF -- is > to make whatever scheme you propose is so _obviously_ safe and correct > that the world will implement it without having to think twice. > > Because if you can't do that then it's never going to happen. With mild amusement: I challenge you to apply the same argument to SHA1 itself, or RSA, or DSA, or ssh, or Microsoft Windows, or Cisco IOS, or any other technology which you use from day to day! Actually, I agree with you and I should be making it as clear as possible; these comments above are EXTREMELY valuable to me in making this so. S. -- Shevek http://www.anarres.org/ I am the Borg. http://www.gothnicity.org/ ------- To unsubscribe, change your address, or temporarily deactivate your subscription, please go to http://v2.listbox.com/member/?listname=srs-discuss [at] v2
|