Currently the user IP address cannot be collected properly if the site is behind a load balancer or proxy. This code adds a fallback in those situations so that the user IP can be collected properly.
Without this, it is impossible to correctly identify a user IP and so there is no way to ban any malicious users.
Currently the user IP address cannot be collected properly if the site is behind a load balancer or proxy. This code adds a fallback in those situations so that the user IP can be collected properly.
Without this, it is impossible to correctly identify a user IP and so there is no way to ban any malicious users.