matthijs/servers/drsnuggles.git
13 years agovuurmuur: Reorganize rules.conf. ds-host
Matthijs Kooijman [Mon, 26 Jul 2010 13:44:42 +0000 (15:44 +0200)]
vuurmuur: Reorganize rules.conf.

This adds a bunch of comment lines and moves a rule to a more logical
place.

13 years agovuurmuur: Accept ident connections to the host.
Matthijs Kooijman [Mon, 26 Jul 2010 13:44:25 +0000 (15:44 +0200)]
vuurmuur: Accept ident connections to the host.

13 years agovuurmuur: No longer forward ident connections to login.
Matthijs Kooijman [Mon, 26 Jul 2010 13:43:09 +0000 (15:43 +0200)]
vuurmuur: No longer forward ident connections to login.

There will be a NAT-aware identd server on the host, so forwarding to a
single vserver is no longer needed.

13 years agosystem: Add stderr.nl domain to resolv.conf.
Matthijs Kooijman [Mon, 26 Jul 2010 13:35:50 +0000 (15:35 +0200)]
system: Add stderr.nl domain to resolv.conf.

This makes sure that our plain hostname can be resolved, so hostname
--fqdn still works (even without the removal of our hostname from
/etc/hosts in the previous commit).

13 years agosystem: Don't resolve drsnuggles to 127.0.0.1.
Matthijs Kooijman [Mon, 26 Jul 2010 13:34:25 +0000 (15:34 +0200)]
system: Don't resolve drsnuggles to 127.0.0.1.

This should resolve to our external IP address instead, so the hostname
can be used for specifying daemons to bind on the external interface
only.

13 years agooidentd: Only listen on the external interface.
Matthijs Kooijman [Mon, 26 Jul 2010 13:32:40 +0000 (15:32 +0200)]
oidentd: Only listen on the external interface.

This allows vservers to run their own identd.

13 years agooidentd: Add default configuration.
Matthijs Kooijman [Mon, 26 Jul 2010 13:30:12 +0000 (15:30 +0200)]
oidentd: Add default configuration.

13 years agomunin: Raise the warning threshold vor hpasmcli2 temperatures to 80%.
Matthijs Kooijman [Mon, 26 Jul 2010 11:18:14 +0000 (13:18 +0200)]
munin: Raise the warning threshold vor hpasmcli2 temperatures to 80%.

Previously, this would be 75% of the threshold hpasmcli reports, but the
temperature of the primary CPU is regularly just above 75%.

13 years agovuurmuur: Disable connection limits.
Matthijs Kooijman [Fri, 23 Jul 2010 13:38:13 +0000 (15:38 +0200)]
vuurmuur: Disable connection limits.

This allows any number of connections per seconds. The DNS server (both
authoritive and recursor) was running into these limits.

13 years agovuurmuur: Don't log any dropped packets.
Matthijs Kooijman [Fri, 23 Jul 2010 13:37:52 +0000 (15:37 +0200)]
vuurmuur: Don't log any dropped packets.

13 years agovserver: Mount /data/other/munin-html in the www vserver.
Matthijs Kooijman [Fri, 23 Jul 2010 11:21:45 +0000 (13:21 +0200)]
vserver: Mount /data/other/munin-html in the www vserver.

13 years agoapt: Add testing source.
Matthijs Kooijman [Fri, 23 Jul 2010 11:21:16 +0000 (13:21 +0200)]
apt: Add testing source.

13 years agoapt: Remove the cache-increase configuration.
Matthijs Kooijman [Fri, 23 Jul 2010 11:20:23 +0000 (13:20 +0200)]
apt: Remove the cache-increase configuration.

It seems the default cache config is now higher than what we used to
set, so it's not longer needed.

13 years agovuurmuur: Forward ident connections to login.
Matthijs Kooijman [Fri, 23 Jul 2010 11:12:53 +0000 (13:12 +0200)]
vuurmuur: Forward ident connections to login.

13 years agomunin: Send notifications on warnings and errors.
Matthijs Kooijman [Fri, 23 Jul 2010 11:09:40 +0000 (13:09 +0200)]
munin: Send notifications on warnings and errors.

