openresty / openresty/stream-lua-nginx-module
Would love `access_by_lua_block`
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 749
- Forks
- 210
- Avg merge
- 4h 31m
- Merged PRs (30d)
- 3
Description
Hey there,
I'm looking to build a way to dynamically assign IP to requests as they come in. Been able to achieve that with http since it has both access_by_lua_block and balancer_by_lua_block but former missing here.
I want to switch to stream since proxying on L4 would be more efficient.
Thanks for considering!
Nikhil
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the stream module's existing balancer_by_lua_block support and compare it with HTTP's access_by_lua_block behavior. Define how an access phase would assign request IPs for L4 stream proxying, then verify that the new directive supports the stated dynamic-assignment use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, lua
- Domain
- backend, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100