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

Duplicate Unable to ban IP v6 IP Address

Discussion in 'Resolved Bug Reports' started by Adam Howard, Jul 28, 2012.

  1. Adam Howard

    Adam Howard Well-Known Member

    I'm aware that IP v6 IP addresses are marked as a future release (November 19, 2011), but as of now it is a bug when you try to ban a spam bot which is using a v6 IP address and are told by XenForo that

    Please enter a valid IP or IP range. Wildcards may only occur at the end.

    The spammers are coming.... This needs to be fixed, please.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    This error should only happen when you attempt to manually ban an IPv6 address in the Admin CP. That is the only place where you can ban an IP. This would qualify as a bug if it could be triggered inadvertently though some other system. But I examined the code and I don't see any way to trigger this error outside of manually banning an IPv6 address in the Admin CP. The error is expected because XenForo does not currently support IPv6 so this is not separate a bug.

    Since you already replied to the original bug report I am going to mark this as a duplicate.
  3. Adam Howard

    Adam Howard Well-Known Member

    As I see it... It's a BUG.
    150 spammer today and ALL using v6 IP addresses.

    edit: 151
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Can you tell me how to reproduce the error?

    From what I can see of the code, the error will happen when you try to ban an IPv6 address. It will tell you the address is not valid which is expected since IPv6 is not supported. A needed feature for sure, but not worthy of a new bug report. Lack of IPv6 support has already been reported and is on the to-do list, hence this is a duplicate:

  5. manhhieudhhv

    manhhieudhhv Member

    I don't know
  6. Adam Howard

    Adam Howard Well-Known Member




    Will it take XenForo.com to be under attack before this is considered?

    200 spam post today..... PLEASE ... Look into this......
    Insy likes this.
  7. Pipelin

    Pipelin Member

    Yes this should be fixed.
    Adam Howard likes this.
  8. digitalpoint

    digitalpoint Well-Known Member

    While I agree that XenForo should have IPv6 logging support, you really would be better off banning IPs (both IPv4 and IPv6) at the server-level (or even somewhere upstream at the router level). More flexible and also doesn't need to initiate the application in order to check for banned IPs.

    For example if you just wanted to ban All of Microsoft, you could just block their entire block of IPs:

    /sbin/route add -net netmask reject
    For those that don't have shell access or can't modify the server's routing tables, then yeah... you would be limited to application-level blocking, but even then you still would be better off doing it at the web server level.
    Adam Howard likes this.
  9. Adam Howard

    Adam Howard Well-Known Member

    You could just use htaccess for people who do not have shell access

    It's the next best thing vs actually depending on forum software

Share This Page