matthijs/servers/drsnuggles.git
13 years agonsd: Run in a chroot.
Matthijs Kooijman [Sun, 30 Jan 2011 11:01:50 +0000 (12:01 +0100)]
nsd: Run in a chroot.

13 years agonsd: Add default config file.
Matthijs Kooijman [Sat, 29 Jan 2011 19:11:08 +0000 (20:11 +0100)]
nsd: Add default config file.

14 years agoMerge branch 'template' of ssh://matthijs@git.stderr.nl/matthijs/servers/drsnuggles...
root [Tue, 3 Aug 2010 15:51:54 +0000 (17:51 +0200)]
Merge branch 'template' of ssh://matthijs@git.stderr.nl/matthijs/servers/drsnuggles into dns

* 'template' of ssh://matthijs@git.stderr.nl/matthijs/servers/drsnuggles:
  oidentd: Allow the vserver host to forward connections.
  oidentd: Add default configuration.

14 years agooidentd: Allow the vserver host to forward connections. template
Matthijs Kooijman [Mon, 26 Jul 2010 13:29:31 +0000 (15:29 +0200)]
oidentd: Allow the vserver host to forward connections.

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

14 years agomaradns: Add plotornot.nl domain.
Matthijs Kooijman [Mon, 25 Jan 2010 19:48:36 +0000 (20:48 +0100)]
maradns: Add plotornot.nl domain.

15 years agomaradns: Add hekjelarp.nl domain.
Matthijs Kooijman [Wed, 18 Nov 2009 20:27:30 +0000 (21:27 +0100)]
maradns: Add hekjelarp.nl domain.

15 years agodnsmasq: Update IP address of Coloclue's resolver.
Matthijs Kooijman [Thu, 28 May 2009 10:16:14 +0000 (12:16 +0200)]
dnsmasq: Update IP address of Coloclue's resolver.

15 years agosystem: Reorder hosts file.
Matthijs Kooijman [Tue, 5 May 2009 18:44:34 +0000 (20:44 +0200)]
system: Reorder hosts file.

15 years agosystem: Remove old entries from hosts file.
Matthijs Kooijman [Tue, 5 May 2009 18:44:09 +0000 (20:44 +0200)]
system: Remove old entries from hosts file.

15 years agosystem: Update comments in hosts file.
Matthijs Kooijman [Tue, 5 May 2009 18:43:40 +0000 (20:43 +0200)]
system: Update comments in hosts file.

15 years agoMerge commit 'origin/template' into dns
root [Tue, 5 May 2009 16:20:21 +0000 (18:20 +0200)]
Merge commit 'origin/template' into dns

* commit 'origin/template':
  rsyslog: Use another format for forwarding messages.
  ssh: Disable changing of the oom_adj value.
  ssh: Add default initscript configuration.

15 years agorsyslog: Use another format for forwarding messages. samba
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

15 years agossh: Disable changing of the oom_adj value.
Matthijs Kooijman [Tue, 5 May 2009 15:07:10 +0000 (17:07 +0200)]
ssh: Disable changing of the oom_adj value.

This value is meant for making sure ssh is never killed by the oom
killer, but that is not allowed inside vservers.

15 years agossh: Add default initscript configuration.
Matthijs Kooijman [Tue, 5 May 2009 15:06:45 +0000 (17:06 +0200)]
ssh: Add default initscript configuration.

15 years agoMerge commit 'origin/template' into dns
root [Tue, 5 May 2009 14:26:47 +0000 (16:26 +0200)]
Merge commit 'origin/template' into dns

* commit 'origin/template':
  rsyslog: Make the main queue disk-assisted as well.
  rsyslog: Enable queuing of log messages.
  nss: Add some comments.
  rsyslog: Send all logs to the log vserver.
  rsyslog: Move all rsyslog log files into a subdir.
  rsyslog: Update logrotate config to new rsyslog config.
  rsyslog: Add default logrotate config.
  rsyslog: Disable logging of kernel messages.
  rsyslog: Enable loggin of mark lines.
  rsyslog: Clean up rsyslog configuration.
  rsyslog: Add default configuration.
  pam: Add pam_permit to the auth section of chfn.
  nss: Update to use our custom LDAP schema.
  apt: Set the Default-Release to "stable".
  pam: Let pam.d/cron include common-account.
  pam: Let pam.d/su include common{account,session}.
  pam: Make common-account also support unix users.
  pam: Add .so to module names in pam.d/other.

