Git Product home page Git Product logo

f5xffhttpmodule's Introduction

Mac's changes to F5 X-Forwarded-For HTTP Module

This is the source of the excellent F5 X-Forwarded-For IIS Module. This module takes the X-Forwarded-For HTTP header and converts it so it's visible as the c-ip in the IIS logs. Credit is due to Joe Pruitt over a F5 and the original source and discussion can be found here

Installation

A full readme.txt describing the installation is located in the F5XFFHttpModule-Source directory.

Occasionally a site may be running in Model-T mode (32 bit) and the installation may require modification. If this is the case, use the 32 bit DLL.

In the case of mixed 32 and 64 bit sites, you may have to run appcmd.exe manually (or simply add the module manually). The 32 and 64 bit modules will have to have different names.

Remember to leave the modules disabled in your top level IIS config so the 64 bit module doesn't accidently get brought in to the 32 bit site (check your sys log if you are getting 500s and remember to restart any crashed app pools after the issue is fixed). Selectivly enable the module for each site after you bring the native module into your top level config.

If you are an automation nut and like to script everything (it's a good thing), then remember to set the correct precondition on appcmd.exe (/preCondition:"bitness32" or preCondition:"bitness64"). It's a common gotcha with mixed modules.

Changelog

  • 1.0 Original module
  • 1.1 Modified module to pick up XFF earlier in the request pipeline
  • 1.2 Modified module to do a string copy of the address in order to avoid nulls in managed code buffers

Version

The current version is 1.2

f5xffhttpmodule's People

Contributors

techiemac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.