Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Bad IP Detection

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Flanagan
Posts: 3
Joined: Sun Jul 12, 2015 3:44 pm

Bad IP Detection
  • Quote

Post by Flanagan » Sun Jul 12, 2015 4:11 pm

Hi!
We installed vesta and everything was working well, but we realized that when we use the data base the ip detected is the server one and no the user one.
When we use php or html to detect the user ip it works well. It only happens with MySql (i think) and this is a bit annoying because when we ban an user we ban all the website users at the same time because all of them have the same ip, the server (ip) one. (it happens with all the scripts WP/PHP Fusion/PHP Nuke...)
Is there any one who knows how to repair these?
Sorry for the bad English :)
Thanks!!
Top

injeckt
Posts: 5
Joined: Mon Sep 08, 2014 2:51 pm

Re: Bad IP Detection
  • Quote

Post by injeckt » Mon Jul 20, 2015 12:45 pm

I bet you have Ubuntu as the OS.

viewtopic.php?f=11&t=5786

I opened a thread a while ago about this. It seems that the version of Apache for Ubuntu has a bug and does not change the original IP address of the client in the HTTP header to go through the reverse proxy NGINX.

The solution in WordPress is set to the link I put above.

For this reason, I currently install VestaCP on CentOS. The VestaCP support on CentOS is often better than in other distributions.
Top

Flanagan
Posts: 3
Joined: Sun Jul 12, 2015 3:44 pm

Re: Bad IP Detection
  • Quote

Post by Flanagan » Tue Jul 21, 2015 9:17 am

Hi injeckt,
I have UbuntuOS 14.04 LTS 64-bits and this problem is bit annoying for the security of my websites. So if I change the OS to Centos the problem will be solved???

Thanks for the help!!
^.^
Top

dsystem
Posts: 55
Joined: Sun Nov 30, 2014 12:27 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: Bad IP Detection
  • Quote

Post by dsystem » Tue Jul 21, 2015 4:15 pm

It is not necessary to change operating system.

See this topic -> viewtopic.php?f=10&t=6650
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password