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 use strict; ########################################################################## # $Id$ ########################################################################## ######################################################## ## Copyright (c) 2008 Kirk Bauer ## 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 an 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@lists.sourceforge.net. ######################################################### my $Detail = $ENV{'LOGWATCH_DETAIL_LEVEL'} || 0; my %data; my %clientrequest; # This filter is very basic... much more could be done with it while (my $line = <STDIN>) { chomp $line; $line =~ s/^\s+//; $line =~ s/\s+$//; next unless $line; if ( # All of these entries are generated at startup unless -q option used :( # Name of ISC was changed in 2004 ($line =~ /^Internet (Systems|Software) Consortium DHCP Server/) or ($line =~ /^Copyright/) or ($line =~ /^All rights reserved/) or ($line =~ /^Please contribute if you find this software useful/) or ($line =~ /^For info, please visit/) or # Other lines to ignore ($line =~ /^Wrote .* to leases file\./) or ($line =~ /^already acking lease/) or ($line =~ /^dhcpd shutdown .*succeeded/) or ($line =~ /^dhcpd startup .*succeeded/) or ($line =~ /^Sending on/) or ($line =~ /^Dynamic and static leases present for/) or # backup server pool balancing ($line =~ /^balanc(?:ed|ing) pool/) or # apparently these are normal with dynamic update and balancing #[TD] dhcpd: bind update on 192.168.148.197 from subnet148 rejected: ... ($line =~ /rejected: incoming update is less critical than outgoing update/) or # Remove host declaration host_name or remove 10.0.0.199 ($line =~ /^from the dynamic address pool for/) or ($line =~ /^parse_option_buffer: option [\w-]+ \(\d+\) larger than buffer/) or ($line =~ /xid mismatch/) or ($line =~ /^BOOTREQUEST/) or ($line =~ /^DHCPACK/) or ($line =~ /^DHCPNAK/) or ($line =~ /^DHCPINFORM/) or ($line =~ /^DHCPDISCOVER from .* via \S+$/) or ($line =~ /^DHCPREQUEST/) or ($line =~ /^DHCPRELEASE/) or ($line =~ /^Abandoning IP address/) or ($line =~ /^Unable to add (forward|reverse) map/) or ($line =~ /^Can\'t update (forward|reverse) map/) or ($line =~ /^Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file/) or ($line =~ /^Solicit message from/) or ($line =~ /^Sending Advertise to/) or ($line =~ /^pool [0-9a-f]+ /) ) { # Ignore these lines } elsif ($line =~ s/Listening on\s+//) { if ($Detail >= 5) { $data{'DHCP Server Listening On'}{$line}++; } } elsif ( ($line =~ /^you want, please write a subnet declaration/) or ($line =~ /^in your dhcpd.conf file for the network segment/) or ($line =~ /^to which interface [a-z\d\.]+ is attached./) or ($line =~ /^If you did not get this software from ftp.isc.org, please/) or ($line =~ /^get the latest from ftp.isc.org and install that before/) or ($line =~ /^requesting help./) or ($line =~ /^If you did get this software from ftp.isc.org and have not/) or ($line =~ /^yet read the README, please read it before requesting help./) or ($line =~ /^If you intend to request help from the dhcp-server\@isc.org/) or ($line =~ /^mailing list, please read the section on the README about/) or ($line =~ /^help directly to the authors of this software - please/) or ($line =~ /^submitting bug reports and requests for help./) or ($line =~ /^Please do not under any circumstances send requests for/) or ($line =~ /^help directly to the authors of this software - please/) or ($line =~ /^send them to the appropriate mailing list as described in/) or ($line =~ /^the README file./) ) { # Do nothing } elsif ( # If this DHCP server is authoritative for that subnet ($line =~ /^please write an `authoritative;' directive either in the/) or ($line =~ /^subnet declaration or in some scope that encloses the/) or ($line =~ /^subnet declaration - for example, write it at the top/) or ($line =~ /^of the dhcpd.conf file\./) ) { # Do nothing } elsif ($line =~ s/^exiting./DHCP server exiting./) { $data{'Generic error'}{$line}++; } elsif ($line =~ /^There's already a DHCP server running./) { $data{'Generic error'}{$line}++; } elsif ($line =~ s/^\*\* Ignoring requests on ([a-z\d\.]+). If this is not what\s*$/Ignoring interface $1/) { $data{'Config error'}{$line}++; } elsif ($line =~ s/^No subnet6? declaration for ([a-z\d\.]+) ([\(\)\d\.ia-fA-F:]+).\s*$/No subnet declaration for $1 $2/) { $data{'Config error'}{$line}++; } elsif ($line =~ /^If this DHCP server is authoritative for that subnet,$/) { $data{'Config error'}{'missing authoritative directive'}++; } elsif ($line =~ s/^WARNING: (Host declarations are global).\s+.*$/\1/) { $data{'Config error'}{$line}++; } elsif ($line =~ s/Not searching LDAP\s+.*$/No support for LDAP configured/) { $data{'Config error'}{$line}++; } elsif ($line =~ /host unknown/) { $data{'Config error'}{$line}++; } elsif ($line =~ s/^DHCPOFFER on ([\d\.]+) to ([a-f\d:]+) via (\S+)\s*$/$1 -> $2 ($3)/) { if ($Detail >= 5) { $data{'Addresses Leased'}{$line}++; } } elsif ($line =~ s/^DHCPOFFER on ([\d\.]+) to ([a-f\d:]+) \(([^)]+)\) via (\S+)\s*$/$1 -> $2 [$3] ($4)/) { if ($Detail >= 5) { $data{'Addresses Leased'}{$line}++; } } elsif ($line =~ /malformed option/) { if ($Detail >= 5) { $data{'Warnings'}{$line}++; } } elsif ($line =~ s/^DHCPOFFER on ([\d\.]+) to ("")(?: \(([^)]+)\))? via (\S+)\s*$/$1 -> $2 [$3] ($4)/) { if ($Detail >= 5) { $data{'Warnings'}{$line}++; } } elsif ($line =~ s/^DHCPDECLINE of ([\d\.]+) from ([\w:]+) (?:\(([^)]+)\) )?via ([\d\.]+|\w+)(?:: (.*))?.*$/$1 -> $2 [$3$5] ($4)/) { $data{'Addresses Declined'}{$line}++; } elsif ( ($line =~ s/^BOOTREPLY for ([\d\.]+) to ([a-zA-Z\d_-]+) \(([a-f\d:]+)\) via (\S+)\s*$/$1 -> $3 [$2] ($4\/bootp)/) or ($line =~ s/^BOOTREPLY on ([\d\.]+) to ([a-f\d:]+) via (\S+)\s*$/$1 -> $2 [] ($3\/bootp)/) ) { if ($Detail >= 5) { $data{'Addresses Leased'}{$line}++; } } elsif ($line =~ /^(Request|Confirm|Rebind|Renew|Release) message from ([0-9a-fA-F:]+)/) { $clientrequest{$2} = $1; } elsif ($line =~ s/^Sending Reply to ([0-9a-fA-F:]+) port \d+/$1 (IPv6)/) { my $clientrequest = $clientrequest{$1}; undef($clientrequest{$1}); if (($Detail >= 5) and ($clientrequest eq 'Request')) { $data{'Addresses Leased'}{$line}++; } elsif (($Detail >= 10) and ($clientrequest =~ /Rebind|Renew/)) { $data{"Addresses $clientrequest"}{$line}++; } } elsif ($line =~ /^Client ([0-9a-fA-F:]+) releases address ([0-9a-fA-F:]+), which is not leased to it.$/) { if ($Detail >= 5) { $data{'Warnings'}{$line}++; } } elsif ($line =~ s/^Client ([0-9a-fA-F:]+) releases address ([0-9a-fA-F:]+)$/$1\n -> $2 (IPv6)/) { if ($Detail >= 5) { $data{'Addresses Released'}{$line}++; } } elsif ($line =~ s/^[Aa]dded reverse map from ([\d]+)\.([\d]+)\.([\d]+)\.([\d]+)\.in-addr\.arpa\.? to ([a-zA-Z\d._-]+)\s*$/Add reverse $4.$3.$2.$1 -> $5/) { if ($Detail >= 7) { $data{'DNS Mappings'}{$line}++; } } elsif ($line =~ s/^[Rr]emoved reverse map on ([\d]+)\.([\d]+)\.([\d]+)\.([\d]+)\.in-addr\.arpa\.?\s*$/Remove reverse $4.$3.$2.$1/) { if ($Detail >= 7) { $data{'DNS Mappings'}{$line}++; } } elsif ($line =~ s/^Added new forward map from ([a-zA-Z\d\-_.]+) to ([\d.]+)\s*$/Add forward $1 -> $2/) { if ($Detail >= 7) { $data{'DNS Mappings'}{$line}++; } } elsif ($line =~ s/^Removed forward map from ([a-zA-Z\d\-_.]+) to ([\d.]+)\s*$/Remove forward $1 -> $2/) { if ($Detail >= 7) { $data{'DNS Mappings'}{$line}++; } } elsif ($line =~ /^No hostname for [\d.]+\s*$/) { if ($Detail >= 7) { $data{'Warnings'}{$line}++; } } elsif ($line =~ s/^if ([a-zA-Z\d\-_.]+) IN A rrset doesn't exist delete ([a-zA-Z\d\-_.]+) IN TXT "([a-f\d]+)": success.\s*$/Remove forward TXT from $1 (TXT "$3")/) { if ($Detail >= 7) { $data{'DNS Mappings'}{$line}++; } } elsif ($line =~ s/^if ([a-zA-Z\d\-_.]+) IN TXT "([a-f\d]+)" rrset exists and ([a-zA-Z\d\-_.]+) IN A ([\d.]+) rrset exists delete ([a-zA-Z\d\-_.]+) IN A ([\d.]+): success.\s*$/Remove forward $1 -> $4 (TXT "$2")/) { if ($Detail >= 7) { $data{'DNS Mappings'}{$line}++; } } elsif ($line =~ /^.* rrset .*/) { if ($Detail >= 7) { $data{'DNS Mappings'}{$line}++; } } elsif ($line =~ s/^Remove host declaration ([a-zA-Z\d.-]+) or remove ([\d.]+)\s*$/Host $2 ($1) has static and dynamic mappings, remove other/) { if ($Detail >= 3) { $data{'Warnings'}{$line}++; } } elsif ($line =~ s/^uid lease ([\da-fA-F\.:]+) for client ([^ ]*) is duplicate on ([^ ]*)/uid lease $1 for client $2 is duplicate/) { if ($Detail >= 3) { $data{'Duplicate lease'}{$line}++; } } elsif ($line =~ s/^client ([a-f0-9:]{17}) has duplicate leases on ([a-f0-9\/.:]+)$/$1 on $2/ ) { if ($Detail >= 3) { $data{'Duplicate lease'}{$line}++; } } elsif ($line =~ /^DHCPDISCOVER from .* via \S+: (.*): no free leases/) { $data{'No Free Leases'}{$1}++; } elsif ($line =~ /^DHCPDISCOVER from .* via (\S+): unknown network segment/) { $data{'Unknown Network Segments'}{$1}++; } elsif ($line =~ /^DHCPDISCOVER from .* via (\S+): load balance to peer/) { $data{'Load balance to peer'}{$1}++ } elsif ($line =~ /^ICMP Echo Reply for ([\da-fA-F\.:]+) late or spurious/) { $data{'Late or spurious Echo Reply for'}{$1}++; } elsif ($line =~ /^ICMP Echo reply while lease ([\da-fA-F\.:]+) valid/) { $data{'Echo reply while lease valid'}{$1}++; } else { $data{'Unknown Entries'}{$line}++; } } if (keys %data) { foreach my $type (sort keys %data) { print "$type:\n"; foreach my $entry (sort {$a cmp $b} keys %{$data{$type}}) { print " $entry: $data{$type}{$entry} Time(s)\n"; } print "\n"; } } # vi: shiftwidth=3 tabstop=3 syntax=perl et # Local Variables: # mode: perl # perl-indent-level: 3 # indent-tabs-mode: nil # End: