<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Admin Blogishness</title>
	
	<link>http://blog.linux-tech.net</link>
	<description>Hiding inside the Kernel</description>
	<lastBuildDate>Thu, 31 Jul 2008 16:27:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/AdminBlogishness" /><feedburner:info uri="adminblogishness" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>More Microsoft F.U.D. ?</title>
		<link>http://feedproxy.google.com/~r/AdminBlogishness/~3/MhQtLDJId-k/</link>
		<comments>http://blog.linux-tech.net/2008/07/31/more-microsoft-fud/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 16:27:09 +0000</pubDate>
		<dc:creator>Tom Whiting</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.linux-tech.net/?p=20</guid>
		<description><![CDATA[And once again, the Microsoft camp attempts to spread the F.U.D. that &#8220;we&#8217;re winning&#8221; and &#8220;Linux is not free&#8221;.

Turner also added that Microsoft is by no means declaring peace. &#8220;And we&#8217;re really getting the message out about the fraudulent perception of free in the marketplace as it relates to open source. IT pros and decision-makers [...]]]></description>
			<content:encoded><![CDATA[<p>And once again, the Microsoft camp attempts to <a href="http://news.softpedia.com/news/Microsoft-Applauds-Victory-Over-Linux-and-Open-Source-91127.shtml">spread the F.U.D.</a> that &#8220;we&#8217;re winning&#8221; and &#8220;Linux is not free&#8221;.<br />
<span id="more-20"></span></p>
<blockquote><p>Turner also added that Microsoft is by no means declaring peace. &#8220;And we&#8217;re really getting the message out about the fraudulent perception of free in the marketplace as it relates to open source. IT pros and decision-makers are starting to get it, that it&#8217;s not free, that there&#8217;s a lot of TCO that goes along with that, and there&#8217;s also substantial security risks that go along with it. And so we&#8217;re really making some traction in this area, and we&#8217;re going to continue to hit the gas and go more and more aggressive as it relates to winning share,&#8221; he stated.
</p></blockquote>
<p>So, let&#8217;s try to figure this out.<br />
Initial Cost of Ownership:</p>
<p>Linux is free. You don&#8217;t PAY anything for it, whatsoever, at least you SHOULDN&#8217;T. If you do, you&#8217;re foolish enough to buy into a system you can get for free. Even RHEL can be obtained as CentOS, for nothing at all.</p>
<p>Windows is NOT free, and must be purchased individually. If you have multiple pc&#8217;s, you can&#8217;t run the same version or copy of Windows. Pricing as follows:</p>
<p>XP      : (good luck finding it any more): $89-180<br />
Vista  :  $100-300<br />
<a href=http://www.google.com/products?hl=en&#038;q=Windows+Server+edition+costs&#038;um=1&#038;ie=UTF-8&#038;sa=X&#038;oi=product_result_group&#038;resnum=1&#038;ct=title">Server Edition</a>: 500-3000</p>
<p>Already, Windows is losing this battle, and on server editions, it&#8217;s GROSSLY losing the battle. That&#8217;s ok, though, let&#8217;s continue the comparison.</p>
<p>Hardware:<br />
Linux will run on virtually anything, as the <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16834220266">Asus Eee</a> has repeatedly proven. You can&#8217;t GET Windows to boot with 512 M Ram any more.</p>
<p>Windows, on the other hand has very specific requirements for the setup. With Vista, you&#8217;re looking at (minimum) 30 gig drive and 1 gig ram, and optimum 4 gig ram.</p>
<p>Once again, advantage Linux, for providing cheap(er) solutions.</p>
<p>Administration:<br />
Linux doesn&#8217;t require a TON of experience, but you&#8217;re better off by hiring a Linux admin to look after your servers. This can run you (if you do it right) from $65-300/month per server. Not a lot, but not a small chunk of change either</p>
<p>Windows doesn&#8217;t require a TON of experience either, however windows admins start off a LOT more expensive than Linux, from 50+ / hr, and good luck getting one to work on a monthly rate as quoted above.</p>
<p>Software:</p>
<p>It&#8217;s my experience that Windows, every once in a while, needs a &#8216;refresh&#8217;, or an OS reload to keep things running smoothly. This should be done every few months to clear up registry issues, fix slow PC&#8217;s (and servers), etc. At an hour or two per reload, this can get costly, because those of us in any sort of &#8217;service&#8217; business know that time is money.</p>
<p>Linux? I&#8217;ve kept Linux servers running on the same old OS for years. Of course, that&#8217;s not recommended, as hardware needs change, things update, all that, but still. The idea is that less time is required to maintain the Linux side of things.</p>
<p>Day to Day maintainance:<br />
Here, we&#8217;re almost tied. In most cases, this is going to be hardware related, not OS, and, it&#8217;s not that hard to compare the two, because they&#8217;re comparable.</p>
<p>So, someone, please, tell me what I&#8217;m missing here? In the end, Microsoft LOSES every point in this battle except the last, because THEY cost more. The F.U.D. they&#8217;re spreading about &#8216;we cost less&#8217; is just that, it&#8217;s F.U.D. Overall, the Microsoft OS (Windows) costs MORE to run and operate on a day to day basis!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.linux-tech.net%2F2008%2F07%2F31%2Fmore-microsoft-fud%2F';
  addthis_title  = 'More+Microsoft+F.U.D.+%3F';
  addthis_pub    = 'twhiting9275';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<img src="http://feeds.feedburner.com/~r/AdminBlogishness/~4/MhQtLDJId-k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.linux-tech.net/2008/07/31/more-microsoft-fud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.linux-tech.net/2008/07/31/more-microsoft-fud/</feedburner:origLink></item>
		<item>
		<title>Hacking: Are there really multiple types, and can it be good?</title>
		<link>http://feedproxy.google.com/~r/AdminBlogishness/~3/94hQdY9kVLU/</link>
		<comments>http://blog.linux-tech.net/2008/05/05/hacking-are-there-really-multiple-types-and-can-it-be-good/#comments</comments>
		<pubDate>Mon, 05 May 2008 06:00:27 +0000</pubDate>
		<dc:creator>Tom Whiting</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.linux-tech.net/?p=19</guid>
		<description><![CDATA[So, what is hacking really?
Is it an all encompasing word that should be used when &#8216;bad stuff&#8217; happens? No
Is it a phrase that is often over-used to promote one&#8217;s own ego? Yes
Is it something that is catastrophic and unrecoverable from? That depends on what was done.

Hacking, in the true and pure form is simply modification. [...]]]></description>
			<content:encoded><![CDATA[<p>So, what is hacking really?<br />
Is it an all encompasing word that should be used when &#8216;bad stuff&#8217; happens? No<br />
Is it a phrase that is often over-used to promote one&#8217;s own ego? Yes<br />
Is it something that is catastrophic and unrecoverable from? That depends on what was done.</p>
<p><span id="more-19"></span></p>
<p>Hacking, in the true and pure form is simply modification. It&#8217;s not even always &#8216;unwanted&#8217; modification, it&#8217;s just modification. For example, for many of my clients, I &#8220;hack&#8221; VBulletin to get what they want done. Now, is that a &#8216;bad&#8217; thing? Not at all.</p>
<p>Usually, I&#8217;d turn to the dictionary for a reference on what &#8216;hacking&#8217; is, but in this case it&#8217;d be worthless, because Websters, and online dictionaries don&#8217;t have a clue what it is (or if they do they&#8217;re hiding it;)) .</p>
<p>There are a few forms of hacking, many evidenced by some sort of &#8216;credit&#8217; being given to the hacker.</p>
<ol>
<li>Code Injection<br />
Code injection is simply inserting X code in X application, in order to get it to do something you don&#8217;t want it to do (or something it wasn&#8217;t designed to do). This is typically done by some sort of a &#8217;script&#8217;. A great example of this is phpbb, which is known for it&#8217;s &#8220;code injection&#8221; hacks over the years. Typically these are run by teenagers who just want to get famous at someone else&#8217;s expense (if they&#8217;re even teenagers), hence the term &#8217;script kiddies&#8217; was adopted.</p>
<p>The best way to avoid this kind of attack is to use your own code, or keep your code up to date. Developers frequently release updates, and no mattter HOW modified your code is, you should always get it updated, ALWAYS!</li>
<li>SQL Injection<br />
SQL injection involves the attacker gaining access to your web page, and &#8216;injecting&#8217; certain code into the database itself. This is a very messy hack, and very complicated to remove in many cases. In many cases, the website is often restored to a much earlier backup state, or the website is started &#8216;from scratch&#8217;.</p>
<p>How to avoid &#8217;sql injection&#8217;? Two things come to mind here:<br />
Firstly, keep your website code up to date. This is a critical issue and without keeping your website up to date, you&#8217;re going to go through this quite constantly.<br />
Secondly, make sure that you are using proper code. SQL injections are focused on certain codebases because they&#8217;re easier to exploit. PHPBB and the nuke products (phpnuke, cpgnuke, etc) come to mind, as they&#8217;re easily manipulatable, and have very minimal security.</li>
<li>Website Manipulation<br />
Website manipulation relies on individuals being able to actually get things into the website. For example, let&#8217;s say your server is running a &#8216;file upload&#8217;  service, and that service doesn&#8217;t secure the directories properly. Well, of course, you&#8217;re going to run into issues with manipulation there, and of course, that&#8217;s going to be exploited.</p>
<p>Ways to avoid &#8220;website manipulation&#8221;? Never, EVER give anyone write permission to your website&#8217;s subdirectories. There ARE secure alternatives to this (storing things OUTSIDE of the webroot is a perfect example of that) that don&#8217;t actually require full insecure permissions. The idea is to keep things random, and to keep things stored PROPERLY, not in a 777 (a+xrw) directory just inside of your webroot named downloads, attachments, or some other hysterical garbage!</li>
<li>System Manipulation<br />
This is the most complicated of them all, and usually by this point you&#8217;re screwed, quite literally.<br />
If a hacker has gotten into your system, you&#8217;re going to need to be reloaded, from the ground up. Forget anything you had on the system, it&#8217;s all lost, it&#8217;s all gone. Oh, sure, you MIGHT (note:might) be able to recover the system, but it will NEVER be trustworthy again!</li>
</ol>
<p>Now, there are a lot of schools on &#8216;hacking&#8217;, and a lot of things that can come from it.  Some consider hacking &#8216;ethical&#8217;, some don&#8217;t . Personally, I say it&#8217;s all about choice. The only thing that all humans should live by is one very simple statement (and it applies here as well)</p>
<blockquote><p>Do No Harm</p></blockquote>
<p>An even MORE appropriate statement? Something we ALL should have been taught growing up</p>
<blockquote><p>If it&#8217;s not yours, <strong>don&#8217;t touch it</strong></p></blockquote>
<p>I don&#8217;t care if you&#8217;re testing something on something, as long as it belongs to you and you&#8217;re fully aware of what CAN happen. The second you tread on someone else&#8217;s territory and website is the SECOND you violate that rule, and the SECOND you deserve any and all reprocussions you&#8217;re going to get, legal, and non.</p>
<p>Next week? The benefits of PROPER, ETHICAL hacking. Until then, keep checking back, as I might just post something sooner!</p>
<p>Tom</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.linux-tech.net%2F2008%2F05%2F05%2Fhacking-are-there-really-multiple-types-and-can-it-be-good%2F';
  addthis_title  = 'Hacking%3A+Are+there+really+multiple+types%2C+and+can+it+be+good%3F';
  addthis_pub    = 'twhiting9275';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<img src="http://feeds.feedburner.com/~r/AdminBlogishness/~4/94hQdY9kVLU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.linux-tech.net/2008/05/05/hacking-are-there-really-multiple-types-and-can-it-be-good/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.linux-tech.net/2008/05/05/hacking-are-there-really-multiple-types-and-can-it-be-good/</feedburner:origLink></item>
		<item>
		<title>Ethical hacking? Does it exist?</title>
		<link>http://feedproxy.google.com/~r/AdminBlogishness/~3/jVStdP9bAqQ/</link>
		<comments>http://blog.linux-tech.net/2008/04/27/ethical-hacking-does-it-exist/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 00:29:43 +0000</pubDate>
		<dc:creator>Tom Whiting</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.linux-tech.net/?p=18</guid>
		<description><![CDATA[So, I  woke up this morning, doing my usual &#8216;news&#8217; rounds, seeing if anything interesting had happened, and lo and behold, I ran across this article , in my rounds. This is just disturbing for more and more reasons, but, the most important reason? Well, read more to find out.

During the two week &#8220;cyber war&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>So, I  woke up this morning, doing my usual &#8216;news&#8217; rounds, seeing if anything interesting had happened, and lo and behold, I ran across <a title="this article" href="http://news.bbc.co.uk/2/hi/technology/7366995.stm">this article</a> , in my rounds. This is just disturbing for more and more reasons, but, the most important reason? Well, read more to find out.</p>
<p><span id="more-18"></span></p>
<blockquote><p>During the two week &#8220;cyber war&#8221; against Estonia, hackers shut down the websites of banks, governments and political parties using &#8220;denial-of-service&#8221; (DoS) attacks, which knock websites offline by swamping servers with page requests.</p></blockquote>
<p>Seriously, folks, a ddos is NOT a &#8216;hack&#8217; . This is just ridiculous nonsense put out by media that is clueless, absolutely clueless as to what a real hack is, or a real hacker DOES.</p>
<p>So, I thought I&#8217;d take a while, explain what &#8216;hacking&#8217; is, what the different types of &#8216;hacking&#8217; are, how to be safe from them (you can&#8217;t ever be completely safe, mind you), and the general &#8216;ethics&#8217; of hacking. This is going to be something that will be discussed over what will probably take a good month or two, weekly articles as I find the time. I&#8217;ve been looking for something creative to write about, and this just seems to fit the bill.</p>
<p>For starters:<br />
I have been the victim of true hacking in the past, and let me tell you it&#8217;s not fun, or funny. It is what started me down the path of administration and security actually, and it was something that the hacker and I laugh about every year when we see each other.</p>
<p>You see, in the pre-2000 Linux distribution era, security was a concern, but there just wasn&#8217;t as much of it. I ran howlin (Oh those were the days) and managed to piss off the wrong person (or group of people), so they took control of the server (which a friend was generous enough to provide, no root access mind you) through my shell (the coder had the password), gained root privs through a sudo (IIRC) exploit, and poof, he was root.</p>
<p>Of course, again, it should be pointed out that I had no root access to the server, this was a friend&#8217;s &#8220;network pc&#8221; that it was being hosted on, and, well, what could I have done, right? Lesson learned? Coders can be a pain in the ass to work with <img src='http://blog.linux-tech.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . I got a copy of my code back, but I was never allowed back on that server again, as the &#8216;admin&#8217; was a bit paranoid about the person who&#8217;d hacked him in the first place.</p>
<p>I share that only to share a perfect example of what &#8216;being hacked&#8217; is, or what a &#8216;hacker&#8217; does. Now, I&#8217;m not saying a DDOS (or dos) is bad, but, kids, it&#8217;s NOT a hack! Seriously. The reporter from the BBC that quoted this as &#8216;hacking&#8217; should literally be fired for incompetence. When you WRITE stuff, you&#8217;d damn well bettter know what it is.</p>
<p>Anyways, I digress. Next week, the topic of &#8216;hacking&#8217;, what is it? What really is involved in a true &#8216;hack&#8217;, what KINDS of hacking are there, and, what kinds of ethics are behind those who truly think they&#8217;re hacking &#8216;ethically&#8217;. Till then, keep coming back for more!</p>
<p>Tom</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.linux-tech.net%2F2008%2F04%2F27%2Fethical-hacking-does-it-exist%2F';
  addthis_title  = 'Ethical+hacking%3F+Does+it+exist%3F';
  addthis_pub    = 'twhiting9275';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<img src="http://feeds.feedburner.com/~r/AdminBlogishness/~4/jVStdP9bAqQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.linux-tech.net/2008/04/27/ethical-hacking-does-it-exist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.linux-tech.net/2008/04/27/ethical-hacking-does-it-exist/</feedburner:origLink></item>
		<item>
		<title>Hey, who turned out the lights?</title>
		<link>http://feedproxy.google.com/~r/AdminBlogishness/~3/Bota0WYEPTI/</link>
		<comments>http://blog.linux-tech.net/2008/01/09/hey-who-turned-out-the-lights/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 03:35:25 +0000</pubDate>
		<dc:creator>Tom Whiting</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.linux-tech.net/2008/01/09/hey-who-turned-out-the-lights/</guid>
		<description><![CDATA[Inevitably, it was going to happen, right ?  
Sorry about the downtime, folks, in the process of moving things around to a more efficient database server, I ended up (accidentally) deleting the blog database. Thankfully, I follow my own advice and had backups a plenty ready, but, OOPS!
Yes, it took me a few days [...]]]></description>
			<content:encoded><![CDATA[<p>Inevitably, it was going to happen, right ? <img src='http://blog.linux-tech.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Sorry about the downtime, folks, in the process of moving things around to a more efficient database server, I ended up (accidentally) deleting the blog database. Thankfully, I follow my own advice and had backups a plenty ready, but, OOPS!</p>
<p>Yes, it took me a few days to realize, with all the craziness of life, and again, I apologize. I&#8217;ll try not to do it again, though I&#8217;m hardly perfect!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.linux-tech.net%2F2008%2F01%2F09%2Fhey-who-turned-out-the-lights%2F';
  addthis_title  = 'Hey%2C+who+turned+out+the+lights%3F';
  addthis_pub    = 'twhiting9275';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<img src="http://feeds.feedburner.com/~r/AdminBlogishness/~4/Bota0WYEPTI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.linux-tech.net/2008/01/09/hey-who-turned-out-the-lights/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.linux-tech.net/2008/01/09/hey-who-turned-out-the-lights/</feedburner:origLink></item>
		<item>
		<title>Spam: Part 4, Bad Bot, Bad Bot, whatcha gonna do?</title>
		<link>http://feedproxy.google.com/~r/AdminBlogishness/~3/oungHkT2S3k/</link>
		<comments>http://blog.linux-tech.net/2007/12/23/spam-part-4-bad-bot-bad-bot-whatcha-gonna-do/#comments</comments>
		<pubDate>Sun, 23 Dec 2007 06:00:56 +0000</pubDate>
		<dc:creator>Tom Whiting</dc:creator>
				<category><![CDATA[The Spam Issue]]></category>

		<guid isPermaLink="false">http://blog.linux-tech.net/2007/12/23/spam-part-4-bad-bot-bad-bot-whatcha-gonna-do/</guid>
		<description><![CDATA[We all know that spam in the mail is bad. In fact there are studies proving that mail spam is one of the highest costing resource around. Let&#8217;s face it, deleting spam, figuring out which is spam, all this takes time, and, time = money. Thusly, mail spam is costing companies money.
That&#8217;s not the topic [...]]]></description>
			<content:encoded><![CDATA[<p>We all know that spam in the mail is bad. In fact there are studies proving that mail spam is one of the highest costing resource around. Let&#8217;s face it, deleting spam, figuring out which is spam, all this takes time, and, time = money. Thusly, mail spam is costing companies money.</p>
<p>That&#8217;s not the topic of this one though . In this entry, I&#8217;ll cover a few tricks for getting rid of spam bots, comments, and the like. Please note that a LOT of this stuff is more advanced than the regular setup, and believe it or not, it takes a LOT of work to get off the ground and going right. <span id="more-16"></span></p>
<p>Trackbacks, comments, forum spam, etc, they&#8217;are all becoming more and more common, because people are learning that mail spam just isn&#8217;t always the best way to get attention. of course, there&#8217;s always going to be  new methods, and fighting those new methods is always going to be a major, major pain in the tail end. On average, I deny about 1-500 spam connections across 3 servers through multiple  forum points. Why? Because of various things</p>
<ul>
<li>Bots that don&#8217;t follow rules set forth by the web standards (ie: robots.txt)</li>
<li>Individuals who have been previously marked (other resources) as spammers</li>
<li>Individuals who are currently in RBLs</li>
</ul>
<p>Because I run multiple points of (possible) intrusion, it&#8217;s not realistic for me to expect other sites to carry my burden, so I went about creating <a href="http://rbl.linux-tech.net">my own little rbl</a>  , which I use to pass data back and forth from. In doing so, I deny individuals the rights to enter various websites on my server if they are above a certain predetermined threshhold. Why? Because spam is evil! Because users should never have to deal with the amount of spam that is out there, and because web spam is just another way of  attacking a server. Bad bad spammer.</p>
<p>So,   how can you do this, and how can YOU help get something like this working on your website? Well, it&#8217;s not as easy as 1,2,3. In fact, there really are no &#8217;straightforward&#8217; answers to this, only tips, guides and tricks. Here&#8217;s a couple methods I use. Keep in mind that I&#8217;ve developed a &#8216;wrapper&#8217; to load at the top and bottom of my pages, not only to scan for bad stuff, but also to trap spammers as it were, using blind links.</p>
<p>Step #1:<br />
If you&#8217;re going to be using this on a massive basis (anything more than 100 queries a day), you&#8217;ll find it&#8217;s better to setup your own system , check your own system first, BEFORE passing all of this off to the potential visitor. A very simplistic query of (insert ip into database) , (check database for ip) is all that is needed, and it saves everybody time and money.</p>
<p>Step #2:<br />
<a href="http://www.projecthoneypot.org/?rf=41024">Project Honeypot</a> provides a great starting place for individuals with integration and plugins for Wordpress and phpbb, as well as a couple of others. As well, there are a few php scripts out there that will query their database and do what you tell them to with the data. Google is your friend, search it out, I don&#8217;t have the links on me any more.</p>
<p>Step #3:<br />
RBLs are your friend. Determine whether or not the visitor is in an RBL, and if they are, or if they are in multiple RBLs, deny the IP address connection, plain and simple. Again, there are multiple scripts out there that tell you how to determine this, google is your friend.</p>
<p>Step #4:<br />
Proxies are bad, mmmkay. There is no reason whatsoever that a person should be accessing your &#8216;free&#8217; services, or services in general behind a proxy. If they have to do this, there are problems from the beginning. Resolve THOSE and you&#8217;ll be fine. There are multiple scripts out there that will check for proxy usage, and while none can be 100% accurate, it&#8217;s entirely possible to be close.</p>
<p>Step #5:<br />
Go about creating you own traps for individuals to fall into . Things like blind links, or links that don&#8217;t show to the average user work here. For example, soemthing like</p>
<p>&lt;!&#8211; &lt;a href=/contact.php&gt;contact us&lt;/a&gt; &#8211;!&gt; won&#8217;t show up to the  average user, but WILL show up to bots. Just make sure to tell bots to stay away from that page in robots.txt.<br />
What good does the above step do? A LOT! A LOT of individuals will run something like site rippers which will attempt to grab ALL of the content on your page immediately! To do this, they ignore robots.txt, which is the industry standard &#8216;exclusion&#8217; (ie: don&#8217;t go there) page. Of course you want to ban people like this immediately.</p>
<p>So, how do you go about integrating all of this? Well, there are a few ways, but the BEST way is to create two wrappers</p>
<p>Wrapper #1:<br />
This wrapper goes into your head includes, before ANYTHING else. All this does is checks the database (and respective RBLs if necessary) to see if the ip address is listed. If itt&#8217;s listed, display a message, and kill the connection. No fuss, no muss, the person doesn&#8217;t need to see anything else, period. In my case, I&#8217;ve given the user a link to my own rbl,  which is not protected by that wrapper (and it shouldn&#8217;t be) so that they can see the issue and resolve it.</p>
<p>Wrapper #2:<br />
This wrapper goes in one of two places:</p>
<p>If you&#8217;ve got session data, or &#8216;login&#8217; data, you need to call it AFTER that data is called, otherwise it&#8217;s going to cause issues with the sessions and headers.<br />
If you DON&#8217;T have session or head data, call it immediately after Wrapper #1</p>
<p>The purpose of wrapper #2 is your own spam trap, as discussed before. This should be the first link on the page  in order to trick bots into thinking they need to go THERE first. Of course, you should always tell friendly robots to stay out of there (via robots.txt)</p>
<p>Like I said, it&#8217;s complicated, and it&#8217;s a very tricky situation, but denying bot access is 100% possible to do!</p>
<p>Have a great weekend and a Merry Christmas. I&#8217;ll see you all in the new year with more tips and howtos!</p>
<p>Tom</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.linux-tech.net%2F2007%2F12%2F23%2Fspam-part-4-bad-bot-bad-bot-whatcha-gonna-do%2F';
  addthis_title  = 'Spam%3A+Part+4%2C+Bad+Bot%2C+Bad+Bot%2C+whatcha+gonna+do%3F';
  addthis_pub    = 'twhiting9275';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<img src="http://feeds.feedburner.com/~r/AdminBlogishness/~4/oungHkT2S3k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.linux-tech.net/2007/12/23/spam-part-4-bad-bot-bad-bot-whatcha-gonna-do/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.linux-tech.net/2007/12/23/spam-part-4-bad-bot-bad-bot-whatcha-gonna-do/</feedburner:origLink></item>
		<item>
		<title>Spam: Part 3, How we love thee, helpdesk?</title>
		<link>http://feedproxy.google.com/~r/AdminBlogishness/~3/zNm8XA7qbFE/</link>
		<comments>http://blog.linux-tech.net/2007/12/15/spam-part-3-how-we-love-thee-helpdesk/#comments</comments>
		<pubDate>Sun, 16 Dec 2007 00:43:59 +0000</pubDate>
		<dc:creator>Tom Whiting</dc:creator>
				<category><![CDATA[The Spam Issue]]></category>

		<guid isPermaLink="false">http://blog.linux-tech.net/2007/12/15/spam-part-3-how-we-love-thee-helpdesk/</guid>
		<description><![CDATA[If you&#8217;ve been doing business for any reasonable length of time, you will notice that one area gets flooded with spam above everything else, the helpdesk.
Why? Well, this is a guaranteed way to get your mail through (well almost). Any reasonable company will have support@ addressed through mail, almost guaranteed, and of course, it&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been doing business for any reasonable length of time, you will notice that one area gets flooded with spam above everything else, the helpdesk.</p>
<p>Why? Well, this is a guaranteed way to get your mail through (well almost). Any reasonable company will have support@ addressed through mail, almost guaranteed, and of course, it&#8217;s a spammer&#8217;s dream! Guaranteed delivery of e-mail, WOOH!</p>
<p><span id="more-15"></span></p>
<p>There are three solutions to this problem, all 3 will be covered here:</p>
<ul>
<li>Don&#8217;t accept the mail<br />
This response , or solution, isn&#8217;t really a response, or solution after all. In this case, you don&#8217;t have the mail routed anywhere, you have it nulled completely, and customers can&#8217;t get ahold of you through the most common of email addresses. Like I said, not really a solution there, is it?</li>
<li>Return the mail<br />
This response receives mail to X address, informs individuals that &#8220;this is an unmonitored mailbox, submit a ticket&#8221;, then bounces the mail.<br />
The problem with this solution is that it allows no &#8220;tracking&#8221; of incidents, and makes your clients do a bit more work. This is, of course, wrong.<br />
SOME security &#8220;experts&#8221; will say that this  is more &#8220;secure&#8221;, as people will email passwords, but that&#8217;s not the case. They&#8217;re going to put the password into the helpdesk ANYWAYS, which is insecure to begin with (it IS stored unencrypted in mysql, right?), so who cares about email?</li>
<li>Require registration<br />
This is the most feasible and realistic of all 3 options. This allows your clients to mail your support desk , after a minor registration. If they&#8217;re NOT registered, they receive a mail back saying that their ticket wasn&#8217;t accepted and that they need to register @ your helpdesk. Otherwise, the ticket will go right on through. Of course, only a handful of email systems actually have THAT in place, but those that do have some pretty thankful customers <img src='http://blog.linux-tech.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>Now, out of those 3, the 3rd is the best used in my opinion.  Of course, yours may differ, but the fact is that spam is a problem. Allowing users to just blindly send spam mail to commonly known and abused email addresses leads to more time fighting and deleting spam than anything else. Why shouldn&#8217;t you want to combat spam?</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.linux-tech.net%2F2007%2F12%2F15%2Fspam-part-3-how-we-love-thee-helpdesk%2F';
  addthis_title  = 'Spam%3A+Part+3%2C+How+we+love+thee%2C+helpdesk%3F';
  addthis_pub    = 'twhiting9275';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<img src="http://feeds.feedburner.com/~r/AdminBlogishness/~4/zNm8XA7qbFE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.linux-tech.net/2007/12/15/spam-part-3-how-we-love-thee-helpdesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.linux-tech.net/2007/12/15/spam-part-3-how-we-love-thee-helpdesk/</feedburner:origLink></item>
		<item>
		<title>Spam: Part 2 , the incoming mail</title>
		<link>http://feedproxy.google.com/~r/AdminBlogishness/~3/P_boET_3lI8/</link>
		<comments>http://blog.linux-tech.net/2007/12/02/spam-part-2-the-incoming-mail/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 05:37:56 +0000</pubDate>
		<dc:creator>Tom Whiting</dc:creator>
				<category><![CDATA[The Spam Issue]]></category>

		<guid isPermaLink="false">http://blog.linux-tech.net/2007/12/02/spam-part-2-the-incoming-mail/</guid>
		<description><![CDATA[We all know spam is a global problem. The question? How to get rid of it, or how to take control of it. There are plenty of ways to do this, and this post will (hopefully) help you get things straightened out and figured out in how to address this issue. Please note, that from [...]]]></description>
			<content:encoded><![CDATA[<p>We all know spam is a global problem. The question? How to get rid of it, or how to take control of it. There are plenty of ways to do this, and this post will (hopefully) help you get things straightened out and figured out in how to address this issue. Please note, that from hereon , in this post, I will be assuming that you are using CPanel, have root access, and can change things around in the shell. If you&#8217;re not comfortable with SSH access, we can help you out, you just need to <a href="http://www.linux-tech.net/contact.php" title="Contact Us">contact us</a> for a quote.</p>
<p><span id="more-14"></span><br />
To start off, you will need to remove spamassassin. Spamassassin is well known to cause load in your servers, and is a poor implementation of &#8220;spam protection&#8221; at best. Don&#8217;t worry, we will tell you how, but this needs to be done. To do this:</p>
<p>Go into WHM -&gt; service manager and uncheck the &#8220;spamd&#8221; services, then click save<br />
Now, go into WHM -&gt; configuration, and UN check the following options</p>
<ul>
<li> SpamAssassin Spam Filter</li>
<li> BoxTrapper Spam Trap</li>
</ul>
<p>Now, go and license <a href="http://pro.cpanel.net/activate" title="License CPanel Pro">CPanel PRO</a> on your server (at this time it is free). You will need this for a couple of the plugins you are going to install</p>
<p>Once you&#8217;ve licensed Cpanel PRO , you can install the clamd plugin. Go into WHM -&gt; Manage Plugins and click on the clamav connector there, then submit.</p>
<p>After a few minutes, your clamd plugin will be installed. Then, you need to go out and pick up the ASSP Cpanel plugin. There are two approaches to this.</p>
<p><a href="http://www.sultanserver.com/" title="Sultan Server">These guys offer a free script</a>, which works, and integrates directly into your user&#8217;s control panel<br />
<a href="http://www.grscripts.com/" title="This Script">This script works</a>, is closed source, and is not free. Of course, this as well will integrate into your control panel. The only downfall is it is encoded, and it&#8217;s not free. It&#8217;s up to you to decide whether you would trust that script.</p>
<p>Both of the above scripts work (reportedly) reasonably well, though I can attest to the first one working, and installing ASSP + necessary files. I can&#8217;t as far as the second one, only because it&#8217;s not worth it for me to pay and install something like this that I can&#8217;t trust (it&#8217;s encoded) with root access.</p>
<p>Once you&#8217;ve got the script, follow the script&#8217;s instructions. For the first one, it&#8217;s as simple as <a href="http://www.sultanserver.com/projects/asspx.tar.gz" title="Download the file">downloading their tar file </a>(in the shell), and installing it . To do this, extract the tar file</p>
<blockquote><p>tar zxpf asspx.tar.gz<br />
cd asspx<br />
sh ./install.sh</p></blockquote>
<p>When you get all done, you will need to go to WHM -&gt; Sultan Server ASSPX for Cpanel and change a few things around. All of this can be done from inside of WHM -&gt; Sultan Server ASSPX for Cpanel (at the bottom)</p>
<ol>
<li>Remove all boxtrapper settings</li>
<li>Remove all Spamassassin Settings</li>
<li>Install ASSP</li>
<li>Set Password</li>
<li>Set SRS  Secret Key</li>
<li>Install cPanel interface</li>
<li>Install Exim configuration</li>
</ol>
<p>Once you&#8217;ve done all of this, restart BOTH ASSP and Exim</p>
<blockquote><p>service assp restart<br />
service exim restart</p></blockquote>
<p>This will ensure that  settings will take.</p>
<p>Now, managing your ASSP installation can be tricky. For beginners, I&#8217;d advise staying with the settings they give you. If you continue to get spam, or get continued complaints about settings just not being right, please, feel free to <a href="http://www.linux-tech.net/contact.php" title="Contact Us">contact us,</a> and we&#8217;ll set you up with a quote for setting things up . We&#8217;ve got a pretty good setup going here that has been running incredibly effectively (<a href="http://www.linux-tech.net/spam.php" title="Spam Statistics">stats here</a>) for a year or better.</p>
<p>Next time? RBLs, what to do, which to use, which to stay away from and how to tell if YOU are listed!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.linux-tech.net%2F2007%2F12%2F02%2Fspam-part-2-the-incoming-mail%2F';
  addthis_title  = 'Spam%3A+Part+2+%2C+the+incoming+mail';
  addthis_pub    = 'twhiting9275';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<img src="http://feeds.feedburner.com/~r/AdminBlogishness/~4/P_boET_3lI8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.linux-tech.net/2007/12/02/spam-part-2-the-incoming-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.linux-tech.net/2007/12/02/spam-part-2-the-incoming-mail/</feedburner:origLink></item>
		<item>
		<title>PHP :: Docs, here we come!</title>
		<link>http://feedproxy.google.com/~r/AdminBlogishness/~3/TMSDChy-j4Q/</link>
		<comments>http://blog.linux-tech.net/2007/12/01/php-docs-here-we-come/#comments</comments>
		<pubDate>Sat, 01 Dec 2007 08:43:09 +0000</pubDate>
		<dc:creator>Tom Whiting</dc:creator>
				<category><![CDATA[phpdocs]]></category>

		<guid isPermaLink="false">http://blog.linux-tech.net/2007/12/01/php-docs-here-we-come/</guid>
		<description><![CDATA[So, after a bit of harassment and whatnot (people harassing me, mind you), I&#8217;m releasing the LTN :: PHP patch and distribution, as well as maintaining an (un)official php mirror.
What is this distribution you may ask? Yeah, ok , maybe you don&#8217;t care, but I&#8217;ll answer anyways   .The LTN Distribution of php is [...]]]></description>
			<content:encoded><![CDATA[<p>So, after a bit of harassment and whatnot (people harassing me, mind you), I&#8217;m releasing the LTN :: PHP patch and distribution, as well as maintaining an <a href="http://www.php-docs.org/" title="(un)official php mirror">(un)official php mirror</a>.</p>
<p>What is this distribution you may ask? Yeah, ok , maybe you don&#8217;t care, but I&#8217;ll answer anyways <img src='http://blog.linux-tech.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .<span id="more-13"></span>The LTN Distribution of php is a bit more advanced, and quite a bit more secure than the &#8220;standard&#8221; distribution of php. How so?</p>
<p>Firstly, LTN :: php incorporates mail patches which have been updated, since  the php5 (and 4) updates to mail headers. This means that you&#8217;re going to SEE who&#8217;s abusing what script, instead of actually wondering WTF is going on! Great idea, unfortunately, support by author is sporaddic, so I&#8217;ve added this to the list.</p>
<p>Secondly , <a href="http://www.suhosin.org" title="suhosin">suhosin</a> support is added in. I&#8217;m not talking about a crappy &#8220;module&#8221;, I&#8217;m talking about patched into the core of php. Modules are great, but they suck when you recompile php and they can&#8217;t be activated. BOOOH!</p>
<p>Should LTN :: PHP  be trusted? I&#8217;ll say this for it. I use it myself, and recommend that ALL individuals use it. Why? Because I said so, damnit. Ok, ok, so you need a better reason than that, I get it.</p>
<ol>
<li>PHP is insecure. I&#8217;m not talking just globals, mail, etc, but the whole thing, it&#8217;s shot, and insecure. It&#8217;s good, but it doesn&#8217;t do jack for &#8220;security&#8221;.</li>
<li>PHP has bad mail handling capabilities. I mean, bad, bad, bad. They&#8217;ve improved on them, but it is still possible (with proper abilities) to send out mass spam to individuals. This should be stopped @ the core.</li>
<li>PHP has functions which are easily abused. Rather than DISABLE those functions, wouldn&#8217;t it seem more appropriate to patch the functions so that hey, they&#8217;re not so abusable? I mean, usability is key. If I can&#8217;t USE php functions, why, on god&#8217;s green earth am I bothering to use php as a core language, right?</li>
<li>PHP constantly releases premature, buggy releases. Rather than use something that&#8217;s premature, problematic and ick, why not use something that&#8217;s stable, utilized and tested? I&#8217;m not saying I&#8217;m not going to update php patches when necessary (cuz I will), but I&#8217;m not going to patch and update immediately. It&#8217;ll happen soon after the original release gets put out (within 2 weeks) to ensure that everything is dandy and copacetic.</li>
</ol>
<p>The bottom line? Why NOT provide your clients with some sort of security? And hey, documentation, not a bad thing either! Took a couple hours to get 2.x gig across, but it&#8217;s there, and I will sync daily, so THAT part will be 100% updated and current. Support your local linux tech, use the <strong>UNofficial</strong> <a href="http://www.php-docs.org/" title="Unofficial PHP Documentation">php documentation!</a></p>
<p>Peace out, enjoy your weekends.</p>
<p>P.S.:<br />
I know I owe you a bit of an update on the RBL thing. I&#8217;ve been working on it. In the meantime, please, feel free to track the stats <a href="http://rbl.linux-tech.net/" title="here">here</a>. These are real time stats, updated whenever something happens . I&#8217;ve been a bit swamped lately with a rather large project, so bear with me. I promise, I&#8217;ll get it there, it&#8217;ll just take time!</p>
<p><a href="http://www.php-docs.org/" title="Unofficial PHP Documentation"></a></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.linux-tech.net%2F2007%2F12%2F01%2Fphp-docs-here-we-come%2F';
  addthis_title  = 'PHP+%3A%3A+Docs%2C+here+we+come%21';
  addthis_pub    = 'twhiting9275';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<img src="http://feeds.feedburner.com/~r/AdminBlogishness/~4/TMSDChy-j4Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.linux-tech.net/2007/12/01/php-docs-here-we-come/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.linux-tech.net/2007/12/01/php-docs-here-we-come/</feedburner:origLink></item>
		<item>
		<title>Cron: Permission denied?</title>
		<link>http://feedproxy.google.com/~r/AdminBlogishness/~3/Rw8Gxkd6JZw/</link>
		<comments>http://blog.linux-tech.net/2007/11/30/cron-permission-denied/#comments</comments>
		<pubDate>Sat, 01 Dec 2007 01:48:19 +0000</pubDate>
		<dc:creator>Tom Whiting</dc:creator>
				<category><![CDATA[administration]]></category>

		<guid isPermaLink="false">http://blog.linux-tech.net/2007/11/30/cron-permission-denied/</guid>
		<description><![CDATA[When setting up new server this week, and trying to add cronjobs, I noticed that I was getting an error:
cron/user: Permission denied
What caused this? Why is it here?  How to resolve? Read more
This was caused because of a faulty CPanel setup, or a faulty server setup. Either way,  permissions were not set appropriately [...]]]></description>
			<content:encoded><![CDATA[<p>When setting up new server this week, and trying to add cronjobs, I noticed that I was getting an error:</p>
<blockquote><p>cron/user: Permission denied</p></blockquote>
<p>What caused this? Why is it here?  How to resolve? Read more<span id="more-12"></span></p>
<p>This was caused because of a faulty CPanel setup, or a faulty server setup. Either way,  permissions were not set appropriately for fixing this issue. Here&#8217;s how I got it fixed, and a brief explanation of HOW this happens, WHY it happens, and whatnot (ie: the tech crap)</p>
<p>This happens because the user did not have permission to write to the specific file that cron needs to change in the /var/spool/cron directory.  There are two ways to change this:</p>
<ol>
<li>Make the directory world writable. This is a security risk, because this would let anything write anything to this directory, without any sort of security. Bad idea, but if you want to do this, you can do this like so.<br />
<blockquote><p>chmod a+w /var/spool/cron</p></blockquote>
</li>
<li>Fix the permissions on cron so that the user can execute it with suid priviledges. This will allow the binary to write to this specific file, but ONLY the binary.<br />
<blockquote><p>chmod 4775 /usr/bin/crontab</p></blockquote>
</li>
</ol>
<p>Obviously the second way is more secure, because it enforces strict rules as to what can be done, what can&#8217;t be done, and the like. This keeps things secured to a degree, while still allowing security measures to be in place. Of course, someone abusing the crontab binary is STILL possible, but that&#8217;s for another entry.</p>
<ol></ol>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.linux-tech.net%2F2007%2F11%2F30%2Fcron-permission-denied%2F';
  addthis_title  = 'Cron%3A+Permission+denied%3F';
  addthis_pub    = 'twhiting9275';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<img src="http://feeds.feedburner.com/~r/AdminBlogishness/~4/Rw8Gxkd6JZw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.linux-tech.net/2007/11/30/cron-permission-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.linux-tech.net/2007/11/30/cron-permission-denied/</feedburner:origLink></item>
		<item>
		<title>Spam : A global problem</title>
		<link>http://feedproxy.google.com/~r/AdminBlogishness/~3/tx-ZvWH1iic/</link>
		<comments>http://blog.linux-tech.net/2007/11/22/spam-a-global-problem/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 08:08:14 +0000</pubDate>
		<dc:creator>Tom Whiting</dc:creator>
				<category><![CDATA[The Spam Issue]]></category>

		<guid isPermaLink="false">http://blog.linux-tech.net/2007/11/22/spam-a-global-problem/</guid>
		<description><![CDATA[When I picked up my first domain, almost 8 years ago, spam was not the issue it is today. Ever since, it appears to have gotten incredibly worse. Why? How do you combat it? Here&#8217;s a few tips and tricks from someone who&#8217;s been doing this stuff for a few years, and (admittedly) is still [...]]]></description>
			<content:encoded><![CDATA[<p>When I picked up my first domain, almost 8 years ago, spam was not the issue it is today. Ever since, it appears to have gotten incredibly worse. Why? How do you combat it? Here&#8217;s a few tips and tricks from someone who&#8217;s been doing this stuff for a few years, and (admittedly) is still learning a lot of stuff:<br />
<span id="more-11"></span><br />
Firstly, don&#8217;t rely on your MTA to handle mail spam. Spam should be accepted, or rejected from the server before it ever hits the MTA, through a proxy such as <a href="http://assp.sourceforge.net/">ASSP</a> . Doing this will drastically reduce the load on the server itself, and can cause good things all around.</p>
<p>Secondly, don&#8217;t just use ONE option to filter for spam, use MULTIPLE! For example, check RBLs, check Helo&#8217;s (not Halos), RBLs, hostname, whitelists, RDNS, PTRs, etc. Don&#8217;t deny mail based on just ONE option, but build yourself a list, and go from there.  Also, don&#8217;t just ban based on ONE RBL (though, admittedly I do), but do multiple RBL failure checks.<br />
Spam has gotten so bad that individuals have resorted to &#8220;comment spam&#8221;, the newest, and most heinous form of spam, as it is no longer &#8220;private&#8221;, and requires moderation on a day to day basis. Thankfully, there are those out there that are helping to fight this, and there are ways to develop &#8220;wrappers&#8221; around your application that will deny ip addresses based on spam entries alone.</p>
<p>Unfortunately, the oh-so-wonderful U.S. government has all but made spam legal with the <a href="http://www.ftc.gov/bcp/conline/pubs/buspubs/canspam.shtm" title="Can-Spam Act">Can-Spam act of 2003</a>. For all they&#8217;re concerned, as long as the sender uses a legal email address, and jumps through a few hoops, well, they are legally able to spam you. This is what you get when you deal with people who are business minded, instead of consumer minded, and have minimal interest in the consumer part of things.</p>
<p>So, how to combat spam? It is a growing, online adventure, and here are just a few tips that I have managed to put together to combat spam, both on the email level , and on the comment / commercial level.</p>
<ul>
<li>Use RBLs to verify your entries</li>
<li>Check RDNS Entries (in email)</li>
<li>Deny illegitimate traffic</li>
<li>Create wrappers to your online applications</li>
</ul>
<p>Over the next few days, maybe the next couple of weeks, I will walk through doing this, what options are good, what ones are bad, and how to get the most out of your applications and traps. Check back for more!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblog.linux-tech.net%2F2007%2F11%2F22%2Fspam-a-global-problem%2F';
  addthis_title  = 'Spam+%3A+A+global+problem';
  addthis_pub    = 'twhiting9275';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<img src="http://feeds.feedburner.com/~r/AdminBlogishness/~4/tx-ZvWH1iic" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.linux-tech.net/2007/11/22/spam-a-global-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.linux-tech.net/2007/11/22/spam-a-global-problem/</feedburner:origLink></item>
	</channel>
</rss>