13 years agomunin: Fix fan speed limits of hpasmcli2 plugin.
Matthijs Kooijman [Wed, 5 May 2010 11:57:09 +0000 (13:57 +0200)]
munin: Fix fan speed limits of hpasmcli2 plugin.

The plugin now warns when the speed is < 75% and becomes critical when
speed is < 50%. Previously, it would warn when the speed was > 75%,
which was reversed (taken from the temperature values...).

13 years agomunin: Make hpasmcli2 skip fans that are N/A.
Matthijs Kooijman [Wed, 5 May 2010 10:45:49 +0000 (12:45 +0200)]
munin: Make hpasmcli2 skip fans that are N/A.

13 years agomunin: Rename and duplicate hpasmcli2 plugin.
Matthijs Kooijman [Tue, 4 May 2010 20:50:42 +0000 (22:50 +0200)]
munin: Rename and duplicate hpasmcli2 plugin.

It now covers both fans and temps.

13 years agomunin: Fix hpasmcli2 plugin to run on Linux.
Matthijs Kooijman [Tue, 4 May 2010 20:49:32 +0000 (22:49 +0200)]
munin: Fix hpasmcli2 plugin to run on Linux.

The plugin was originally created for FreeBSD, so some paths were wrong.

13 years agomunin: Add the hpasmcli2 plugin.
Matthijs Kooijman [Tue, 4 May 2010 20:31:58 +0000 (22:31 +0200)]
munin: Add the hpasmcli2 plugin.

13 years agomunin: Set initial configuration.
Matthijs Kooijman [Tue, 4 May 2010 20:29:44 +0000 (22:29 +0200)]
munin: Set initial configuration.

Removes unused defaults, set paths and a hostname.

13 years agomunin: Add default 1.4.4 configuration.
Matthijs Kooijman [Tue, 4 May 2010 13:57:07 +0000 (15:57 +0200)]
munin: Add default 1.4.4 configuration.

14 years agosystem: Add qualified versions to /etc/hosts.
Matthijs Kooijman [Thu, 1 Apr 2010 08:31:47 +0000 (10:31 +0200)]
system: Add qualified versions to /etc/hosts.

14 years agonullmailer: Add configuration.
Matthijs Kooijman [Thu, 1 Apr 2010 08:27:35 +0000 (10:27 +0200)]
nullmailer: Add configuration.

14 years agovuurmuur: Forward https to the www vserver.
Matthijs Kooijman [Wed, 31 Mar 2010 17:30:13 +0000 (19:30 +0200)]
vuurmuur: Forward https to the www vserver.

14 years agosystem: Remove backup vserver from hosts file.
Matthijs Kooijman [Wed, 31 Mar 2010 17:29:56 +0000 (19:29 +0200)]
system: Remove backup vserver from hosts file.

14 years agovserver: Remove unused backup and samba vservers.
Matthijs Kooijman [Wed, 31 Mar 2010 17:26:37 +0000 (19:26 +0200)]
vserver: Remove unused backup and samba vservers.

14 years agoAdd forward for the Hunternet game telnet server.
Matthijs Kooijman [Sat, 7 Nov 2009 19:20:30 +0000 (20:20 +0100)]
Add forward for the Hunternet game telnet server.

14 years agovuurmuur: Don't log dropped DHCP packages.
Matthijs Kooijman [Thu, 10 Sep 2009 11:21:38 +0000 (13:21 +0200)]
vuurmuur: Don't log dropped DHCP packages.

14 years agovuurmuur: Update the syslog path.
Matthijs Kooijman [Thu, 10 Sep 2009 11:20:32 +0000 (13:20 +0200)]
vuurmuur: Update the syslog path.

14 years agofail2ban: Update the path to the ssh log.
Matthijs Kooijman [Thu, 10 Sep 2009 11:18:41 +0000 (13:18 +0200)]
fail2ban: Update the path to the ssh log.

Since we have centralized logging, we can just point fail2ban to the
all.log file. We'll still do this for each filter separately, since
filters like apache log filters shouldn't see the syslog (they might be
noops, but they might get confused all the same...).

14 years agofail2ban: Add rules to the Vuurmuur hook chain.
Matthijs Kooijman [Thu, 10 Sep 2009 11:17:06 +0000 (13:17 +0200)]
fail2ban: Add rules to the Vuurmuur hook chain.

