<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wormnet.eu/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wormnet.eu/feed.php">
        <title>WormNet Wiki</title>
        <description></description>
        <link>https://wormnet.eu/</link>
        <image rdf:resource="https://wormnet.eu/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-08T20:49:07+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wormnet.eu/irc?rev=1588862813&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/mail?rev=1546072800&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/ssl?rev=1508956737&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/vpn?rev=1490085862&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/start?rev=1490085135&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/account?rev=1477818064&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/login?rev=1477817539&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/dns/authoritive?rev=1477747404&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wormnet.eu/lib/tpl/dokuwiki/images/favicon.ico">
        <title>WormNet Wiki</title>
        <link>https://wormnet.eu/</link>
        <url>https://wormnet.eu/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wormnet.eu/irc?rev=1588862813&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-05-07T14:46:53+00:00</dc:date>
        <dc:creator>mb (mb@undisclosed.example.com)</dc:creator>
        <title>irc</title>
        <link>https://wormnet.eu/irc?rev=1588862813&amp;do=diff</link>
        <description>IRC is powered by ngircd, since it&#039;s one of the few servers nicely packaged into Debian.

Bouncer

We use ZNC for bouncing services (irc-bouncer:6676). Apparently you add new users like this. This amounts to:-

	*  Use znc --makepass to generate a sha256 password hash</description>
    </item>
    <item rdf:about="https://wormnet.eu/mail?rev=1546072800&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-12-29T08:40:00+00:00</dc:date>
        <dc:creator>mb (mb@undisclosed.example.com)</dc:creator>
        <title>mail - [DKIM] </title>
        <link>https://wormnet.eu/mail?rev=1546072800&amp;do=diff</link>
        <description>wormnet mail

marmot provides a multi-domain IMAP/SMTP mail service, powered by Exim and Cyrus IMAP.

All IPC with backend services (spamd, clamd, pgsql, lmtpd) is performed over unix domain sockets.

client configuration

Please use imap.wormnet.eu and smtp.wormnet.eu</description>
    </item>
    <item rdf:about="https://wormnet.eu/ssl?rev=1508956737&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-10-25T18:38:57+00:00</dc:date>
        <dc:creator>mb (mb@undisclosed.example.com)</dc:creator>
        <title>ssl - [Standalone (non-HTTP)] </title>
        <link>https://wormnet.eu/ssl?rev=1508956737&amp;do=diff</link>
        <description>Lets Encrypt SSL

Apache

Set up the following directory structure (look at the others there as an example):


$ sudo tree -a /var/www/well-known
/var/www/well-known
+-- example.com
|   \-- .well-known -&gt; .
\-- www.example.com -&gt; example.com


For your regular HTTP site (non-SSL) add the following to your</description>
    </item>
    <item rdf:about="https://wormnet.eu/vpn?rev=1490085862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-03-21T08:44:22+00:00</dc:date>
        <dc:creator>alex (alex@undisclosed.example.com)</dc:creator>
        <title>vpn - [Usage] </title>
        <link>https://wormnet.eu/vpn?rev=1490085862&amp;do=diff</link>
        <description>VPN

We use strongSwan, in particular the IKEv2 EAP-MD5 with pubkey authentication mechanism; no more susceptable to dictionary attacks than EAP-MSCHAPv2 anyway.

N.B. we would use EAP-TTLS, but the strongSwan Android client does not support it.

Usage

Start off by creating an account for yourself by editing:
/var/lib/strongswan/ipsec.secrets.inc</description>
    </item>
    <item rdf:about="https://wormnet.eu/start?rev=1490085135&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-03-21T08:32:15+00:00</dc:date>
        <dc:creator>alex (alex@undisclosed.example.com)</dc:creator>
        <title>start - [Things set up on the server] </title>
        <link>https://wormnet.eu/start?rev=1490085135&amp;do=diff</link>
        <description>Things set up on the server

	*  User Account Handling 
	*  Shell logins (incl. OTP and web-ssh)
	*  LDAP Management
	*  Web Server
	*  Jabber Server
	*  IRC Server
	*  Mail Configuration 
	*  Proxies
	*  Usenet server
	*  Git(osis) 
	*  NAS
	*  DNS
		*  Authoritive
			*   VPN

		*  Recursive

	*  VPN
	*  Lets Encrypt SSL

Other things we do

	*  MAME Gaming</description>
    </item>
    <item rdf:about="https://wormnet.eu/account?rev=1477818064&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-10-30T09:01:04+00:00</dc:date>
        <dc:creator>alex (alex@undisclosed.example.com)</dc:creator>
        <title>account - [Creating an Account] </title>
        <link>https://wormnet.eu/account?rev=1477818064&amp;do=diff</link>
        <description>User Account Handling

Creating an Account
root@marmot:~# lvcreate -L 256M -n home-$NEW_USER lvm-marmot
root@marmot:~# mkfs.ext4 -L home-$NEW_USER /dev/lvm-marmot/home-$NEW_USER
root@marmot:~# mkdir /home/$NEW_USER
root@marmot:~# [edit /etc/fstab to mount new user space]
root@marmot:~# mount /home/$NEW_USER
root@marmot:~# useradd -G users,wormnet-shell -s /bin/bash $NEW_USER
root@marmot:~# passwd $NEW_USER
root@marmot:~# mkdir /home/$NEW_USER/.ssh
root@marmot:~# echo &quot;ssh-rsa AAAB3...KD0pw== fre…</description>
    </item>
    <item rdf:about="https://wormnet.eu/login?rev=1477817539&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-10-30T08:52:19+00:00</dc:date>
        <dc:creator>alex (alex@undisclosed.example.com)</dc:creator>
        <title>login - [Public Key Auth] </title>
        <link>https://wormnet.eu/login?rev=1477817539&amp;do=diff</link>
        <description>Public Key Auth

Usual spiel, edit ~/.ssh/authorized_keys

One-time Passwords

There are now password based logins, either use public-key or OTP.

Setting up your user

You do stuff with opiepasswd. Something like:

	*  Set up your generator with a secret</description>
    </item>
    <item rdf:about="https://wormnet.eu/dns/authoritive?rev=1477747404&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-10-29T13:23:24+00:00</dc:date>
        <dc:creator>alex (alex@undisclosed.example.com)</dc:creator>
        <title>dns:authoritive - [Changing your zone file] </title>
        <link>https://wormnet.eu/dns/authoritive?rev=1477747404&amp;do=diff</link>
        <description>Changing your zone file

Rebuild with:

sudo nsd-checkconf /etc/nsd/nsd.conf &amp;&amp; sudo nsd-control reconfig &amp;&amp; sudo nsd-control notify

Testing changes

Checking the transfer record is a good plan, e.g. 

$ dig @::1 wormnet.eu AXFR</description>
    </item>
</rdf:RDF>
