New answers tagged

1

It may well be that this server was put on a proxy list, because someone actually detected an open proxy on it. The fact that CONNECT returns status 200 instead of status 405 is a good/bad indicator of this. If this server is not intended to proxy http requests then DISABLE the mod_proxy module in Apache. If Apache works as a reverse proxy for Wildfly ...


0

No, this is not attempt to hack your server. This is attempt to use your apache server as proxy. What you can do is to disable in apache config the CONNECT method: With rewrite engine: RewriteCond %{REQUEST_METHOD} ^(OPTIONS) RewriteRule .* - [F] Via Allow/Deny (using this answer): <Proxy *> Order Deny,Allow Deny from all Allow from ...


0

If you can alter exim's log rotation routine I suggest you to create structure below. These are log of web server but idea is same. access.log is a symbolic link that always links to today's log file. Program (fail2ban) that has access to access.log doesn't care that it points to just gets the content. Your exim log rotation needs to unlink access.log ...


3

What is your OS? The rsyslog daemon is included in most distros and has built-in ability to forward via UDP, TCP, and RELP. (Reliable Event Logging Protocol) As you've already mentioned you don't like UDP for reliability; consider TCP or RELP. and I can't see how to de-multiplex the data from multiple servers at the log host If I understand what you are ...


2

Yes, log files and config files are a mess. That's what happens every software project invents their own. Then opinionated sysadmins package them up into Linux distros, and doing unprivileged logging sometimes requires a directory with special permissions. I'm not going to enumerate everything that you would have to change to restructure /var/log ...


0

Following off of what others said, the set manual is a good resource. I put: #!/usr/bin/env bash exec 1> command.log 2>&1 set -x At the top of scripts I wish to keep going, or set -ex if it should exit upon error.


0

It is entirely possible that it is trying to rotate when the file is exceeding the maxsize when logrotate is run, however as the dateext only has an hourly part this would cause the previous rotated file to be overwritten. I suggest adding a config line: dateformat -%Y%m%d%H%M so that minutes also form part of the rotated filename.


Top 50 recent answers are included