Normally, fail2ban adds its rules to the INPUT directly, but then its
rules will get flushed when Vuurmuur is restarted. Using this special
hook chain created by Vuurmuur, fail2ban should keep working even after
Vuurmuur restarts.

14 years agofail2ban: Allow the INPUT chain to be customized.
Matthijs Kooijman [Thu, 10 Sep 2009 11:15:55 +0000 (13:15 +0200)]
fail2ban: Allow the INPUT chain to be customized.

14 years agofail2ban: Fix some (harmless?) quoting issues.
Matthijs Kooijman [Thu, 10 Sep 2009 11:13:42 +0000 (13:13 +0200)]
fail2ban: Fix some (harmless?) quoting issues.

14 years agofail2ban: Simplify fail2ban configuration file a bit.
Matthijs Kooijman [Thu, 10 Sep 2009 11:06:50 +0000 (13:06 +0200)]
fail2ban: Simplify fail2ban configuration file a bit.

This removes some configuration duplication.

14 years agoAdd default iptables-multiport fail2ban action.
Matthijs Kooijman [Thu, 10 Sep 2009 10:40:46 +0000 (12:40 +0200)]
Add default iptables-multiport fail2ban action.

This will config file will be modified in the next commit.

14 years agoAdd default fail2ban configuration.
Matthijs Kooijman [Thu, 10 Sep 2009 10:39:29 +0000 (12:39 +0200)]
Add default fail2ban configuration.

This only adds the main config files, not the action and filter
configurations. These will be used in the default form mostly, so let's
not clutter the repository with them (and updates to them for upgrades
of fail2ban).

14 years agovserver: Mark log vserver for autostart.
Matthijs Kooijman [Mon, 31 Aug 2009 20:45:00 +0000 (22:45 +0200)]
vserver: Mark log vserver for autostart.

14 years agosystem: Really disable ipv6 router advertisements.
Matthijs Kooijman [Thu, 13 Aug 2009 10:23:37 +0000 (12:23 +0200)]
system: Really disable ipv6 router advertisements.

14 years agovuurmuur: Add forwarding rule for locus.
Matthijs Kooijman [Wed, 29 Jul 2009 09:41:04 +0000 (11:41 +0200)]
vuurmuur: Add forwarding rule for locus.

Locus is a location tracker used for Pandora, left running for the fun
of it.

14 years agovuurmuur: Add some extra explicit interfaces.
Matthijs Kooijman [Wed, 29 Jul 2009 09:40:11 +0000 (11:40 +0200)]
vuurmuur: Add some extra explicit interfaces.

This prevents extra, useless, rules from being generated.

14 years agosystem: Remove test vserver from hosts file.
Matthijs Kooijman [Wed, 29 Jul 2009 09:26:50 +0000 (11:26 +0200)]
system: Remove test vserver from hosts file.

14 years agovuurmuur: Allow config files to be world-readable.
Matthijs Kooijman [Wed, 29 Jul 2009 09:26:14 +0000 (11:26 +0200)]
vuurmuur: Allow config files to be world-readable.

14 years agovserver: Add new vserver to /etc/hosts on the host.
Matthijs Kooijman [Sun, 7 Jun 2009 11:33:03 +0000 (13:33 +0200)]
vserver: Add new vserver to /etc/hosts on the host.

Previously, this would only happen for /etc/hosts in the dns vserver.
This commit also changes the configuration scheme for this hosts file
updating to be a bit less generalized.

14 years agovserver: Add samba vserver configuration.
root [Sun, 7 Jun 2009 11:25:56 +0000 (13:25 +0200)]
vserver: Add samba vserver configuration.

14 years agosystem: Add resolv.conf.
Matthijs Kooijman [Thu, 28 May 2009 09:25:27 +0000 (11:25 +0200)]
system: Add resolv.conf.

The file contains a single nameserver, which is the official caching
recursive resolver of Coloclue.

14 years agogrub: Remove old kernel.
Matthijs Kooijman [Mon, 25 May 2009 10:24:47 +0000 (12:24 +0200)]
grub: Remove old kernel.

14 years agokernel: Don't install symlinks in /.
Matthijs Kooijman [Mon, 25 May 2009 10:23:55 +0000 (12:23 +0200)]
kernel: Don't install symlinks in /.

