Jump to content

X_FORWARDED_FOR matching


Guest ellawella

Recommended Posts

Posted

Seeing as this header can be faked, why not change the Enable X_FORWARDED_FOR IP matching? option so instead of logging only the value of the header, it logs both the value of the header AND the remote address? That way you should be able to tell if someone is spoofing their IP..

Maybe it could be stored in the database as "<remote addr>,<header value>" and when retrieving IPs for topics the board could explode() the entry and show more detailed IP information should it be available.

e.g. instead of showing "IP: 1.2.3.4" on posts maybe it could show "IP: X_FORWARDED_FOR = 1.2.3.4, REMOTE_ADDR = 12.23.34.61"

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...