1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Members IP are Cloudflare IPs

Discussion in 'Troubleshooting and Problems' started by psx, Apr 13, 2016.

  1. psx

    psx Active Member

    I've fixed that problem but how do I remove the cloudflare IPs from the IP logs in each member?

    @Chris D
     
  2. SneakyDave

    SneakyDave Well-Known Member

  3. psx

    psx Active Member

    I've fixed it at server level, but the IPs are still under users history and when I click "Shared Users" it brings up many users.
     
  4. Jake B.

    Jake B. Well-Known Member

    You can delete all of the cloudflare IPs from the xf_ip table
     
  5. psx

    psx Active Member

    When I browse in PHPMYADMIN, its not in IP format its "4a2ad6ca"
     
  6. SneakyDave

    SneakyDave Well-Known Member

    If most of them are CloudFlare IP's, there's probably not much use to keeping them anyway, so you can remove all the IP's from the table with:
    Code:
    TRUNCATE TABLE `xf_ip`;
    
     
    psx likes this.
  7. SneakyDave

    SneakyDave Well-Known Member

    Or, if you can identify the CloudFlare IP's, use this to remove them:
    Code:
    DELETE FROM `xf_ip` WHERE ip = x'4a2ad6ca'
    
     
    psx likes this.

Share This Page