<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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"
	>

<channel>
	<title>Director’s Blog &#187; tech</title>
	<atom:link href="http://ls.berkeley.edu/blogs/lscr/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://ls.berkeley.edu/blogs/lscr</link>
	<description>Tom Holub\'s thoughts on computing in Letters and Science at UC Berkeley</description>
	<pubDate>Tue, 20 May 2008 00:28:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Spam &#8220;backscatter&#8221;</title>
		<link>http://ls.berkeley.edu/blogs/lscr/2008/05/19/spam-backscatter/</link>
		<comments>http://ls.berkeley.edu/blogs/lscr/2008/05/19/spam-backscatter/#comments</comments>
		<pubDate>Tue, 20 May 2008 00:28:16 +0000</pubDate>
		<dc:creator>Tom Holub</dc:creator>
		
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://ls.berkeley.edu/blogs/lscr/2008/05/19/spam-backscatter/</guid>
		<description><![CDATA[In the past few weeks on campus, many users and mailing lists have been affected by a spam-related phenomenon known as &#8220;backscatter.&#8221;  Backscatter occurs when a spammer sends out a bunch of mail with a forged, but legitimate &#8220;From&#8221; address.  When they do this, servers which reject the mail often bounce the message back to [...]]]></description>
			<content:encoded><![CDATA[<p>In the past few weeks on campus, many users and mailing lists have been affected by a spam-related phenomenon known as &#8220;backscatter.&#8221;  Backscatter occurs when a spammer sends out a bunch of mail with a forged, but legitimate &#8220;From&#8221; address.  When they do this, servers which reject the mail often bounce the message back to the sender listed in the &#8220;From&#8221; field.  The result is that a person or mailing list which really had nothing to do with sending out the spam can get dozens or hundreds of bounce messages related to it.</p>
<p>The tactic is used primarily because mail with a legitimate From address is more likely to get through spam filters.  In general, the spammers are not targeting any individual or institution; they&#8217;re just doing whatever they can to improve their chances of having their messages delivered.</p>
<p>Users who are victimized by large amounts of backscatter often worry that their computer was broken into, or that they  have a virus.  Generally, backscatter does not indicate any problems with your own computer or mail server.  There have been some cases where a virus sent out messages designed to look like backscatter, with the virus payload as an attachment to the message, but even these cases were not a problem for users unless they clicked on the attachment.</p>
<p>As with most spam issues, backscatter is a pernicious problem.  When we send out a legitimate email that doesn&#8217;t get through, we want to get a bounce message that informs us of the problem, so we can resend or readdress the message.  It&#8217;s quite difficult for mail servers to tell the difference between a legitimate and an illegitimate message, so as long as mail servers are configured to deliver bounce messages, and as long as spammers are still spamming, backscatter will continue to occur.  We are looking at moving more of our mail services to the CalMail domain hosting environment; CalMail has better spam protection than we can easily implement at the departmental level, including better protection against backscatter.  Unfortunately, there is no magic bullet; CalMail users also experience spam and backscatter problems, though generally with less frequency than our other mail server users.</p>
<p>For now, our best weapon in the spam wars  remains the same; take a deep breath, let it go, and hit the delete key.</p>
]]></content:encoded>
			<wfw:commentRss>http://ls.berkeley.edu/blogs/lscr/2008/05/19/spam-backscatter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP 4 is really going away now</title>
		<link>http://ls.berkeley.edu/blogs/lscr/2008/04/11/php-4-is-really-going-away-now/</link>
		<comments>http://ls.berkeley.edu/blogs/lscr/2008/04/11/php-4-is-really-going-away-now/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 22:16:03 +0000</pubDate>
		<dc:creator>Tom Holub</dc:creator>
		
		<category><![CDATA[announcement]]></category>

		<category><![CDATA[tech]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://ls.berkeley.edu/blogs/lscr/2008/04/11/php-4-is-really-going-away-now/</guid>
		<description><![CDATA[As announced in two previous postings in July 2007 and February 2008, PHP 4 has reached the end of its development life; security issues require us to migrate to PHP 5, the currently supported version.  We&#8217;ve been working on migration issues for the past several months, and we believe we can migrated based on our [...]]]></description>
			<content:encoded><![CDATA[<p>As announced in two previous postings in <a href="http://ls.berkeley.edu/blogs/lscr/2007/07/20/php-4-end-of-life/">July 2007</a> and <a href="http://ls.berkeley.edu/blogs/lscr/2008/02/25/update-on-php-4-end-of-life/">February 2008</a>, PHP 4 has reached the end of its development life; security issues require us to migrate to PHP 5, the currently supported version.  We&#8217;ve been working on migration issues for the past several months, and we believe we can migrated based on our original target date of May 1.</p>
<p>To ease the transition for our users, we have devised a way to allow two web servers to co-exist on the same machine.  (Geek aside: to do this, we&#8217;re using Apache&#8217;s reverse proxy directive, ProxyPass).  Our current plan is to put the PHP 5 -based server into production on Wednesday, April 23 at 5:00 PM; we will continue to keep the old server running so that any sites which have problems under PHP 5 can continue to run until their code is fixed.</p>
<p>In most cases, code that works with PHP 4 should work with PHP 5, but there are exceptions.  We know that the development framework LSCR has been using for our web team&#8217;s internally-developed applications (such as our department directory, news+events system, and course listings) does not work under PHP 5; we are in the process of migrating our code to the <a href="http://www.zend.com/en/">Zend</a> framework.  If you are one of our web customers, we will be contacting you about migrating your department&#8217;s applications to the new framework.</p>
<p>If you are managing your own PHP code, or your own installation of a PHP tool like WordPress or drupal, it might be a good idea to test your code on our development server, which is already running PHP 5, sometime before April 23.  Mail sysadmin@LS if you&#8217;d like to get set up on the development server.</p>
<p>If you do nothing, your site will be migrated on April 23, and it&#8217;s possible that it will work just fine, but we would recommend that you check and test for problems.  Most problems should be minor and quickly fixable; if you have major problems after the migration, contact sysadmin@LS and we can temporarily put your site back on the old server to give you time to deal with the issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://ls.berkeley.edu/blogs/lscr/2008/04/11/php-4-is-really-going-away-now/feed/</wfw:commentRss>
		</item>
		<item>
		<title>All servers are mortal.  Socrates is a server.  Therefore&#8230;</title>
		<link>http://ls.berkeley.edu/blogs/lscr/2008/03/20/all-servers-are-mortal-socrates-is-a-server-therefore/</link>
		<comments>http://ls.berkeley.edu/blogs/lscr/2008/03/20/all-servers-are-mortal-socrates-is-a-server-therefore/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 00:07:04 +0000</pubDate>
		<dc:creator>Tom Holub</dc:creator>
		
		<category><![CDATA[tech]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://ls.berkeley.edu/blogs/lscr/2008/03/20/all-servers-are-mortal-socrates-is-a-server-therefore/</guid>
		<description><![CDATA[Socrates, and its predecessors violet and garnet, have been providing a general Unix environment to campus researchers for something like 20 years now.  The current server is now quite old, and the demand for a central unix server has dwindled.  IST announced that, rather than replace the current socrates hardware, that they will retire the [...]]]></description>
			<content:encoded><![CDATA[<p>Socrates, and its predecessors violet and garnet, have been providing a general Unix environment to campus researchers for something like 20 years now.  The current server is now quite old, and the demand for a central unix server has dwindled.  <a href="http://ist.berkeley.edu/services/tam/serverabatement.html">IST announced</a> that, rather than replace the current socrates hardware, that they will retire the service entirely.</p>
<p>Many L&amp;S academics are still using socrates, usually as a place for simple web hosting for their individual or lab home pages.  It does not appear that there will be a simple migration path for those users; IST&#8217;s announcement of the abatement, and the lack of a clear migration path, generated a<a href="http://ls.berkeley.edu/mail/micronet/2008/0156.html"> lively discussion</a> on the campus Micronet mailing list.</p>
<p>In response, IST will be holding a Socrates Customer Forum on  Tuesday, April 8, at 10:00 AM in Sibley Auditorium (Bechtel Engineering Center).  If you are invested in web hosting or other services provided on socrates, especially web hosting, it may behoove you to attend that forum.</p>
<p>If you simply need to be able to use a Unix command line, there are probably reasonable alternatives for you; Mac OS X is a full Unix environment, and if you use Windows you can install the <a href="http://www.cygwin.com/">Cygwin environment</a> to be able to work in a Unix-like way.</p>
]]></content:encoded>
			<wfw:commentRss>http://ls.berkeley.edu/blogs/lscr/2008/03/20/all-servers-are-mortal-socrates-is-a-server-therefore/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Update on PHP 4 end of life</title>
		<link>http://ls.berkeley.edu/blogs/lscr/2008/02/25/update-on-php-4-end-of-life/</link>
		<comments>http://ls.berkeley.edu/blogs/lscr/2008/02/25/update-on-php-4-end-of-life/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 23:32:12 +0000</pubDate>
		<dc:creator>Tom Holub</dc:creator>
		
		<category><![CDATA[announcement]]></category>

		<category><![CDATA[tech]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://ls.berkeley.edu/blogs/lscr/2008/02/25/update-on-php-4-end-of-life/</guid>
		<description><![CDATA[I posted last July that PHP 4 is nearing the end of its life, and that therefore we must begin migrating our sites to PHP 5.  PHP 5 is largely compatible with PHP 4, but I expect that most sites based on older code will need at least some modification to work properly under [...]]]></description>
			<content:encoded><![CDATA[<p>I posted <a href="http://ls.berkeley.edu/blogs/lscr/2007/07/20/php-4-end-of-life/">last July</a> that PHP 4 is nearing the end of its life, and that therefore we must begin migrating our sites to PHP 5.  PHP 5 is largely compatible with PHP 4, but I expect that most sites based on older code will need at least some modification to work properly under PHP 5.</p>
<p>The final version of PHP 4, version 4.4.8, was released in January and was recently installed on our main web server.  The PHP development team has committed to providing security patches for 4.4.8 until this August; after August, using PHP 4 will be a violation of the campus minimum security standards.  That situation gives us a fairly hard deadline for migration, and we&#8217;d like to be migrated well before then.</p>
<p>We have set up a development web server running Apache 2.2.8 and PHP 5.2.5 to allow departments to test their sites with PHP 5.  Contact sysadmin@LS if you are interested in getting set up on the development server.</p>
<p>Our target date for cutting over to PHP 5 will be May 1, 2008.  At that time, we&#8217;ll put PHP 5 in production on our main server, and any of your PHP code which is incompatible with PHP 5 will break.  I expect that most sites will continue to work fine, with perhaps some small glitches, but it&#8217;s impossible to know unless you test your code beforehand.</p>
<p>We&#8217;ll be sending more communications about this change-over as it approaches.</p>
]]></content:encoded>
			<wfw:commentRss>http://ls.berkeley.edu/blogs/lscr/2008/02/25/update-on-php-4-end-of-life/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CAS to replace AWS</title>
		<link>http://ls.berkeley.edu/blogs/lscr/2008/02/14/cas-to-replace-aws/</link>
		<comments>http://ls.berkeley.edu/blogs/lscr/2008/02/14/cas-to-replace-aws/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 00:51:08 +0000</pubDate>
		<dc:creator>Tom Holub</dc:creator>
		
		<category><![CDATA[tech]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://ls.berkeley.edu/blogs/lscr/2008/02/14/cas-to-replace-aws/</guid>
		<description><![CDATA[Many applications on campus which require CalNet authentication use the Authentication Web Server (AWS) service; examples include AirBears, blu, and a number of applications deployed by departments, including the content management systems developed by LSCR&#8217;s web team.
Due to the aging of the technology, AWS is going to be replaced by Central Authentication Service (CAS); the [...]]]></description>
			<content:encoded><![CDATA[<p>Many applications on campus which require CalNet authentication use the <a href="https://calnet.berkeley.edu/developers/developerResources/aws/AWSAppSetup-V3.html">Authentication Web Server (AWS) </a>service; examples include AirBears, blu, and a number of applications deployed by departments, including the content management systems developed by LSCR&#8217;s web team.</p>
<p>Due to the aging of the technology, AWS is going to be replaced by <a href="https://calnet.berkeley.edu/developers/developerResources/cas/CASAppSetup.html">Central Authentication Service (CAS)</a>; the tentative date for the deprecation of AWS is December 31, 2008.  Moving from AWS to CAS will require some changes to all the applications currently using AWS; the changes should be fairly simple to implement.</p>
<p>The biggest advantage of CAS is that it provides single sign-on to all applications using CAS; that is, once you&#8217;ve logged on through CAS once, if you visit another web site which uses CAS, you won&#8217;t have to retype your password.  This will be a boon for most users, especially those coming in through AirBears who&#8217;ll have to use CAS to get on the network in the first place.</p>
<p>If you have an application that&#8217;s currently using AWS, you should look at the links above to start working on migrating to CAS.  Both services will run in parallel for at least the rest of this year; you can move to CAS at any time.  It probably makes sense to move sooner rather than later, since CAS provides better functionality.</p>
]]></content:encoded>
			<wfw:commentRss>http://ls.berkeley.edu/blogs/lscr/2008/02/14/cas-to-replace-aws/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Getting rid of @uclink</title>
		<link>http://ls.berkeley.edu/blogs/lscr/2008/02/04/getting-rid-of-uclink/</link>
		<comments>http://ls.berkeley.edu/blogs/lscr/2008/02/04/getting-rid-of-uclink/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 00:06:47 +0000</pubDate>
		<dc:creator>Tom Holub</dc:creator>
		
		<category><![CDATA[announcement]]></category>

		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://ls.berkeley.edu/blogs/lscr/2008/02/04/getting-rid-of-uclink/</guid>
		<description><![CDATA[Bernie Rossi from the CalMail team posted a message today about legacy mailing addresses on CalMail.  Many people are still using user@uclink (or @uclink2, @uclink3, @uclink4) as their From: address in their email clients; some others got set up as user@calmail.berkeley.edu when  CalMail first went into production.
All of these alternate addresses have been [...]]]></description>
			<content:encoded><![CDATA[<p>Bernie Rossi from the CalMail team <a href="http://istpub.berkeley.edu:4201/bcc/Spring2008/1193.html">posted a message today </a>about legacy mailing addresses on CalMail.  Many people are still using user@uclink (or @uclink2, @uclink3, @uclink4) as their From: address in their email clients; some others got set up as user@calmail.berkeley.edu when  CalMail first went into production.</p>
<p>All of these alternate addresses have been basically equivalent until now; you could use any of them in your From: address, and anyone sending you mail could use any of them to address you.  They all wind up in your CalMail inbox.  Going forward, most of this will still be true; mail sent to user@uclink will still be delivered to user@Berkeley.EDU.  The change is that, due to anti-spam provisions in the mailing list system, you will need to subscribe to the mailing list with the same address you use in your From: address in your email client.  There are mailing lists which have been in existence for many years which are filled with @uclink and other legacy addresses; CalMail&#8217;s current plan is to replace those email addresses on mailing lists in bulk.  (Scheduled for February 28).</p>
<p>What that means is that if you currently have your From: address set to be user@uclink,  on February 29 (happy leap year!) mail you send to (most) mailing lists on lists.berkeley.edu will not be delivered&#8211;it will be held for approval by the list owner.</p>
<p>The easiest thing to do is just to set your mail client to use user@Berkeley.EDU as your From: address.  It looks nicer that way, anyway.  Bernie provided <a href="http://kb.berkeley.edu/kb2315">rudimentary instructions</a> if you want to do it yourself,  or you can contact your LSCR support team for help.  Note that if you do this before February 28, you may have the same problem sending to mailing lists until the change is made, so it&#8217;s best to wait until the end of the month.</p>
]]></content:encoded>
			<wfw:commentRss>http://ls.berkeley.edu/blogs/lscr/2008/02/04/getting-rid-of-uclink/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Calmail&#8217;s migration to Mailman, and departmental domain hosting</title>
		<link>http://ls.berkeley.edu/blogs/lscr/2007/12/04/calmails-migration-to-mailman-and-departmental-domain-hosting/</link>
		<comments>http://ls.berkeley.edu/blogs/lscr/2007/12/04/calmails-migration-to-mailman-and-departmental-domain-hosting/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 21:26:48 +0000</pubDate>
		<dc:creator>Tom Holub</dc:creator>
		
		<category><![CDATA[announcement]]></category>

		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://ls.berkeley.edu/blogs/lscr/2007/12/04/calmails-migration-to-mailman-and-departmental-domain-hosting/</guid>
		<description><![CDATA[Today Calmail announced that the mailing list software running on lists.berkeley.edu has been migrated from Majordomo to Mailman.  Majordomo had been in place for at least 15 years, but the software was severely obsolete.  Mailman is the most commonly used mailing list management package, and mailing list owners will be happy to learn [...]]]></description>
			<content:encoded><![CDATA[<p>Today Calmail announced that the mailing list software running on lists.berkeley.edu has been migrated from Majordomo to <a href="http://www.gnu.org/software/mailman/index.html">Mailman</a>.  Majordomo had been in place for at least 15 years, but the software was severely obsolete.  Mailman is the most commonly used mailing list management package, and mailing list owners will be happy to learn that your list management can now be done entirely through a pretty good web interface, instead of having to send cryptic email messages with Majordomo commands.</p>
<p>If you have public mailing lists, you&#8217;ll have to update the instructions you publish about how to sign up for the list.  You&#8217;ll also want to familiarize yourself with the new interface for approving subscriptions and moderating postings, if you use those features.  You will find it a lot easier in the new system once you get used to it.</p>
<p>The team has been working on this migration for over two years; the fact that it is now here will enable a number of other projects to move forward.  Most importantly, Calmail is now very close to being able to realistically replace the functions of most departmental mail servers.  CalMail is much better positioned to be able to deal with anti-spam and anti-virus protection schemes, and there is no way we can compare with the 24&#215;7 support the service is offered.  There are a few more technical details to work out, but we expect that we&#8217;ll move most of the email domains that we currently run on L&amp;S hardware or departmental hardware over to CalMail&#8217;s <a href="http://www-uclink.berkeley.edu/cgi-bin/display/other">departmental domain service</a> over the next year or so.  I encourage any of you who are still running your own mail servers to consider whether CalMail can meet your needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://ls.berkeley.edu/blogs/lscr/2007/12/04/calmails-migration-to-mailman-and-departmental-domain-hosting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MacOS X 10.5 &#8220;Leopard&#8221;</title>
		<link>http://ls.berkeley.edu/blogs/lscr/2007/11/01/macos-x-105-leopard/</link>
		<comments>http://ls.berkeley.edu/blogs/lscr/2007/11/01/macos-x-105-leopard/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 00:49:47 +0000</pubDate>
		<dc:creator>Tom Holub</dc:creator>
		
		<category><![CDATA[announcement]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://ls.berkeley.edu/blogs/lscr/2007/11/01/macos-x-105-leopard/</guid>
		<description><![CDATA[Apple released Mac OS X 10.5, code named &#8220;Leopard&#8221; this week.  Leopard represents a noticeable but not compelling upgrade from Tiger; there are a few nice new user features, but the underlying operating system is not fundamentally changed.  Most users won&#8217;t notice a huge difference in the way the system works.
Unfortunately, there are [...]]]></description>
			<content:encoded><![CDATA[<p>Apple released Mac OS X 10.5, code named &#8220;Leopard&#8221; this week.  Leopard represents a noticeable but not compelling upgrade from Tiger; there are a few nice new user features, but the underlying operating system is not fundamentally changed.  Most users won&#8217;t notice a huge difference in the way the system works.</p>
<p>Unfortunately, there are some compatibility issues with Leopard which could be fairly significant, at least at first.  The most significant issue for the campus is that Tivoli Storage Manager (TSM), the software which powers UC Backup, is <a href="http://istpub.berkeley.edu:4201/bcc/Spring2008/1134.html">incompatible with Leopard</a>.  IBM is planning to release an updated version in the first quarter of 2008&#8211;it looks like Leopard users will be without campus backup for several months at least.</p>
<p>FileMaker also has some problems with Leopard; FileMaker Inc. announced a free update to FileMaker 9 which fixes the problems, but has also said that it will not certify or update previous versions of FileMaker.  Most campus FileMaker users are using versions earlier than 9, so this will likely be a problem if you can&#8217;t upgrade to FileMaker 9 right now.  (See <a href="http://ls.berkeley.edu/blogs/lscr/2007/07/27/impending-filemaker-pro-migration/">my post from July 27</a> on the need to migrate to a modern version of FileMaker).</p>
<p><a href="http://www.adobe.com/support/products/pdfs/leopardsupport.pdf">Several Adobe applications</a>, including Acrobat Professional which is in use by many departments, also have problems with Leopard. The MacOS Rumors site has a <a href="http://guides.macrumors.com/List:Applications_Not_Compatible_with_Leopard">list of reported compatibility issues</a>.</p>
<p>Because of these problems, especially the problem with TSM, at this time we are recommending that users not buy upgrades to Leopard. and if possible, buy new computers with Tiger installed instead of Leopard.  If you have Leopard, contact your computing support team to see if we can work around the problems.</p>
<p>Leopard should be a good operating system, but it will take some time for all these applications to catch up with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://ls.berkeley.edu/blogs/lscr/2007/11/01/macos-x-105-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Web application security</title>
		<link>http://ls.berkeley.edu/blogs/lscr/2007/10/08/web-application-security/</link>
		<comments>http://ls.berkeley.edu/blogs/lscr/2007/10/08/web-application-security/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 21:42:55 +0000</pubDate>
		<dc:creator>Tom Holub</dc:creator>
		
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://ls.berkeley.edu/blogs/lscr/2007/10/08/web-application-security/</guid>
		<description><![CDATA[A departmental web manager recently asked me what she could do about the security of the web-based databases she had recently inherited.  There are generally two classes of web attacks I see on campus:  exploitation of known problems in open-source web-based systems (such as  Mambo, phpwebsite, phpBB), and specific attacks on insecure [...]]]></description>
			<content:encoded><![CDATA[<p>A departmental web manager recently asked me what she could do about the security of the web-based databases she had recently inherited.  There are generally two classes of web attacks I see on campus:  exploitation of known problems in open-source web-based systems (such as  Mambo, phpwebsite, phpBB), and specific attacks on insecure aspects of a  home-grown application.</p>
<p>The former are far more prevalent.  A typical attack vector is to search  Google for sites which are running known-insecure versions of a package,  break into those sites, run malicious code (often leaving &#8220;zombies&#8221; in  place to participate in spamming), and try to leave back doors to get  back into the machine.  Usually these attacks are not directed at the  department in question; the hackers are just looking for a machine to  use for their own purposes.</p>
<p>The latter are less prevalent, but can be more problematic, as they are  more likely to represent an attack directed at the department or the  application in question.  However, I&#8217;ve also seen some examples of hackers attacking a departmental application simply because it was easy to find holes in.</p>
<p>In either case, you want to follow good coding and administration  practices to reduce your risk.  Never have world-writable directories  within the web hierarchy.  Any time you get input from the user, test  that input for validity, ideally with a positive rather than a negative  test (that is, test &#8220;does the input contains only A-Z and 0-9&#8243;, rather than &#8220;does the input not contain |&#8217;&#8221;/\, etc.&#8221;)  If you install someone  else&#8217;s software (open-source or not), put yourself on the mailing list  for security updates, and install those as soon as they are available.  If you customize someone else&#8217;s software, realize that upgrading it will  be challenging in direct proportion to the extent that you&#8217;ve customized it.</p>
<p>Breaking into computers is no longer the province of 14-year-olds with too much time on their hands; it&#8217;s now a huge business with ties to organized crime.  Access to compromised machines and applications is sold on the black market.   Attacks continue to become more sophisticated, and our practices need to change to keep our machines and data safe.</p>
<p>I should remind you that <a href="http://ls.berkeley.edu/blogs/lscr/2007/07/20/php-4-end-of-life/">PHP 4 has reached the end of its support life</a>; we currently have a PHP 5 server up and running if you want to test your code before we go live with the new version around the end of calendar 2007.  Mail sysadmin@LS if you are interested in getting a test directory in the PHP 5 installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://ls.berkeley.edu/blogs/lscr/2007/10/08/web-application-security/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Backing up user files</title>
		<link>http://ls.berkeley.edu/blogs/lscr/2007/08/29/backing-up-user-files/</link>
		<comments>http://ls.berkeley.edu/blogs/lscr/2007/08/29/backing-up-user-files/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 01:07:39 +0000</pubDate>
		<dc:creator>Tom Holub</dc:creator>
		
		<category><![CDATA[strategic planning]]></category>

		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://ls.berkeley.edu/blogs/lscr/2007/08/29/backing-up-user-files/</guid>
		<description><![CDATA[Here&#8217;s a scary statistic for you: The Mean Time Between Failure (MTBF) on hard disk drives is generally reported by manufacturers as 300,000 hours or more.  That means that, on average, a disk will fail after 300,000 hours of use.  That sounds like a long time&#8211;300,000 hours is 12,500 days, or about 35 [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a scary statistic for you: The Mean Time Between Failure (MTBF) on hard disk drives is generally reported by manufacturers as 300,000 hours or more.  That means that, on average, a disk will fail after 300,000 hours of use.  That sounds like a long time&#8211;300,000 hours is 12,500 days, or about 35 years on average.  Not so bad, right?  The scary part is that I&#8217;d estimate there are at least 50,000 spinning disks on campus right now, which means that there are probably <strong>multiple disk failures on campus every day</strong>.</p>
<p>We recently had a hard disk drive failure in a customer&#8217;s machine that was not backed up.  She lost years of stored email, along with a database and other documents which took uncountable hours to create.  We&#8217;ve all heard similar horror stories, or lived through them, yet we still seem to make the same mistakes.</p>
<p>Some people back up their files to writable CDs or DVDs; removable media are cheap and it just takes a couple of minutes, right?  That&#8217;s my backup scheme on my personal machine at home.   Now ask me, how long has it been since I actually backed up my home machine?   (Answer: No idea, but it was at least 6 months ago, probably a year or more.  But thanks for reminding me&#8211;I&#8217;ll go do it tonight.)  For backups to be effective, they really need to be automatic and invisible to the user.</p>
<p>Fortunately, the campus has an inexpensive automated system: <a href="http://ucbackup.berkeley.edu:9180/">UC Backup</a>, which is based on IBM&#8217;s <a href="http://www-306.ibm.com/software/tivoli/products/storage-mgr/">Tivoli Storage Manager</a>.  For just 30 cents per gigabyte of data stored, you can install the TSM client on your machine and be protected in case of data loss.  The office of the Vice Chancellor for Research provides an additional subsidy; researchers can get their data backed up for only 15 cents per gigabyte while funds allow.  (See <a href="http://ucbackup.berkeley.edu:9180/getstarted.html">UC Backup&#8217;s page</a> for information on signing up for the service and the research subsidy).</p>
<p>LSCR would like to see all of our customers&#8217; files (both staff and faculty) regularly backed up by UC Backup or a similar system.   I&#8217;d recommend the same for all computer users in L&amp;S departments.  The cost is low and the benefit is large; our institution has a huge liability out there due to irreplaceable data not being backed up.  We&#8217;ll be contacting our  departments to encourage them to sign up all their users with UC Backup, if they&#8217;re not already.  (Over half of our administrative staff users are already being backed up through UC Backup, but for our faculty it&#8217;s a very low percentage).</p>
<p>Side note: The <a href="http://technology.berkeley.edu/planning/strategic/critical4.html#reliability1">campus-wide IT Strategic Plan</a> identifies backup as a critical issue, and sets a goal of having 80% of faculty and staff backed up by July 2006.  [Obviously the plan needs some updating.]  Personally, I think that the current UC Backup model doesn&#8217;t put the campus in position to accomplish this goal; the low cost is OK, but the administrative overhead required to manage the billing, even for that small a charge, creates a barrier significant enough to keep many departments and individuals from rolling out this professional backup service.  I would like to see the service be free of cost to the user up to some reasonable threshold of data storage; 10GB or so.  It&#8217;s really not worth generating hundreds of BFS transactions for $1.50 each.</p>
]]></content:encoded>
			<wfw:commentRss>http://ls.berkeley.edu/blogs/lscr/2007/08/29/backing-up-user-files/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
