This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Modifying request header

Is there a way to add anything to the request header as it passes through the SOPHOS UTM before it reaches the network destination?


This thread was automatically locked due to age.
  • The simple answer is no.

    Cheers - Bob
    PS Is this a question about the Web Application Firewall?
  • Bob - it is for the load balancer. Here's what I'm trying to accomplish.

    I have two load balancers setup with different virtual IP addresses. But they both load balance to the same port on the same physical servers.

    In my code on the physical servers I want to be able to differentiate the traffic between the two virtual load balancers. Is there any way to do that?

    Example:

    Load balancer #1
    Virtual IP: 1.1.1.1
    Physical servers: 2.2.2.1:80, 2.2.2.2:80, 2.2.2.3:80


    Load balancer #2
    Virtual IP: 1.1.1.2
    Physical servers: 2.2.2.1:80, 2.2.2.2:80, 2.2.2.3:80



    As you can see by my example, the physical servers are the same, balancing HTTP traffic between 3 of the same physical servers. But the virtual IPs are different. Thus I want to determine in my code between traffic that is coming via virtual IP 1.1.1.1 and 1.1.1.2.

    How can I do this?
  • What you can try is running the traffic from the load balancers through WAF.  WAF will add the "X-Forwarded-For" header, which you can look for on the server.
  • Scott, couldn't he just dump his load balancers and use two WAF Virtual Servers?  Of course, we're assuming the traffic is all HTTP/S.

    Cheers - Bob