<?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-11T21:30:20+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wormnet.eu/account?rev=1477818064&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/dokuwiki?rev=1317679983&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/git?rev=1345840769&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/home?rev=1322321127&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/irc?rev=1588862813&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/jabber?rev=1335299350&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/ldap?rev=1321958086&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/login?rev=1477817539&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/mail?rev=1569771277&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/mame?rev=1335694539&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/nas?rev=1321960193&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/news?rev=1323105176&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/proxy?rev=1339318463&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/ssl?rev=1509044397&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/start?rev=1490085135&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/vpn?rev=1490085862&amp;do=diff"/>
                <rdf:li rdf:resource="https://wormnet.eu/www?rev=1322392233&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/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>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>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/dokuwiki?rev=1317679983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-10-03T22:13:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dokuwiki</title>
        <link>https://wormnet.eu/dokuwiki?rev=1317679983&amp;do=diff</link>
        <description>Dokuwiki is the wiki you are using right now. There&#039;s potential it will work for multiple instances, but I haven&#039;t tried it.

	*  aptitude install dokuwiki, php5-cgi and nginx
	*  /etc/dokuwiki/local.php configured to rely on DOCUMENT_ROOT, so can be</description>
    </item>
    <item rdf:about="https://wormnet.eu/git?rev=1345840769&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-08-24T20:39:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>git</title>
        <link>https://wormnet.eu/git?rev=1345840769&amp;do=diff</link>
        <description>Giving yourself the ability to add-remove repositories

	*  su to the gitosis user on marmot
	*  git clone /srv/gitosis/repositories/gitosis-admin.git
	*  Add your key to keydir (don&#039;t forget the .pub extension)
	*  Add your user to the gitosis-admin writable list in gitosis.conf</description>
    </item>
    <item rdf:about="https://wormnet.eu/home?rev=1322321127&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-26T15:25:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>home</title>
        <link>https://wormnet.eu/home?rev=1322321127&amp;do=diff</link>
        <description>Apparently I should have called this page start</description>
    </item>
    <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>Anonymous (anonymous@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/jabber?rev=1335299350&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-24T20:29:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>jabber</title>
        <link>https://wormnet.eu/jabber?rev=1335299350&amp;do=diff</link>
        <description>We have one! There&#039;s also pymsnt for Jabber-&gt;IRC transport.</description>
    </item>
    <item rdf:about="https://wormnet.eu/ldap?rev=1321958086&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-22T10:34:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ldap</title>
        <link>https://wormnet.eu/ldap?rev=1321958086&amp;do=diff</link>
        <description>LDAP Management

Generic

Handy traditional tools to use are:

	*  ldapsearch, ldapmodify, ldapadd, etc
	*  editors
		*  ldapvi 
		*  jxplorer


Configuration

Browsing

To look at the LDAP server configuration:
root@marmot:~# ldapsearch -Y EXTERNAL -H ldapi:/// -b &quot;cn=config&quot;</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>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>login</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/mail?rev=1569771277&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-09-29T15:34:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mail</title>
        <link>https://wormnet.eu/mail?rev=1569771277&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/mame?rev=1335694539&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-29T10:15:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mame</title>
        <link>https://wormnet.eu/mame?rev=1335694539&amp;do=diff</link>
        <description>Wormnet gaming hall of fame


aclouters-lapdog:~ aclouter$ head moo 
| gunforce | platform shooter |
| dariuse | superwide sideways scroller |
| gunlock | vertical scroller |
| vsav | Beat &#039;em up: Vampire Saviour |
| nvscj | Beat &#039;em up: Marvel vs Capcom |
| timekill | Beat &#039;em up: With arm removal |
| bloodstm | Beat &#039;em up: With arm removal |
| outfxies | Beat &#039;em up with complex maps |
| metmqstr | Co-operativeBeat &#039;em up |
| ribbit | Co-operative frogger |

aclouters-lapdog:~ aclouter$ cat m…</description>
    </item>
    <item rdf:about="https://wormnet.eu/nas?rev=1321960193&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-22T11:09:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nas</title>
        <link>https://wormnet.eu/nas?rev=1321960193&amp;do=diff</link>
        <description>NAS

As we are limited on disk space, we are using NASes lurking on the end of xDSL connections.  The problem with this is that obvious the xDSL uplinks are slow, but fortunately we can call upon CacheFS to speed things up.

Configuration

NAS Side

NAT Firewall</description>
    </item>
    <item rdf:about="https://wormnet.eu/news?rev=1323105176&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-12-05T17:12:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>news</title>
        <link>https://wormnet.eu/news?rev=1323105176&amp;do=diff</link>
        <description>Leafnode

We have leafnode running on port 119. Connections are only accepted from a “.wormnet.eu” location. If you roam further afield, use an SSH tunnel.</description>
    </item>
    <item rdf:about="https://wormnet.eu/proxy?rev=1339318463&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-06-10T08:54:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>proxy</title>
        <link>https://wormnet.eu/proxy?rev=1339318463&amp;do=diff</link>
        <description>There are two HTTP proxies running, apache mod_proxy (8080) and zipproxy (8081).  zipproxy compresses any images that go through it. Connections only allowed from localhost, to connect you will probably want some SSH config such as:
Host marmot.wormnet.eu
  #DynamicForward localhost:1080
  LocalForward 127.0.0.1:8080 127.0.0.1:8080
  LocalForward 127.0.0.1:8081 127.0.0.1:8081</description>
    </item>
    <item rdf:about="https://wormnet.eu/ssl?rev=1509044397&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-10-26T18:59:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ssl</title>
        <link>https://wormnet.eu/ssl?rev=1509044397&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/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>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start</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/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>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vpn</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/www?rev=1322392233&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-27T11:10:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>www</title>
        <link>https://wormnet.eu/www?rev=1322392233&amp;do=diff</link>
        <description>It&#039;s apache2, nothing particuarly exicting.

Creating web config

You should have a section of config for yourself that you can edit, in /etc/apache2/sites-available/$USER

Reloading site configuration

Again assuming you&#039;re in the webmasters group, you will be able to run the init.d script to reload apache configuration</description>
    </item>
</rdf:RDF>
