<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The ProStructure Blog &#187; Web Operations</title>
	<atom:link href="http://www.prostructure.com/blog/category/web-ops/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prostructure.com/blog</link>
	<description>A blog about high-end IT Infrastructure and Security</description>
	<lastBuildDate>Mon, 12 Jul 2010 21:34:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Are you monitoring the integrity of your digital assets?</title>
		<link>http://www.prostructure.com/blog/2010/05/11/are-you-monitoring-the-integrity-of-your-digital-assets/</link>
		<comments>http://www.prostructure.com/blog/2010/05/11/are-you-monitoring-the-integrity-of-your-digital-assets/#comments</comments>
		<pubDate>Tue, 11 May 2010 16:16:49 +0000</pubDate>
		<dc:creator>micah</dc:creator>
				<category><![CDATA[Enterprise IT]]></category>
		<category><![CDATA[Web Operations]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.prostructure.com/blog/?p=83</guid>
		<description><![CDATA[At this point in time, Your organization most likely uses its website to deliver key business data to your customers.  This could include the delivery of product marketing information, contact information, or product support documentation.  Your product may be your website if you deliver your application in a SaaS or cloud based distribution model.  As [...]]]></description>
			<content:encoded><![CDATA[<p>At this point in time, Your organization most likely uses its website to deliver key business data to your customers.  This could include the delivery of product marketing information, contact information, or product support documentation.  Your product may be your website if you deliver your application in a SaaS or cloud based distribution model.  As a customer, when I pay for something, I am telling that company that I trust they can deliver not only what they sold me as a product, but all necessary services that come with supporting that product.  In other words, I am telling that company that I trust them.  As part of this trust relationship, we expect that the systems that enable this content delivery, such as web servers, are trustworthy, and the integrity of the content has also been ensured.</p>
<p>Organizations may not have to work hard to initially develop this trust relationship with their customer.  What an organization may not be doing is working hard to maintain this trust relationship.  If the integrity of these assets are challenged, there is a potential risk of destroying this trust relationship, which could be cause for a costly recovery attempt of this customer trust, or complete customer loss.  Ensuring the integrity of your organization&#8217;s digital assets should be considered a foundational component of any organization&#8217;s security practice.</p>
<p>When we speak of digital assets, we not only include the traditional media data types including images, audio, and video, but all other content produced by your company that exists in a persistent state on disk.  In a web server environment we would most likely be dealing the with following types of data:</p>
<ul>
<li>Html, Javascript, CSS, and embedded web objects</li>
<li>PHP, Perl, .NET, and other application code</li>
<li>Non-HTML Document types such as PDF or Office files</li>
<li>Images, Audio, and Video</li>
</ul>
<p>We were recently employed to review the state of a customer&#8217;s environment following a recent intrusion.  As with a portion of the environments we work in today, the services provided included web content and application delivery provided by Apache running on Linux.  While Apache does provide access logging for files requested from it, it does not maintain state regarding the integrity of the files it serves. Following an intrusion, identifying the the attack vector is extremely important in providing future security of this environment but should not be the only consideration.</p>
<p>The following questions need to be asked concurrently:</p>
<ul>
<li>What organizational or customer data was exposed?</li>
</ul>
<ul>
<li>Was any data modified and what is the potential impact to our customers?</li>
</ul>
<p>In high traffic environments, it can be extremely difficult to answer both of these questions quickly, which in turn can prolong the delivery of customer communication or notification for external entities that may have a stake in the exposed data.  To speed up the time to derive an answer to both of these questions, there are two methods that are available to expedite this process.</p>
<p>First, the majority of server operating systems in production today have kernel facilitated auditing capability bundled with the operating system.  Linux provides the Linux Audit Subsystem.  Microsoft Windows Server including 2003 and 2008 provide auditing capability.  Solaris, MacOS X, and the BSD family of operating systems also implement audit facilities.  Each of these respective implementations provide the ability to monitor file access and modification events and produce audit trail which can be used to quickly determine which critical assets were accessed or modified.  Although the deployment of auditing policy is not trivial, the benefit can easily be measured if file integrity is violated and you are able to effectively determine the targeted assets and the associated scope of exposure.</p>
<p>Secondly, organizations should deploy a file integrity monitoring system such as Tripwire or Samhain.  These systems utilize one way cryptographic functions (also known as message digest algorithms) such as MD5, SHA1, SHA2, or Tiger, to create a catalog of computed hashes of  files covered by the monitoring software&#8217;s defined policy.  Following the a baseline definition process, these systems monitor filesystem changes against prior hash calculations, and in some cases, against known bad hash values associated with exploit, rootkit code, and other potential malware.   When a change event is discovered, notifications can be delivered to those accountable.</p>
<p>The data generated by each of these tools should be streamed via encrypted transport to a centralized syslog server.   This centralized server should exist in a logically distinct network segment from all other nodes in the environment.   Because this server essentially becomes the gold copy record for file integrity in your environment as related to file assets, extreme care should be used to ensure the validity of logs captured.  This includes utilizing file integrity monitoring and limiting access to those who have a need to know.</p>
<p>The employment of these systems do not provide protection against intrusion but can ease the burden of cleaning up the mess and help organizations identify impact.  While this does not completely mitigate potential loss of trust with your customers, it allows you to effectively measure whether or not their trust was violated and the overall level of exposure.  In the future, we will be providing direction on how these logs can be utilized to provide real-time alerting of an attack in progress, and what you can do to decrease your time to react.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prostructure.com/blog/2010/05/11/are-you-monitoring-the-integrity-of-your-digital-assets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Categories/Meeting Types to SharePoint 2010 Calendar</title>
		<link>http://www.prostructure.com/blog/2010/03/29/add-categoriesmeeting-types-to-sharepoint-2010-calendar/</link>
		<comments>http://www.prostructure.com/blog/2010/03/29/add-categoriesmeeting-types-to-sharepoint-2010-calendar/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 23:05:05 +0000</pubDate>
		<dc:creator>Amber Pham</dc:creator>
				<category><![CDATA[Enterprise IT]]></category>
		<category><![CDATA[Web Operations]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[Categories]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.prostructure.com/blog/?p=76</guid>
		<description><![CDATA[I recently had a client ask if additional categories could be added to the choice list in the SharePoint 2010 Calendar Web Part.  These categories are in the pick list when you create a new calendar item from the SharePoint interface. This is how to change the categories: 1. Go to the calendar web part [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a client ask if additional categories could be added to the choice list in the SharePoint 2010 Calendar Web Part.  These categories are in the pick list when you create a new calendar item from the SharePoint interface.</p>
<p>This is how to change the categories:<br />
1. Go to the calendar web part from the browser.<br />
2. Under the Calendar Tools tab, click the Calendar tab.<br />
3. Choose List Settings.<br />
4. Scroll down to the Columns heading.<br />
5. Click Category.<br />
6. Under the Additional Column Settings heading, there is a text box with the categories, and above the box reads: &#8220;Type each choice on a separate line.&#8221;<br />
7. Add or remove categories, then click OK.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prostructure.com/blog/2010/03/29/add-categoriesmeeting-types-to-sharepoint-2010-calendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Breathe new life into a bogged-down CoyotePoint Load Balancer with DSR</title>
		<link>http://www.prostructure.com/blog/2009/04/07/breathe-new-life-into-a-bogged-down-coyotepoint-load-balancer-with-dsr/</link>
		<comments>http://www.prostructure.com/blog/2009/04/07/breathe-new-life-into-a-bogged-down-coyotepoint-load-balancer-with-dsr/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 04:07:52 +0000</pubDate>
		<dc:creator>Irving Popovetsky</dc:creator>
				<category><![CDATA[Enterprise IT]]></category>
		<category><![CDATA[Web Operations]]></category>

		<guid isPermaLink="false">http://www.prostructure.com/blog/?p=45</guid>
		<description><![CDATA[Let me start by saying this:   I am not a fan of CoyotePoint load balancers.    My support experiences so far have all been atrocious.   The system architecture is a cheap imitation of F5&#8242;s BigIP architecture from a decade ago which constantly limits me.    I&#8217;m convinced that people only buy these things because they&#8217;re cheap. I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Let me start by saying this:   I am not a fan of CoyotePoint load balancers.    My support experiences so far have all been atrocious.   The system architecture is a cheap imitation of F5&#8242;s BigIP architecture from a decade ago which constantly limits me.    I&#8217;m convinced that people only buy these things because they&#8217;re cheap.</p>
<p>I&#8217;ve been working with a customer who&#8217;s exceeded the throughput capabilities of their Equalizer E350si load balancer.   Although the marketing materials will tell you that this unit is capable of throughput up to 700Mbps (hah!),  we were maxing out and dropping packets above 50 Mbps.</p>
<p>Rant:  You see, the problem lies in Coyote&#8217;s system architecture.  This E350si is powered by a NetBurst-architecture Pentium 4 2.8Ghz, with HyperThreading disabled.   Coyote uses a FreeBSD-4 based kernel, which was well known for it&#8217;s slow timers, slow interrupt handling, and immature device polling implementation.  In this classic system architecture, each incoming packet generates an Interrupt Request (IRQ), which must be serviced by the CPU in a time-slotted fashion.   So what we have is a load balancer which reports it&#8217;s CPU as being mostly idle,  but in reality cannot handle packets quickly enough.   THIS IS NOT HOW YOU DESIGN NETWORK EQUIPMENT, PEOPLE.   End rant.</p>
<p>Good news:   In version 8, Coyote introduced a new mode of operation called DSR, or Direct Server Return.  DSR is quite clever, really, because it get&#8217;s around Coyote&#8217;s packet handling limitation (to a big degree) by handling the incoming network packets, but allowing the web servers to respond directly to clients.   This cuts the number of TCP packets the Coyote has to process in half,  and cuts the number of Ethernet frames by much more if you consider that the return packets are much larger.</p>
<p>Here&#8217;s how it works.   In a traditional setup,  the Coyote receives a packet on its external interface (em1), makes a load balancing decision, and then forwards to the packet along to a host behind its internal interface (em0).   Most shops NAT here as well, for security and/or IP address conservation reasons.   So the Coyote must perform Layer 2 &#8211; 4 (or 7) processing of the packet as it receives it,   then make a load balancing decision,  then translate the packet (that&#8217;s the T in NAT),  then re-process the packet going out the internal interface.   Then, rinse, lather, repeat for the return packet.   Such is the life of a typical load balancer.</p>
<p>In DSR mode, you start by chopping off the Internal interface of the load balancer altogether and eliminating NAT.   This requires moving your webservers onto publicly routable IP addresses, so please make sure they are firewalled properly.   Now you have your load balancer and webservers all on the same ethernet segment.   You create a VIP (Virtual IP) on the load balancer, and then add that SAME VIP address as a loopback address to the webservers!</p>
<p>You&#8217;re probably scratching your head, wondering how this is going to work.  I know that I was.  Here&#8217;s the magical part.   Only the load balancer responds to ARP requests for the VIP.  The webservers have Apache listening on the VIP address,  but don&#8217;t respond to ARP requests at all on that address.   Each incoming packet is sent from the router to the MAC address of the load balancer,  which then makes a load balancing decision and then sends an identical copy of that packet to the MAC address of the web server.   Let me say that again.  The load balancer performs no more translation, it literally just copies the packet over to the webserver.   Since the source MAC address is unchanged,  the web server replies directly to the router and skips the load balancer entirely.</p>
<p>Sounds a bit scary, but works well.  Except for one thing.   In their brilliance,  the Coyote folks created a section in the Manual with configuration instructions for &#8220;Linux/Unix Systems&#8221;, but ACTUALLY put in instructions for BSD-like systems only.  Who runs FreeBSD anymore?   DON&#8217;T TRY THESE INSTRUCTIONS ON A LINUX SERVER UNLESS YOU WANT TO LOCK YOURSELF OUT.</p>
<p>On Linux,  the correct way to create the loopback address is by adding a &#8220;labelled&#8221; loopback interface,  but ALWAYS set the netmask of your new interface to &#8220;255.255.255.255&#8243;.   If you match the netmask of the VIP,  your webserver will stop responding to packets on it&#8217;s external interface.  Very bad.</p>
<p>So,  assume your public VIP address is 12.34.56.78  (fake, to protect the innocent),  and your webserver&#8217;s address is 12.34.56.80.   Create a loopback address like so:</p>
<blockquote>
<pre>/sbin/ifconfig lo:vip inet 12.34.56.78 netmask 255.255.255.255</pre>
</blockquote>
<p>Then, the output of &#8220;ifconfig -a&#8221; looks something like this:</p>
<blockquote>
<pre><strong>eth0</strong>      Link encap:Ethernet  HWaddr 00:40:A4:8E:B0:1A
inet addr:12.34.56.80  Bcast:12.34.56.255  Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:47131905 errors:0 dropped:0 overruns:0 frame:0
TX packets:77804088 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5111837334 (4875.0 Mb)  TX bytes:104047655003 (99227.5 Mb)
Interrupt:177

<strong>lo</strong>        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:1311164 errors:0 dropped:0 overruns:0 frame:0
TX packets:1311164 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:439975560 (419.5 Mb)  TX bytes:439975560 (419.5 Mb)

<strong><span style="color: #ff0000;">lo:vip</span></strong>    Link encap:Local Loopback
inet <strong><span style="color: #ff0000;">addr:12.34.56.78  Mask:255.255.255.255</span></strong>
UP LOOPBACK RUNNING  MTU:16436  Metric:1</pre>
</blockquote>
<p>If it all works, you should be able to confirm correct operation by using tcpdump or Wireshark/Ethereal on the webserver, and verifying that the SOURCE address is your VIP address and you&#8217;re seeing lots of 200 OK messages.</p>
<blockquote>
<pre>tshark -n -i eth0 -R http.response port 80</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.prostructure.com/blog/2009/04/07/breathe-new-life-into-a-bogged-down-coyotepoint-load-balancer-with-dsr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lesson learned:  High traffic WordPress Site Operation</title>
		<link>http://www.prostructure.com/blog/2009/04/07/lesson-learned-high-traffic-wordpress-site-operation/</link>
		<comments>http://www.prostructure.com/blog/2009/04/07/lesson-learned-high-traffic-wordpress-site-operation/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 23:19:37 +0000</pubDate>
		<dc:creator>Irving Popovetsky</dc:creator>
				<category><![CDATA[Enterprise IT]]></category>
		<category><![CDATA[Web Operations]]></category>

		<guid isPermaLink="false">http://www.prostructure.com/blog/?p=43</guid>
		<description><![CDATA[I recently had the pleasure of helping out with a WordPress blog which had gone supernova.   Within hours of being linked to from several major news sites,  the server couldn&#8217;t stay up for 10 minutes without something terrible happening. Unfortunately, WordPress isn&#8217;t setup for high performance operation out of the box.  Each page request is [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had the pleasure of helping out with a WordPress blog which had gone supernova.   Within hours of being linked to from several major news sites,  the server couldn&#8217;t stay up for 10 minutes without something terrible happening.</p>
<p>Unfortunately, WordPress isn&#8217;t setup for high performance operation out of the box.  Each page request is very CPU and database intensive.</p>
<p>Under benchmarking, we discovered that each of the customer&#8217;s HP DL385 servers could serve between 5-10 WordPress page view&#8217;s per second, depending on the page.  (For the pedantic,  I&#8217;m considering anything that hits PHP as a page view.)  And this is AFTER I had put major effort into MySQL performance tuning.    Something had to be done, 5 page views per second is just not going to cut the mustard.</p>
<p>In comes the WP-Super-Cache plugin to save the day.   WP-Super-Cache is a plugin which seems like it should be installed with every WordPress instance by default.   It writes out entire pages to static .html files,  and then instructs Apache to serve up the static .html files directly (using mod_rewrite),  therefore avoiding any CPU-gobbling calls to PHP or the database.   But WP-Super-Cache is smart,  it automatically expires cached pages when the content is updated  (by the author, or via comments).</p>
<p>As a result,  we went from 5-10 page views per second to between 500-2000 theoretical page views per second.   At this point we were hitting bandwidth bottlenecks,  which is where I like to be.   As long as webservers can serve up enough data to fill their own pipe, you have happy system administrators (and UNhappy network administrators).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prostructure.com/blog/2009/04/07/lesson-learned-high-traffic-wordpress-site-operation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->