Comments (8)
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.
from bud.
It can't handled by the LB level. Then LB thinks it gets the request from bud not from the client.
I'm asking whether is BUD going to maintain a proxy chain in the x-forwarded-for
or it will replace it with the existing x-forwarded
.
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.
from bud.
I'm sorry, I've misstook project for different one. You are right.
from bud.
@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.
from bud.
I see. So, it'll possible to have multiple actual clients connection behind a one BUD socket connection.
(May be that's okay, we can live with it)
We are building a kind of rate limiting system, needs client ip for part of it's logic.
from bud.
@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?
from bud.
Yeah got it. We can mark it as resolved.
Thanks.
from bud.
Thank you!
from bud.
Related Issues (20)
- DDoS resilience HOT 1
- bud not building again... HOT 2
- Add lets encrypt integration using sni challenge. HOT 4
- `npm i -g bud` requires legacy version of node? HOT 1
- Protocol agnostic? HOT 1
- Configuration for multiple frontends mapping 1:1 to multiple backends
- "gypkg build" encounter error HOT 1
- Getting client cert's distinguished name HOT 6
- Collecting data about bud usage HOT 5
- daemon flag causes bud not to run at all HOT 3
- bud build "succeeds" but the binary is not valid HOT 18
- Install fails on SmartOS: Ninja prebuild step does not detect platform HOT 1
- iOS Safari fails to connect when bud uses SNI/contexts and automatically disables SSL resumption cache HOT 2
- Lots of segfaults HOT 59
- Set non-random TLS ticket keys on dynamical SNI contexts.
- Retry async SNI requests
- Another segfault with SNI HOT 1
- bud leaks memory HOT 13
- SNI context LRU cache
- cert_cb not triggered when client sends valid TLS ticket HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bud.