Slashdot Mirror


AOL Now Publishing SPF Records

SPF Fan writes "It looks like SPF is starting to catch on with the bigger ISPs. AOL is now publishing SPF records which you can verify with 'dig aol.com txt'. Will Hotmail and Yahoo be far behind? Who else is publishing SPF records for their domains? Slashdot has covered SPF in the past a couple times."

79 of 340 comments (clear)

  1. My question is by use_compress · · Score: 2, Funny

    How does AOL know my SPF and why do they want other people to have access to it? Are they that concered at the prospect of me getting a sunburn?

  2. Suggestion for submitter by ObviousGuy · · Score: 4, Insightful

    Don't assume we all know what "SPF" is. Unless you mean "Sun Protection Factor", you are leaving the /. readers to wonder.

    Please, if discussing a topic that is not widely known, put a short description or definition in the article writeup.

    Thanks.

    --
    I have been pwned because my /. password was too easy to guess.
    1. Re:Suggestion for submitter by use_compress · · Score: 4, Insightful

      you are leaving the /. readers to wonder.

      He did provide a highly visbile link to the definition of SPF. That page gave a very good overview of the topic. Why cater to (define NOT_FLAMEBATE)lazy people who don't read the articles?

    2. Re:Suggestion for submitter by Malc · · Score: 5, Funny

      You're new here, aren't you? You must have hijacked that 206K account. /. lesson #1: don't read the story /. lesson #2: be paranoid about links... they might go to goatse.cx. It doesn't happen very often anymore, but be paranoid anyway /. lesson #3: post comments that make it blatant you didn't read the story

      Thank you.

    3. Re:Suggestion for submitter by adrianbaugh · · Score: 2, Informative

      I think that's why "SPF" was a link to a site explaining all about it; you could try CTFL. Of course, nobody here ever reads the stories before posting much less clicks the links.

      --
      "'I pass the test,' she said. 'I will diminish, and go into the West, and remain Galadriel.'"
      - JRR Tolkien.
    4. Re:Suggestion for submitter by drooling-dog · · Score: 4, Insightful
      Why cater to (define NOT_FLAMEBATE)lazy people who don't read the articles?

      Well, one reason would be that linked articles often get slashdotted before most people get to them. Another is that some would like a brief heads-up without having to read an entire treatise on the subject. But then, real geeks know that keeping outsiders in the dark is the key to their mystique...

  3. AOL by joostje · · Score: 4, Funny
    Who else is publishing SPF records for their domains?

    [AOL]
    Me Too!
    [/AOL]

  4. I publish SPF records by karl.auerbach · · Score: 3, Informative

    I've been publishing SPF records for the cavebear.com domain for about two months now.

    I've only done the publishing side, I have not yet enabled my mail servers to use them.

    Even though SPF may not be a complete or perfect solution, I see no harm in announcing to the world that if it purports to come from my domain than it also comes from my designated mail servers.

    1. Re:I publish SPF records by VivianC · · Score: 3, Funny

      We don't need this in the USA. We have made forging spam email headers illegal! They are going to fade away just like drugs and assualt weapons.

      --
      Viv

      Gmail invites for ip
  5. omg... by neodymium · · Score: 2, Informative

    ...thats 9 class c networks only for sending spa^H^H^Hmail

  6. Catching on by Tom · · Score: 2, Interesting

    I only learned about SPF recently, but ever since I've been publishing SPF records for my domain.

    It appears to be one of these "why didn't I think of that?" solutions that go and take care of a problem without ripping out everything around it.

    --
    Assorted stuff I do sometimes: Lemuria.org
  7. Re:boo by Anonymous Coward · · Score: 5, Informative

    In case any windows user is interested, but cant use dig:

    $ dig aol.com txt

    ; <<>> DiG 9.2.2 <<>> aol.com txt
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49576
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4

    ;; QUESTION SECTION:
    ;aol.com. IN TXT

    ;; ANSWER SECTION:
    aol.com. 300 IN TXT "v=spf1 ip4:152.163.225.0/24 ip4:205.188.139.0/24 ip4:205.188.144.0/24 ip4:205.188.156.0/24 ip4:205.188.157.0/24 ip4:205.188.159.0/24 ip4:64.12.136.0/24 ip4:64.12.137.0/24 ip4:64.12.138.0/24 ptr:mx.aol.com -all"

    ;; AUTHORITY SECTION:
    aol.com. 3071 IN NS dns-02.ns.aol.com.
    aol.com. 3071 IN NS dns-06.ns.aol.com.
    aol.com. 3071 IN NS dns-07.ns.aol.com.
    aol.com. 3071 IN NS dns-01.ns.aol.com.

    ;; ADDITIONAL SECTION:
    dns-02.ns.aol.com. 3273 IN A 205.188.157.232
    dns-06.ns.aol.com. 1887 IN A 149.174.211.8
    dns-07.ns.aol.com. 431 IN A 64.12.51.132
    dns-01.ns.aol.com. 192 IN A 152.163.159.232

    ;; Query time: 110 msec
    ;; WHEN: Fri Jan 9 09:06:32 2004
    ;; MSG SIZE rcvd: 405

  8. Don't be silly by KalvinB · · Score: 5, Funny

    Nerds don't go out into the sun.

    Ben

    1. Re:Don't be silly by CBravo · · Score: 2, Funny

      no, they go to Suns. Gives a Sun-burn a whole new meaning.

      --
      nosig today
  9. Re:Some of us have reasons for spoofing our addres by pe1chl · · Score: 4, Informative

    I would advise you to read before you write.
    SPF was invented especially to cater for your situation. The quick way out would have been to use MX records as the only validation, but this was not done.

  10. Re:How does this reduce spam in any shape or form? by Anonymous Coward · · Score: 2, Informative

    It will reduce spam because of two reasons.

    1) since it effectively kills sender forgeries, it's a LOT easier to maintain white/blacklists
    2) a domain needs to be purchased, and the registration takes time; this increases the cost of spam and hopefully might also make spammers more traceable (credit card transactions for registration)

    I am totally convinced this will make the spam problem manageable. I'll probably add my own SPF this weekend.

  11. Re:How does this reduce spam in any shape or form? by JanneM · · Score: 4, Interesting

    Spammers can just use their own domain

    Yes, they can. And all I need to do is to let the domain be one feature to do adaptive filtering on. Two mails on penile enlargement, and no non-spam email from one domain, and that domain will be a pretty clear signal to throw stuff away. Time for the spammer to get a new domain.

    Many will not implement this!

    Well, whether everybody implements it or not, it does give me another factor to filter on. If the mail comes from a domain that does not implement it, that's grounds enough for a big, fat -5 spamassassin rule right there.

    Oh, and as more and more people implement this, those who do not can be more and more severely punished by spam filters (as the exceptions for any one person becomes few enough to whitelist and so on).

    But if you blacklist any domain without it, some people won't be able to send stuff to you anymore!

    Cry me a river.

    --
    Trust the Computer. The Computer is your friend.
  12. Re:How does this reduce spam in any shape or form? by skaag · · Score: 5, Interesting

    My own experience:

    I happen to be hosting a few domain names that attract a lot of joe jobs, if this method helps me reduce the amount of joe jobs by 5%, it was worth it. The amount is simply HUGE.

    The Deterring factor:

    If the Spammers are smart enough to check my domain for SPF records before doing a joe job on it, they might not select it for their joe job, simply because they will know their campaign might not be as effective as it would be if they used another domain that does not publish SPF records. So the deterring factor is important here!

    Conclusion:

    Every effort counts. And let's not forget that sometimes, all it takes for an idea to catch on is some large corporation using the technology or technique, and it will catch like wildfire. I'm also publishing SPF records for my own domains, and checking for them as well (with the help of qpsmtpd which has a nice SPF plugin).

    --

    All those moments will be lost in time, like tears in rain... time... to... die...

  13. Re:boo by Saven+Marek · · Score: 5, Interesting

    > 2) Spammers tend to use made up domains anyways.

    This is true, but combined with domain checking AND SPF I can see it being more powerful than both.

    for ex.
    spammer makes up umergeh.drewhs.com
    email gets canned because the domain is fake. lose for spammers

    spammer sends faked address from aol.com
    SPF shows its a fake sender (rteal IP not match aol.com spf list). lose for spammers

    spammer at aol sends real spam from aol.com
    aol come down and bite spammers head off, spammer goes to jail. lose for spammers!

    SPF is only one tool, and there are many combine them together and you have strength

    mac desktops, dare to be nude

  14. How about dynamic IPs? by ivern76 · · Score: 4, Insightful

    This just screws the people on dynamic IPs even more than we were before. I guess I'll have to keep paying a monthly fee just so I can have a smarthost to tunnel my mail through, since even more mail servers are going to think I'm a spammer now.

    1. Re:How about dynamic IPs? by mattbee · · Score: 2, Informative

      If you're on a dynamic IP you'll find a lot of your email gets bounced by Yahoo/AOL (at least) already for being on a dial-up blacklist. You simply can't send mail reliably from a dynamic IP these days, but I won't miss the spam.

      In the UK we have plenty of choice for broadband ISPs who offer fixed IPs at no extra cost (which is why I'm moving away from BT Openworld who charge an extra 10 a month for the privilege)

      --
      Matthew @ Bytemark Hosting
    2. Re:How about dynamic IPs? by Huge+Pi+Removal · · Score: 2, Informative

      According to the site, DynDNS lets you publish SPF records if you want to. Don't know if you have to pay extra, but DynDNS is pretty reasonable :)

      --
      - Oliver

      The right to bear arms is only slightly less stupid than the right to arm bears...
    3. Re:How about dynamic IPs? by adpowers · · Score: 2, Interesting

      Yeah, because everyone must have access to mutliple broadband ISPs, right?

      I hate it when people think stuff is so black and white.

  15. Why this is a big deal by mattbee · · Score: 5, Informative

    It means that any system administrator can configure their mail transfer agent to bin any spam pretending to come from aol.com with a 100% success rate. And this goes for anyone else publishing an SPF record for your domain.

    SPF is a proposed standard for a domain owner to tell mailers where mail From: that domain may originate. The domain owner publishes a DNS TXT record for their domain with (at the simplest) list of IP addresses. Participating mail transfer agents can then look this record up and make a policy decision on whether the mail is likely to be legitimate. The presence of an SPF record on a domain at present means that while you still can't be sure when you're handling spam, you can be sure when you have a piece of non-spam because the SPF record tells you so.

    SPF is not a wholly original idea (e.g. up "designated mailer protocol"), and certainly not the simplest implementation but the important factor is that its proponent, Meng Wong, is an excellent lobbyer and spokesperson, as well as someone who as the nous to put forward a useful protocol (he founded pobox.com). It's currently at the point where lots of implementation are being written, with the canonical version being Meng's Perl modules. Currently I'm helping to finish the C implementation which will shortly be integrated into qmail and exim.

    The tipping point (I hope) will be when a domain not publishing an SPF record or publishing a globaly permissive one will be considered "obviously" untrustworthy. Combining SPF authorisation with a more traditional "From: domain blacklist" will give spammers a very very hard time indeed forging mail. But AOL publishing a record (we hope) shows the way the wind is blowing: the rest of the world does seem to have to change their mail server configuration to keep mail flowing to AOL.

    So go on, it's dead easy, publish a record for your domain now. Tell people where your mail comes from. Look, there's even a wizard to help you.

    --
    Matthew @ Bytemark Hosting
    1. Re:Why this is a big deal by Malc · · Score: 2, Informative

      It does break forwarded messages. I have my Yahoo mail automatically forwarded to my own server. For me to use SPF on my mail server, Yahoo would have to re-write the FROM field in the envelope so that it appears to come from their domain. Obviously I'd like them to implement SPF-based filtering at the same time.

    2. Re:Why this is a big deal by jeroenvw · · Score: 5, Informative
      The presence of an SPF record on a domain at present means that while you still can't be sure when you're handling spam, you can be sure when you have a piece of non-spam because the SPF record tells you so.

      So, as a spammer, you only have to publish an SPF for your own domain, and your mail is garanteed to be nonspam?

      No, you have it wrong: Mail coming from hosts not allowed by the SPF, is guaranteed to violate the policy of the sender domain. SPF is basically saying: ``Hey, to whom is interested, mail coming from one of oud adresses, will always be send by these mailservers. So if you receive them from other means... We didn't do it!''

      But indeed, if the domain and its users are trustworthy, you may decide that spam isn't likely to come from them. While ISP's might be trustworthy themselves, their users as a whole are not.

      the rest of the world does seem to have to change their mail server configuration to keep mail flowing to AOL.

      Wrong again, it's about mail flowing FROM @aol.com adresses. Mail going TOWARDS aol has nothing to do with it. Even if AOL will be implementing SPL while recieving mail themselves, if you don't use SPL, you're not blocked, and also, you need to change your DNS, not your mail server, if you want to implement SPL for outgoing mail of your domain.

    3. Re:Why this is a big deal by Malc · · Score: 4, Informative

      Check the FAQ. The topic heading is "But that breaks forwarding!"

    4. Re:Why this is a big deal by Zocalo · · Score: 3, Informative
      Just a quick clarification, but an "SPF record" is not, strictly speaking, a DNS TXT record type. The SPF RFC defines a new DNS record type called as you might expect, "SPF" which is the preferred way of doing things:

      @ IN SPF "<spf string>"

      However, in order to get things off the ground without having to wait for DNS servers and tools to support a new record type, it is also possible to publish the same information in a TXT record:

      @ IN TXT "<spf string>"

      If your DNS server supports the SPF *type*, then you should ideally use that and provide the TXT record as a backup. Query tools that properly support SPF will probably look for the SPF type first and then requery for TXT on a failure, but it's up to the developer of course.

      --
      UNIX? They're not even circumcised! Savages!
    5. Re:Why this is a big deal by andy@petdance.com · · Score: 2, Insightful
      FYI, the quoted question was a rethorical one, rebutted in the rest of my comment.

      So it was. My mistake.

  16. anti-spoofing by colinleroy · · Score: 4, Interesting

    As I don't think this will stop spam (at least not before massive adoption, as others said), I think it can protect us from having a spammer using our email address as From:.
    I publish SPF records for my small domain now, and next time some dumb ISP complains getting spam "from me", I'll be able to tell them to go and check my SPF records, and to match these with "my" spam's headers.

    Of course, this is for my little domain with few users, all well-educated enough to use authenticated SMTPS to my server.

    --
    blah
  17. Re:boo by krymsin01 · · Score: 3, Informative

    Nice trolling

    --
    stuff
  18. Some of the benefits. by mcroot · · Score: 4, Interesting

    Some people seem to be missing the point of spf. SPF is a mechanism that allows people to publish their own records to defend themselves against joe-jobbing. Anyone who has been joe-jobbed will be all over something like this. The fact that publishing these records benefits you directly, will help something like this spread in a timely manner.

    It's also beneficial in the regard that when rolled out to where it becomes standard, mail will be far more accountable, and as spammers start joe-jobbing those people who have not yet published these records, it will only help motivate those hold-outs to get on the bandwagon and defend themselves.

    1. Re:Some of the benefits. by DiningPhilosopher · · Score: 2, Interesting

      I'm really surprised PayPal hasn't done this considering the problem they're having with spoofed mail.

      In fact, it makes me wonder if they had a reason to decide against it.

      --
      /* The beatings will continue until morale improves. */
  19. Re:How does this reduce spam in any shape or form? by Alioth · · Score: 2, Interesting

    AOL (and Hotmail, and other large ISPs) are frequently joe-jobbed - it's therefore worth it for them. If I can tell SpamAssassin to score anything above the threshold that purports to come from AOL, but not from their SPF IP allocation, it helps. Better still, now I can tell for certain that @aol.com mail really DID come from AOL, I can assign a negative score to AOL addresses since I know it's likely to be ham.

  20. This does reduce spam by dybdahl · · Score: 5, Informative

    It reduces spam because spamfilters like spamassassin etc. can add extra points to those e-mails that did not verify against SPF records.

    If Red Hat adds SPF verification to their default spamassassin configuration files, a lot of companies will start to add SPF records to their DNS.

    If I send an e-mail to a RoadRunner mailbox, it is rejected. Why? Because my mailserver is a Linux box on my ADSL internet connection, and RoadRunner blocks all e-mails from residential IP ranges. With SPF, such filtering can be made much more careful, making it possible for me to send e-mails to RoadRunner customers again.

  21. Re:How does this reduce spam in any shape or form? by krymsin01 · · Score: 5, Informative

    You are doing a reall good job at copy and pasting past comments for karma whoring.

    I bet your parents are proud!

    --
    stuff
  22. Comment removed by account_deleted · · Score: 3, Informative

    Comment removed based on user account deletion

  23. Spamassassin will support it in 2.70 by KjetilK · · Score: 3, Informative
    Hm, I must have been living under a rock, because it is the first time I hear about it. However, it sounds like a good idea, I have to contact my upstream ISP to have them add a record for me.


    Anyway, it seems SpamAssassin will be adding support for SPF in 2.70, at least according to bug 2143. That's cool!

    --
    Employee of Inrupt, Project Release Manager and Community Manager for Solid
  24. SPF is a really bad idea by ^BR · · Score: 2, Interesting

    Are you used to sending personnal email (one that have another domain than your employers in the From: address) from work using your company SMTP server as a relay? You know, the only one you have access to with many reasonable security policies...

    Can't do that anymore, your message will be flagged as spam by the recipient server if he checks for SPF records.

    Have AOL warned its customers of this little side effect of it implementing SPF?

    Plus SPF technically wise sucks, it should have been a new record type using TXT records is an ugly kludge...

    1. Re:SPF is a really bad idea by colinleroy · · Score: 3, Insightful

      SPF implementation guidelines specify that admins specifying their SPF records should also enable SMTPS authentication. With this you'll be able to send your personal mail from everywhere using your domain's SMTP server.
      See step 2 on the "How do I implement SPF" page.

      --
      blah
  25. Comment removed by account_deleted · · Score: 2, Insightful

    Comment removed based on user account deletion

  26. Re:boo by afidel · · Score: 3, Informative

    As to your first point DNS is great because lookups are generally fast and they are cached. I don't think even every host on the internet looking up the TXT records for aol.com every couple of hours at the most frequent is going to tax the kinds of bandwidth and DNS servers AOL employs. Besides the amount of email traffic that they will be able to dump before the session even begins will outweigh the DNS lookups probably a million to one in bandwidth.

    As to the second point that is already easily dealt with by most intelligent MTA's, heck my ISP's email servers already flag any message which has a different sending IP and host identifier, and they have informed us that they plan to dump the connection on this condition "real soon now". SPF just makes this easier since it can be used to eliminate false positives from semi-clued admins.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  27. Re:Observe the missing link by jdifool · · Score: 2, Insightful
    Hi,

    of course you are right, but mods must understand too that a post must not be modded up because it seems clever, or because it repeats something clever someone already said before.

    I can cite my Oreilly's books all day if I want to. Beyond the awkward morality of such guys (you can criticize /., but the best thing is to do it correctly), this brings nothing.

    Repeating what you can learn by making your head work for 10 secs, it's ok. I'm not here for that.

    Regards,
    jdif

    --
    Let's overcome our weakness.
  28. Dynamic IP addresses by njdj · · Score: 2, Informative

    This is not going to work for domains that have dynamic IP addresses. Yet another reason we need to migrate to IPv6 and eliminate the need for dynamic IP addresses.

    1. Re:Dynamic IP addresses by Motherfucking+Shit · · Score: 3, Informative
      This is not going to work for domains that have dynamic IP addresses.
      Sure it is, you can specify CIDR notation within your SPF record. This lets you cover the pool of IP addresses that you (or your users) might be assigned. Check out AOL's TXT record:
      aol.com. 300 IN TXT "v=spf1 ip4:152.163.225.0/24 ip4:205.188.139.0/24 ip4:205.188.144.0/24 ip4:205.188.156.0/24 ip4:205.188.157.0/24 ip4:205.188.159.0/24 ip4:64.12.136.0/24 ip4:64.12.137.0/24 ip4:64.12.138.0/24 ptr:mx.aol.com -all"
      Instead of listing every IP address that a legitimate piece of AOL mail could possibly come from - which would be a slight bit bulky for DNS - they've specified a bunch of /24's ("class C's") where their SMTP servers reside.
      --
      "BSD: Free as in speech. Linux: Free as in beer. Windows 10: Free as in herpes." --Man On Pink Corner in #52607549.
  29. Tag it by Epeeist · · Score: 4, Insightful

    How about using the proper tag,

    <acronym title="Sender Permitted From">SPF</acronym>

    Or if you want to include it in a link

    <a title="Sender Permitted From" href="link">SPF</a>

    1. Re:Tag it by Yazheirx · · Score: 2, Interesting

      How about using the proper tag,

      This is a good idea. I would recommend using the <a title="Sender Permitted From" href="link">SPF</a> method due to IE's lack of standards compliancy.

      I know that Moz supports acronym, abbr and a with title attributes, however IE is the most used browser (much to web standards proponents chagrin) out there and does not support all of the afore mentioned tags.

      --
      More of my thoughts
    2. Re:Tag it by Daniel_Staal · · Score: 3, Informative
      I know that Moz supports acronym, abbr and a with title attributes, however IE is the most used browser (much to web standards proponents chagrin) out there and does not support all of the afore mentioned tags.

      More pertentely in this context: Slashcode doesn't support it. Even if the original submitter included it in their submission it would have been stripped out before it got to the editors.

      --
      'Sensible' is a curse word.
  30. Comment removed by account_deleted · · Score: 2, Interesting

    Comment removed based on user account deletion

  31. Re:How does this reduce spam in any shape or form? by Ubi_NL · · Score: 2, Insightful

    1) Email worms
    2) Zombie virus-infected mail relay clients
    etc

    --

    If an experiment works, something has gone wrong.
  32. It makes whitelists work better by Per+Abrahamsen · · Score: 2, Insightful

    You can have a personal list of "known good domains" with competent managers and SPF from which mail go directly to your inbox, without other spam filters. Safe knowing that mail from these domains really are from these domains.

    You may even want to use a whitelist server ran by someone you trust.

  33. This doesn't help much.... by ^BR · · Score: 3, Interesting

    What if I don't have access to the authorized relay, as in all company outgoing mail must go through company SMTP server, wether it as a @company.com from address or a @vanitydomain.com address.

    If you read personnal email at work (bad) but keep it separate from your professionnal email (good) this will greatly inconvenience you.

    And what about the consultant on a customer's site, if he don't have access to the authorized relay. He can't send mail while still having a perfectly usable SMTP relay at his disposition...

  34. Re:boo by Anonymous Coward · · Score: 2, Insightful

    What do you think costs AOL more...?

    1) Bandwidth & CPU for additional DNS lookups when people forge mail from their domain.

    2) Bandwidth & CPU & staff costs for emails to their customer support desk complaining about the spam. (Bear in mind that the vast majority of users are not savvy enough to know not to complain to AOL.)

  35. It does seem to work by Erik+Hensema · · Score: 3, Informative

    In an amazing coincidence I just implemented SPF filtering on my server yesterday.

    This is what I got:

    Jan 8 19:34:01 scrat sendmail[16839]: i08IY0ON016839: Milter: from=<larhondabeirne@aol.com>, reject=550 5.7.1 Command rejected
    Jan 9 05:34:47 scrat sendmail[16305]: i094YlON016305: Milter: from=<krbsnag2gs@aol.com>, reject=550 5.7.1 Command rejected
    Jan 9 08:59:45 scrat sendmail[25027]: i097xiON025027: Milter: from=<clairacree@aol.com>, reject=550 5.7.1 Command rejected

    --

    This is your sig. There are thousands more, but this one is yours.

  36. SPF && DYNDNS by tacocat · · Score: 2, Interesting

    Does anyone know how SPF can be managed via dynamice DNS type of DNS services?

    It seems to me that having my reverse DNS lookup containing my ISP's domain name rather than mine would help my server configuration. I have a problem with my DNS in that reverse lookups are resolved to a DNS entry, but it belongs to my ISP domain and not my domain name. This gets some people pissy, but I don't see it being worth spending $100 a month extra from my ISP.

    And if anyone even thinks about responding with, "Change your ISP" I'll beat them severly with a Windows CD. I don't have any alternative ISP's available. If someone would be willing to help pay the $200 monthly fees for any alternatives I would consider it.

    Would SPF help this problem? Would I actually be able to gain trust from others? Would DynDNS be able to accomodate this feature? (I'll have to ask them...)

    I think a lot of this falls back to a much simply question: Why do we have DHCP addresses on the internet anyways? They do not change. I think mine is about 9 months old. Others tell of greater than a year with the same IP address. I think it would actually help security if people where give static IP addresses. Then they would have to take care of it to ensure they don't act stupid.

    1. Re:SPF && DYNDNS by Skjellifetti · · Score: 2, Insightful

      ips are often assigned based on the network card's physical addr. Some cards have setup software that allows you to change this number. Try changing it, restart your dhcp client and see if the tcp/ip addr has changed. Set it back and see if you get your old tcp/ip addr back. RR in Columbus seems to work this way. When I have installed a new firewall, just moving the old network card to the new machine lets me keep the old tcp/ip addr.

  37. Re:Would someone explain this to a simpleton? by Motherfucking+Shit · · Score: 4, Informative
    I read the page but it's too early in the morning for me. Would someone please explain the idea behind SPF _understandably_?
    Suppose you own a domain, let's call it sharpfang.com. You have a cable modem and your IP address is always 24.95.x.x. If you're sending out email from sharpfang.com, you always do it from your cable modem.

    One day, you start getting a lot of bounced spam. Some spammer, for some reason, has decided that he would forge his latest batch of spam from @sharpfang.com email addresses. What a dick!

    So, you set up SPF records for your domain. The SPF records are basically a way of telling other mail servers, "I only send mail from my cable modem connection, which will always have an IP of 24.95.x.x. If you get mail claiming to be from sharpfang.com, but it didn't come from an IP address inside 24.95.0.0/24, it's bogus!"

    Now, enlightened mail server admins can reject any email with an @sharpfang.com return address but an origin IP of somewhere outside of 24.95.0.0/24. Of course, if your IP address or range changes (e.g. you're traveling, you switch ISPs) you simply update your SPF records in DNS.

    SPF has dual benefits: it can reduce the load you get from joe-jobs (assuming some of the recipients' mail servers honor SPF), and it helps everyone else identify spam.
    --
    "BSD: Free as in speech. Linux: Free as in beer. Windows 10: Free as in herpes." --Man On Pink Corner in #52607549.
  38. Re:boo by arr28 · · Score: 2, Informative

    You can't spoof sender IPs - not for a TCP session like that required for SMTP anyway.

    (Well okay, it's not quite true. You could just about manage to spoof IPs for machines on the same ethernet segment as you. However, if you're on the same segment as an outbound mail server, you're probably allowed to send via that server anyway.)

  39. Other problems with SPF by 0x0d0a · · Score: 4, Interesting

    ...SPF technically wise sucks

    Agreed. I'm going to cut-and-paste the set of flaws I was talking about *last* time SPF came up on Slashdot:
    First, this is nothing more than an authentication system. It's designed to allow a server to authenticate itself as a trusted source for a domain's email. However, the designers chose to use DNS as a transport mechanism. Not a good idea. DNS is designed to be lightweight and low latency, not to be secure. It's pretty easy to spoof DNS responses. Plus, DNS data tends to get cached. All you need to do is spoof a response, the nameserver's cache is poisoned with false data, and the next N emails (until the cached data expires) are accepted as valid.

    Second, this system relies on having everyone implement such functionality. Spammers don't give a damn about return addresses, so they can send email with a from address at any domain. The annoying and ineffective attempts at stopping all open mail relays on the Internet illustrate the failure of this model. A security system that relies on correct implementation over the full Internet to function properly will not work in real life.

    Third, this fails to deal with throwaway domains. The authors waffle a bit about them, and finally come out and admit that more mechanisms are required. Dammit, if we had a good PKI trust-ranking system (which is the sort of thing that they are requiring to fix their failings) we wouldn't need this system at *all*, since we could simply sign email and have trust rankings for users.

    Enough about the bad design: other reasons I don't like it include:

    * The authors have made a decision to make it really annoying to send email from a machine, and have to work with your ISP just to have a mail server. There are plenty of more solid antispam proposed mechanisms that do not place restrictions on who runs what servers (pay-per-email or pay-per-initial-email, PKI systems). This is much more in line with the way the Internet works for most services.

    * There is a supposedly trusted authentication system being spread across the entire Internet over an insecure transport protocol.

    * DNS caching can make moving an SMTP server or setting up a new one take a significant amount of time.

    * IP-based auth isn't a great idea anyway, for a number of reasons. The authors claim that it isn't a huge issue, because IP spoofing is harder (I disagree -- things like Mobile IP have made it harder to *block* IP spoofing).

    * Users have no control over what gets blocked. If I *want* to receive email of a particular type, I can't. Two ISPs (sending and receiving) are the ones that determine what mail I can receive). This is perhaps acceptable within a company, but annoying and goes against traditional Internet structure.

    * It does nothing to avoid compromised end user machines.

    * It does nothing to deal with throwaway accounts.

    * It does nothing to deal with misconfigured servers.

    1. Re:Other problems with SPF by jazman · · Score: 2, Interesting

      Unfortunately you don't bother to say how your preferred solutions fix spam.

      Pay per email? Pay whom, precisely? The ISP? I've already paid them for my subscription. If that is included in a spammers account, their spam gets through. Pay the recipient? Why should I pay you to send you email that isn't spam? Would you give me the cash back? You say that SPF works against the way the internet works, well, the internet is a free-for-all, so why is paying per email NOT against the way the internet works?

      PKI? If Computer A trusts Computer B, does that mean Computer B gets a high ranking? What if Computer A is a spammer? Computer C, which nobody knows, and therefore nobody trusts, how do they get email out to people? They may be the next Slashdot, or have something earth-shatteringly important to say. Are you going to reject their messages because nobody trusts them? If they spam, presumably they get a negative score. But what if someone who has an axe to grind says they've spammed when they haven't?

      How do PKI/Pay-for deal with throwaway domains, or compromised machines?

      What if a new spammer starts out by sending out useful stuff, thus getting a high Trusted ranking, then starts to spam from it? What if someone who is Trusted gets compromised? Trust also doesn't fix spam.

      Just because SPF doesn't fix everything including terrorism and obesity, does that mean it shouldn't be implemented?

      I think SPF is a good idea. You get email from aol.com, but aol says "never heard of them" - there's a good chance this will be spam. Therefore spammers stop spoofing aol and spoof someone else. They then get loads of bounces and implement SPF. And so on, and eventually spammers have nowhere left to hide. It won't fix spam overnight, but it will reduce, and eventually remove, places for spammers to hide. The wonderfully double-entendred CAN SPAM act proves we can't rely on politicians, so we need a technical solution.

      So you can't validly spoof your own address. What's wrong with setting different From and Reply-To? (other than it not being implemented in mail clients. But that can easily be fixed.) From=my ISP, mail gets validated as not Spam. Reply-To=my work address, so I get to send work email from home. That's why we have distinct From and Reply-To, no?

      So you have to ask your ISP if you want to run a mail server. Why exactly is that so difficult?

      You say SPF increases traffic. How much traffic does SPAM need to be before it becomes a problem? 5%? 10%? Some estimates place Spam at OVER FIFTY PERCENT OF ALL EMAIL. Clearly if the Spam traffic is not a problem at over 50%, the odd little bit of SPF validation traffic isn't going to make much difference.

      SPF can reduce the amount of clutter on the network. It doesn't just have to be implemented at the terminal ISP. Clearly if an interim computer getting email bound for ISP X notices that SPF fails, it can drop or bounce the email instead of passing it on. Yes, this takes some CPU time. So does propagating Spam - even that isn't free. Besides, how expensive is CPU time these days? Do mail forwarders really use 100% CPU time or are they IO bound (I don't know the answer to this, so perhaps they really are CPU bound, in which case this paragraph is complete 130110x.)

    2. Re:Other problems with SPF by autopr0n · · Score: 2, Insightful

      * The authors have made a decision to make it really annoying to send email from a machine, and have to work with your ISP just to have a mail server. There are plenty of more solid antispam proposed mechanisms that do not place restrictions on who runs what servers (pay-per-email or pay-per-initial-email, PKI systems). This is much more in line with the way the Internet works for most services.

      Less annoying then hundreds of SPAMs a week.

      * There is a supposedly trusted authentication system being spread across the entire Internet over an insecure transport protocol.

      Yeah, that is a problem. I can see spam-hat hackers attacking widely used DNS caches in order to poison them. But that would make SPAM even more illegal, and lots you could seriously get a fraud charge by doing that.

      * IP-based auth isn't a great idea anyway, for a number of reasons. The authors claim that it isn't a huge issue, because IP spoofing is harder (I disagree -- things like Mobile IP have made it harder to *block* IP spoofing).

      Another good point. Perhaps in the future, if SPF on IP isn't enough, we could move to have mail servers automatically sign all mail that comes out of them. Check the signature with the ISP. It would be resource intensive. But if SPF doesn't do what we hope based on IP we might need to do that.

      * Users have no control over what gets blocked. If I *want* to receive email of a particular type, I can't. Two ISPs (sending and receiving) are the ones that determine what mail I can receive). This is perhaps acceptable within a company, but annoying and goes against traditional Internet structure.

      Wrong, SPF can easily be implemented at the mail client site. Everyone should be running their own mail server anyway.

      * It does nothing to avoid compromised end user machines.

      It does. It will be impossible to send mail from a compromised host without 'claming' those hosts as part of your SPF record. If you include the entire 'net in your SPF record, then you're as good as not having one, and most implementations will treat you that way. If you include those zombies directly in your SPF, it's obvious you hacked 'em.

      And at any rate, most domains that claim spam will quickly be blacklisted.

      * It does nothing to deal with throwaway accounts.

      The domain that claims those messages will mostly likely be blocked. A distributed domain blocking list will probably catch a new spam domain in a couple hours (coming down extra hard no new domains). This technique is impossible without SPF.

      * It does nothing to deal with misconfigured servers.

      Other then getting the domains blacklisted, and the mail servers reconfigured correctly. Hopefully SPF will make the blacklisting business a lot less harmful then it is now.

      --
      autopr0n is like, down and stuff.
  40. Re:Would someone explain this to a simpleton? by epiphani · · Score: 2, Interesting

    24.95.x.x would be 24.95.0.0/16. 24.95.0.x would be 24.95.0.0/24.

    Thank you, carry on.

    --
    .
  41. SPF as a spammer tool? by animaal · · Score: 2, Insightful

    It seems that at the moment, spammers send mails to millions of possibly-active email addresses, in the hope that some of them are active. What's to stop a spammer making up possible addresses, querying SPF records for these (possible) addresses, and publishing the list of validated addresses? Can we now look forward :( to spammers using better address lists??

  42. Also stops phishing by mec · · Score: 2, Interesting

    paypal, ebay, circuit city, bank of america, and microsoft all have reason to publish SPF records.

  43. Re:boo by Bazzargh · · Score: 2, Informative

    I'm only using windows reluctantly but this is ridiculous. You can do the exact same thing with nslookup, supplied with windows:

    G:\>nslookup

    > set q=txt
    > aol.com
    Server: XXXXXXXXXXXXXXX
    Address: XXXXXXXXXXXXXXX

    Non-authoritative answer:
    aol.com text =

    "v=spf1 ip4:152.163.225.0/24 ip4:20....

  44. Damni! "RMX" was such a cooler acronym! by autopr0n · · Score: 2, Informative

    Anyway, I hope register.com hurries the hell up and lets me add these to my domains. I've actually been getting a bunch "recipient not found" messages going to [random word]@[mydomain.com] (not autpr0n.com, either my personal domain) meaning someone is spamming and using forged address claming to be from my domain

    and for each bounced message, who knows how many are getting through. A friend of mine (an AOL user) actually had a spammer us his personal email address, and got not only a bunch of bounces, but angry emails and IMs.

    The sooner this goes into effect, the better. It'll probably be a long time before we can block all email that doesn't come from a domain with SPF, but hopefully soon we can get rid of emails that are explicitly not authorized. (like those claming to be from my servers...)

    --
    autopr0n is like, down and stuff.
  45. I see a problem here.... by matth · · Score: 4, Insightful

    Question on this whole SPF thing.
    I'm interested in it but have a slight issue with it at the moment that
    I'd like to get resolved.

    My domain is: mydomain.com
    Customer A is traveling and is using his e-mail of joe@mydomain.com
    However, I do IP filtering on my mail server (not SASL AUTH), for my
    dial-up pools.
    When Customer A is at hotel he must use their mail server to send mail
    out, so his mail will be rejected because the hotel mail server isn't
    listed in mydomain.com's SPF txt list.

    You suggest running SASL AUTH as a work around for this, however in my
    experience this creates MORE of a spam problem then not using SPF..
    here's why:

    On a mail server with over 40,000 users it's relitively easy for someone
    with a password cracker to hammer away at common names like 'joe'
    'jeffp', etc and try to get some passwords. Once they have a
    username/password combo they can happily send e-mail out as that user
    through MY mail server, and I can't do anything about them. Doing IP
    filtering requires that they are on MY network to send mail through MY
    server, thus allowing me to terminate/prosecute/etc the person.

    1. Re:I see a problem here.... by SydShamino · · Score: 3, Interesting

      I'm not a networking expert (as everyone who corrects me will probably point out), but couldn't you do something like:

      1. Make the customers use Webmail or equivalent when traveling. The mail still originates with your servers.

      2. Make the customers VPN to your domain when traveling. The mail is then handled by your servers.

      AOL basically does the second, if you connect to them via another service (like AOL High Speed stuff).

      I know neither of those are as convenient as "free mail, anywhere, anytime, no questions asked", but that system is too open to abuse.

      --
      It doesn't hurt to be nice.
    2. Re:I see a problem here.... by dozer · · Score: 3, Interesting

      Um, how about actually watching for cracking attempts? "My word, user jimj just tried to log in 100 times in less than 1 hour. Let's deny the IP address he's trying to log in from."

      As far as I can understand, your argument boils down to "I don't like SPF because my systems are hideously insecure, I'm cool with them being used as open relays, and I don't feel like being a competent sysadmin"?

  46. Re:This is a good idea by iantri · · Score: 2, Insightful
    Of course, I could have just set up my server to accept mail on another port, but that would have been a pain for me - local change on every client, instead of one SMTP fix.

    Actually, that wouldn't work -- other SMTP servers have no way of knowing which port your SMTP server will be on, so it is hardwired to port 25. You wouldn't be able to receive any e-mail.

  47. AOL will likely remove these SPF records today by wayne · · Score: 4, Informative
    According to a message from Meng Weng Wong (the author of SPF), AOL will likely remove these SPF records today (Friday). There are still kinks that need to be worked out, and AOL doesn't like to make big changes like this to be permanent and/or last over the weekends until more testing has been done.

    See: this message on the SPF mailing list

    --
    SPF support for most open source mail servers can be found at libspf2.
  48. SPF is NOT a problem for you, by autopr0n · · Score: 4, Informative

    For instance, the box on which I get all my mail, to which all my mailing list subscriptions go, and which is associated with my online identity everywhere I have one...is located halfway across the continent from me

    Two solutions.

    1) The "hard" but proper way, setup SPF records from all the machines you will be sending mail from or

    2) Simply send all your mail out through the box you get it in from. What's so hard about that?

    Anyway, I'll be happy to let anon mail through just for your convenience, so you don't have to setup SPF once every 6 months, or wait for your email to get forwarded through your own mail server, if you'd be willing to go through and delete the hundred or so SPAMs I get each day. Sound like a fair deal?

    --
    autopr0n is like, down and stuff.
  49. How dynamic are we talking about? by autopr0n · · Score: 2, Insightful

    First of all, why can you use the machine you receive mail on to send mail? Obviously that IP doesn't change too often.

    And in any event, most dynamic IPs are within a certain net block. so you can simply add that net block to your SPF record. I'm assuming you have your own domain here.

    --
    autopr0n is like, down and stuff.
  50. Breaks Forwarding by n-baxley · · Score: 3, Informative

    The biggest problem I can see with this is that it breaks forwarding. I have several email addresses that I don't use anymore but that I still get email on. If I take the SPF people's recommendation and just remail it, I lose the sender information, or at least lose access to it when listing my emails. It would be nice if this could handel forwards as well.

  51. Re:The really important question is... by bourne · · Score: 2, Informative

    As a matter of fact, there is nothing stopping spammers from registering a bogus domain, and making the entire internet part of their SPF

    But it kills domain forging; they have to use their own bogus domains which can be quickly and easily blacklisted by other methods if they spam a lot. SPF says "This machine can be held accountable for mail sent for this domain," there's no magic if you're not willing to actually hold people accountable. But the contrapositive to that is, if someone says they're host is accountable and mail from that host is otherwise sound, then you should give them the benefit of the doubt.

    What is needed is SPF and some sort of a trust between domains.

    Mechanisms based on trust are either expensive or doomed to failure. So it has always been and so it will always be.

  52. Re:Wrong. (Re:Nitpick (Re:Tag it)) by sik0fewl · · Score: 2, Informative

    Unfortunately the W3C's sites seem to be ambiguous about this. However, somewhere it does state that ACRONYM is for pronouncable acronyms and ABBR is for unpronouncable acronyms and abbveviations (although I can't find the link to back this up). They probably could've made this less confusing, but they didn't.

    At http://www.w3.org/TR/html4/struct/text.html#edef-A CRONYM where they actually define the standard, they give WWW as an example for ABBR.

    Again, I'm just saying it's ambiguous, I'm not trying to start a flamewar.

    --
    I remember when legal used to mean lawful, now it means some kind of loophole. - Leo Kessler
  53. SPF Bad for POBOX's users by billstewart · · Score: 2, Interesting
    I've been a customer of pobox.com for probably seven years now. It's a mail forwarding service that originally started in a dorm room and grew into a business - mail to bill dot stewart at pobox dot com forwards to me@my-isp.example.com, and I can change it any time I change ISPs. When I send mail to somebody, the IP address isn't pobox.com's servers - it's whatever IP I'm connecting from, whether that's my home DSL, or my DSL provider's smtp relay, or my office's firewall smtp relay, or my mailbox/shell provider's relays, or my dialup provider's relay if I'm on the road.

    pobox.com doesn't know any of these IP addresses, so if they *do* advertise SPF records for *@pobox.com, anybody who listens to SPF will reject me, and probably most of their other customers. It's fine for them on the input direction - blocking forged aol mail, for instance - but even that prevents you from sending mail From: you@yahoogroups.com when you want the replies to go to your yahoo address, not your real address, which can be important if you're sending to people with dubious Microsoft mail systems that might ignore Reply-To: or people who don't pay attention to message bodies that say 'Please reply to my yahoogroups address, not my work address" (like your mother-in-law on aol.)

    For someone like Karl, I'd expect that the risk is that if you're using a dialup connection that requires you to use _their_ SMTP relay, or if you're on a hotel broadband connection that hijacks SMTP, you'd risk having some people block your mail. Hopefully SPF-using SMTP servers do so noisily and not silently...

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  54. That's what SASL is for by dszd0g · · Score: 2, Interesting

    Simple Authentication and Security Layer allows a user to identify themselves to a mail server. POBOX just needs to set up a mail server that uses SASL and then their users use that to send mail.

    This is often referred to as SASL auth or sometimes SMTP auth.

    They probably need to set it up on both port 25 and another port generally 587 in case users ISPs block connections to port 25.

    Alternatively there are older solutions that may work for some mail services like POP before send. Where any IP address that has successfully logged into the POP server can send e-mail through the mail server for a certain period of time.

    Basically once SPF catches on public mail services need to run their own mail servers. This makes sense, it's their e-mail and they should be responsible for sending it.

    In the case of pobox.com seems to already be running SASL:

    % host -t a sasl.smtp.pobox.com
    sasl.smtp.pobox.com A 64.71.166.114

    pobox.com is already publishing SPF records so it looks like they think it will work for them.

    % host -t txt pobox.com
    pobox.com TXT "v=spf1 mx mx:fallback-relay.pobox.com a:emerald.pobox.com ?all"

    They are specifying the loose "? = unknown" for servers other than their own, but it is up to the receiving MTA to allow or deny "unknown".

    They are following the SPF adoption strategy:

    "Initially, domain owners can set ?all, which means "default unknown". They start educating their users to switch to SASL AUTH, and maybe set a local sunrise date.

    When the vast majority of users are doing the right thing (sending mail out only through the domain's designated mailers) they change the default to -all, which means "default deny". That tells SPF-aware receiving servers that it's safe to reject SPF violations rather than classify them as spam."

    --
    This message is encrypted with Quad ROT-13 to protect the author's copyright under the DMCA.
  55. The SPF DoS hole by 0x0d0a · · Score: 2, Insightful

    Oooh, wow. I didn't even think of that. You're right. That's *incredibly* nasty -- someone spoofing DNS responses containing SPF records could take down, say, all AOL to MSN email for however long the SPF records stay cached. With one packet. Without even needing to flood any system, since we're talking UDP, not TCP.