Add-on IP'S

Yashjeet

Active member
I don't like the way when people register in 2 alt accounts. When I ban there IP it ban's mine. So is there a way that an addon can detect double ip's on being registered.
 
IP addresses are "unique". Unless the offending member is also using your connection, there should be no way that banning an IP address will also ban yours.
 
If you are using CloudFlare, insert this code into your config.php (this is the only cause of the problem I can think of):

Code:
// CF
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
    $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
}
 
If you are using CloudFlare, insert this code into your config.php (this is the only cause of the problem I can think of):

Code:
// CF
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
    $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
}
That isn't secure.
http://xenforo.com/community/thread...e-remote_addr-of-a-visitor.46082/#post-495876

I don't like the way when people register in 2 alt accounts. When I ban there IP it ban's mine. So is there a way that an addon can detect double ip's on being registered.
If you are using CloudFlare, see the link above.

If you live somewhere with a low net range or where IPs are shared or highly dynamic (eg. Singapore) then there is really not much you can do about this but ban the offenders' accounts and try to find their new accounts each time they register. Enabling administrator approval is very helpful, but sadly you won't catch everyone, and it can be quite difficult to manage on a large site.
Try this addon which uses a cookie: http://xenforo.com/community/threads/multiple-account-detection.6373/
 
That isn't secure.
http://xenforo.com/community/thread...e-remote_addr-of-a-visitor.46082/#post-495876


If you are using CloudFlare, see the link above.

If you live somewhere with a low net range or where IPs are shared or highly dynamic (eg. Singapore) then there is really not much you can do about this but ban the offenders' accounts and try to find their new accounts each time they register. Enabling administrator approval is very helpful, but sadly you won't catch everyone, and it can be quite difficult to manage on a large site.
Try this addon which uses a cookie: http://xenforo.com/community/threads/multiple-account-detection.6373/
Unfortunately I'm on a shared hosting and mod_cloudflare is not available. I'll modify the code according to your suggestion though.
 
Back
Top Bottom