14 years agokernel: Add default kernel-img.conf.
Matthijs Kooijman [Mon, 25 May 2009 10:23:24 +0000 (12:23 +0200)]
kernel: Add default kernel-img.conf.

14 years agosystem: Add hosts file.
Matthijs Kooijman [Tue, 5 May 2009 18:16:56 +0000 (20:16 +0200)]
system: Add hosts file.

This file contains the default stuff, zeratul-direct and all vservers.

14 years agorsyslog: Use another format for forwarding messages.
Matthijs Kooijman [Tue, 5 May 2009 16:09:52 +0000 (18:09 +0200)]
rsyslog: Use another format for forwarding messages.

The syslog protocol 23 format seems to be broken in rsyslog for messages
that were originally generated by legacy applications (i.e., do not have
a structured-data field).

See http://bugzilla.adiscon.com/show_bug.cgi?id=125

14 years agorsyslog: Make the main queue disk-assisted as well.
Matthijs Kooijman [Tue, 5 May 2009 13:55:27 +0000 (15:55 +0200)]
rsyslog: Make the main queue disk-assisted as well.

14 years agorsyslog: Enable queuing of log messages.
Matthijs Kooijman [Tue, 5 May 2009 13:07:22 +0000 (15:07 +0200)]
rsyslog: Enable queuing of log messages.

This prevents messages from getting lost when the log vserver is
temporarily unavailable.

14 years agorsyslog: Send all logs to the log vserver.
Matthijs Kooijman [Tue, 5 May 2009 08:52:30 +0000 (10:52 +0200)]
rsyslog: Send all logs to the log vserver.

This happens in addition to local logging.

14 years agorsyslog: Move all rsyslog log files into a subdir.
Matthijs Kooijman [Tue, 5 May 2009 08:17:52 +0000 (10:17 +0200)]
rsyslog: Move all rsyslog log files into a subdir.

This allows us to use *.log in the logrotate configuration, without
conflicting with logfiles not created by rsyslog.

14 years agorsyslog: Update logrotate config to new rsyslog config.
Matthijs Kooijman [Mon, 4 May 2009 20:41:06 +0000 (22:41 +0200)]
rsyslog: Update logrotate config to new rsyslog config.

14 years agorsyslog: Add default logrotate config.
Matthijs Kooijman [Mon, 4 May 2009 20:37:56 +0000 (22:37 +0200)]
rsyslog: Add default logrotate config.

14 years agorsyslog: Clean up rsyslog configuration.
Matthijs Kooijman [Mon, 4 May 2009 20:00:15 +0000 (22:00 +0200)]
rsyslog: Clean up rsyslog configuration.

This removes some commented out lines, and reorganizes the existing
logfiles to be more consistent.

14 years agorsyslog: Add default configuration.
Matthijs Kooijman [Tue, 5 May 2009 16:32:26 +0000 (18:32 +0200)]
rsyslog: Add default configuration.

14 years agovserver: Don't copy any spool files when cloning.
Matthijs Kooijman [Tue, 5 May 2009 16:27:36 +0000 (18:27 +0200)]
vserver: Don't copy any spool files when cloning.

14 years agovserver: Mount /data/other/apt-archives in new vservers.
Matthijs Kooijman [Tue, 5 May 2009 11:05:05 +0000 (13:05 +0200)]
vserver: Mount /data/other/apt-archives in new vservers.

14 years agovserver: Mount /data/other/apt-archives in the log vserver.
Matthijs Kooijman [Tue, 5 May 2009 11:03:49 +0000 (13:03 +0200)]
vserver: Mount /data/other/apt-archives in the log vserver.

14 years agovservers: Mount /data/log in the log vserver.
Matthijs Kooijman [Tue, 5 May 2009 09:43:35 +0000 (11:43 +0200)]
vservers: Mount /data/log in the log vserver.

14 years agovserver: Add log vserver configuration.
root [Mon, 4 May 2009 19:32:02 +0000 (21:32 +0200)]
vserver: Add log vserver configuration.

14 years agosystem: Don't accept ipv6 router advertisements.
Matthijs Kooijman [Mon, 27 Apr 2009 07:30:24 +0000 (09:30 +0200)]
system: Don't accept ipv6 router advertisements.

