Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
logwatch /
scripts /
services /
Delete
Unzip
Name
Size
Permission
Date
Action
afpd
3.84
KB
-rwxr-xr-x
2017-01-21 17:44
amavis
176.48
KB
-rwxr-xr-x
2017-01-21 17:44
arpwatch
1.43
KB
-rwxr-xr-x
2017-01-21 17:44
audit
15.59
KB
-rwxr-xr-x
2017-01-21 17:44
automount
5.24
KB
-rwxr-xr-x
2017-01-21 17:44
autorpm
2.25
KB
-rwxr-xr-x
2017-01-21 17:44
barracuda
11.85
KB
-rwxr-xr-x
2017-01-21 17:44
bfd
2.2
KB
-rwxr-xr-x
2017-01-21 17:44
cisco
44.38
KB
-rwxr-xr-x
2016-07-26 19:43
citadel
58.58
KB
-rwxr-xr-x
2017-01-21 17:44
clam-update
6.93
KB
-rwxr-xr-x
2017-01-21 17:44
clamav
6.17
KB
-rwxr-xr-x
2017-01-21 17:44
clamav-milter
4.17
KB
-rwxr-xr-x
2017-01-21 17:44
courier
23.28
KB
-rwxr-xr-x
2017-01-21 17:44
cron
12.58
KB
-rwxr-xr-x
2017-01-21 17:44
denyhosts
1.75
KB
-rwxr-xr-x
2017-01-21 17:44
dhcpd
11
KB
-rwxr-xr-x
2017-01-21 17:44
dirsrv
4.85
KB
-rwxr-xr-x
2017-01-21 17:44
dnssec
4.99
KB
-rwxr-xr-x
2017-01-21 17:44
dovecot
24.72
KB
-rwxr-xr-x
2017-01-21 17:44
dpkg
3.21
KB
-rwxr-xr-x
2017-01-21 17:44
emerge
4.44
KB
-rwxr-xr-x
2017-01-21 17:44
evtapplication
5.92
KB
-rwxr-xr-x
2017-01-21 17:44
evtsecurity
12.7
KB
-rwxr-xr-x
2017-01-21 17:44
evtsystem
14.95
KB
-rwxr-xr-x
2017-01-21 17:44
exim
24.79
KB
-rwxr-xr-x
2017-01-21 17:44
eximstats
1.91
KB
-rwxr-xr-x
2017-01-21 17:44
extreme-networks
10.91
KB
-rwxr-xr-x
2017-01-21 17:44
fail2ban
9.98
KB
-rwxr-xr-x
2017-01-21 17:44
fetchmail
3.53
KB
-rwxr-xr-x
2017-01-21 17:44
freeradius
10.22
KB
-rwxr-xr-x
2017-01-21 17:44
ftpd-messages
7.67
KB
-rwxr-xr-x
2017-01-21 17:44
ftpd-xferlog
6.18
KB
-rwxr-xr-x
2017-01-21 17:44
http
23.73
KB
-rwxr-xr-x
2017-01-21 17:44
http-error
4.22
KB
-rwxr-xr-x
2016-07-26 19:43
identd
5.54
KB
-rwxr-xr-x
2017-01-21 17:44
imapd
11.15
KB
-rwxr-xr-x
2017-01-21 17:44
in.qpopper
4.84
KB
-rwxr-xr-x
2017-01-21 17:44
init
3.48
KB
-rwxr-xr-x
2017-01-21 17:44
ipop3d
4.08
KB
-rwxr-xr-x
2017-01-21 17:44
iptables
14.96
KB
-rwxr-xr-x
2017-01-21 17:44
kernel
10.56
KB
-rwxr-xr-x
2017-01-21 17:44
knockd
2.8
KB
-rwxr-xr-x
2017-01-21 17:44
lvm
3.12
KB
-rwxr-xr-x
2017-01-21 17:44
mailscanner
27.15
KB
-rwxr-xr-x
2017-01-21 17:44
mdadm
4.58
KB
-rwxr-xr-x
2017-01-21 17:44
mod_security2
7.82
KB
-rwxr-xr-x
2017-01-21 17:44
modprobe
4.17
KB
-rwxr-xr-x
2017-01-21 17:44
mountd
4.35
KB
-rwxr-xr-x
2017-01-21 17:44
mysql
4.52
KB
-rwxr-xr-x
2017-01-21 17:44
mysql-mmm
4.84
KB
-rwxr-xr-x
2017-01-21 17:44
named
31.26
KB
-rwxr-xr-x
2017-01-21 17:44
netopia
14.98
KB
-rwxr-xr-x
2017-01-21 17:44
netscreen
20.63
KB
-rwxr-xr-x
2017-01-21 17:44
oidentd
5.47
KB
-rwxr-xr-x
2017-01-21 17:44
omsa
2.59
KB
-rwxr-xr-x
2017-01-21 17:44
openvpn
13.68
KB
-rwxr-xr-x
2017-01-21 17:44
pam
1.86
KB
-rwxr-xr-x
2017-01-21 17:44
pam_pwdb
7.84
KB
-rwxr-xr-x
2017-01-21 17:44
pam_unix
16.03
KB
-rwxr-xr-x
2017-01-21 17:44
php
5.1
KB
-rwxr-xr-x
2017-01-21 17:44
pix
13.29
KB
-rwxr-xr-x
2017-01-21 17:44
pluto
11.97
KB
-rwxr-xr-x
2017-01-21 17:44
pop3
15.18
KB
-rwxr-xr-x
2017-01-21 17:44
portsentry
5
KB
-rwxr-xr-x
2017-01-21 17:44
postfix
241.59
KB
-rwxr-xr-x
2017-01-21 17:44
postgresql
5.39
KB
-rwxr-xr-x
2017-01-21 17:44
pound
3.52
KB
-rwxr-xr-x
2017-01-21 17:44
proftpd-messages
10.6
KB
-rwxr-xr-x
2017-01-21 17:44
puppet
10.37
KB
-rwxr-xr-x
2016-07-26 19:43
pureftpd
8.17
KB
-rwxr-xr-x
2017-01-21 17:44
qmail
5.73
KB
-rwxr-xr-x
2017-01-21 17:44
qmail-pop3d
4.43
KB
-rwxr-xr-x
2017-01-21 17:44
qmail-pop3ds
3.98
KB
-rwxr-xr-x
2017-01-21 17:44
qmail-send
19.63
KB
-rwxr-xr-x
2017-01-21 17:44
qmail-smtpd
56.05
KB
-rwxr-xr-x
2017-01-21 17:44
raid
1.73
KB
-rwxr-xr-x
2017-01-21 17:44
resolver
3.43
KB
-rwxr-xr-x
2017-01-21 17:44
rsnapshot
3.33
KB
-rwxr-xr-x
2017-01-21 17:44
rsyslogd
1.79
KB
-rwxr-xr-x
2016-07-26 19:43
rt314
4.43
KB
-rwxr-xr-x
2017-01-21 17:44
samba
25.63
KB
-rwxr-xr-x
2017-01-21 17:44
saslauthd
4.06
KB
-rwxr-xr-x
2017-01-21 17:44
scsi
3.34
KB
-rwxr-xr-x
2017-01-21 17:44
secure
41.04
KB
-rwxr-xr-x
2017-01-21 17:44
sendmail
92.27
KB
-rwxr-xr-x
2017-01-21 17:44
sendmail-largeboxes
2.51
KB
-rwxr-xr-x
2017-01-21 17:44
shaperd
5.64
KB
-rwxr-xr-x
2017-01-21 17:44
slon
4.61
KB
-rwxr-xr-x
2017-01-21 17:44
smartd
16.1
KB
-rwxr-xr-x
2017-01-21 17:44
sonicwall
25
KB
-rwxr-xr-x
2017-01-21 17:44
spamassassin
7.56
KB
-rwxr-xr-x
2016-07-26 19:43
sshd
30.98
KB
-rwxr-xr-x
2017-01-21 17:44
sshd2
2.02
KB
-rwxr-xr-x
2017-01-21 17:44
sssd
2.45
KB
-rwxr-xr-x
2017-01-21 17:44
stunnel
5.61
KB
-rwxr-xr-x
2016-07-26 19:43
sudo
6.01
KB
-rwxr-xr-x
2017-01-21 17:44
syslog-ng
20.61
KB
-rwxr-xr-x
2017-01-21 17:44
syslogd
1.98
KB
-rwxr-xr-x
2017-01-21 17:44
systemd
7.53
KB
-rwxr-xr-x
2017-01-21 17:44
tac_acc
4.12
KB
-rwxr-xr-x
2017-01-21 17:44
tivoli-smc
4.41
KB
-rwxr-xr-x
2016-07-26 19:43
up2date
4.79
KB
-rwxr-xr-x
2017-01-21 17:44
vdr
8.3
KB
-rwxr-xr-x
2017-01-21 17:44
vpopmail
3.48
KB
-rwxr-xr-x
2017-01-21 17:44
vsftpd
8.28
KB
-rwxr-xr-x
2017-01-21 17:44
windows
16.12
KB
-rwxr-xr-x
2017-01-21 17:44
xntpd
8.59
KB
-rwxr-xr-x
2017-01-21 17:44
yum
2.8
KB
-rwxr-xr-x
2017-01-21 17:44
zypp
2.48
KB
-rwxr-xr-x
2017-01-21 17:44
zz-disk_space
6.02
KB
-rwxr-xr-x
2017-01-21 17:44
zz-fortune
1.69
KB
-rwxr-xr-x
2017-01-21 17:44
zz-lm_sensors
1.82
KB
-rwxr-xr-x
2017-01-21 17:44
zz-network
12.79
KB
-rwxr-xr-x
2017-01-21 17:44
zz-runtime
1.66
KB
-rwxr-xr-x
2017-01-21 17:44
zz-sys
3.01
KB
-rwxr-xr-x
2017-01-21 17:44
zz-zfs
5.91
KB
-rwxr-xr-x
2017-01-21 17:44
Save
Rename
#!/usr/bin/perl ########################################################################## # $Id$ ########################################################################## # $Log$ ######################################################## ## Copyright (c) 2011 Nathan Crawford ## Covered under the included MIT/X-Consortium License: ## http://www.opensource.org/licenses/mit-license.php ## All modifications and contributions by other persons to ## this script are assumed to have been donated to the ## Logwatch project and thus assume the above copyright ## and licensing terms. If you want to make contributions ## under your own copyright or a different license this ## must be explicitly stated in the contribution and the ## Logwatch project reserves the right to not accept such ## contributions. If you have made significant ## contributions to this script and want to claim ## copyright please contact logwatch-devel@logwatch.org. ######################################################### # Detail level $Detail = $ENV{'LOGWATCH_DETAIL_LEVEL'} || 0; # Config my $offline = $ENV{'puppet_offline_ok'}; # Init counters $FailedRuns = 0; $SuccessfulRuns = 0; $ResourceFailures = 0; $DependencyFailures = 0; while (defined($ThisLine = <STDIN>)) { chomp($ThisLine); if ( ($ThisLine =~ /Using cached catalog/) or ($ThisLine =~ /Caching catalog for /) or ($ThisLine =~ /Caching node for /) or ($ThisLine =~ /Caught TERM; calling stop/) or ($ThisLine =~ /[sS]hutting down/) or ($ThisLine =~ /Reopening log files/) or ($ThisLine =~ /Starting Puppet client version /) or ($ThisLine =~ /Restarting with.+puppetd/) or ($ThisLine =~ /Caught HUP; calling restart/) or ($ThisLine =~ /Skipping because of failed dependencies/) or ($ThisLine =~ /Failed to generate additional resources/) or ($ThisLine =~ /Could not evaluate: getaddrinfo: Name or service not known/) or ($ThisLine =~ /replacing from source .+ with contents /) or ($ThisLine =~ /Starting catalog run/) or ($ThisLine =~ /Applying configuration version/) or ($ThisLine =~ /Loading facts in/) or ($ThisLine =~ /Retrieving plugin/) or ($ThisLine =~ /FileBucket adding/) or ($ThisLine =~ /^Caching certificate/) or ($ThisLine =~ /^Certificate Request fingerprint/) or ($ThisLine =~ /^Creating state file/) or ($ThisLine =~ /Provider useradd does not support features manages/) ) { # Ignore } elsif (($junk, $failure, $reason) = ($ThisLine =~ /^(\(.*\) |)Could not ([^:]*): (.*)/)) { if ($reason == "getaddrinfo: Name or service not known" && $offline) { $FailedRuns--; } else { $Failures{$failure}->{$reason}++; } } elsif ($ThisLine =~ /Finished catalog run in [0-9]+\.[0-9]+ seconds/) { $SuccessfulRuns++; } elsif ($ThisLine =~ /Applied catalog in [0-9]+\.[0-9]+ seconds/) { $SuccessfulRuns++; } elsif ($ThisLine =~ /skipping run/) { $FailedRuns++; } elsif ($ThisLine =~ /(Did not receive certificate)/) { $Errors{$1}++; } elsif (($file) = $ThisLine =~ /Reparsing (.*)/) { $Reparsed{$file}++; } elsif (($fileinfo) = ($ThisLine =~ /Filebucketed (.*)/)) { $FileBucketed{$1}++; } elsif ($ThisLine =~ /Dependency .+\[.+\] has ([0-9]+ |)failure/) { $DependencyFailures++; } elsif ( ($ThisLine =~ /Failed to retrieve current state of resource/) or ($ThisLine =~ /Package.+ensure.+Could not find package/) or ($ThisLine =~ /File\[.+\].+ Could not describe /) or ($ThisLine =~ /File\[.+\].+ No specified sources exist/) ) { $ResourceFailures++; } elsif ($ThisLine =~ /Package\[(.+)\].+ensure changed/) { $ChangedPackages{$1}++; } elsif ($ThisLine =~ /Package\[(.+)\].+ensure\) created/) { $InstalledPackages{$1}++; } elsif ($ThisLine =~ /Package\[(.+)\].+ensure\) removed/) { $RemovedPackages{$1}++; } elsif ($ThisLine =~ /Exec\[(.+)\].+executed successfully/) { $ExecRuns{$1}++; } elsif ($ThisLine =~ /Exec\[(.+)\].+Trigger(?:ing|ed) 'refresh' from [0-9]+ (?:dependencies|events)/) { $ExecRuns{$1}++; } elsif ($ThisLine =~ /Exec\[(.+)\].+Triggered 'refresh' from [0-9]+ events/) { $ExecRuns{$1}++; } elsif ($ThisLine =~ /Service\[(.+)\].+ensure changed \'.+\' to \'running\'/) { $ServiceStarts{$1}++; } elsif ($ThisLine =~ /Service\[(.+)\].+Trigger(?:ing|ed) 'refresh' from [0-9]+ (?:dependencies|events)/) { $ServiceStarts{$1}++; } elsif ($ThisLine =~ /Service\[(.+)\].+Triggered 'refresh' from [0-9]+ events/) { $ServiceStarts{$1}++; } elsif ($ThisLine =~ /Service\[(.+)\].+ensure changed \'.+\' to \'stopped\'/) { $ServiceStops{$1}++; } elsif ($ThisLine =~ /User\[(.+)\].+changed password/) { $PasswordChanged{$1}++; } elsif ($ThisLine =~ /User\[(.+)\].+defined \'expiry\' as \'([0-9-]{10})\'/) { $ExpiryChanged{$1}{$2}++; # Generic rules need to be last } elsif (($type, $name, $attr) = $ThisLine =~ /([^\/]+)\[([^\]]+)\]\/([^\/]+)\) (created|defined content)/) { $Created{$type}->{$name}++; } elsif (($type, $name, $attr) = $ThisLine =~ /([^\/]+)\[([^\]]+)\]\/([^\/]+)\) removed/) { $Removed{$type}->{$name}++; } elsif (($type, $name, $attr, $from, $to) = $ThisLine =~ /([^\/]+)\[([^\]]+)\]\/([^\/]+)\) .+ changed '(.*)' to '(.*)/) { if ($attr eq 'content' or $attr eq 'checksum') { # Only count these types of changes $Changed{$type}->{$name}->{$attr}++; } else { # Get details for all other types of changes $Changed{$type}->{$name}->{$attr}->{'from'} = $from; $Changed{$type}->{$name}->{$attr}->{'to'} = $to; } } elsif (($type, $name, $attr, $from) = $ThisLine =~ /([^\/]+)\[([^\]]+)\]\/([^\/]+)\) undefined '.+' from '(.*)'/) { $Changed{$type}->{$name}->{$attr}->{'from'} = $from; $Changed{$type}->{$name}->{$attr}->{'to'} = 'undefined'; } elsif (($type, $name, $content) = $ThisLine =~ /([^\/]+)\[([^\]]+)\]\/content\)(.*)/) { $content =~ s/#011/\t/g; $content =~ s/#012/\n /g or $content .= "\n "; $Changed{$type}->{$name}->{'contents'} .= $content; } elsif (($source, $target) = $ThisLine =~ /^\(\/(.*)\) Scheduling refresh of (.*)/) { $ScheduledRefresh{"$source -> $target"}++; } else { # Report any unmatched entries... $OtherList{$ThisLine}++; } } ####################################### if ($SuccessfulRuns > 0 && $Detail > 0) { print "\nSuccessful runs: $SuccessfulRuns\n"; } if ($FailedRuns > 0) { print "\nFailed runs: $FailedRuns\n"; } if (keys %Errors) { print "\nERRORS:\n"; foreach $ThisOne (keys %Errors) { print " $ThisOne: $Errors{$ThisOne} Time(s)\n"; } } foreach $failure (sort(keys %Failures)) { print "\nERROR: Could not $failure:\n"; foreach $ThisOne (keys %{$Failures{$failure}}) { print " $ThisOne: $Failures{$failure}->{$ThisOne} Time(s)\n"; } } if ($ResourceFailures > 0) { print "\nResource failures: $ResourceFailures\n"; } if ($DependencyFailures > 0) { print "\nDependency failures: $DependencyFailures\n"; } if (keys %Reparsed) { print "\nReparsed:\n"; foreach $ThisOne (keys %Reparsed) { print " $ThisOne: $Reparsed{$ThisOne} Time(s)\n"; } } if (keys %FileBucketed and $Detail >= 5) { print "\nFileBucketed files:\n"; foreach $ThisOne (keys %FileBucketed) { print " $ThisOne\n"; } } if (keys %InstalledPackages) { print "\nInstalled packages:\n"; foreach $ThisOne (keys %InstalledPackages) { print " $ThisOne: $InstalledPackages{$ThisOne} Time(s)\n"; } } if (keys %ChangedPackages) { print "\nChanged packages:\n"; foreach $ThisOne (keys %ChangedPackages) { print " $ThisOne: $ChangedPackages{$ThisOne} Time(s)\n"; } } if (keys %RemovedPackages) { print "\nRemoved packages:\n"; foreach $ThisOne (keys %RemovedPackages) { print " $ThisOne: $RemovedPackages{$ThisOne} Time(s)\n"; } } if (keys %ExecRuns) { print "\nExec runs:\n"; foreach $ThisOne (keys %ExecRuns) { print " $ThisOne: $ExecRuns{$ThisOne} Time(s)\n"; } } if (keys %ServiceStarts) { print "\nService starts:\n"; foreach $ThisOne (keys %ServiceStarts) { print " $ThisOne: $ServiceStarts{$ThisOne} Time(s)\n"; } } if (keys %ServiceStops) { print "\nService stops:\n"; foreach $ThisOne (keys %ServiceStops) { print " $ThisOne: $ServiceStops{$ThisOne} Time(s)\n"; } } if (keys %PasswordChanged) { print "\nPassword changed:\n"; foreach $ThisOne (keys %PasswordChanged) { print " $ThisOne: $PasswordChanged{$ThisOne} Time(s)\n"; } } if (keys %ExpiryChanged) { print "\nExpiry changed:\n"; foreach $ThisOne (keys %ExpiryChanged) { print " $ThisOne:\n"; foreach $date (keys %{${ExpiryChanged}{$ThisOne}}) { print " $date: $ExpiryChanged{$ThisOne}{$date} Time(s)\n"; } } } foreach $Type (sort(keys %Created)) { print "\n$Type created:\n"; foreach $Name (sort(keys %{$Created{$Type}})) { print " $Name: $Created{$Type}->{$Name} Time(s)\n"; } } foreach $Type (sort(keys %Changed)) { print "\n$Type changed:\n"; foreach $Name (sort(keys %{$Changed{$Type}})) { print " $Name:\n"; foreach $Attr (sort(keys %{$Changed{$Type}->{$Name}})) { if ($Attr eq 'contents') { if ($Detail >= 3) { print " $Attr:"; print "$Changed{$Type}->{$Name}->{$Attr}\n"; } } else { print " $Attr: "; if (defined($Changed{$Type}->{$Name}->{$Attr}->{'from'})) { print "from '$Changed{$Type}->{$Name}->{$Attr}->{from}' to '$Changed{$Type}->{$Name}->{$Attr}->{to}'\n"; } else { print "$Changed{$Type}->{$Name}->{$Attr} Time(s)\n"; } } } } } foreach $Type (sort(keys %Removed)) { print "\n$Type removed:\n"; foreach $Name (sort(keys %{$Removed{$Type}})) { print " $Name: $Removed{$Type}->{$Name} Time(s)\n"; } } if (keys %ScheduledRefresh) { print "\nScheduled refresh:\n"; foreach $ThisOne (keys %ScheduledRefresh) { print " $ThisOne: $ScheduledRefresh{$ThisOne} Time(s)\n"; } } if (keys %OtherList) { print "\n**Unmatched Entries**\n"; foreach $ThisOne (keys %OtherList) { print " $ThisOne: $OtherList{$ThisOne} Time(s)\n"; } } exit(0); # vi: shiftwidth=3 tabstop=3 syntax=perl et