openresty / openresty/stream-lua-nginx-module

Would love `access_by_lua_block`

Open
#337 6 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.