S
S
svfolder20212022-01-12 14:53:24
Apache HTTP Server
svfolder2021, 2022-01-12 14:53:24

What software can be used to detect the IP of a visitor to a Debian site?

Suppose there is a server on Debian or Ununtu, and LAMP is raised on it and there is a website in PHP.
The task is to find out all the IPs of people or bots who came in a day or hour.
Is there such a console software or script that, when run, checks all possible places with server logs and gives detailed information?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AlexVWill, 2022-01-12
@AlexVWill

all possible places with server logs

Why is this, if all possible places are already known, it's /var/log/apache2
take the logs and see, these logs are usually called "access-mysite.log"
execution errors "error-mysite.log".
Setting up configs that are responsible for the name of the logs can be found in /etc/apache2/sites-enabled

P
pfg21, 2022-01-12
@pfg21

configure correctly logging on Apache.
will record all query URLs with searcher addresses

K
ky0, 2022-01-12
@ky0

You can set up sending web server logs to ELK and make a beautiful dashboard there with the metrics you are interested in.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question