<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"><channel><title>civilfritz.net (Posts about changelog)</title><link>https://civilfritz.net/</link><description></description><atom:link href="https://civilfritz.net/tags/changelog.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2026 Jonathon Anderson, licensed CC BY-SA 4.0</copyright><lastBuildDate>Thu, 26 Nov 2026 16:01:53 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Migrating to LDAP PAM Pass Through Auth</title><link>https://civilfritz.net/posts/ldap-pam-passthrough/</link><dc:creator>Jonathon Anderson</dc:creator><description>&lt;p&gt;The Research Computing authentication path is more complex than I'd
like.&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;We start with &lt;code class="docutils literal"&gt;pam_sss&lt;/code&gt; which, of course, authenticates against
sssd.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Because we have users from multiple home institutions, both internal
and external, sssd is configured with multiple domains.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Two of our configured domains authenticate against Duo and Active
Directory. To support this we run two discrete instances of the &lt;a class="reference external" href="https://duo.com/docs/authproxy-reference"&gt;Duo
authentication proxy&lt;/a&gt;, one for each domain.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Duo authentication proxy can present either an LDAP or RADIUS
interface. We went with RADIUS. So sssd is configured with
&lt;code class="docutils literal"&gt;auth_provider = proxy&lt;/code&gt;, with a discrete pam stack for each
domain. This pam stack uses &lt;code class="docutils literal"&gt;pam_radius&lt;/code&gt; to authenticate against
the correct Duo authentication proxy.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The relevant Duo authentication proxy then performs AD
authentication to the relevant authoritative domain and, on success,
performs Duo authentication for second factor.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All of this technically works, and has been working for some
time. However, we've increasingly seen a certain bug in sssd's
&lt;code class="docutils literal"&gt;proxy&lt;/code&gt; authentication provider, which manifests as an incorrect
monitoring or management of authentication threads.&lt;/p&gt;
&lt;section id="the-problem"&gt;
&lt;h2&gt;The problem&lt;/h2&gt;
&lt;pre class="literal-block"&gt;[sssd[be[rc.colorado.edu]]] [dp_attach_req] (0x0400): Number of active DP request: 32&lt;/pre&gt;
&lt;p&gt;sssd maintains a number of pre-forked children for performing this
proxy authentication. This defaults to 10 threads, and is configurable
per-domain as &lt;code class="docutils literal"&gt;proxy_max_children&lt;/code&gt;. Somewhere in sssd a bug exists
that either prevents threads from being closed properly or fails to
decrement the active thread count when they are closed. When the
"Number of active DP request" exceeds &lt;code class="docutils literal"&gt;proxy_max_children&lt;/code&gt; sssd will
no longer perform authentication for the affected domain.&lt;/p&gt;
&lt;p&gt;We have &lt;a class="reference external" href="https://access.redhat.com/support/cases/#/case/02704264"&gt;reported this issue to Red Hat&lt;/a&gt;, but 8 months on and we
still don't have a fix. Meanwhile, I'm interested in simplifying our
authentication path, hopefully removing the &lt;code class="docutils literal"&gt;proxy&lt;/code&gt; authentication
provider from our configuration in the process, and making sssd
optional for authentication in our environment.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="our-solution"&gt;
&lt;h2&gt;Our solution&lt;/h2&gt;
&lt;p&gt;We use &lt;a class="reference external" href="https://directory.fedoraproject.org/"&gt;389 Directory Server&lt;/a&gt; as our local LDAP server. 389 has with
it &lt;a class="reference external" href="https://directory.fedoraproject.org/docs/389ds/howto/howto-pam-pass-through.html"&gt;the capability to proxy authentication via PAM&lt;/a&gt;. A previous
generation RC LDAP used this to perform authentication; but only in a
way that supported a single authentication path. However, with some
research and experimentation, we have managed to configure our
instance with different proxy authentication paths for each of our
child domains.&lt;/p&gt;
&lt;p&gt;First we simply activate the &lt;code class="docutils literal"&gt;PAM Pass Through Auth&lt;/code&gt; plugin by
setting &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;nsslapd-pluginEnabled:&lt;/span&gt; on&lt;/code&gt; in the existing LDAP entry.&lt;/p&gt;
&lt;pre class="literal-block"&gt;dn: cn=PAM Pass Through Auth,cn=plugins,cn=config
objectClass: top
objectClass: nsSlapdPlugin
objectClass: extensibleObject
objectClass: pamConfig
cn: PAM Pass Through Auth
nsslapd-pluginPath: libpam-passthru-plugin
nsslapd-pluginInitfunc: pam_passthruauth_init
nsslapd-pluginType: betxnpreoperation
nsslapd-pluginEnabled: on
nsslapd-pluginloadglobal: true
nsslapd-plugin-depends-on-type: database
pamMissingSuffix: ALLOW
pamExcludeSuffix: cn=config
pamIDMapMethod: RDN
pamIDAttr: uid
pamFallback: FALSE
pamSecure: TRUE
pamService: ldapserver
nsslapd-pluginId: pam_passthruauth
nsslapd-pluginVersion: 1.3.4.0
nsslapd-pluginVendor: 389 Project
nsslapd-pluginDescription: PAM pass through authentication plugin&lt;/pre&gt;
&lt;p&gt;The specifics of authentication can be specified at this level as
well, if we're able to express our desired behavior in a single
configuration. However, the plugin supports multiple simultaneous
configurations expressed as nested LDAP entries.&lt;/p&gt;
&lt;pre class="literal-block"&gt;dn: cn=colorado.edu PAM,cn=PAM Pass Through Auth,cn=plugins,cn=config
objectClass: pamConfig
objectClass: top
cn: colorado.edu PAM
pamMissingSuffix: ALLOW
pamExcludeSuffix: cn=config
pamIDMapMethod: RDN ENTRY
pamIDAttr: uid
pamFallback: FALSE
pamSecure: TRUE
pamService: curc-twofactor-duo
pamFilter: (&amp;amp;(objectClass=posixAccount)(!(homeDirectory=/home/*@*)))


dn: cn=colostate.edu PAM,cn=PAM Pass Through Auth,cn=plugins,cn=config
objectClass: pamConfig
objectClass: top
cn: colostate.edu PAM
pamMissingSuffix: ALLOW
pamExcludeSuffix: cn=config
pamIDMapMethod: RDN ENTRY
pamIDAttr: uid
pamFallback: FALSE
pamSecure: TRUE
pamService: csu
pamFilter: (&amp;amp;(objectClass=posixAccount)(homeDirectory=/home/*@colostate.edu))&lt;/pre&gt;
&lt;p&gt;Our two sets of users are authenticated using different PAM stacks, as
before. Only now this proxy authentication is happening within the
LDAP server, rather than within sssd. This may seem like a small
difference, but there are multiple benefits:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;The proxy configuration exists, and need be maintained, only
within the LDAP server. It does not require all login nodes to run
sssd and a complex, multi-tiered PAM stack.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The LDAP "PAM Pass Through Auth" plugin does not have the same bug
as the sssd &lt;code class="docutils literal"&gt;proxy&lt;/code&gt; authentication method, bypassing our immediate
problem.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Applications that do not support PAM authentication, such as XDMoD,
Foreman, and Grafana, can now be configured with simple LDAP
authentication, and need not know anything of the complexity of
authenticating our multiple domains.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For now I'm differentiating our different user types based on the name
of their home directory, because it happens to include the relevant
domain suffix. In the future we expect to update usernames in the
directory to match and would then likely update this configuration to
use &lt;code class="docutils literal"&gt;uid&lt;/code&gt;.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="cleaning-up-a-few-remaining-issues"&gt;
&lt;h2&gt;Cleaning up a few remaining issues&lt;/h2&gt;
&lt;p&gt;However, when I first tied this back into sssd, I DoS'd our LDAP
server.&lt;/p&gt;
&lt;pre class="literal-block"&gt;[domain/rc.colorado.edu]
debug_level = 3

description = CU Boulder Research Computing
id_provider = ldap
auth_provider = ldap
chpass_provider = none

min_id=1000
enumerate = false
entry_cache_timeout = 300

ldap_id_use_start_tls = True
ldap_tls_reqcert = allow
ldap_uri = ldap://ldap.rc.int.colorado.edu
ldap_search_base = dc=rc,dc=int,dc=colorado,dc=edu
ldap_user_search_base = ou=UCB,ou=People,dc=rc,dc=int,dc=colorado,dc=edu
ldap_group_search_base = ou=UCB,ou=Groups,dc=rc,dc=int,dc=colorado,dc=edu&lt;/pre&gt;
&lt;p&gt;This seemed simple enough: when I would try to authenticate using this
configuration, I would enter my password as usual and then respond to
a Duo "push." But the authentication never cleared in sssd, and I
would keep receiving Duo pushes until I stopped sssd. This despite the
fact that I could authenticate with &lt;code class="docutils literal"&gt;ldapsearch&lt;/code&gt; as expected.&lt;/p&gt;
&lt;pre class="literal-block"&gt;$ ldapsearch -LLL -x -ZZ -D uid=[redacted],ou=UCB,ou=People,dc=rc,dc=int,dc=colorado,dc=edu -W '(uid=[redacted])' dn
Enter LDAP Password:
dn: uid=[redacted],ou=UCB,ou=People,dc=rc,dc=int,dc=colorado,dc=edu&lt;/pre&gt;
&lt;p&gt;I eventually discovered that sssd has a six-second timeout for "calls
to synchronous LDAP APIs," including BIND. This timeout is entirely
reasonable--even generous--for operations that do not have a manual
intervention component. But when BIND includes time to send a
notification to a phone, unlock the phone, and acknowledge the
notification in an app, it is easy to exceed this timeout. sssd gives
up and tries again, prompting a new push that won't be received until
the first is addressed. In this way, the timeouts just extend against
each other.&lt;/p&gt;
&lt;p&gt;Thankfully, this timeout is also configurable as &lt;code class="docutils literal"&gt;ldap_opt_timeout&lt;/code&gt;
in the relevant sssd domain section. I went with &lt;code class="docutils literal"&gt;ldap_opt_timeout =
90&lt;/code&gt;, which is likely longer than anyone will need.&lt;/p&gt;
&lt;p&gt;There is still the matter of the fact that this DoS'd the LDAP server,
however. I suspect I had exhausted &lt;a class="reference external" href="https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/performance_tuning_guide/ds-threads"&gt;the number of directory server
threads&lt;/a&gt; with pending, long-living (due to manual intervention
required / timeout) BIND requests.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The number of threads Directory Server uses to handle simultaneous
connections affects the performance of the server. For example, if
all threads are busy handling time-consuming tasks (such as add
operations), new incoming connections are queued until a free
thread can process the request.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Red Hat suggests that &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;nsslapd-threadnumber&lt;/span&gt;&lt;/code&gt; should be 32 for an
eight-CPU system like ours; so for now I simply increased it to this
recommendation from 16. If we continue to experience thread exhaustion
in real-world use, we can always increase the number of threads again.&lt;/p&gt;
&lt;/section&gt;</description><category>changelog</category><category>technology</category><guid>urn:uuid:2fb28fc3-59aa-4d3d-b4d2-820af5c9942f</guid><pubDate>Thu, 18 Mar 2021 06:00:00 GMT</pubDate></item><item><title>digging into BeeGFS striping</title><link>https://civilfritz.net/posts/digging-into-beegfs-striping/</link><dc:creator>Jonathon Anderson</dc:creator><description>&lt;p&gt;I did some work today figuring out how BeeGFS actually writes its data
to disk. I shudder to think that we’d actually use this knowledge; but
I still found it interesting, so I want to share.&lt;/p&gt;
&lt;p&gt;First, I created a simple striped file in the rcops allocation.&lt;/p&gt;
&lt;pre class="literal-block"&gt;[root@boss2 rcops]# beegfs-ctl --createfile testfile --numtargets=2 --storagepoolid=2
Operation succeeded.&lt;/pre&gt;
&lt;p&gt;This file will stripe across two targets (chosen by BeeGFS at random)
and is using the default 1M chunksize for the rcops storage pool. You
can see this with &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;beegfs-ctl&lt;/span&gt; &lt;span class="pre"&gt;--getentryinfo&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;pre class="literal-block"&gt;[root@boss2 rcops]# beegfs-ctl --getentryinfo /mnt/beegfs/rcops/testfile --verbose
EntryID: 9-5F7E8E87-1
Metadata buddy group: 1
Current primary metadata node: bmds1 [ID: 1]
Stripe pattern details:
+ Type: RAID0
+ Chunksize: 1M
+ Number of storage targets: desired: 2; actual: 2
+ Storage targets:
  + 826 @ boss1 [ID: 1]
  + 834 @ boss2 [ID: 2]
Chunk path: uF4240/5BED/E/0-5BEDEB51-1/9-5F7E8E87-1
Dentry path: 50/4/0-5BEDEB51-1/&lt;/pre&gt;
&lt;p&gt;I write an easily-recognized dataset to the file: 1M of &lt;code class="docutils literal"&gt;A&lt;/code&gt; to the
file; then 1M of &lt;code class="docutils literal"&gt;B&lt;/code&gt; and so-on.&lt;/p&gt;
&lt;pre class="literal-block"&gt;[root@boss2 rcops]# python -c 'import sys; sys.stdout.write("A"*(1024*1024))' &amp;gt;&amp;gt;testfile
[root@boss2 rcops]# python -c 'import sys; sys.stdout.write("B"*(1024*1024))' &amp;gt;&amp;gt;testfile
[root@boss2 rcops]# python -c 'import sys; sys.stdout.write("C"*(1024*1024))' &amp;gt;&amp;gt;testfile
[root@boss2 rcops]# python -c 'import sys; sys.stdout.write("D"*(1024*1024))' &amp;gt;&amp;gt;testfile&lt;/pre&gt;
&lt;p&gt;This gives me a 4M file, precisely 1024*1024*4=4194304 bytes.&lt;/p&gt;
&lt;pre class="literal-block"&gt;[root@boss2 rcops]# du --bytes --apparent-size testfile
4194304     testfile&lt;/pre&gt;
&lt;p&gt;Those two chunk files, as identified by &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;beegfs-ctl&lt;/span&gt; &lt;span class="pre"&gt;--getentryinfo&lt;/span&gt;&lt;/code&gt;,
are at
&lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;/data/boss207/rcops/storage/chunks/uF4240/5BED/E/0-5BEDEB51-1/9-5F7E8E87-1&lt;/span&gt;&lt;/code&gt;
and
&lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;/data/boss106/rcops/chunks/uF4240/5BED/E/0-5BEDEB51-1/9-5F7E8E87-1&lt;/span&gt;&lt;/code&gt;. (&lt;code class="docutils literal"&gt;boss106/rcops&lt;/code&gt;
doesn’t have a storage directory as part of an experiment to see how
difficult it would be to remove it. I guess we never put it back.)
The &lt;code class="docutils literal"&gt;boss1&lt;/code&gt; target, &lt;code class="docutils literal"&gt;826&lt;/code&gt;, is first in the list, so that’s where
the file starts.&lt;/p&gt;
&lt;pre class="literal-block"&gt;[root@boss1 ~]# dd if=/data/boss106/rcops/chunks/uF4240/5BED/E/0-5BEDEB51-1/9-5F7E8E87-1 bs=1 count=5 status=none
AAAAA&lt;/pre&gt;
&lt;p&gt;If we skip 1M (1024*1024 bytes) we see that that’s where the file
changes to &lt;code class="docutils literal"&gt;C&lt;/code&gt;.&lt;/p&gt;
&lt;pre class="literal-block"&gt;[root@boss1 ~]# dd if=/data/boss106/rcops/chunks/uF4240/5BED/E/0-5BEDEB51-1/9-5F7E8E87-1 bs=1 skip=$(((1024 * 1024))) count=5 status=none&lt;/pre&gt;
&lt;p&gt;And we can see that actually is precisely where it starts by stepping
back a little.&lt;/p&gt;
&lt;pre class="literal-block"&gt;[root@boss1 ~]# dd if=/data/boss106/rcops/chunks/uF4240/5BED/E/0-5BEDEB51-1/9-5F7E8E87-1 bs=1 skip=$(((1024 * 1024)-2)) count=5 status=none
AACCC&lt;/pre&gt;
&lt;p&gt;Cool. So we’ve found the end of the first chunk (made of &lt;code class="docutils literal"&gt;A&lt;/code&gt;) and
the start of the third chunk (made of &lt;code class="docutils literal"&gt;C&lt;/code&gt;). That means the second
and fourth chunks are over in 834. Which they are.&lt;/p&gt;
&lt;pre class="literal-block"&gt;[root@boss2 rcops]# dd if=/data/boss207/rcops/storage/chunks/uF4240/5BED/E/0-5BEDEB51-1/9-5F7E8E87-1 bs=1 count=5 status=none
BBBBB&lt;/pre&gt;
&lt;pre class="literal-block"&gt;[root@boss2 rcops]# dd if=/data/boss207/rcops/storage/chunks/uF4240/5BED/E/0-5BEDEB51-1/9-5F7E8E87-1 bs=1 count=5 skip=$(((1024*1024-2))) status=none
BBDDD&lt;/pre&gt;
&lt;p&gt;So, in theory, if we wanted to bypass BeeGFS and re-construct files
from their chunks, we could do that. It sounds like a nightmare, but
we could do it. In a worst-case scenario.&lt;/p&gt;
&lt;p&gt;It’s this kind of transparency and inspectability that still makes me
really like BeeGFS, despite everything we’ve been through with it.&lt;/p&gt;</description><category>changelog</category><category>technology</category><guid>urn:uuid:11d9d5b0-5b13-4b55-9479-1e46862331cf</guid><pubDate>Wed, 07 Oct 2020 06:00:00 GMT</pubDate></item><item><title>WireGuard on Raspberry Pi OS</title><link>https://civilfritz.net/posts/wireguard-on-raspberry-pi-os/</link><dc:creator>Jonathon Anderson</dc:creator><description>&lt;p&gt;Recently I fell victim to an attack on a security vulnerability in
SaltStack that left much of my homelab infected with
cryptominers. When I rebuilt the environment I found myself in the
market for a VPN solution.&lt;/p&gt;
&lt;p&gt;I have used OpenVPN for a little while, but I found it inconvenient
enough to set up and use that I only used it when absolutely necessary
to bridge between otherwise private networks.&lt;/p&gt;
&lt;p&gt;But I had been hearing good things about &lt;a class="reference external" href="https://www.wireguard.com/"&gt;WireGuard&lt;/a&gt;, so I performed
a test deployment. First between two disparate servers. Then on a
workstation. Then another. Each time the software deployed easily and
remained reliably available, particularly in contrast to the
unreliability I had become accustomed to with the Cisco VPN I use for
work.&lt;/p&gt;
&lt;p&gt;So I came to the last system in my network: a first-generation
Raspberry Pi B+. WireGuard isn't available in the Raspberry Pi OS (née
Raspbian) repository, but I found &lt;a class="reference external" href="https://engineerworkshop.com/blog/how-to-set-up-wireguard-on-a-raspberry-pi/"&gt;articles&lt;/a&gt; describing how to
install the packages from either Debian backports or unstable. I
generally avoid mixing distributions, but I followed the directions as
a proof of concept.&lt;/p&gt;
&lt;p&gt;The base &lt;code class="docutils literal"&gt;wireguard&lt;/code&gt; package installed successfully, and little
surprise: it is a &lt;a class="reference external" href="https://github.com/dell/dkms"&gt;DKMS&lt;/a&gt; package, after all. However, binaries from
&lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;wireguard-tools&lt;/span&gt;&lt;/code&gt; immediately segfaulted. (I expect this is because
the CPU in the first-generation B+ isn't supported by Debian.)&lt;/p&gt;
&lt;p&gt;But then I realized that APT makes source repositories as accessible
as binary repositories. Compiling my own WireGuard packages would
worry me less as well:&lt;/p&gt;
&lt;p&gt;First add the Debian Buster backports repository, including its
signing key. (You can verify the key fingerprint &lt;a class="reference external" href="https://ftp-master.debian.org/keys.html"&gt;at debian.org&lt;/a&gt;.)&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code bash"&gt;&lt;a id="rest_code_8d2a3c7a4507460eb5c021a8cf2bb54b-1" name="rest_code_8d2a3c7a4507460eb5c021a8cf2bb54b-1" href="https://civilfritz.net/posts/wireguard-on-raspberry-pi-os/#rest_code_8d2a3c7a4507460eb5c021a8cf2bb54b-1"&gt;&lt;/a&gt;sudo&lt;span class="w"&gt; &lt;/span&gt;apt-key&lt;span class="w"&gt; &lt;/span&gt;adv&lt;span class="w"&gt; &lt;/span&gt;--keyserver&lt;span class="w"&gt; &lt;/span&gt;keyserver.ubuntu.com&lt;span class="w"&gt; &lt;/span&gt;--recv-keys&lt;span class="w"&gt; &lt;/span&gt;0x80D15823B7FD1561F9F7BCDDDC30D7C23CBBABEE
&lt;a id="rest_code_8d2a3c7a4507460eb5c021a8cf2bb54b-2" name="rest_code_8d2a3c7a4507460eb5c021a8cf2bb54b-2" href="https://civilfritz.net/posts/wireguard-on-raspberry-pi-os/#rest_code_8d2a3c7a4507460eb5c021a8cf2bb54b-2"&gt;&lt;/a&gt;&lt;span class="nb"&gt;echo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'deb-src http://deb.debian.org/debian buster-backports main'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;sudo&lt;span class="w"&gt; &lt;/span&gt;tee&lt;span class="w"&gt; &lt;/span&gt;/etc/apt/sources.list.d/backports.list
&lt;a id="rest_code_8d2a3c7a4507460eb5c021a8cf2bb54b-3" name="rest_code_8d2a3c7a4507460eb5c021a8cf2bb54b-3" href="https://civilfritz.net/posts/wireguard-on-raspberry-pi-os/#rest_code_8d2a3c7a4507460eb5c021a8cf2bb54b-3"&gt;&lt;/a&gt;sudo&lt;span class="w"&gt; &lt;/span&gt;apt&lt;span class="w"&gt; &lt;/span&gt;update
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Install the &lt;code class="docutils literal"&gt;devscripts&lt;/code&gt; package (so we can use &lt;code class="docutils literal"&gt;debuild&lt;/code&gt; to build
the WireGuard packages) and any build dependencies for WireGuard
itself.&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code bash"&gt;&lt;a id="rest_code_a83aedbf1d3d42b7b5dbfa11cfb74776-1" name="rest_code_a83aedbf1d3d42b7b5dbfa11cfb74776-1" href="https://civilfritz.net/posts/wireguard-on-raspberry-pi-os/#rest_code_a83aedbf1d3d42b7b5dbfa11cfb74776-1"&gt;&lt;/a&gt;sudo&lt;span class="w"&gt; &lt;/span&gt;apt&lt;span class="w"&gt; &lt;/span&gt;install&lt;span class="w"&gt; &lt;/span&gt;devscripts
&lt;a id="rest_code_a83aedbf1d3d42b7b5dbfa11cfb74776-2" name="rest_code_a83aedbf1d3d42b7b5dbfa11cfb74776-2" href="https://civilfritz.net/posts/wireguard-on-raspberry-pi-os/#rest_code_a83aedbf1d3d42b7b5dbfa11cfb74776-2"&gt;&lt;/a&gt;sudo&lt;span class="w"&gt; &lt;/span&gt;apt&lt;span class="w"&gt; &lt;/span&gt;build-dep&lt;span class="w"&gt; &lt;/span&gt;wireguard
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Finally, download, build, and install WireGuard.&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code bash"&gt;&lt;a id="rest_code_40314a3d6d654069b18cfd112085f348-1" name="rest_code_40314a3d6d654069b18cfd112085f348-1" href="https://civilfritz.net/posts/wireguard-on-raspberry-pi-os/#rest_code_40314a3d6d654069b18cfd112085f348-1"&gt;&lt;/a&gt;apt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;source&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;wireguard
&lt;a id="rest_code_40314a3d6d654069b18cfd112085f348-2" name="rest_code_40314a3d6d654069b18cfd112085f348-2" href="https://civilfritz.net/posts/wireguard-on-raspberry-pi-os/#rest_code_40314a3d6d654069b18cfd112085f348-2"&gt;&lt;/a&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;wireguard-*&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;debuild&lt;span class="w"&gt; &lt;/span&gt;-us&lt;span class="w"&gt; &lt;/span&gt;-uc&lt;span class="o"&gt;)&lt;/span&gt;
&lt;a id="rest_code_40314a3d6d654069b18cfd112085f348-3" name="rest_code_40314a3d6d654069b18cfd112085f348-3" href="https://civilfritz.net/posts/wireguard-on-raspberry-pi-os/#rest_code_40314a3d6d654069b18cfd112085f348-3"&gt;&lt;/a&gt;sudo&lt;span class="w"&gt; &lt;/span&gt;apt&lt;span class="w"&gt; &lt;/span&gt;install&lt;span class="w"&gt; &lt;/span&gt;./wireguard_*.deb&lt;span class="w"&gt; &lt;/span&gt;./wireguard-tools_*.deb
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;At this point you should have a fully functional WireGuard deployment,
with working &lt;code class="docutils literal"&gt;&lt;span class="pre"&gt;wireguard-tools&lt;/span&gt;&lt;/code&gt; binaries.&lt;/p&gt;</description><category>changelog</category><category>technology</category><guid>https://civilfritz.net/posts/wireguard-on-raspberry-pi-os/</guid><pubDate>Sun, 19 Jul 2020 06:00:00 GMT</pubDate></item><item><title>sprint backlog - 18 February 2020</title><link>https://civilfritz.net/posts/2020-02-18-curc-goals/</link><dc:creator>Jonathon Anderson</dc:creator><description>&lt;p&gt;Research Computing team goals for the period 18 February - 3
March, 2020. If you have any questions or comments please contact
&lt;a class="reference external" href="mailto:rc-help@colorado.edu"&gt;rc-help@colorado.edu&lt;/a&gt;.&lt;/p&gt;
&lt;section id="intro-to-python-workshop"&gt;
&lt;h2&gt;Intro to Python workshop&lt;/h2&gt;
&lt;p&gt;Research Computing is presenting its regular &lt;a class="reference external" href="https://calendar.colorado.edu/event/intro_to_python?utm_source=University+of+Colorado+Boulder#.Xk1auS2ZOJM"&gt;Intro to Python
course&lt;/a&gt;.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="rcamp-portal-testing-framework"&gt;
&lt;h2&gt;RCAMP portal testing framework&lt;/h2&gt;
&lt;p&gt;The RC Account Management Portal (RCAMP) handles account requests and
group membership in the RC environment. In order to help us better
update and develop the portal and its dependencies we are rebuilding
and enhancing its automated test infrastructure.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="internal-training-for-upcoming-cc-hybrid-cloud-environment"&gt;
&lt;h2&gt;Internal training for upcoming CC* hybrid cloud environment&lt;/h2&gt;
&lt;p&gt;RC is developing a hybrid "cloud" environment with support from the &lt;a class="reference external" href="https://www.nsf.gov/funding/pgm_summ.jsp?pims_id=504748"&gt;NSF
Campus Cyberinfrastructure (CC*) program&lt;/a&gt;. Development of this
environment is ongoing; but our team is also taking this time to learn
more about Amazon EC2 and OpenStack virtual machines in order to
better support our users when the platform is ready.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="better-staff-access-to-fail2ban-on-login-nodes"&gt;
&lt;h2&gt;Better staff access to fail2ban on login nodes&lt;/h2&gt;
&lt;p&gt;RC login nodes are protected from brute-force attacks using &lt;a class="reference external" href="http://www.fail2ban.org/"&gt;fail2ban&lt;/a&gt;:
if a login node sees a sequence of login failures from the same
source, that source is "banned" from all login node access for a period
of time. During a training, however, when such authentication failures
are common from multiple people in the same room, it is inconvenient
to wait for the ban to expire. RC system administrators have the
ability to cancel such a ban, but they are not usually present at
trainings. To better support this use case, we will be delegating the
ability to cancel such bans to the rest of the RC team.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="petalibrary-monthly-status-reports"&gt;
&lt;h2&gt;PetaLibrary monthly status reports&lt;/h2&gt;
&lt;p&gt;A monthly email status report is sent out to PetaLibrary allocation
owners and contacts; but this report has fallen out of date, and
has not been updated to reflect changes in the PetaLibrary
infrastructure. We are updating this reporting script so that all
PetaLibrary allocations are reported, irrespective of their deployment
location.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="updated-mpi-in-rebuilt-core-software"&gt;
&lt;h2&gt;Updated MPI in rebuilt Core Software&lt;/h2&gt;
&lt;p&gt;Our efforts to update our core software stack are ongoing, with our
next goal being to install up-to-date Intel MPI and OpenMPI.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="rc-trainings-review"&gt;
&lt;h2&gt;RC trainings review&lt;/h2&gt;
&lt;p&gt;Finally, to better plan future RC trainings and other user support
activities, we are reviewing the trainings, office hours, and consults
that we've supported in CY2019.&lt;/p&gt;
&lt;/section&gt;</description><category>changelog</category><category>technology</category><guid>urn:uuid:489d679b-c54f-4956-aed7-56b8cb84deae</guid><pubDate>Tue, 18 Feb 2020 07:00:00 GMT</pubDate></item></channel></rss>