Slashdot Mirror


Spam Blocking Engine for OpenBSD

mkeke writes "In a post over at OpenBSD Journal, Theo states that he has written a spam blocker that works with pf and Spews. It looks darn cool :)"

4 of 278 comments (clear)

  1. Re:difference by grub · · Score: 5, Interesting


    Can anyone explain why you wouldn't just use SpamAssassin?

    Once the spam is in your system then your bandwidth, disk space and other resources have already been consumed by the spammer. This prevents the spam from ever coming into your network and put the burden of the load back on the spammer's shoulders.

    Damn fine work.

    --
    Trolling is a art,
  2. Re:Spews is NOT the right way to filter e-mail. by jamie · · Score: 5, Interesting
    "Spews is EVIL... Please take a look at http://www.antispews.org"

    Thanks for the link. I'll confirm that Spews is not the way to go. Well, it depends on whether your goal is to block spam for your users, or just to piss people off.

    If you're a network admin and you want to block spam for your users, try something else.

    If you just want to piss people off, Spews is great. My personal mail server (very kindly hosted for me for free on a friend's network) was put on Spews' blacklist. My server has never in its lifetime sent a single spam, of course. But Spews had found four (count 'em) examples of spammer websites (not spam-sending machines) on the IP blocks owned by the people who my friend bought access from, twice removed. Because of these four claimed spam websites, Spews put FOUR CLASS A's on their list.

    That's right -- a quarter-million IP numbers were blocked because they didn't like the policies at four IP numbers.

    Wait, did I say four? When I checked up on them, two had already moved to other providers, one I couldn't find, and only one was still there. So my server, and a quarter-million others, were being blocked because the Spews people disagreed with one solitary website. Hosted by a company that I have no relationship with.

    It goes without saying that attempts to get my server whitelisted failed.

    And I do question the value of their blocking my mail server. Like I said, I was being hosted for free just because I have helpful friends... my moving to another network actually saved them money!

    Somehow, I think most net administrators, if they knew that Spews' purpose was political and not technological, would be less likely to use it. There are plenty of other blacklists out there. What are the good ones that don't hijack your networks to apply political pressure?

  3. Interesting, but here's an extra twist by wowbagger · · Score: 5, Interesting

    I won't go into the validitiy of using SPEWS as a blocklist - there are good arguments pro and con there.

    But here's a twist to the basic idea:

    Given the the email sender is in $BLOCKLIST, have the filter daemon give the 450 response

    v... e... r... y... ... s... l... o... w... l... y...

    Combine a teergrube with the 450 response to fill up both their mail spool AND their socket connection table.

    (For those who don't know, a teergrube (tarbaby) is a mail server that response slowly to a spammer, the better to tie up his connections).

    Now, not only will the open relay's mail queue fill, but it will run out of (file descriptors|sockets) and choke on that too!

  4. Re:SPEWS is necessary & effective at hurting s by binner1 · · Score: 5, Interesting

    At my last job, that is exactly the conversation I had. My boss said: We get too much spam here, do whatever it takes to stop it. I said: Sure, I'll have qmail do some rbl polling before accepting mail. Worked great for about a month...cut roughly 50% of the spam that network received. Then, boss says: Why can't I get email from ebay seller X? I say: Oh he's rbl'd...we don't take mail from there. He says: Ok, turn off the rbl.

    After that, I turned on my own bayesian filtering and said F the rest of the network/users.

    -Ben