15 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.

15 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.

15 years agonss: Add some comments.
Matthijs Kooijman [Tue, 5 May 2009 09:17:28 +0000 (11:17 +0200)]
nss: Add some comments.

15 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.

15 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.

15 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.

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

15 years agorsyslog: Disable logging of kernel messages.
Matthijs Kooijman [Mon, 4 May 2009 20:31:27 +0000 (22:31 +0200)]
rsyslog: Disable logging of kernel messages.

The vservers won't have access to the kernel messages anyway.

15 years agorsyslog: Enable loggin of mark lines.
Matthijs Kooijman [Mon, 4 May 2009 20:26:54 +0000 (22:26 +0200)]
rsyslog: Enable loggin of mark lines.

15 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.

15 years agorsyslog: Add default configuration.
Matthijs Kooijman [Mon, 4 May 2009 19:50:28 +0000 (21:50 +0200)]
rsyslog: Add default configuration.

15 years agosystem: Add address of log vserver
root [Mon, 4 May 2009 19:31:04 +0000 (21:31 +0200)]
system: Add address of log vserver

15 years agosystem: Set hostname and mailname
Matthijs Kooijman [Fri, 17 Apr 2009 13:15:44 +0000 (15:15 +0200)]
system: Set hostname and mailname

15 years agosystem: Add the address of the mail vserver.
Matthijs Kooijman [Fri, 17 Apr 2009 13:00:35 +0000 (15:00 +0200)]
system: Add the address of the mail vserver.

15 years agosystem: Add the kiiraa alias to login.
Matthijs Kooijman [Fri, 17 Apr 2009 12:59:51 +0000 (14:59 +0200)]
system: Add the kiiraa alias to login.

The kiiraa IRC bot is running in the login jail, this alias can be used
for reaching its XMLRPC interface.

15 years agosystem: Point {git,hg,svn}.stderr.nl to login.
Matthijs Kooijman [Fri, 17 Apr 2009 12:58:30 +0000 (14:58 +0200)]
system: Point {git,hg,svn}.stderr.nl to login.

These used to point at test, but this vserver is no longer running.

15 years agopam: Add pam_permit to the auth section of chfn.
Matthijs Kooijman [Mon, 13 Apr 2009 15:48:38 +0000 (17:48 +0200)]
pam: Add pam_permit to the auth section of chfn.

The chfn command did not work before, since it checks account as well as
auth.

15 years agonss: Update to use our custom LDAP schema.
Matthijs Kooijman [Mon, 13 Apr 2009 15:22:39 +0000 (17:22 +0200)]
nss: Update to use our custom LDAP schema.

This uses the uniqueMember attribute containing dns instead of the
memberUid attribute containing usernames for forming groups.
Additionally, it tells nss-ldap about our replacement for the posixGroup
objectClass.

15 years agoapt: Set the Default-Release to "stable".
Matthijs Kooijman [Mon, 13 Apr 2009 15:21:33 +0000 (17:21 +0200)]
apt: Set the Default-Release to "stable".

15 years agopam: Let pam.d/cron include common-account.
Matthijs Kooijman [Tue, 30 Dec 2008 23:00:45 +0000 (00:00 +0100)]
pam: Let pam.d/cron include common-account.

The changes to common-account make the custom account section of
pam.d/cron unneeded.

15 years agopam: Let pam.d/su include common{account,session}.
Matthijs Kooijman [Tue, 30 Dec 2008 22:58:24 +0000 (23:58 +0100)]
pam: Let pam.d/su include common{account,session}.

Since pam.d/other was removed, su was missing the account and session
entries and failed.

15 years agopam: Make common-account also support unix users.
Matthijs Kooijman [Tue, 30 Dec 2008 22:56:17 +0000 (23:56 +0100)]
pam: Make common-account also support unix users.

This makes sure that common-account supports both unix users (from
passwd) and ldap users. A lot of services don't do real (password)
authentication, but do need to work for both ldap and unix users (cron,
su).