14 years agosystem: Remove all commented entries from sysctl.conf.
Matthijs Kooijman [Mon, 27 Apr 2009 07:28:33 +0000 (09:28 +0200)]
system: Remove all commented entries from sysctl.conf.

14 years agosystem: Add default sysctl.conf.
Matthijs Kooijman [Sun, 26 Apr 2009 21:07:06 +0000 (23:07 +0200)]
system: Add default sysctl.conf.

15 years agovservers: Make dns depend on ldap instead of v.v.
Matthijs Kooijman [Fri, 17 Apr 2009 14:26:52 +0000 (16:26 +0200)]
vservers: Make dns depend on ldap instead of v.v.

Apparently the dns vserver suffers from long timeouts when ldap is not
started yet, while ldap can start without DNS just fine.

15 years agoapt: Add repository for vuurmuur.
Matthijs Kooijman [Fri, 17 Apr 2009 12:44:28 +0000 (14:44 +0200)]
apt: Add repository for vuurmuur.

15 years agossh: Update listen addresses.
Matthijs Kooijman [Fri, 17 Apr 2009 12:30:00 +0000 (14:30 +0200)]
ssh: Update listen addresses.

This changes the port back to 22 for all but the external interface,
sets sshd to listen on localhost and fixes a typo in the direct
zeratul link address.

15 years agonetwork: Update to new IP address.
Matthijs Kooijman [Fri, 17 Apr 2009 12:29:18 +0000 (14:29 +0200)]
network: Update to new IP address.

15 years agogrub: Remove savedefault from all kernels.
Matthijs Kooijman [Fri, 17 Apr 2009 12:28:41 +0000 (14:28 +0200)]
grub: Remove savedefault from all kernels.

This is the new default configuration of grub, so we might as well use
it.

15 years agogrub: Add a new kernels.
Matthijs Kooijman [Fri, 17 Apr 2009 12:28:15 +0000 (14:28 +0200)]
grub: Add a new kernels.

15 years agovuurmuur: Make portforward rules work.
root [Thu, 16 Apr 2009 14:49:22 +0000 (16:49 +0200)]
vuurmuur: Make portforward rules work.

The Portfw rules did not work, since vuurmuur does not know the concept
of local networks and produced FORWARD rules in place of INPUT rules. We
emulate this behaviour by giving the firewall a virtual interface for
each vserver on the world.inet network. This needs splitting the Portfw
rules into a normal Dnat rule and a hacky Accept rule, which gets in_int
set.

15 years agovuurmuur: Fix accept rule for outgoing verserver connections.
root [Thu, 16 Apr 2009 14:22:42 +0000 (16:22 +0200)]
vuurmuur: Fix accept rule for outgoing verserver connections.

Since vuurmuur doesn't have native support for "internal" networks, we
can't limit this rule to just vservers.

15 years agovuurmuur: Add separators to the rule config.
root [Thu, 16 Apr 2009 14:20:24 +0000 (16:20 +0200)]
vuurmuur: Add separators to the rule config.

15 years agovuurmuur: Allow ping.
root [Thu, 16 Apr 2009 14:19:47 +0000 (16:19 +0200)]
vuurmuur: Allow ping.

15 years agovuurmuur: Set the path to the conntrack binary.
root [Thu, 16 Apr 2009 14:17:33 +0000 (16:17 +0200)]
vuurmuur: Set the path to the conntrack binary.

This allows vuurmuur to do some extra connection-related stuff, such as
killing connections.

15 years agovuurmuur: Fill in data for zeratul.
root [Thu, 16 Apr 2009 14:16:57 +0000 (16:16 +0200)]
vuurmuur: Fill in data for zeratul.

15 years agovuurmuur: Fix the port for ssh-host service.
root [Thu, 16 Apr 2009 14:16:22 +0000 (16:16 +0200)]
vuurmuur: Fix the port for ssh-host service.

15 years agovserver: Skip hashify for vservers with vhashify disabled.
Matthijs Kooijman [Thu, 16 Apr 2009 13:32:08 +0000 (15:32 +0200)]
vserver: Skip hashify for vservers with vhashify disabled.

15 years agovserver: Some more vserver-hashify-all cleanups.
Matthijs Kooijman [Thu, 16 Apr 2009 13:30:11 +0000 (15:30 +0200)]
vserver: Some more vserver-hashify-all cleanups.

