Re[2]: Help - How to unwind an SRS address?
Chris Drake <[email protected]> Sat, 20 Nov 2004 22:25:57 +1100
| Newsgroups | gmane.mail.spam.srs.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Koen, I just want to extract the original senders email address, not verify anything at this stage. I know enough to work out that your simplistic overview is not helpful to me, since I read that "==" might be "=+" or "=-" depending one something I couldn't fathom, and I've no idea if SRS2 has more or less "="'s, or if SRS0 has more or less, or if "HHH" (which is not 3 characters I know, from inspection of SRS problems I've got already) or TT can contain other funny chars (I'd guess not "="'s, but I don't want to guess), and I don't know if SRS can handle existing email addresses starting with "srs0..." or others containing "=" or if it escapes things or obliterates the original senders details after a certain number of hops etc etc... hence my last-resort asking of this question here :-) The spec also says that the number after "SRS" is a "Version", but then seems to change it's mind and use it as a "hop" counter instead, so how are future versions of SRS going to differentiate themselves, and if hops exceed 9 does the next digit become "a" or do I expect two decimals, etc etc etc... Kind Regards, Chris Drake Saturday, November 20, 2004, 10:12:11 PM, you wrote: KM> Hi, KM> There is no regex to do so, since you need to verify the crypthographic KM> cookie. Without the secret key, you won't be able too. Of course you can KM> just rewrite it ignoring the cookie, but that isn't something I advice KM> (depending on the application of course). KM> You can use libsrs or libsrs2 or some perl implementation to do reverse KM> rewrite of an srs address if you know the secret's. KM> If you want to ignore the cryptographic cookie, look at KM> http://www.libsrs2.org/srs/srs.pdf, it clearly states the SRS0 and SRS1 KM> address format: KM> SRS0=HHH=TT=hostname=local-part@local-host KM> So the original address is local-part@hostname KM> SRS1=HHH=first-forwarder==HHH=TT=hostname=local-part@local-host KM> And again, the original address is local-part@hostname KM> There ya go, KM> Koen KM> On Sat, Nov 20, 2004 at 10:00:17PM +1100, Chris Drake wrote: >> Hi, >> >> Please can someone give me a regex or *simple* instructions on how to >> reconstruct the real senders email address from an SRS one (pref >> without installing anything)? >> >> And yes - I've looked at the docs, but there's loads and loads of >> detail - *so* much that I can't figure out easily how to do this with >> any confidence that it's going to work properly or indefinitely! >> >> Many thanks to anyone who can help! >> >> Kind Regards, >> Chris Drake >> >> >> ------- >> To unsubscribe, change your address, or temporarily deactivate your subscription, >> please go to >> http://v2.listbox.com/member/[email protected]