<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Networking on smcleod.net</title>
    <link>https://smcleod.net/tags/networking/</link>
    <description>Recent content in Networking on smcleod.net</description>
    <image>
      <title>smcleod.net</title>
      <url>https://smcleod.net/logo-painted-350.svg</url>
      <link>https://smcleod.net/logo-painted-350.svg</link>
    </image>
    <generator>Hugo -- 0.152.2</generator>
    <language>en</language>
    <lastBuildDate>Wed, 02 Sep 2026 09:01:14 +1000</lastBuildDate>
    <atom:link href="https://smcleod.net/tags/networking/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Broadcom, Or How I Learned To Start Worrying And Drop The Packet</title>
      <link>https://smcleod.net/2017/10/broadcom-or-how-i-learned-to-start-worrying-and-drop-the-packet/</link>
      <pubDate>Fri, 13 Oct 2017 00:00:00 +0000</pubDate>
      <guid>https://smcleod.net/2017/10/broadcom-or-how-i-learned-to-start-worrying-and-drop-the-packet/</guid>
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://smcleod.net/2017/10/broadcom-or-how-i-learned-to-start-worrying-and-drop-the-packet/office-space-broadcom.jpg&#34;&gt;&lt;/p&gt;
&lt;p&gt;Earlier this week we started the process to upgrade one of our hypervisor compute clusters when we encountered a rather painful bug with HP&amp;rsquo;s Broadcom NIC chipsets.&lt;/p&gt;
&lt;p&gt;We were part way through a routine rolling pool upgrade of our hypervisor (XenServer) cluster when we observed unexpected and intermittent loss of connectivity between several VMs, then entire XenServer hosts.&lt;/p&gt;
&lt;p&gt;The problems appeared to impact hosts that hadn&amp;rsquo;t yet upgraded to XenServer 7.2. We now attribute this to a symptom of extreme packet loss between the hosts in the pool and thanks to buggy firmware from Broadcom and HP.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Speeding Up rsync</title>
      <link>https://smcleod.net/2016/05/speeding-up-rsync/</link>
      <pubDate>Tue, 03 May 2016 00:00:00 +0000</pubDate>
      <guid>https://smcleod.net/2016/05/speeding-up-rsync/</guid>
      <description>&lt;p&gt;The most common way to use rsync is probably as such:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;rsync -avr user@&amp;lt;source&amp;gt;:&amp;lt;source_dir&amp;gt; &amp;lt;dest_dir&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Resulting in 30-35MB/s depending on file sizes&lt;/p&gt;
&lt;p&gt;This can be improved by using a more efficient, less secure encryption algorithm, disabling compression
and telling the SSH client to disable some unneeded features that slow things down.&lt;/p&gt;
&lt;p&gt;With the settings below I have achieved 100MB/s (at work between VMs) and over 300MB/s at home between SSD drives.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Replacing Junos Pulse with OpenConnect</title>
      <link>https://smcleod.net/2015/09/replacing-junos-pulse-with-openconnect/</link>
      <pubDate>Tue, 22 Sep 2015 00:00:00 +0000</pubDate>
      <guid>https://smcleod.net/2015/09/replacing-junos-pulse-with-openconnect/</guid>
      <description>&lt;p&gt;In an attempt to avoid using the Juniper Pulse (Now Pulse Secure) VPN client we tried OpenConnect but found that DNS did not work correctly when connected to the VPN.
This bug has now been resolved recently but has not made it&amp;rsquo;s way into a new build, in fact there have been no releases for 6 months.&lt;/p&gt;
&lt;p&gt;Luckily the OpenConnect was not too difficult to build from source.&lt;/p&gt;
&lt;h2 id=&#34;build-openconnect-on-osx&#34;&gt;Build OpenConnect on OSX&lt;/h2&gt;
&lt;h3 id=&#34;remove-old-openconnect-and-install-deps&#34;&gt;Remove old openconnect and install deps&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;brew remove openconnect
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;brew install libxml2 lzlib openssl libtool libevent
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;build-openconnect&#34;&gt;Build openconnect&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;wget git.infradead.org/users/dwmw2/openconnect.git/snapshot/0f1ec30d17aa674142552e275bf3fac30d891b39.tar.gz
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;tar zxvf 0f1ec30d17aa674142552e275bf3fac30d891b39.tar.gz
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;cd&lt;/span&gt; openconnect-0f1ec30
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;LIBTOOLIZE&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;glibtoolize ./autogen.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;PATH&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;/usr/local/opt/gettext/bin:&lt;span class=&#34;nv&#34;&gt;$PATH&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;./configure
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;make
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;make install
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;to-connect&#34;&gt;To connect&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo openconnect --juniper -u myusername www.myserver.com
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you&amp;rsquo;re comfortable with allowing admin users to run openconnect without entering a sudo password, add the following using &lt;code&gt;sudo visudo&lt;/code&gt;:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