15 years agovserver: Don't break when no hashed files te delete.
Matthijs Kooijman [Thu, 16 Apr 2009 13:24:05 +0000 (15:24 +0200)]
vserver: Don't break when no hashed files te delete.

Previously, if find would find no hashed files to delete, xargs would
still run rm without arguments. Now it doesn't.

15 years agovserver: Cleanup vserver-hashify-all script.
Matthijs Kooijman [Thu, 16 Apr 2009 13:18:47 +0000 (15:18 +0200)]
vserver: Cleanup vserver-hashify-all script.

This adds proper quoting and uses absolute paths.

15 years agovserver: Hashify hosts even when they are not running.
Matthijs Kooijman [Thu, 16 Apr 2009 13:15:57 +0000 (15:15 +0200)]
vserver: Hashify hosts even when they are not running.

Docs say the vserver should be running to call package management, but
we don't use that anyway.

15 years agoDisable loading of modules, since we don't have them enabled.
root [Thu, 16 Apr 2009 11:56:27 +0000 (13:56 +0200)]
Disable loading of modules, since we don't have them enabled.

15 years agovuurmuur: Enable vuurmuur on startup.
root [Thu, 16 Apr 2009 10:40:27 +0000 (12:40 +0200)]
vuurmuur: Enable vuurmuur on startup.

15 years agovuurmuur: Define a sane ruleset.
root [Thu, 16 Apr 2009 10:39:01 +0000 (12:39 +0200)]
vuurmuur: Define a sane ruleset.

15 years agovuurmuur: Add default configuration.
root [Thu, 16 Apr 2009 09:26:59 +0000 (11:26 +0200)]
vuurmuur: Add default configuration.

15 years agovserver: Set dependencies between vservers.
root [Wed, 15 Apr 2009 21:03:25 +0000 (23:03 +0200)]
vserver: Set dependencies between vservers.

15 years agovserver: Mark most vservers for autostart.
root [Wed, 15 Apr 2009 21:01:58 +0000 (23:01 +0200)]
vserver: Mark most vservers for autostart.

15 years agovserver: Give all vservers a shared /var/cache/apt/archives dir.
Matthijs Kooijman [Wed, 15 Apr 2009 17:31:06 +0000 (19:31 +0200)]
vserver: Give all vservers a shared /var/cache/apt/archives dir.

Each vserver has write access to this dir, so any packages downloaded
can be shared by all. This saves download bandwidth, but more
importantly it saves storage size (upgrading all vservers at the same
time easily eats up gigabytes of space).

Since each vservers still has its own Release and Contents files and
checks gnupg signatures and hashes before installing the .debs, there
should not be a security issue.

15 years agovserver: Mount most of /data in login.
Matthijs Kooijman [Sat, 4 Apr 2009 11:33:26 +0000 (13:33 +0200)]
vserver: Mount most of /data in login.

15 years agossh: Listen on the new IP address.
Matthijs Kooijman [Sat, 4 Apr 2009 11:33:02 +0000 (13:33 +0200)]
ssh: Listen on the new IP address.

15 years agovserver: Mount /data/ in the backup vserver.
Matthijs Kooijman [Sat, 4 Apr 2009 11:31:55 +0000 (13:31 +0200)]
vserver: Mount /data/ in the backup vserver.

15 years agovserver: Add mail vserver configuration.
root [Sun, 29 Mar 2009 21:54:18 +0000 (23:54 +0200)]
vserver: Add mail vserver configuration.

15 years agovserver: Enable vhashify for the www vserver.
Matthijs Kooijman [Sun, 29 Mar 2009 12:57:41 +0000 (14:57 +0200)]
vserver: Enable vhashify for the www vserver.

15 years agovserver: Add login vserver configuration.
root [Sun, 29 Mar 2009 12:38:59 +0000 (14:38 +0200)]
vserver: Add login vserver configuration.

15 years agosystem: Upgrade to lenny.
Matthijs Kooijman [Tue, 30 Dec 2008 22:23:14 +0000 (23:23 +0100)]
system: Upgrade to lenny.

15 years agobackupninja: Upgrade config file to 0.9.6.
Matthijs Kooijman [Tue, 30 Dec 2008 22:21:11 +0000 (23:21 +0100)]
backupninja: Upgrade config file to 0.9.6.