You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
how do also listen to a specific port and forward to another application port based on ip address?
e.g. how to listen to port 80, forward to port 8080 if crc/xxhash(123.123.123.123)%[number of cpu] + 8080?
[client 123.123.123.123] -> [listen port 80, xdp hash ip] -> [forward to app listening on port 8080+2 (hashed based on ip address)]
packet rewriting, rewrite port numbers. this works. i just need to rewrite port number that's all.
can u provide an example or clue on how to get this done? thx in advance.
can i buy u coffees for this? need to
divert to port
drop some ips based on the application reactions etc. (this can be later, shld be much easier. my app connects to a redis pub/sub and listens for bad ips and not sure how to connect to this af_xdp thing.)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
e.g. how to listen to port 80, forward to port 8080 if crc/xxhash(123.123.123.123)%[number of cpu] + 8080?
[client 123.123.123.123] -> [listen port 80, xdp hash ip] -> [forward to app listening on port 8080+2 (hashed based on ip address)]
also,
2. with reference to #23
The text was updated successfully, but these errors were encountered: