-
Notifications
You must be signed in to change notification settings - Fork 34
Do we have proxy chain support? #62
Comments
It should be handled on lb level, as we are already adding x-forwareded-for, and it's being stripped of by apache rpaf module. |
It can't handled by the LB level. Then LB thinks it gets the request from bud not from the client. This is because, something our nodes directly handles client requests and sometimes they get requests from a LB. node-http-proxy does this well. But we don't want it to handle SSL/TLS termination. |
I'm sorry, I've misstook project for different one. You are right. |
@arunoda I'm afraid bud we'll just add extra header line to the first request. So technically, first request will have proper proxy chain, but you'll need to prepend first address from the chain manually to the all further requests on the connection. Please note that X-Forwarded-For feature does not parse http. |
I see. So, it'll possible to have multiple actual clients connection behind a one BUD socket connection. We are building a kind of rate limiting system, needs client ip for part of it's logic. |
@arunoda not just Bud, this is quite normal for HTTP: one TCP socket - multiple requests. Anyway, this should be easy to handle in io.js/node.js. Assuming resolved? |
Yeah got it. We can mark it as resolved. Thanks. |
Thank you! |
Let's say we are already behind a proxy(In my case Cloudflare) and it has added x-forwarded headers. In that case, does bud build a proxy chain for x-forwarded like this.
The text was updated successfully, but these errors were encountered: