<?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>Bits of Arrogance &#187; HowTo</title>
	<atom:link href="https://www.crummylogic.com/wordpress/?feed=rss2&#038;tag=howto" rel="self" type="application/rss+xml" />
	<link>https://www.crummylogic.com/wordpress</link>
	<description>Making myself pervasive</description>
	<lastBuildDate>Wed, 04 Oct 2017 17:25:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.4</generator>
	<item>
		<title>Host ownCloud behind your nginx reverse proxy</title>
		<link>https://www.crummylogic.com/wordpress/?p=410</link>
		<comments>https://www.crummylogic.com/wordpress/?p=410#comments</comments>
		<pubDate>Fri, 15 Jul 2016 13:34:19 +0000</pubDate>
		<dc:creator><![CDATA[jrdalrymple]]></dc:creator>
				<category><![CDATA[Technology junk]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[ownCloud]]></category>
		<category><![CDATA[reverse proxy]]></category>

		<guid isPermaLink="false">http://www.crummylogic.com/wordpress/?p=410</guid>
		<description><![CDATA[If you&#8217;re like me your public IP space is limited (/28 in my case) and your hosting needs are diverse. Lot&#8217;s of websites behind my 1 nginx reverse proxy that you&#8217;re using right now to load this site&#8217;s content. My configuration is pretty simple and really cool in my opinion. All of my SSL is &#8230; <a href="https://www.crummylogic.com/wordpress/?p=410" class="more-link">Continue reading <span class="screen-reader-text">Host ownCloud behind your nginx reverse proxy</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re like me your public IP space is limited (/28 in my case) and your hosting needs are diverse. Lot&#8217;s of websites behind my 1 nginx reverse proxy that you&#8217;re using right now to load this site&#8217;s content.</p>
<p>My configuration is pretty simple and really cool in my opinion. All of my SSL is terminated on my reverse proxy so I don&#8217;t have to manage certificates inside my network at all. While this configuration isn&#8217;t particularly exotic, I thought it might be worth sharing anyway. I bet someone will someday find good use from it:</p>
<pre>
server {
   listen  80;
   server_name     owncloud.example.net;
   rewrite ^       https://$server_name$request_uri? permanent;
}

server {
        listen       443;
        server_name  owncloud.example.net;

        ssl                  on;
        ssl_certificate      /etc/nginx/conf.d/ssl/owncloud.example.net.bundle.crt;
        ssl_certificate_key  /etc/nginx/conf.d/ssl/owncloud.example.net.key;
# Ridiculously high timeout due to long requests for uploads
        ssl_session_timeout  5m;

        ssl_protocols  SSLv2 SSLv3 TLSv1;
        ssl_ciphers  HIGH:!aNULL:!MD5;

        access_log  /var/log/nginx/owncloud.example.net.log main;

        proxy_redirect  off;
        proxy_set_header        Host    $host;
        proxy_set_header        X-Real-IP       $remote_addr;
        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_buffering         off;
        proxy_set_header Connection     "Keep-Alive";

# Allow uploads up to 16GB in size
        client_max_body_size    16000m;

# transparently handle requests to server root
        location / {
                rewrite ^ https://owncloud.example.net/owncloud$request_uri redirect;
        }

        location /owncloud {
# owncloud.example.local is your actual owncloud server inside your network
                proxy_pass http://owncloud.example.local:80/owncloud;
        }

}
</pre>
<p>This works, not only the web client but also the mobile and desktop clients. I put in the neat rewrite rule so that users can just type the server name and don&#8217;t have to get excited about the owncloud URI component. ownCloud is installed using default configurations on the internal server, no complex configurations or anything there. I love nginx reverse proxying.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.crummylogic.com/wordpress/?feed=rss2&#038;p=410</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS sieve authentication using saslauthd</title>
		<link>https://www.crummylogic.com/wordpress/?p=404</link>
		<comments>https://www.crummylogic.com/wordpress/?p=404#comments</comments>
		<pubDate>Sun, 03 Jul 2016 21:37:44 +0000</pubDate>
		<dc:creator><![CDATA[jrdalrymple]]></dc:creator>
				<category><![CDATA[Technology junk]]></category>
		<category><![CDATA[Cyrus]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SASL]]></category>
		<category><![CDATA[sieve]]></category>

		<guid isPermaLink="false">http://www.crummylogic.com/wordpress/?p=404</guid>
		<description><![CDATA[Quick solution to an infuriating problem. Cyrus IMAP server is installed and authenticating just fine using saslauthd to my Active Directory: /etc/imapd.conf: ...snip... sievedir: /var/lib/imap/sieve sendmail: /usr/sbin/sendmail sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN LOGIN ...snip... /etc/sysconfig/saslauthd: SOCKETDIR=/run/saslauthd MECH=ldap FLAGS="-r" However I can&#8217;t get my sieve clients including sieveshell to authenticate: [root@mailserver /]# sieveshell --user="first.last@example.com" --authname="first.last@example.com" localhost connecting &#8230; <a href="https://www.crummylogic.com/wordpress/?p=404" class="more-link">Continue reading <span class="screen-reader-text">CentOS sieve authentication using saslauthd</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Quick solution to an infuriating problem.</p>
<p>Cyrus IMAP server is installed and authenticating just fine using saslauthd to my Active Directory:</p>
<p>/etc/imapd.conf:</p>
<pre>
...snip...
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
...snip...
</pre>
<p>/etc/sysconfig/saslauthd:</p>
<pre>
SOCKETDIR=/run/saslauthd
MECH=ldap
FLAGS="-r"
</pre>
<p>However I can&#8217;t get my sieve clients including sieveshell to authenticate:</p>
<pre>
[root@mailserver /]# sieveshell --user="first.last@example.com" --authname="first.last@example.com" localhost
connecting to localhost
connect: Connection refused
unable to connect to server at /bin/sieveshell line 170.
</pre>
<p>Telnet-ing in yielded no auth mech&#8217;s presented:</p>
<pre>
[root@mailserver /]# telnet localhost sieve
Trying ::1...
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v2.4.17-Fedora-RPM-2.4.17-8.el7_1"
"SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy"
"STARTTLS"
"UNAUTHENTICATE"
OK
</pre>
<p>No auth mech&#8217;s listed, e.g. PLAIN, LOGIN, etc. What gives? The search string &#8220;timsieved sasl_auth_mech&#8221; yielded 3 results on Google, luckily <a href="https://www.wogri.at/tutorials/cyrus-sieve/">this page</a> was one of them. How often is it simply that some package you need isn&#8217;t installed?</p>
<pre>
[root@mailserver /]# yum -y install cyrus-sasl-plain
</pre>
<p>That&#8217;s it:</p>
<pre>
[root@mailserver /]# telnet localhost sieve
Trying ::1...
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v2.4.17-Fedora-RPM-2.4.17-8.el7_1"
"SASL" "PLAIN LOGIN"
"SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy"
"STARTTLS"
"UNAUTHENTICATE"
OK
</pre>
<p>Another takeaway I learned &#8211; if you want disable TLS for just Cyrus sieve adjust your /etc/cyrus.conf as such:</p>
<pre>
  sieve         cmd="timsieved" -C /etc/sieve.conf listen="sieve" prefork=0
</pre>
<p>And just modify the /etc/sieve.conf file to suit your needs. I know this has caused me issues in the past and never knew it could be tuned separate of imapd.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.crummylogic.com/wordpress/?feed=rss2&#038;p=404</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenIndiana ZFS backed iSCSI SAN &#8211; Resize Volumes</title>
		<link>https://www.crummylogic.com/wordpress/?p=400</link>
		<comments>https://www.crummylogic.com/wordpress/?p=400#comments</comments>
		<pubDate>Mon, 11 Apr 2016 19:03:37 +0000</pubDate>
		<dc:creator><![CDATA[jrdalrymple]]></dc:creator>
				<category><![CDATA[Technology junk]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenIndiana]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://www.crummylogic.com/wordpress/?p=400</guid>
		<description><![CDATA[I banged my head for a couple minutes. Resizing the ZFS is easy peasy right? root@oi-storage:~# zfs get -Hp volsize pool0/kvm/kvmdomain pool0/kvm/kvmdomain       volsize 42949672960     local Well of course that isn&#8217;t big enough&#8230; root@oi-storage:~# zfs set volsize=42956488704 pool0/kvm/kvmdomain No problemo, now just rescan on the Linux side right? [root@linux-hv ~]# iscsiadm -m node --targetname iqn.2010-09.org.openindiana:02:6640d696-90b3-6709-804e-da40a0ffffff -R &#8230; <a href="https://www.crummylogic.com/wordpress/?p=400" class="more-link">Continue reading <span class="screen-reader-text">OpenIndiana ZFS backed iSCSI SAN &#8211; Resize Volumes</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I banged my head for a couple minutes. Resizing the ZFS is easy peasy right?</p>
<pre>root@oi-storage:~# zfs get -Hp volsize pool0/kvm/kvmdomain
 pool0/kvm/kvmdomain       volsize 42949672960     local</pre>
<p>Well of course that isn&#8217;t big enough&#8230;</p>
<pre>root@oi-storage:~# zfs set volsize=42956488704 pool0/kvm/kvmdomain</pre>
<p>No problemo, now just rescan on the Linux side right?</p>
<pre>[root@linux-hv ~]# iscsiadm -m node --targetname iqn.2010-09.org.openindiana:02:6640d696-90b3-6709-804e-da40a0ffffff -R
[root@linux-hv ~]# dmesg
  ...
[1329034.807613] sd 4:0:0:0: [sdc] 83886080 512-byte logical blocks: (42.9 GB/40.0 GiB)
  ...</pre>
<p>Hmm&#8230; that didn&#8217;t do it (512 * 83886080 = 42949672960). I banged around a little bit and found what I was missing:</p>
<pre>root@oi-storage:~# sbdadm modify-lu -s 42956488704 600144f0340b80c719ff570bb7460001</pre>
<p>Then the Linux rescan yielded more useful results:</p>
<pre>[root@linux-hv ~]# dmesg
  ...
[1340836.125483] sdc: detected capacity change from 42949672960 to 42956488704</pre>
]]></content:encoded>
			<wfw:commentRss>https://www.crummylogic.com/wordpress/?feed=rss2&#038;p=400</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell Bluetooth 365 on Windows 10</title>
		<link>https://www.crummylogic.com/wordpress/?p=358</link>
		<comments>https://www.crummylogic.com/wordpress/?p=358#comments</comments>
		<pubDate>Tue, 11 Aug 2015 01:44:04 +0000</pubDate>
		<dc:creator><![CDATA[jrdalrymple]]></dc:creator>
				<category><![CDATA[Motorized junk]]></category>
		<category><![CDATA[Technology junk]]></category>
		<category><![CDATA[Apathy]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[JetSki]]></category>
		<category><![CDATA[Latitude E4200]]></category>
		<category><![CDATA[Windows 10]]></category>

		<guid isPermaLink="false">http://www.crummylogic.com/wordpress/?p=358</guid>
		<description><![CDATA[I&#8217;m desperately waiting for my parts from Short Block Technologies so that I can get going on the 750sx project. The good news is their ridiculously slow service/shipping gave me all of last weekend to try to get the Bluetooth working properly on my trusty old Latitude E4200. I was at the verge of just buying a &#8230; <a href="https://www.crummylogic.com/wordpress/?p=358" class="more-link">Continue reading <span class="screen-reader-text">Dell Bluetooth 365 on Windows 10</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m desperately waiting for my parts from <a href="http://www.shopsbt.com/">Short Block Technologies</a> so that I can get going on the 750sx project. The good news is their ridiculously slow service/shipping gave me all of last weekend to try to get the Bluetooth working properly on my trusty old Latitude E4200. I was at the verge of just buying a new laptop, but I really, really, really hate spending money on portable computers in 2015. I hated it in 2010, I wish they&#8217;d just die already. To make matters worse my mom let me borrow her modern Latitude 7350 &#8211; it made me beyond the shadow of a doubt not want to buy anything new.</p>
<p>Thus I spent no doubt a good 4 hours or so troubleshooting/uninstalling/fiddling/thissing/thatting the Bluetooth device and software on my trusty old beast. There are a few forum posts indicating this and that, try Lenovo software, try Broadcom&#8217;s update, try old drivers in compatibility mode. It all sucked.</p>
<p>Backing up a step it&#8217;s worth outlining the symptoms &#8211; after the Win10 upgrade both my Microsoft Sculpt Bluetooth mouse and my Microsoft Curve Bluetooth keyboard worked somewhat, but the features weren&#8217;t right. I unpaired and discovered no ability to re-pair.</p>
<p>All of my searching led me here &#8211; <a href="http://en.community.dell.com/support-forums/network-internet-wireless/f/3324/t/19489065">a forum post more about Windows 8, but similar problem</a>. The solution is to use some older Lenovo software.</p>
<p>No compatibility, no BS, it just worked. I did have to unpair then re-pair when finished. Also at the end of the install it did indicate failure, but that is apparently not the case.</p>
<p>Quick link: <a href="http://tinyurl.com/b8fptwr">http://tinyurl.com/b8fptwr</a></p>
<p>Now back to being angry about my missing boat parts.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.crummylogic.com/wordpress/?feed=rss2&#038;p=358</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