common-auth still only works for ldap users, since those are the only
ones with actual passwords.

15 years agopam: Add .so to module names in pam.d/other.
Matthijs Kooijman [Tue, 30 Dec 2008 22:51:27 +0000 (23:51 +0100)]
pam: Add .so to module names in pam.d/other.

15 years agoMerge commit 'origin/template' into dns
root [Tue, 30 Dec 2008 17:15:05 +0000 (18:15 +0100)]
Merge commit 'origin/template' into dns

* commit 'origin/template':
  pam: Deny everything in pam.d/other.
  pam: Add default pam.d/other file.
  pam: Fix pam configuration for cron.
  pam: Don't allow console logins.
  pam: Allow only root to change shells and user info.
  pam: Add default pamd.d/{chfn,chsh,cron,login} files.
  pam: Remove all but one line from pam.d/su.
  pam: Add default pam.d/su file.

15 years agopam: Deny everything in pam.d/other.
Matthijs Kooijman [Tue, 30 Dec 2008 16:04:28 +0000 (17:04 +0100)]
pam: Deny everything in pam.d/other.

15 years agopam: Add default pam.d/other file.
Matthijs Kooijman [Tue, 30 Dec 2008 16:01:26 +0000 (17:01 +0100)]
pam: Add default pam.d/other file.

15 years agopam: Fix pam configuration for cron.
Matthijs Kooijman [Tue, 30 Dec 2008 15:50:45 +0000 (16:50 +0100)]
pam: Fix pam configuration for cron.

This allows non-ldap users (say, root) to use cron.

15 years agopam: Don't allow console logins.
Matthijs Kooijman [Tue, 30 Dec 2008 10:38:15 +0000 (11:38 +0100)]
pam: Don't allow console logins.

We don't have a console on a vserver anyway...

15 years agopam: Allow only root to change shells and user info.
Matthijs Kooijman [Tue, 30 Dec 2008 10:36:39 +0000 (11:36 +0100)]
pam: Allow only root to change shells and user info.

Since changing user info and shells for ldap users is not supported by
chfn and chsh anyway, and we have no real users that are not in ldap,
limiting this to just root makes sense.

15 years agopam: Add default pamd.d/{chfn,chsh,cron,login} files.
Matthijs Kooijman [Tue, 30 Dec 2008 10:24:58 +0000 (11:24 +0100)]
pam: Add default pamd.d/{chfn,chsh,cron,login} files.

15 years agopam: Remove all but one line from pam.d/su.
Matthijs Kooijman [Mon, 29 Dec 2008 19:03:51 +0000 (20:03 +0100)]
pam: Remove all but one line from pam.d/su.

The session modules seem useless, and the common files only include ldap
and don't know about root, so that only gives warnings when root is
trying to su.

This makes it impossible for non-root users to use su, but that's a
feature.

15 years agopam: Add default pam.d/su file.
Matthijs Kooijman [Mon, 29 Dec 2008 19:03:15 +0000 (20:03 +0100)]
pam: Add default pam.d/su file.

15 years agosystem: Add the backup vserver to the hosts file.
Matthijs Kooijman [Mon, 29 Dec 2008 16:41:04 +0000 (17:41 +0100)]
system: Add the backup vserver to the hosts file.

15 years agosystem: Add extra aliases for the test vserver.
Matthijs Kooijman [Mon, 29 Dec 2008 16:39:23 +0000 (17:39 +0100)]
system: Add extra aliases for the test vserver.

This allows hg.stderr.nl and svn.stderr.nl to be accessed from other
vservers as well.

16 years agosystem: Add git.stderr.nl as alias for the test vserver.
root [Mon, 24 Nov 2008 23:44:23 +0000 (00:44 +0100)]
system: Add git.stderr.nl as alias for the test vserver.

This way, git commits through ssh work until the routing rules have been
improved.

16 years agosystem: Add two new vservers to the hosts file.
Matthijs Kooijman [Mon, 24 Nov 2008 23:43:49 +0000 (00:43 +0100)]
system: Add two new vservers to the hosts file.

16 years agomaradns: Add configuration for a few zones.
Matthijs Kooijman [Thu, 9 Oct 2008 20:21:13 +0000 (20:21 +0000)]
maradns: Add configuration for a few zones.

