- seger.debian.org
security_mirror:
- mirror-anu.debian.org
+ - mirror-bytemark.debian.org
- mirror-conova.debian.org
- mirror-csail.debian.org
- mirror-isc.debian.org
- mirror-umn.debian.org
- lobos.debian.org
- villa.debian.org
+ security_mirror_no_ftp:
+ # hosts that are not part of security.debian.org but
+ # only participiate in the anycast do not need ftp
+ - mirror-bytemark.debian.org
security_tracker:
- soriano.debian.org
ssh.upload.d.o:
$vhost_listen = join([
$::hostname ? {
klecker => '130.89.148.12:80 [2001:610:1908:b000::148:12]:80',
+ mirror-bytemark => '5.153.231.45:80 [2001:41c8:1000:21::21:45]:80',
mirror-isc => '149.20.4.15:80 [2001:4f8:1:c::15]:80',
mirror-conova => '217.196.149.232:80 [2a02:16a8:dc41:100::232]:80',
default => '*:80',
default => '',
}], ' ')
$onion_v4_addr = $::hostname ? {
- mirror-bytemark => '5.153.231.37',
+ mirror-bytemark => '5.153.231.45',
klecker => '130.89.148.12',
mirror-isc => '149.20.4.15',
default => undef,
$rsync_bind = $::hostname ? {
mirror-anu => '150.203.164.61',
+ mirror-bytemark => '5.153.231.46',
mirror-conova => '217.196.149.233',
mirror-isc => '149.20.4.14',
mirror-umn => '128.101.240.215',
}
$rsync_bind6 = $::hostname ? {
mirror-anu => '2001:388:1034:2900::3d',
+ mirror-bytemark => '2001:41c8:1000:21::21:46',
mirror-conova => '2a02:16a8:dc41:100::233',
mirror-isc => '2001:4f8:1:c::14',
mirror-umn => '2607:ea00:101:3c0b::1deb:215',
content => template('roles/security_mirror/security.debian.org.erb')
}
- include ferm::ftp_conntrack
- vsftpd::site { 'security':
- banner => 'security.debian.org FTP server (vsftpd)',
- logfile => '/var/log/ftp/vsftpd-security.debian.org.log',
- max_clients => 200,
- root => '/srv/ftp.root/',
- bind => $ftp_bind,
- }
- if ($ftp_bind6) {
- vsftpd::site { 'security6':
+ if has_role('security_mirror_no_ftp') {
+ # nop
+ } else {
+ include ferm::ftp_conntrack
+ vsftpd::site { 'security':
banner => 'security.debian.org FTP server (vsftpd)',
- logfile => '/var/log/ftp/vsftpd-security6.debian.org.log',
+ logfile => '/var/log/ftp/vsftpd-security.debian.org.log',
max_clients => 200,
root => '/srv/ftp.root/',
- bind => $ftp_bind6,
+ bind => $ftp_bind,
+ }
+ if ($ftp_bind6) {
+ vsftpd::site { 'security6':
+ banner => 'security.debian.org FTP server (vsftpd)',
+ logfile => '/var/log/ftp/vsftpd-security6.debian.org.log',
+ max_clients => 200,
+ root => '/srv/ftp.root/',
+ bind => $ftp_bind6,
+ }
}
}