Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
403 lines (346 sloc) 6.37 KB
### Changes to this file may get lost when upgrading dconf
### Customizations should go into /etc/dconf-custom.conf
### Please send improvements or fixes to: Dag Wieers <dag@wieers.com>
### Initial debian version: Leo Eraly <leo@kangaroot.net>
### Main configuration
[main]
logdir = /var/log/dconf
include = /etc/dconf-custom.conf
### System information
[apm]
files = /etc/apm/event.d/*
/etc/apm/resume.d/*
/etc/apm/suspend.d/*
/etc/apm/scripts.d/*
[boot]
files =
/etc/grub.conf
/etc/inittab
/etc/lilo.conf
/etc/modules
/proc/cmdline
[dhcp]
files =
/etc/dhclient.conf
/etc/dhclient-script
/etc/dhcpd.conf
/etc/pump.conf
/etc/default/dhcp
[filesystems]
cmds =
fdisk -l 2>/dev/null
sfdisk -l
df -h
mount
files =
/etc/exports
/etc/raidtab
/etc/fstab
/proc/filesystems
/proc/mounts
/etc/mdadm/mdadm.conf
/etc/default/hdparm
/etc/hdparm.conf
[firewall]
cmds =
ebtables -L
ipchains -L -xnv
iptables-save
iptables -L -t filter -n | sed -e 's| [0-9]\+ packets, [0-9]\+ bytes||'
iptables -L -t mangle -n | sed -e 's| [0-9]\+ packets, [0-9]\+ bytes||'
iptables -L -t nat -n | sed -e 's| [0-9]\+ packets, [0-9]\+ bytes||'
files =
/etc/init.d/iptables
/etc/default/iptables
/proc/net/ip_conntrack
/proc/sys/net/ipv4/ip_*
[iproute2]
files =
/etc/iproute2/ematch_map
/etc/iproute2/rt_dsfield
/etc/iproute2/rt_protos
/etc/iproute2/rt_realms
/etc/iproute2/rt_scopes
/etc/iproute2/rt_tables
[ipsec]
cmds =
ipsec auto --status
files =
/etc/ipsec.conf
/etc/ipsec.d/*
/proc/net/ipsec_version
[ipvs]
cmds = ipvsadm -L
files =
/etc/sysconfig/ipvsadm
/etc/ipvsadm.rules
[kernel]
cmds =
ipcs -l
sysctl -e -p
dmesg
files = /etc/sysctl.conf
[network]
cmds =
ip addr
ip route
### Too much noise
# netstat -lnpt | grep -v ":60.. " | perl -p -e "s|^(\w+)(\s+\S+){2}|\$1 |; s|(\d+\|PID)/||;"
# netstat -lnpu | grep -v "/local " | perl -p -e "s|^(\w+)(\s+\S+){2}|\$1 |; s|(\d+\|PID)/||;"
route -n
files =
/etc/host.conf
/etc/hosts
/etc/nsswitch.conf
/etc/default/avahi-daemon
/etc/resolv.conf
/etc/network/interfaces
/etc/network/if-down.d/*
/etc/network/if-post-down.d/*
/etc/network/if-pre-up.d/*
/etc/network/if-up.d/
/etc/network/ip-down.d/*
/etc/network/ip-up.d/*
/etc/network/options
/proc/net/dev
#maybe another location for unix sockets?
/proc/net/unix
[packages]
cmds =
dpkg -l
dpkg --get-selections
[printer]
files =
/etc/cups/cupsd.conf
/etc/cups/printers.conf
/etc/cups/client.conf
/etc/lpd.conf
/etc/printcap
[root user]
files =
/root/.Xresources
/root/.bash_logout
/root/.bash_profile
/root/.bashrc
/root/.cshrc
/root/.tcshrc
[security]
files =
/etc/group
/etc/gshadow
/etc/hosts.allow
/etc/hosts.deny
/etc/passwd
/etc/shadow
/etc/sudoers
[services]
dirs = /etc/security
files =
/etc/inetd.conf
[shell]
files =
/etc/bashrc
/etc/bash.bashrc
/etc/bash_completion
/etc/bash_completion.d/*
/etc/profile
[system]
cmds = uname -a
files = /etc/debian_version
/etc/default/rcS
### Hardware info
[hardware]
cmds =
dmidecode
lspci -v
lsusb -vv
# for i in /dev/hd[a-z] /dev/sd[a-z]; do smartctl -a $i; done
files =
/etc/modprobe.conf
/etc/modules.conf
/proc/cpuinfo
/proc/devices
/proc/dma
/proc/driver/nvram
/proc/ide/drivers
/proc/ide/ide?/hd?/{cache,capacity,media,model,settings}
/proc/ide/piix
/proc/ide/via
/proc/iomem
/proc/mdstat
/proc/misc
/proc/modules
/proc/mtrr
/proc/ppc64/lparcfg
/proc/ppc64/rtas/poweron
/proc/ppc64/rtas/sensors
/proc/scsi
/proc/scsi/IBMchanger
/proc/scsi/IBMtape
/proc/swaps
/proc/tty/drivers
dirs = /etc/modutils
[amavisd-new]
files =
/etc/amavis/amavisd.conf
[apache]
files =
/etc/apache/httpd.conf
/etc/apache/conf.d/*
[bind]
files =
/etc/bind/named.conf
/etc/bind/rndc.key
[maradns]
files =
/etc/maradns/*
[clamav]
files =
/etc/clamav/clamd.conf
/etc/clamav/clamav.conf
/etc/clamav/freshclam.conf
[cron]
files = /etc/crontab
cmds = crontab -l
# ls -l /etc/cron.*/
dirs = /etc/cron.daily
/etc/cron.weekly
/etc/cron.monthly
/etc/cron.hourly
/etc/cron.d
[dconf]
files =
/etc/dconf.conf
/etc/dconf-custom.conf
[mysql]
files = /etc/mysql/my.cnf
/etc/mysql/debian.cnf
[postgresql]
dirs = /etc/postgresql
/etc/postgresql-common
[nagios]
files =
/etc/nagios/*.cfg
[nfs]
cmds =
exportfs
showmount -d
showmount -e
files =
/etc/exports
/etc/default/nfs-common
[nscd]
files = /etc/nscd.conf
[dbus]
files = /etc/default/dbus
/etc/dbus-1/*
/etc/dbus-1/event.d/*
/etc/dbus-1/system.d/*
[ntp]
files =
/etc/ntp.conf
/etc/ntp/keys
/etc/ntp/ntpservers
/etc/ntp/step-tickers
/etc/sysconfig/ntpd
[openldap]
files =
# this ldap.conf is used for nss
/etc/ldap.conf
# this is the openldap client conf
/etc/ldap/ldap.conf
/etc/ldap.secrets
/etc/ldap/slapd.conf
#maybe the schema?
[openssh]
files =
/etc/ssh/shosts.equiv
/etc/ssh/ssh_config
/etc/ssh/sshd_config
/etc/default/ssh
[php]
files =
/etc/php4/apache/php.ini
[postfix]
files =
/etc/postfix/access
/etc/postfix/aliases
/etc/postfix/canonical
/etc/postfix/sender_canonical
/etc/postfix/recipient_canonical
/etc/postfix/main.cf
/etc/postfix/master.cf
/etc/postfix/pcre_table
/etc/postfix/regexp_table
/etc/postfix/relocated
/etc/postfix/transport
/etc/postfix/virtual
[proftpd]
files =
/etc/ftpusers
/etc/proftpd.conf
/var/ftp/welcome.msg
/etc/default/proftpd
[qmail]
cmds = /var/qmail/bin/qmail-showctl
dirs =
/var/qmail/alias/
/var/qmail/popboxes/
/var/qmail/users/
/var/qmail/control
[rsync]
files = /etc/rsyncd.conf
[samba]
files =
/etc/samba/smb.conf
/etc/samba/smbusers
/etc/samba/lmhosts
/etc/samba/smb.conf
/etc/samba/smbpasswd
/etc/samba/smbusers
[sendmail]
files =
/etc/aliases
/etc/mail/access
/etc/mail/domaintable
/etc/mail/local-host-names
/etc/mail/mailertable
/etc/mail/sendmail.mc
/etc/mail/submit.mc
/etc/mail/trusted-users
/etc/mail/virtusertable
[smbldap]
files =
/etc/smbldap-tools/smbldap.conf
/etc/smbldap-tools/smbldap_bind.conf
[snort]
files =
/etc/snort/*.config
/etc/sysconfig/snort
[spamassassin]
files =
/etc/spamassassin/*.cf
/etc/default/spamassassin
[squid]
files =
/etc/squid/mime.conf
/etc/squid/msntauth.conf
/etc/squid/squid.conf
[syslog]
files =
/etc/syslog.conf
/etc/default/syslogd
[webalizer]
files = /etc/webalizer.conf
[apt]
files = /etc/apt/sources.list
listchanges.conf
dirs = /etc/apt/apt.conf.d
[rkhunter]
files => /etc/default/rkhunter
/etc/rkhunter.conf
[openvz]
files =
/etc/vz/vz.conf
/etc/vz/conf/*
### Add your own customizations to /etc/dconf-custom.conf