16 years agomaradns: Add configuration for authoritive-only mode.
Matthijs Kooijman [Thu, 9 Oct 2008 20:31:22 +0000 (22:31 +0200)]
maradns: Add configuration for authoritive-only mode.

16 years agosystem: Add /etc/hosts file.
Matthijs Kooijman [Thu, 9 Oct 2008 18:30:56 +0000 (18:30 +0000)]
system: Add /etc/hosts file.

The file contains the default entries plus the addresses of all
vservers, meant to be used by dnsmasq.

16 years agodnsmasq: Add dnsmasq configuration.
Matthijs Kooijman [Thu, 9 Oct 2008 18:28:45 +0000 (18:28 +0000)]
dnsmasq: Add dnsmasq configuration.

This configuration resolves from the local /etc/hosts file and forwards
requests it cannot resolve by itself to upstream dns servers.

16 years agosystem: Set the timezone to Europe/Amsterdam.
Matthijs Kooijman [Thu, 9 Oct 2008 20:20:13 +0000 (22:20 +0200)]
system: Set the timezone to Europe/Amsterdam.

16 years agoapt: Move local repository from ~matthijs to /data.
Matthijs Kooijman [Thu, 9 Oct 2008 15:46:18 +0000 (15:46 +0000)]
apt: Move local repository from ~matthijs to /data.

16 years agobash: Include bash.bashrc from /etc/profile.
Matthijs Kooijman [Thu, 9 Oct 2008 13:15:34 +0000 (13:15 +0000)]
bash: Include bash.bashrc from /etc/profile.

16 years agosystem: Add resolv.conf, pointing to the DNS vserver.
Matthijs Kooijman [Thu, 9 Oct 2008 13:14:52 +0000 (13:14 +0000)]
system: Add resolv.conf, pointing to the DNS vserver.

16 years agobash: Add default global profile script.
root [Tue, 30 Sep 2008 14:49:56 +0000 (14:49 +0000)]
bash: Add default global profile script.

16 years agobash: Enable extended completion.
root [Tue, 30 Sep 2008 14:33:29 +0000 (14:33 +0000)]
bash: Enable extended completion.

16 years agobash: Add initial bashrc.
root [Tue, 30 Sep 2008 14:32:51 +0000 (14:32 +0000)]
bash: Add initial bashrc.

16 years agonss: Don't use mdns for name resolution.
root [Fri, 26 Sep 2008 10:16:05 +0000 (10:16 +0000)]
nss: Don't use mdns for name resolution.

This change was automatically made by removing avahi-daemon.

16 years agonullmailer: Add configuration.
root [Fri, 26 Sep 2008 10:15:05 +0000 (10:15 +0000)]
nullmailer: Add configuration.

16 years agopam: Enable LDAP host attribute checking.
root [Thu, 25 Sep 2008 15:36:02 +0000 (15:36 +0000)]
pam: Enable LDAP host attribute checking.

16 years agopam: Only use LDAP for auth and account, remove unix authentication.
root [Thu, 25 Sep 2008 15:30:51 +0000 (15:30 +0000)]
pam: Only use LDAP for auth and account, remove unix authentication.

16 years agopam: Simplify configuration.
root [Thu, 25 Sep 2008 12:19:43 +0000 (12:19 +0000)]
pam: Simplify configuration.

16 years agopam: Use LDAP for authentication.
root [Thu, 25 Sep 2008 10:24:14 +0000 (10:24 +0000)]
pam: Use LDAP for authentication.

16 years agonss: Use LDAP for passwd and group.
root [Thu, 25 Sep 2008 10:23:45 +0000 (10:23 +0000)]
nss: Use LDAP for passwd and group.

16 years agopam: Add default pam common- files.
root [Thu, 25 Sep 2008 07:48:37 +0000 (07:48 +0000)]
pam: Add default pam common- files.

16 years agoAdd local debian repository.
root [Thu, 21 Aug 2008 16:04:27 +0000 (16:04 +0000)]
Add local debian repository.

16 years agoImport initial sources.list.
root [Thu, 21 Aug 2008 15:45:24 +0000 (15:45 +0000)]
Import initial sources.list.