Guest User

rhel/centos5 plesk logwatch fix - proftpd-messages file

a guest
Apr 2nd, 2012
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.18 KB | None | 0 0
  1. --- proftpd-messages~   2012-03-28 07:10:15.000000000 +0300
  2. +++ proftpd-messages    2012-03-27 07:02:57.000000000 +0300
  3. @@ -44,12 +44,14 @@
  4.           ( $ThisLine =~ /^(ANONYMOUS )?FTP login as \'.*\' from [^ ]+ \[.*\] to .*/ ) or
  5.           ( $ThisLine =~ /PAM\(.*\): Authentication failure/ ) or
  6.           ( $ThisLine =~ /^data_sendfile/ ) or
  7. +         ( $ThisLine =~ /Preparing to chroot to directory \'\/var\/www\/vhosts\/./ ) or
  8.           ( $ThisLine =~ / - FTP session opened/ ) or
  9.           ( $ThisLine =~ / - FTP session closed/ ) or
  10.           ( $ThisLine =~ / - No certificate files found/ ) or
  11. -         ( $ThisLine =~ /FTP (no transfer|session idle) timeout, disconnected/ ) or
  12. +         ( $ThisLine =~ /(FTP no transfer|Client session idle) timeout, disconnected/ ) or
  13.           ( $ThisLine =~ / masquerading as / ) or
  14. -         ( $ThisLine =~ /FTP login timed out, disconnected/ )
  15. +         ( $ThisLine =~ /(FTP login|Session) timed out, disconnected/ ) or
  16. +         ( $ThisLine =~ /Login timeout exceeded, disconnected/ )
  17.        ) {
  18.           #We don't care about these
  19.     } elsif ( ($Host,$IP,$Email,) = ( $ThisLine =~ /^FTP session opened: ftp\/ftp (.*)\[(.*)\] (.*)$/ ) ) {
Add Comment
Please, Sign In to add comment