Score:0

Getting random 404 requests from unknown IPs in Apache + Ubuntu server

cn flag

This is strange.

I just installed a new Ubuntu + Apache in my Digitalocean droplet and installed a Laravel APP there.

Now suddenly I see these kind of strange POST, GET and CONNECT requests from unknown IPs.

Screenshot: https://i.stack.imgur.com/f6ErW.png

How can I prevent these kind of requests?

Score:0
ar flag

You can't. They are the backgrounds noise of being connected to the internet.

It's a tangle of compromised machines scanning for vulnerable targets to compromise, security researchers looking for something, tools such as shodan.io scanning, spammers looking for comment sections to spam and so forth. It's not a single source, and it is simply background noise at this point.

What you should do:

  1. Ensure you're using up to date software.
  2. Know your software and it's behaviour.
  3. Read logs. Look for unknown activity.
  4. Potentially put a Web Application Firewall in front of the application, to limit what kind of requests actually hits the application. This can mitigate a lot of security vulnerabilities if configured correctly.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.