Slashdot Log In
O'Reilly Article on Spam Defense
Posted by
michael
on Sat Jul 26, 2003 08:07 PM
from the unplug-the-ethernet-for-best-results dept.
from the unplug-the-ethernet-for-best-results dept.
This discussion has been archived.
No new comments can be posted.
O'Reilly Article on Spam Defense
|
Log In/Create an Account
| Top
| 189 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

hostile IP's (Score:5, Funny)
(http://www.g4tv.com/~CySurflex)
and thereafter all packets from said IP's are market with the Evil Bit.
Re:hostile IP's (Score:5, Funny)
Wow! (Score:5, Funny)
(http://www.greatmindsworking.com/)
I love qmail. (Score:5, Informative)
(http://www.soonersports.com/ | Last Journal: Thursday March 13 2003, @03:39PM)
Make sure you follow the relay-ctrl section very close. You could be a source of spam if you do it wrong!
Sounds neat, but PGP'ed network sounds better. (Score:4, Interesting)
Have a computer certified by another individual and create a public/private key for that computer. Do this step to create a network of ID's for the servers.
Now, have admins "Sign" a certain public text that allows servers to trust other servers.
If Company X is being real lax (eg: promoting spam), write a revoke key and put it on a few OTHER machines. Thien it'll propigate throught the mail-net to disallow all connections from that MAIL server.
Of course, mail servers and clients would have to have different trust relationships ala ssh.
For them mail geeks: would this be feasible? I could see CPU load go rocket...
Re:Sounds neat, but PGP'ed network sounds better. (Score:5, Insightful)
Just curious, how is this different from a blacklist? It sounds like the same concept, just different technology.
Re:Sounds neat, but PGP'ed network sounds better. (Score:5, Insightful)
(http://2130706433/ | Last Journal: Thursday July 19, @10:29AM)
Well, at least that would give some techies back their jobs, although I'm not too sure they would like their new job...
Regards,
--
*Art
Trusted IPs (Score:1, Interesting)
Also for nominating trusted IPs.
Hurrah for blacklists (Score:5, Insightful)
now all we need to ask is how long till this "community" service that they provide will take before they start charging $ for querying it just like every other blacklist, making blocking spam a privilidge for the rich (i believe MAPS is over a 1000$ a year)
Re:Hurrah for blacklists (Score:5, Informative)
(Last Journal: Thursday August 12 2004, @10:56PM)
It would be better if ISPs participated in services like the ORDB [sordb.org], SORBS [sorbs.net] and Monkeys [monkeys.com] that have simple network testable criteria for listing open relays. Spews [spews.org], Spamhaus [spamhaus.org], and DSBL [dsbl.org] have reputable lists of usernames and addresses that send spam. If ISPs and admins would participate in projects like these, the spam problem would be greatly reduced. And it seems that these projects are mostly run by admins who are interested in blocking spam, not selling a service.
By the way, MAPS [mail-abuse.org] is currently free for individual use [mail-abuse.org] (look at the bottom of the page).
Distrustful of Network Level Censorship (Score:3, Insightful)
(http://www.lawhacker.com/ | Last Journal: Saturday July 26 2003, @09:14AM)
Your spam may be my correspondence -- I may want to get mail from those whose conduct you find abhorrent. Today, a network may responsibly be censoring only unwanted and unsolicited commercial e-mail. Next week, the powers-that-be-in-the-networks start censoring geek news.
To protect our liberties, spam control should be decentralized -- as close to the last mile as possible. Yes, of course, this means that the supposed great harm of spam -- huge volume transmissions through the network -- will not be interdicted closer to the source. In my view, an effective end-point spam model is as likely to reduce volume as a network centered model: the idea is to reduce the INCENTIVE to spam -- that will reduce the volume.
Centralized technical measures simply invite the spam wars to continue, provide centralized points of failure, will not diminish spam, and will assure that powers-that-be have ample new abilities to censor speech.
Re:Distrustful of Network Level Censorship (Score:4, Insightful)
It is. I'm the one deciding whether or not to use this service.
Re:Distrustful of Network Level Censorship (Score:5, Insightful)
server side email filtering is BAD, BAD, BAD!
what if the US Post Office started throwing out your clearing house sweepstakes and credit card applications before you ever got them? problem is theres two kinds of people in the world.. those that say alright no more junk mail, and those that ask, how do you do that without getting a false positive once in a while?
Re:Distrustful of Network Level Censorship (Score:4, Insightful)
My spam folder gets several hundred messages each day. It is _impossible_ for me to read every one of them to determine if it is really spam. I glance over the subject lines and read the occasional borderline one, but I _guarantee_ you that I am already getting false positives. If I dropped spamassassin and allowed the spam into my other folders I would get even more false positives as I impatiently deleted every other message as obvious spam.
Re:Distrustful of Network Level Censorship (Score:5, Interesting)
(Last Journal: Tuesday September 18, @11:59PM)
If you want to receive the junk, don't use one of those services, but I fail to see how someone else choosing -to- is a problem.
Your analogy is flawed. I have a choice to use AOL|Hotmail|MSN|spamassasin|etc and I pay for the connection to download, view, respond and delete my email (not to mention the time it takes out of my day). I don't have a choice whether or not to use the USPO and it takes FAR less of my time to sort out my real mail than it does email.
If SPAM could somehow be filtered out at the router level, then I would agree with your USPO analogy and would be throwing an utter FIT. But it isn't possible (is that a web page or a webmail, is that IMAP, is that secure IMAP, is that POP3, is that email tunnelled over SSH
Until there is legislation with -teeth- and a way for the little guy to prosecute you are not going to see many people agree with you about server side filtering.
Re:Distrustful of Network Level Censorship (Score:4, Insightful)
(http://alec.restontech.com/ | Last Journal: Monday March 06 2006, @12:54AM)
Spam control with RBLs is, in fact, decentralized. There are many RBLs to choose from, and any that are too severe will not be used for long if they generate too many false positives. As a system admin, I have my choice. I use 4 RBLs right now:
- spamhaus.relays.osirusoft.com
- dialups.relays.osiruSoft.com
- dnsbl.njabl.org
- rbl.restongeek.com
And there are many more [openrbl.org] to choose from. I am very happy with my results, it is a pleasure to see the reports of the mail that is blocked (see my(this is a mirror of the Spamhaus Block List [spamhaus.org]) Well known spam operations, and is checked hourly.
(details at OsiruSoft [osirusoft.com]) This list is of DHCP IP addresses of home users (DSL, cable, dial up).
(extensive details [njabl.org] of what's on this list)
I maintain this one myself for anything I want all my servers, primary and backup MX, to block
Re:Distrustful of Network Level Censorship (Score:5, Interesting)
> to get mail from those whose conduct you find
> abhorrent.
You _want_ to receive mail from the bastards that are forging my domain in their penis-enlargement ads and fake PayPal confirmation requests?
> Today, a network may responsibly be censoring
> only unwanted and unsolicited commercial e-mail.
> Next week, the powers-that-be-in-the-networks
> start censoring geek news.
I'm the only power that is on my network.
> To protect our liberties, spam control should be
> decentralized -- as close to the last mile as
> possible.
Can't get any closer to the last mile then right here in my office.
> Yes, of course, this means that the supposed
> great harm of spam -- huge volume transmissions
> through the network
"Supposed"? More than half my email is spam. And that's on a shared dialup.
my spam defense: (Score:5, Funny)
(http://www.xaero.org/ | Last Journal: Thursday June 30 2005, @05:06PM)
Right here. [sigarms.com]
Great (Score:5, Interesting)
(http://members.cox.net/bungi/)
Another blacklist (with an appeals process). Run by a guy that made his millons selling eGroups to Yahoo!.
Dunno, this doesn't look too promising.
Here's my question. (Score:4, Insightful)
(http://me.arnists.com/ | Last Journal: Friday October 10 2003, @07:23AM)
I manage paid-for e-mail e-zines which I mail using PHP and sendmail (read:forged headers until I'm big enough to run my own server).
Wouldn't most server-layer anti-spam measures catch my very suspicious HTML e-zines, even if paid for?
Must be a member to appeal? (Score:2, Interesting)
(http://www.mail-resources.com)
Not too impressed (Score:4, Informative)
(http://augustz.com/)
A fair number of the spams I submitted came from servers that had already been voted on as TRUSTED by other users. In other words, my credability went down by reporting them as spammers.
http://www.trustic.com/ip/219.94.114.6 for example and I've got a fair number of others. Folks are either polluting the space intentionally or being very very sloppy in reporting trusted servers.
Groups like spews have a very nice evidence file, and it gets reviewed by a person. I've generally been impressed with the real community blacklist sites.
Technically the site works great and is super fast. But wouldn't follow the O'Reilly recommendation and pick it as my primary blacklist just yet (even through the guy doing the site worked with the author of the article to make changes.)
My two cents.
Just junk SMTP? (Score:5, Funny)
Have a period where you have a parallel system going and then have a cut off time where SMTP servers die.
All it will take is the top ISP's in each country and large corporations to stop accepting SMTP mail and you'ill be sure that everyone else will then fall inline.
Or am I just being too radical?
Re:Just junk SMTP? Not Possible (Score:5, Interesting)
(http://www.dacels.info/ | Last Journal: Monday January 05 2004, @10:45AM)
Just like gopher with http? You can also add a plethora of validation ontop of SMTP. SMTP, as a protocol, isn't bad. It's possible to add validation, to only accept from SMTP servers that use some sort of valid key.
Then you get to keep SMTP, and slowly migrate servers. Setup a non-profit organization for distributing SMTP authentication keys that are unique to the mail server (think SSL) and if the mail comes from that server is spam, you just block that servers key. If the server doesn't have a key, put it into a validation list or send backa response saying they need to use a mail server that supports signed-SMTP.
Easy solution, not a complete overhaul of SMTP. The problem comes in with who signs the certificates, because then you have to trust the source that delivers them. Like Verisign, et al.
Just like /.! (Score:2, Funny)
IP banning (Score:5, Interesting)
(Last Journal: Monday September 25 2006, @01:19PM)
Relying on RBLs (Score:5, Informative)
I've found SpamAssassin a fairly good, rather than block messages from RBLs it analysis message content, adds points to messages in RBLs and checks known Spam databases such as Razor and Pyzor. Rules matches are given a score, and messages with a total aggregate score are tagged in the message headers, allowing users to filter these if they want to.
A main advantage of this method is that no single rule can flag a message as spam, hence legitimate mail sourcing from the badly configured mail relay has a chance of getting through, and in my mind it's probably a particularly bad idea to block any email unless it's actually addressed to you.
Or you could use a better mailer... (Score:5, Informative)
Or, you could just use Postfix, which:
Personally, I refuse to use any software written by DJB as a matter of principle. The guy flagrantly ignores RFCs because he simply feels like it and arrogantly thinks he knows better(and further that there is benefit to ignoring said RFCs).
Qmail is NOT FREE (Score:5, Insightful)
Qmail is NOT FREE. Last I looked it was distributed without a license; now apparently it has a license, but one with oddball restrictions. If you don't believe me, do a google search with the keywords "qmail debian legal" and spend 30 minutes or so going through the various discussions.
Blackists (Score:3, Interesting)
(http://osrin.net/)
When Spam Attacks! (Score:2)
RBL's and Firewalling (Score:2, Interesting)
(http://www.e3.com.au/ | Last Journal: Monday August 04 2003, @08:36AM)
I'm not coder, so it doesn't expire entries... I'm looking for someone to help make this work even better. I love the thought of causing spammers pain - and this could do that.
You can get the script from my webpage at http://www.jasonjordan.com.au [jasonjordan.com.au]
Other choice than Trustic - SPAMCOP (Score:2, Informative)
(http://www.l33tgame.com/)
I have been using SPAMCop [spamcop.com] for the past 5 months at my work. I am also using QMAIL [qmail.org] as my mail server and it took me about 10 minutes to get it hooked into the Spam Cop Database. The best part it is free and it it blocks about %80 of SPAM that gets delivered - I will just have to live with the other %20. Has anyone heard of other Spam IP Databases that are available for public use?
A cheap and simple solution for a SPAM defense. (Score:2)
(Last Journal: Thursday June 26 2003, @03:28PM)
Dolemite
_____________________
Using Trustic with SpamPal (Score:2, Informative)
(Last Journal: Tuesday March 27 2007, @09:48AM)
- Create a Trustic account [trustic.com]
- Once you've verified your registration, go to Trustic's DNS Query Information [trustic.com] page for your account and note the second DNS query address.
- In SpamPal, open the Options dialog and drill down to the "Extra DNSBL Definitions" section. Click the "Extra DNSBL Instructions" button for information on adding a DNSBL to SpamPal. Read this text and then close the file.
- Click the "Extra DNSBL Definitions" button. This opens "extra_dnsbl.txt". Add a new DNSBL entry as follows:Substitute the personalized query address you saw in step 2 above for queryaddress.
- Save and close "extra_dnsbl.txt", then exit SpamPal and relaunch it.
- Open SpamPal's Options dialog and drill down to Spam-Detection, Blacklists, Public Blacklists. Trustic should now appear on the list. Select it and click Apply, OK.
That's it--SpamPal should now be checking Trustic's DNSBL for your incoming mail. Trustic may require additional RESULT_CODE settings--I'm waiting for a response from Trustic and will follow up if needed.IP banning is bad (Score:5, Insightful)
(http://www.animats.com)
There's got to be a better way.
A spam free world... (Score:2, Insightful)
trustic (Score:1)
(http://www.terdmonk.com/ | Last Journal: Sunday July 27 2003, @04:29AM)
This is certainly one way we can all help to fight spam.
No, it's a numbers and money game (Score:3, Insightful)
(http://www.dcc.vu/)
1. RBL's don't work - community RBL's are used by relatively few mail systems out there; perhaps 1% of email addresses at most have RBL filtering on them at server or personal level, and the audience of any one RBL is just too small for it to have any value. Yes, using an RBL may stop *you* from receiving (some) spam, and in the short term that's all you care about, but it doesn't stop spam from being of value to the spammer. Just like the drug war, we will only win by making it unporfitable to send spam.
The biggest impact we see from RBL's is fielding individual "false-positive" complaints; we don't allow customers to send spam, so we get very few, but there's always the occasional idiot who signs up for a list and forgets, and who is too proud to click on the unsubscribe link.
What matters for delivery of my cleints' legit mailing lists, and what also a spammer cares about for delivering his spam, is delivery to the big guys - AOL, Yahoo, Hotmail, Earthlink, etc. If you're trying to email Joe Public, those guys have 50%+ of the market. Any successful spammer will have his energies focused on end-running their filters and will give a fig if RBL'ed.
2. IP-based filtering for consumer connections *does* work - ISP's and universities need to block port 25 outbound from consumer connections and desktops / 802.11 respectively. Spammers need a network connection; cut off their main source. This would stop not only transient spammers, but those who hack cable modem users.
AOL's efforts here on behalf of their users are commendable, but blocking these IP's *at source* where the blocker is making an informed decision and has the data to keep the filters accurate, is the way to go; a grassroots effort to inform ISPs about the benefits of this would be valuable.
This would leave spammers who are using business-class connections (where the ISP thus delegates the responsibility to run mail servers) which are much, much fewer in number and thus much easier to police.
Before anyone who runs their own SMTP server on tehir home Linux box cries foul, I should point out thay I do to, and I just have sendmail push everything through my ISP's SMTP relay. Big deal.
3. Money - money is they key to this. Make it uneconomic to spam, and the problem goes away.
I have one solution which I think wouls work well; like RBL's or source-end IP filtering, it suffers from the problem that it requires a large critical mass, so I think legal is the best route: I am speaking in terms of the USA, but this would work in other countries.
- anyone sending (pick a number, say 50k) pieces of email a month or more must register with the national email registry - this will cost $10k per year (this kind of price is essential to keep the spammers out, and it covers the cost of operating it). ISPs and email distributors are required both by law and defacto to sign up to be in business, and to them it's a modest cost.
- the registry will maintain an anti-spam policy and audit registrants against their track record of enforcing it; policy would need to include things like each email having clear unsubscribe info, info on where the address came from, etc.
- there will be a national "do-not-send-opt-out-mailings" list against which email marketers must clean lists which they buy; many countries have had this kind of list for phone and snail mail for quite some time, e.g. UK
- ISPs can then use the registry as a whitelist, and simply block every other IP address. Any business / individual too small to need to register can just forward their email via their upstream provider, who is then on the hook to manage their email behaviour.
Yes, it takes away some freedom to operate ones own email service, but equally I don't ru
OS flaws make technical solutions difficult (Score:3, Insightful)
(Last Journal: Saturday May 01 2004, @04:37AM)
Let me race down the technology curve and predict some of the wonderful things that will happen in the war on spam:
- the majority of spam will originate from 'infected PCs'.
- some smart person will cause email to be charged, and millions of innocent users will get incredible invoices for email they 'never sent'
- as the number of infected PCs being remotely controlled by spammers increases, the volume sent from each PC will go random and low enough to be effectively undetectable.
- spammers will start modifying real email to attach their own messages.
- spammers will start modifying URLs in real email to point to their own websites.
- spammers will find ways to infect MSIE to do the same thing.
- anti-spam software will start to resemble anti-virus software, as spammers and virus writers hook-up into an organized (criminal) network.
- anti-spam software will be the main thing targetted by new viruses.
and all this time, 80% of PC users will remain blisfully unaware that their PCs are sending shiploads of spam around the world.
The basic problem is that the (Windows) PC is simply too complex, too connected, and too vulnerable to use as a secure communications device.
There is an answer somewhere... but I don't believe it lies in technological solutions, nor does it lie in making email paid, nor does it lie in attacking the servers and networks used to send spam. It is rather to understand that simplicity and transparency is the key to security. In the case of PCs, this means arriving at a OS/application combination that is immune to trojans and viruses, not thanks to the latest anti-virus scanners, but thanks to an inherently uncrackable design.
TMDA (Score:3, Informative)
(http://www.econotarian.org/ | Last Journal: Tuesday May 18 2004, @02:14PM)
Spam defense (Score:1)
(http://www.mummery.demon.co.uk/ | Last Journal: Friday August 01 2003, @06:01PM)
That ain't working, that's the way you do it ... (Score:1)
98% block rate: RBL + custom rules
80% effect - easy and low maintainance:
- several RBL sources (dsbl.org, spamcop.net, spamhaus.org, etc.)
- geographical information (china, korea, etc.)
- listings of spammy providers (XO, RR, COMCAST, ATT, UUNET) and countries (CN, KR, etc) from blackholes.us
- some netblocks semms to send spam only: 4/8 (genuity ), 12/8 (ATT), 218/8 and 61.156 (china), more to come whenever
20% maintainance required:
- add
- block spammy domains (libero.it, daily-promotions.net, adelphia.net, etc.)
- use some spambait addresses (nobody has any reason to sent mail to users who left years ago or to role accounts abandoned for a long time) and add any mail senders
enjoy the 5 or 10 spams coming through per week and complain to providers if local, otherwise add to block list.
Go after the spammers (Score:1)
Re:Just like always... (Score:5, Funny)
(http://www.soonersports.com/ | Last Journal: Thursday March 13 2003, @03:39PM)
Or at least that is my interpretation of how IPv6 would affect spam.
Re:Just like always... (Score:2, Insightful)
Well it makes it much harder to scan for servers that are vulnerable, either for hijacking or open smtp services.
Re:Just like always... (Score:1)
(http://www.mummery.demon.co.uk/ | Last Journal: Friday August 01 2003, @06:01PM)
Re:Just like always... (Score:1)
(http://www.vissersw.com/)