<?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>Allen Pomeroy &#187; notes</title>
	<atom:link href="http://www.pomeroy.us/category/notes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pomeroy.us</link>
	<description>IT security thoughts and personal stuff</description>
	<lastBuildDate>Sat, 28 Jan 2012 08:55:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Neat sayings</title>
		<link>http://www.pomeroy.us/2012/01/neat-sayings/</link>
		<comments>http://www.pomeroy.us/2012/01/neat-sayings/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 21:28:36 +0000</pubDate>
		<dc:creator>apomeroy</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://www.pomeroy.us/?p=435</guid>
		<description><![CDATA[Are you where you want to be? Are you who you want to be? The getting lost was worth the coming home.  What I fear, I can create.  We must be willing to let go of the life we planned, so as to have the life that is waiting for us.]]></description>
			<content:encoded><![CDATA[<ul>
<li>Are you where you want to be?</li>
<li>Are you who you want to be?</li>
</ul>
<ul>
<li>The getting lost was worth the coming home.  <img src='http://www.pomeroy.us/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
<ul>
<li>What I fear, I can create.  We must be willing to let go of the life we planned, so as to have the life that is waiting for us.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.pomeroy.us/2012/01/neat-sayings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Securing Apache web servers</title>
		<link>http://www.pomeroy.us/2011/11/securing-apache-web-servers/</link>
		<comments>http://www.pomeroy.us/2011/11/securing-apache-web-servers/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 04:49:53 +0000</pubDate>
		<dc:creator>prodadmin</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.pomeroy.us/?p=424</guid>
		<description><![CDATA[Great article by Pete Freitag on Securing Apache Web Servers (20 ways to Secure your Apache Configuration) Here are 20 things you can do to make your apache configuration more secure. Disclaimer: The thing about security is that there are no guarantees or absolutes. These suggestions should make your server a bit tighter, but don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Great article by Pete Freitag on Securing Apache Web Servers<br />
(<a href="http://www.petefreitag.com/item/505.cfm">20 ways to Secure your Apache Configuration</a>)</p>
<p>Here are 20 things you can do to make your apache configuration more secure.</p>
<p>Disclaimer: The thing about security is that there are no guarantees or absolutes. These suggestions should make your server a bit tighter, but don&#8217;t think your server is necessarily secure after following these suggestions.</p>
<p>Additionally some of these suggestions may decrease performance, or cause problems due to your environment. It is up to you to determine if any of the changes I suggest are not compatible with your requirements. In other words proceed at your own risk.</p>
<h3>First, make sure you&#8217;ve installed latest security patches</h3>
<p>There is no sense in putting locks on the windows, if your door is wide open. As such, if you&#8217;re not patched up there isn&#8217;t really much point in continuing any longer on this list.</p>
<h3>Hide the Apache Version number, and other sensitive information.</h3>
<p>By default many Apache installations tell the world what version of Apache you&#8217;re running, what operating system/version you&#8217;re running, and even what Apache Modules are installed on the server. Attackers can use this information to their advantage when performing an attack. It also sends the message that you have left most defaults alone.</p>
<p>There are two directives that you need to add, or edit in your <code>httpd.conf</code> file:</p>
<pre>ServerSignature Off
ServerTokens Prod</pre>
<p>The <code>ServerSignature</code> appears on the bottom of pages generated by apache such as 404 pages, directory listings, etc.</p>
<p>The <code>ServerTokens</code> directive is used to determine what Apache will put in the <code>Server</code> HTTP response header. By setting it to <code>Prod</code> it sets the HTTP response header as follows:</p>
<pre>Server: Apache</pre>
<p>If you&#8217;re super paranoid you could change this to something other than &#8220;Apache&#8221; by editing the source code, or by using mod_security (see below).</p>
<h3>Make sure apache is running under its own user account and group</h3>
<p>Several apache installations have it run as the user <code>nobody</code>. So suppose both Apache, and your mail server were running as <code>nobody</code> an attack through Apache may allow the mail server to also be compromised, and vise versa.</p>
<pre>User apache
Group apache</pre>
<h3>Ensure that files outside the web root are not served</h3>
<p>We don&#8217;t want apache to be able to access any files out side of its web root. So assuming all your web sites are placed under one directory (we will call this <code>/web</code>), you would set it up as follows:</p>
<pre>&lt;Directory /&gt;
  Order Deny,Allow
  Deny from all
  Options None
  AllowOverride None
&lt;/Directory&gt;
&lt;Directory /web&gt;
  Order Allow,Deny
  Allow from all
&lt;/Directory&gt;</pre>
<blockquote><p>Note that because we set <code>Options None</code> and <code>AllowOverride None</code> this will turn off all options and overrides for the server. You now have to add them explicitly for each directory that requires an Option or Override.</p></blockquote>
<h3>Turn off directory browsing</h3>
<p>You can do this with an <code>Options</code> directive inside a <code>Directory</code> tag. Set <code>Options</code> to either <code>None</code> or <code>-Indexes</code></p>
<pre>Options -Indexes</pre>
<h3>Turn off server side includes</h3>
<p>This is also done with the <code>Options</code> directive inside a <code>Directory</code> tag. Set <code>Options</code> to either <code>None</code> or <code>-Includes</code></p>
<pre>Options -Includes</pre>
<h3>Turn off CGI execution</h3>
<p>If you&#8217;re not using CGI turn it off with the <code>Options</code> directive inside a <code>Directory</code> tag. Set <code>Options</code> to either <code>None</code> or <code>-ExecCGI</code></p>
<pre>Options -ExecCGI</pre>
<h3>Don&#8217;t allow apache to follow symbolic links</h3>
<p>This can again can be done using the <code>Options</code> directive inside a <code>Directory</code> tag. Set <code>Options</code> to either <code>None</code> or <code>-FollowSymLinks</code></p>
<pre>Options -FollowSymLinks</pre>
<h3>Turning off multiple Options</h3>
<p>If you want to turn off all <code>Options</code> simply use:</p>
<pre>Options None</pre>
<p>If you only want to turn off some separate each option with a space in your <code>Options</code> directive:</p>
<pre>Options -ExecCGI -FollowSymLinks -Indexes</pre>
<h3>Turn off support for .htaccess files</h3>
<p>This is done in a <code>Directory</code> tag but with the <code>AllowOverride</code> directive. Set it to <code>None</code>.</p>
<pre>AllowOverride None</pre>
<p>If you require Overrides ensure that they cannot be downloaded, and/or change the name to something other than <code>.htaccess</code>. For example we could change it to <code>.httpdoverride</code>, and block all files that start with <code>.ht</code> from being downloaded as follows:</p>
<pre>AccessFileName .httpdoverride
&lt;Files ~ "^\.ht"&gt;
    Order allow,deny
    Deny from all
    Satisfy All
&lt;/Files&gt;</pre>
<h3>Run mod_security</h3>
<p><a href="http://www.modsecurity.org/">mod_security</a> is a super handy Apache module written by Ivan Ristic, the author of <a href="http://www.dealazon.com/product/0596007248">Apache Security</a> from O&#8217;Reilly press.</p>
<p>You can do the following with mod_security:</p>
<ul>
<li>Simple filtering</li>
<li>Regular Expression based filtering</li>
<li>URL Encoding Validation</li>
<li>Unicode Encoding Validation</li>
<li>Auditing</li>
<li>Null byte attack prevention</li>
<li>Upload memory limits</li>
<li>Server identity masking</li>
<li>Built in Chroot support</li>
<li>And more</li>
</ul>
<h3>Disable any unnecessary modules</h3>
<p>Apache typically comes with several modules installed. Go through the apache <a href="http://httpd.apache.org/docs/2.0/mod/">module documentation</a> and learn what each module you have enabled actually does. Many times you will find that you don&#8217;t need to have the said module enabled.</p>
<p>Look for lines in your <code>httpd.conf</code> that contain <code>LoadModule</code>. To disable the module you can typically just add a <code>#</code> at the beginning of the line. To search for modules run:</p>
<pre>grep LoadModule httpd.conf</pre>
<p>Here are some modules that are typically enabled but often not needed: <code>mod_imap</code>, <code>mod_include</code>, <code>mod_info</code>, <code>mod_userdir</code>, <code>mod_status</code>, <code>mod_cgi</code>, <code>mod_autoindex</code>.</p>
<h3>Make sure only root has read access to apache&#8217;s config and binaries</h3>
<p>This can be done assuming your apache installation is located at <code>/usr/local/apache</code> as follows:</p>
<pre>chown -R root:root /usr/local/apache
chmod -R o-rwx /usr/local/apache</pre>
<h3>Lower the Timeout value</h3>
<p>By default the <code>Timeout</code> directive is set to 300 seconds. You can decrease help mitigate the potential effects of a denial of service attack.</p>
<pre>Timeout 45</pre>
<h3>Limiting large requests</h3>
<p>Apache has several directives that allow you to limit the size of a request, this can also be useful for mitigating the effects of a denial of service attack.</p>
<p>A good place to start is the <code>LimitRequestBody</code> directive. This directive is set to unlimited by default. If you are allowing file uploads of no larger than 1MB, you could set this setting to something like:</p>
<pre>LimitRequestBody 1048576</pre>
<p>If you&#8217;re not allowing file uploads you can set it even smaller.</p>
<p>Some other directives to look at are <code>LimitRequestFields</code>, <code>LimitRequestFieldSize</code> and <code>LimitRequestLine</code>. These directives are set to a reasonable defaults for most servers, but you may want to tweak them to best fit your needs. See the <a href="http://httpd.apache.org/docs/2.0/mod/core.html">documentation</a> for more info.</p>
<h3>Limiting the size of an XML Body</h3>
<p>If you&#8217;re running <code>mod_dav</code> (typically used with subversion) then you may want to limit the max size of an XML request body. The <code>LimitXMLRequestBody</code> directive is only available on Apache 2, and its default value is 1 million bytes (approx 1mb). Many tutorials will have you set this value to 0 which means files of any size may be uploaded, which may be necessary if you&#8217;re using WebDAV to upload large files, but if you&#8217;re simply using it for source control, you can probably get away with setting an upper bound, such as 10mb:</p>
<pre>LimitXMLRequestBody 10485760</pre>
<h3>Limiting Concurrency</h3>
<p>Apache has several configuration settings that can be used to adjust handling of concurrent requests. The <code>MaxClients</code> is the maximum number of child processes that will be created to serve requests. This may be set too high if your server doesn&#8217;t have enough memory to handle a large number of concurrent requests.</p>
<p>Other directives such as <code>MaxSpareServers</code>, <code>MaxRequestsPerChild</code>, and on Apache2 <code>ThreadsPerChild</code>, <code>ServerLimit</code>, and <code>MaxSpareThreads</code> are important to adjust to match your operating system, and hardware.</p>
<h3>Restricting Access by IP</h3>
<p>If you have a resource that should only by accessed by a certain network, or IP address you can enforce this in your apache configuration. For instance if you want to restrict access to your intranet to allow only the 176.16 network:</p>
<pre>Order Deny,Allow
Deny from all
Allow from 176.16.0.0/16</pre>
<p>Or by IP:</p>
<pre>Order Deny,Allow
Deny from all
Allow from 127.0.0.1</pre>
<h3>Adjusting KeepAlive settings</h3>
<p>According to the Apache documentation using HTTP Keep Alive&#8217;s can improve client performance by as much as 50%, so be careful before changing these settings, you will be trading performance for a slight denial of service mitigation.</p>
<p>KeepAlive&#8217;s are turned on by default and you should leave them on, but you may consider changing the <code>MaxKeepAliveRequests</code> which defaults to <code>100</code>, and the <code>KeepAliveTimeout</code> which defaults to <code>15</code>. Analyze your log files to determine the appropriate values.</p>
<h3>Run Apache in a Chroot environment</h3>
<p><code>chroot</code> allows you to run a program in its own isolated <em>jail</em>. This prevents a break in on one service from being able to effect anything else on the server.</p>
<p>It can be fairly tricky to <a href="http://penguin.triumf.ca/chroot.html">set this up using <code>chroot</code></a> due to library dependencies. I mentioned above that the <code>mod_security</code> module has built in chroot support. It makes the process as simple as adding a <code>mod_security</code> directive to your configuration:</p>
<pre>SecChrootDir /chroot/apache</pre>
<p>There are however some caveats however, so check out the <a href="http://www.modsecurity.org/documentation/modsecurity-apache-manual-1.9.html#N1082B">docs</a> for more info.</p>
<h4>Acknowledgments</h4>
<p>I have found the book <a title="Apache Security" href="http://www.dealazon.com/product/0596007248">Apache Security</a> to be a highly valuable resource for securing an apache web server. Some of the suggestions listed above were inspired by this book.</p>
<h4></h4>
]]></content:encoded>
			<wfw:commentRss>http://www.pomeroy.us/2011/11/securing-apache-web-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to give and receive feedback</title>
		<link>http://www.pomeroy.us/2011/10/how-to-give-and-receive-feedback/</link>
		<comments>http://www.pomeroy.us/2011/10/how-to-give-and-receive-feedback/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 15:39:59 +0000</pubDate>
		<dc:creator>apomeroy</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://www.networkforensics.us/?p=416</guid>
		<description><![CDATA[From HP headlines: Imagine setting out on a journey without a map and signposts. That’s what it would be like if you tried to do your job without feedback from customers, partners, members of your team, and other key stakeholders, said Piau-Phang (PP) Foo, managing director and senior vice president of Global Sales, Asia Pacific [...]]]></description>
			<content:encoded><![CDATA[<p>From HP headlines:</p>
<p>Imagine setting out on a journey without a map and signposts. That’s what it would be like if you tried to do your job without feedback from customers, partners, members of your team, and other key stakeholders, said Piau-Phang (PP) Foo, managing director and senior vice president of Global Sales, Asia Pacific and Japan (APJ), in a recent Leading Ideas webcast.</p>
<p>Feedback can be a powerful tool to foster learning and drive better performance. “When executed well and on a consistent basis, it helps get people on track,” said Foo. “It serves as a guide to assist people to know how they are doing and how others perceive their performance.”</p>
<p>Foo cited research that shows that companies that provide frequent feedback energize and motivate their workforce to better performance. They have higher levels of customer satisfaction, hire and retain the best talent, and have better business outcomes.</p>
<p>But giving and receiving feedback, which Foo said is “an objective message about behavior and consequences,” can be challenging. And if you’re like many others, you’ve likely had at least one negative experience when feedback degraded into a verbal wrestling match, an argument about who’s right and wrong.</p>
<p>It doesn’t have to be this way, said Foo. With a little bit of knowledge and preparation, all of us can get better at giving and receiving feedback.</p>
<h3>Ten tips for giving feedback</h3>
<p>In his webcast, Foo offered HP leaders a range of practical and inspiring ideas for making feedback a competitive advantage, starting with giving feedback:</p>
<ol>
<li><strong><em>Set expectations.</em></strong>When someone new joins his team, Foo lets that person know that he typically offers prompt feedback. At the same time, he invites the new employee (and everyone else on his team) to give him prompt feedback, as well.</li>
<li><strong><em>Make it informal.</em></strong>Foo tries to make feedback a regular occurrence. “Feedback works best if it is a continual process and not something you do only once or twice a year in a formal session,” he said. “Sometimes, I say to one of my subordinates, ‘Hey, let’s grab a quick lunch so I can give you some feedback.’”</li>
<li><strong><em>Stay focused.</em></strong>Foo says that it is important to focus on just one or two topics at a time—maybe three at the most—so the person receiving feedback is not overwhelmed.</li>
<li><strong><em>Discuss actions, not attributes.</em></strong>People tend to be more open to practical ideas and suggestions that could enhance their job performance than they are to feedback related to aspects of their personality.</li>
<li><strong><em>Be specific.</em></strong>Convey the facts in an objective way, said Foo. For example, describe how an employee’s actions have had an impact on a customer or another member of the team. Avoid expressing emotions and feelings, which can put the other person on the defensive.</li>
<li><strong><em>Check your assumptions.</em></strong>If you plan to give feedback based on something you’ve heard, be sure to investigate the situation for yourself so you can understand the bigger picture and have more empathy. Careless feedback can harm a relationship. “Whatever feedback you give, make sure it’s correct,” Foo said.</li>
<li><strong><em>Be aware of your motivation.</em></strong>People sometimes use “feedback” as a way to get even with or belittle someone. But that’s not true feedback, said Foo. If you are upset about something, take a time out. “Cool down a little bit. Don’t overreact,” he advised.</li>
<li><strong><em>Be balanced.</em></strong>Don’t just focus on the negative. Take a look over a period of time and give specific examples of what the person receiving feedback has done well. Acknowledge his or her contributions to customers and the team.</li>
<li><strong><em>Suggest ways to improve.</em></strong>It’s easy to say that something’s wrong, but the person giving feedback should spend time in advance thinking about ways to improve. “It’s not up to you to come up with all the solutions, but you can start the process,” said Foo.</li>
<li><strong><em>Agree on a time to follow up.</em></strong> Following up can help make feedback stick, but rather than imposing a timeframe, Foo suggests asking the person receiving feedback when he or she would like to talk about the matter again.</li>
</ol>
<h3>Five tips for receiving feedback</h3>
<p>Foo also offered practical insights for receiving feedback:</p>
<ol>
<li><strong><em>Go beyond welcoming feedback; ask for it.</em></strong>If you really want to benefit from feedback, seek it, Foo advised. “Make an effort. It can be as simple as sending a quick email to a colleague and saying, ‘How did I do?’”</li>
<li><strong><em>Manage your emotions.</em></strong>Many of us find it easy to receive feedback when it is positive, but the moment we hear something challenging, we tend to get defensive. “You really need to manage your emotions,” said Foo. “Evaluate the situation before you respond.”</li>
<li><strong><em>Don’t argue, deny, or try to justify.</em></strong>If the feedback you receive catches you by surprise, try to understand the other person’s point of view before you react. Ask for specific examples. For instance, you could say, “When did you see me doing that?”</li>
<li><strong><em>Keep the proper perspective.</em></strong>Feedback usually relates to a specific area of your life, and now you have the opportunity to do something about it. Remember that it’s not about your entire life or you as a person.</li>
<li><strong><em>Take action.</em></strong> After receiving feedback, you have to make a choice: Are you going to act on it, or are you going to ignore it? “I think we have to take action,” said Foo. “If people are willing to give us feedback and we make an effort, it makes an impression.”</li>
</ol>
<h3>Creating a culture of feedback</h3>
<p>Feedback can help us learn, grow, and be more fulfilled in our jobs. It can help our team reach higher levels of performance. For these reasons, Foo suggests letting others know that you are open to receiving feedback. Those who might offer you helpful suggestions include people on your team, others in HP, partners and customers.</p>
<p>“Feedback is one of the cheapest, most flexible, yet most powerful tools available to everybody for personal and business success,” said Foo. “It is also perhaps the most underused tool that we have to facilitate learning. I would encourage everybody to use it more often.”</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pomeroy.us/2011/10/how-to-give-and-receive-feedback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress notes for pomeroy.us</title>
		<link>http://www.pomeroy.us/2011/09/wordpress-notes-for-pomeroy-us/</link>
		<comments>http://www.pomeroy.us/2011/09/wordpress-notes-for-pomeroy-us/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 19:09:48 +0000</pubDate>
		<dc:creator>apomeroy</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.networkforensics.us/?p=390</guid>
		<description><![CDATA[Production site is www.networkforensics.us (or www.pomeroy.us) Development site is dev.networkforensics.us (or dev.pomeroy.us) Assumptions: - webserver root directory is /var/web - production node is called prod - development node is called dev - WordPress database is called wpdb Procedure to copy production WordPress instance to the development node: 1. Copy webserver www root dir via a [...]]]></description>
			<content:encoded><![CDATA[<p>Production site is www.networkforensics.us (or www.pomeroy.us)<br />
Development site is dev.networkforensics.us (or dev.pomeroy.us)</p>
<p>Assumptions:<br />
- webserver root directory is  /var/web<br />
- production node is called  prod<br />
- development node is called  dev<br />
- WordPress database is called  wpdb</p>
<p>Procedure to copy production WordPress instance to the development node:<br />
1. Copy webserver www root dir via a tarball<br />
<code>tar czf prod-20110909.tgz /var/web</code></p>
<p>2. Dump the WordPress database to a MySQL dmp file:<br />
<code>mysqldump -u$mysqluser -p$mysqlpass wpdb | \<br />
&nbsp;gzip -c > prod-20110909.dmp.gz</code></p>
<p>3. Copy these two backup files to the dev node:<br />
<code>scp prod-20110909* user@dev:.</code></p>
<p>On the development node:<br />
4. Unpack the webserver tarball:<br />
<code>mv /var/web /var/web.previous<br />
cd /<br />
tar xzvf prod-20110909.tgz</code></p>
<p>5. Drop the WordPress database and restore the new version:<br />
<code>mysql> drop database wpdb;<br />
mysql> create database wpdp;<br />
$ gunzip prod-20110909.dmp.gz<br />
$ mysql -u$mysqluser -p wpdb < prod-20110909.dmp</code></p>
<p>6. Update the WordPress 'siteurl' and 'home' options to point to the development node:<br />
<code>update wp_options set option_value='http://dev.pomeroy.us' where option_name='siteurl';<br />
update wp_options set option_value='http://dev.pomeroy.us' where option_name='home';</code></p>
<p>Should be all done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pomeroy.us/2011/09/wordpress-notes-for-pomeroy-us/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Indianapolis Food Stops!</title>
		<link>http://www.pomeroy.us/2011/09/indianapolis-food-stops/</link>
		<comments>http://www.pomeroy.us/2011/09/indianapolis-food-stops/#comments</comments>
		<pubDate>Sat, 03 Sep 2011 02:33:57 +0000</pubDate>
		<dc:creator>apomeroy</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[nfl]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://www.networkforensics.us/?p=341</guid>
		<description><![CDATA[Ok, next time we&#8217;re in Indianapolis to see the Colts, we&#8217;re checking out these places: Zest 1134 E. 54th St. Indianapolis, IN 46220 (317) 466-1853 www.zestexcitingfood.com/]]></description>
			<content:encoded><![CDATA[<p>Ok, next time we&#8217;re in Indianapolis to see the Colts, we&#8217;re checking out these places:</p>
<p>Zest<br />
1134 E. 54th St.<br />
Indianapolis, IN 46220<br />
(317) 466-1853<br />
www.zestexcitingfood.com/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pomeroy.us/2011/09/indianapolis-food-stops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Notes</title>
		<link>http://www.pomeroy.us/2010/11/mysql-notes/</link>
		<comments>http://www.pomeroy.us/2010/11/mysql-notes/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 18:13:30 +0000</pubDate>
		<dc:creator>apomeroy</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.networkforensics.us/?p=159</guid>
		<description><![CDATA[MySQL Command Line and Configuration Notes Drop tables with wildcard: There are multiple ways to specify MySQL credentials, this is not the best, but simply an example of how to drop tables using a wildcard pattern. In this case, command line history such as .bash_history will store your MySQL username and password plaintext, and an [...]]]></description>
			<content:encoded><![CDATA[<p><strong>MySQL Command Line and Configuration Notes</strong></p>
<p><strong>Drop tables with wildcard:</strong></p>
<p>There are multiple ways to specify MySQL credentials, this is not the best, but simply an example of how to drop tables using a wildcard pattern. In this case, command line history such as .bash_history will store your MySQL username and password plaintext, and an extended process listing will also reveal both username and password. When run from the command line like this, the SQL commands and the credentials are not stored in the MySQL history file (.mysql_history).  On closed (private) systems, the risk is low, especially if you clean up after these maintenance activities by purging the command histories.</p>
<p><code>mysql -u user -p password database -e "show tables" | grep "table_pattern_to_drop_" | awk '{print "drop table " $1 ";"}' | mysql -u user -p password database</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pomeroy.us/2010/11/mysql-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update WordPress home URL</title>
		<link>http://www.pomeroy.us/2010/11/update-wordpress-home-url/</link>
		<comments>http://www.pomeroy.us/2010/11/update-wordpress-home-url/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 04:04:46 +0000</pubDate>
		<dc:creator>apomeroy</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.networkforensics.us/?p=153</guid>
		<description><![CDATA[There are times when moving or copying WordPress blogs from one server to another, the owner may want to update the URL associated with the specific site. A simple MySQL update can match the WordPress blog to a new site URL: mysql&#62; select option_value from wp_options where option_name = &#39;siteurl&#39;; +--------------------------------+ &#124; option_value&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#124; +--------------------------------+ [...]]]></description>
			<content:encoded><![CDATA[<p>There are times when moving or copying WordPress blogs from one server to another, the owner may want to update the URL associated with the specific site.</p>
<p>A simple MySQL update can match the WordPress blog to a new site URL:</p>
<p>mysql&gt; <code>select option_value from wp_options where option_name = &#39;siteurl&#39;;</code><br />
<code><br />
	+--------------------------------+<br />
	| option_value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br />
	+--------------------------------+<br />
	| http://www.example.com |<br />
	+--------------------------------+<br />
	1 row in set (0.00 sec)</code></p>
<p>mysql&gt; <code>select option_value from wp_options where option_name = &#39;home&#39;;</code><br />
<code><br />
	+--------------------------------+<br />
	| option_value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br />
	+--------------------------------+<br />
	| http://www.example.com |<br />
	+--------------------------------+<br />
	1 row in set (0.00 sec)</code></p>
<p>mysql&gt; <code>update wp_options set option_value=&#39;http://server.newsite.com&#39; where option_name=&#39;siteurl&#39;;</code><br />
<code><br />
	Query OK, 1 row affected (0.00 sec)<br />
	Rows matched: 1&nbsp; Changed: 1&nbsp; Warnings: 0</code></p>
<p>mysql&gt; <code>update wp_options set option_value=&#39;http://server.newsite.com&#39; where option_name=&#39;home&#39;;</code><br />
<code><br />
	Query OK, 1 row affected (0.00 sec)<br />
	Rows matched: 1&nbsp; Changed: 1&nbsp; Warnings: 0<br />
	&nbsp;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pomeroy.us/2010/11/update-wordpress-home-url/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mom did it all</title>
		<link>http://www.pomeroy.us/2010/05/mom-did-it-all/</link>
		<comments>http://www.pomeroy.us/2010/05/mom-did-it-all/#comments</comments>
		<pubDate>Sat, 22 May 2010 04:46:24 +0000</pubDate>
		<dc:creator>apomeroy</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://www.networkforensics.us/?p=116</guid>
		<description><![CDATA[Jan Pomeroy passed away in May 2010. This is what some of her family had to say at her memorial: John: Mom was the quiet strength behind our family. We grew up in a very busy household, first on the Acreage then at Vicary Place. The activities that we participated in while growing up, be [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: medium;">Jan Pomeroy passed away in May 2010. This is what some of her family had to say at her memorial:</span></p>
<p>John:</p>
<p><span style="font-size: medium;">Mom was the quiet strength behind our family. </span></p>
<p><span style="font-size: medium;">We grew up in a very busy household, first on the Acreage then at Vicary Place. The activities that we participated in while growing up, be it; academic, sport or social were facilitated by Mom. </span></p>
<p><span style="font-size: medium;">Throughout my life friends have expressed surprise when they learn that I can cook dinner, wash the dishes, clean the bathroom, iron my shirts, and take out the trash. Of course I can, Mom would not have had it any other way. </span></p>
<p><span style="font-size: medium;">I started mountaineering when I was young. Dad introduced it as one of the many activities the 31</span><sup><span style="font-size: small;">St</span></sup><span style="font-size: medium;"> Tiger Scout Troup was involved in. Climbing became a passion of mine, for many years I spent weekends and the summers climbing at Alpine Club camps or with a few friends. It was Mom that made sure that it was all possible, she made gorpe for breakfasts, she made biscuit and meat bars for my lunches, and she dehydrated everything required for suppers. Mom arranged transportation until I was old enough to drive, she then gave up her own car until I had my own. </span></p>
<p><span style="font-size: medium;">The winters where for skiing, again it was Mom that made all the parts come together. Mom sewed gaiters for us. She then taught us to operate the sewing machine so we could make our down jackets and pants. </span></p>
<p><span style="font-size: medium;">Mom had that ability to keep all of us kids under her protective umbrella while living a very busy and rich life herself. </span></p>
<p><span style="font-size: medium;">It was not until a little later in life when I truly appreciated just how special Mom was. Mom rarely showed or gave voice to her fears about our life style choices.  Although it did poke its head up a few times. Once, I was very late coming down off a particular climb on Yamnuska because we got had gotten off the route, a little lost. When the two of us were sitting behind the car taking off our climbing boots a RCMP cruiser pulled up, the constable rolled down his window and asked “Are you Pomeroy” I said “Yes”, and I got told “Call your Mother”.</span></p>
<p><span style="font-size: medium;">Whatever I did in life Mom supported it, both the failures as well as the successes.</span></p>
<p><span style="font-size: medium;">I consider myself very blessed to have been Janet Pomeroy’s son. I feel like I will always be under her umbrella as I continue through the journey that is my life.</span></p>
<p><span style="font-size: medium;">I am very grateful that I was able to return a little bit of that protective care as Mom needed it.</span></p>
<p><span style="font-size: medium;">Good Bye Mom.</span></p>
<p>Allen:</p>
<p><span style="font-size: medium;">People say that parents set the value and moral goal posts and hope their kids develop the ability to make judgment decisions that would make the parents proud.  Jan did it.</span></p>
<p><span style="font-size: medium;">Mom could cook.  The whole gamut.  For example .. Fresh bread right out of the oven; the kids slicing the heel off both sides of the loaf (before we got caught) .. of course smothered in butter and sometimes, brown sugar.   Her famous Pomeroy family chili.   The chili was just another example of Mom&#8217;s consideration for others.   If the dinner table included guests that didn&#8217;t appreciate the Pomeroy level of spice, she made both Family and Company chili.   Jan just did it.</span></p>
<p><span style="font-size: medium;">Mom exhibited traits that we kids wanted to emulate .. humour, kindness, loyalty, class, complexity and yes .. clairvoyance.   She almost always anticipated what was troubling us or what kind of trouble we got into.  Mom&#8217;s really do have eyes in the back of their heads .. or maybe they are just very good at reading child behavior.  As it turns out, sometimes those forensics really didn&#8217;t have to very good .. she just had to look for the abnormally clean house to know there was a party while the parents were away.  Then Jan really did it.</span></p>
<p><span style="font-size: medium;">Mom really knew how to do things.  Whether it was her kids or her long time friends asking for help or advice on how to tackle a particular problem, we all thought: “Jan will know”.  Of course.  Jan&#8217;s done it.</span></p>
<p><span style="font-size: medium;">Mom was the organizational glue that held the family and her friends together whether it was camping, skiing, hiking, making wine, or just keeping all of the kids in line, Jan did it.</span></p>
<p><span style="font-size: medium;">Mom could make all of us kids (including Dad) and her friends succeed by quietly and gracefully supporting and encouraging us to do the right things. Jan just did it.</span></p>
<p><span style="font-size: medium;">Mom will be missed, but she leaves a rich legacy: her kids and grandkids can cook, hike, camp, make beer, build houses and companies, perform forensics, engineer, and continually strive for more education and growth.   I know her family and friends are richer because of her influence.</span></p>
<p><span style="font-size: medium;">Now we all do it.</span></p>
<p><span style="font-size: medium;">I would like to take this chance to extend a deep thank you to all the out-of-town travelers, our in-town friends and family, as well as the skilled and caring staff at EMS, Foothills Medical Centre Unit 100 and Chinook Hospice.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pomeroy.us/2010/05/mom-did-it-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux and Mac OS X bash_history nuggets</title>
		<link>http://www.pomeroy.us/2010/01/bash_history/</link>
		<comments>http://www.pomeroy.us/2010/01/bash_history/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 17:42:20 +0000</pubDate>
		<dc:creator>apomeroy</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://www.networkforensics.us/?p=103</guid>
		<description><![CDATA[Here&#8217;s some notable CLI entries that I refer to occassionally. You can also select the Notes category and you&#8217;ll get more specific topics such as Linux LVM and Mac OS X commands. Mac OS X: sudo /usr/sbin/sysctl -w net.inet.ip.fw.enable=1 sudo /sbin/ipfw -q /etc/firewall.conf sudo ifconfig en0 lladdr 00:1e:c2:0f:86:10 sudo ifconfig en1 alias 192.168.0.10 netmask 255.255.255.0 [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s some notable CLI entries that I refer to occassionally. You can also select the Notes category and you&#8217;ll get more specific topics such as Linux LVM and Mac OS X commands.</p>
<p>Mac OS X:<br />
<code><br />
sudo /usr/sbin/sysctl -w net.inet.ip.fw.enable=1<br />
sudo /sbin/ipfw -q /etc/firewall.conf<br />
sudo ifconfig en0 lladdr 00:1e:c2:0f:86:10<br />
sudo ifconfig en1 alias 192.168.0.10 netmask 255.255.255.0<br />
sudo ifconfig en1 -alias 192.168.0.10<br />
sudo route add -net 10.2.1.0/24 10.3.1.1<br />
</code></p>
<p>Linux:<br />
rpm commands:<br />
List files in an rpm file<br />
<code>rpm -qlp package-name.rpm<br />
</code><br />
List files associated with an already installed package<br />
<code>rpm --query –-filesbypkg package-name<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pomeroy.us/2010/01/bash_history/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows/AD Notes</title>
		<link>http://www.pomeroy.us/2009/10/windowsad-notes/</link>
		<comments>http://www.pomeroy.us/2009/10/windowsad-notes/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 16:40:00 +0000</pubDate>
		<dc:creator>apomeroy</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.networkforensics.us/?p=89</guid>
		<description><![CDATA[Find all the AD groups a particular user belongs to: dsquery user -samid username &#124; dsget user -memberof Find all members of an AD group: dsquery group -samid groupname &#124; dsget group -members Find all inactive users: dsquery  user -disabled -inactive 12 &#160;]]></description>
			<content:encoded><![CDATA[<p>Find all the AD groups a particular user belongs to:<br />
<code>dsquery user -samid username | dsget user -memberof</code></p>
<p>Find all members of an AD group:<br />
<code>dsquery group -samid groupname | dsget group -members</code></p>
<p>Find all inactive users:<br />
dsquery  user -disabled -inactive 12</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pomeroy.us/2009/10/windowsad-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

