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

Support mirroring traffic from pod's localhost #2537

Open
aviramha opened this issue Jun 20, 2024 · 1 comment
Open

Support mirroring traffic from pod's localhost #2537

aviramha opened this issue Jun 20, 2024 · 1 comment
Assignees

Comments

@aviramha
Copy link
Member

Following Discord:
https://discord.com/channels/933706914808889356/1252971596663095396

mirrord mirroring is interface based, meaning it only mirrors from one interface:

  • It looks up 8.8.8.8, and takes the interface that the OS picks for resolving as the one it'll mirror from.
  • If the lookup doesn't work, it tries "eth0"

Possible solutions:

  • Bind all interfaces - issue is if host acts as of some router, we might see a stream twice. Not sure how we could "ignore it".
  • Support binding multiple interfaces, let use specify - same problem as above but atleast controlable.
  • Change mirroring to use iptables - we can use nflog - though above problems can still happen? using nflog will also help us with tcp assembly (I think? or maybe it was worse? can't remember)
@eyalb181
Copy link
Member

Pending user input on Discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants