Skip to content
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

Traffic misidentification on routing host #447

Open
cyqsimon opened this issue Dec 6, 2024 · 0 comments
Open

Traffic misidentification on routing host #447

cyqsimon opened this issue Dec 6, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@cyqsimon
Copy link
Collaborator

cyqsimon commented Dec 6, 2024

Three machines are involved here:

  • My personal laptop A, connected to the local network (green).
  • The server S that routes traffic between the local network and the OpenVPN subnet, on which bandwhich is running.
    • S has two addresses - a local network address Slocal and an OpenVPN subnet address Svpn.
  • A remote client machine B connected to the OpenVPN subnet (cyan).
    • B has two addresses - a public address Bpub and an OpenVPN subnet address Bvpn.

Misidentified traffic

Here I am initiating a file transfer on A using scp from A to Bvpn, so on layer 4 the connection should be from A:56994 to Bvpn:22.

But bandwhich seems to believe that it's from A:56994 to Slocal:22 instead, and by extension believes that this traffic should be attributed to the local sshd process.


I think I've got some clues on what's wrong. Help welcomed nonetheless.

@cyqsimon cyqsimon added bug Something isn't working help wanted Extra attention is needed labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant