An IIS module to handle REMOTE_ADDR

I wrote a module for IIS a while back and forgot to share it

A vulnerability exists with using cloudlfare`s proxy, people suggest to use the cf-connecting-ip header to determine a client’s remote IP, but if this is security critical, this is the worst thing you could do.

This is a header anyone could send, so I needed to be sure its from a trustworthy source (ie a cloudflare proxy)

Builds easily with Visual Studio 2019 (2022 has issues building IHttpModule)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.