-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mirrord stealing to different app #2819
Comments
Managed to reproduce on macOS:
s1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s1.bind(("127.0.0.1", 8080))
s.listen()
s2 = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
s2.bind(("::1", 8080))
s2.listen()
curl http://127.0.0.1:8080 - you'd get the python (it'd be stuck unless you accept) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some of our users want to use mirrord over
kubectl proxy
which runs on a bastion host they SSH and port-forward to.They're running
ssh -L 8080:localhost:8080
then inside the ssh
kubectl proxy
then on their local machine
then they
mirrord exec
a Java Bootspring app that listens on 8080, requests gets stolen but when it's stolen it is sent to... the kubectl proxy (ssh forward) instead of the app :|happens on macOS
ssh version:
OpenSSH_9.7p1, LibreSSL 3.3.6
lsof output (
lsof -nP -iTCP:8080 -sTCP:LISTEN
):The text was updated successfully, but these errors were encountered: