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

docs: using Cynthion for low-level proxying? #118

Open
xairy opened this issue Jul 5, 2024 · 2 comments
Open

docs: using Cynthion for low-level proxying? #118

xairy opened this issue Jul 5, 2024 · 2 comments
Labels
documentation documentation improvement or addition question question from the community that is not technical support

Comments

@xairy
Copy link

xairy commented Jul 5, 2024

Using Cynthion with USB Proxy shows how to use Cythion for high-level proxying, i.e. when the proxied device is connected to a control host running Facedancer and the device is then reemulated for the target host via Cynthion.

Is it possible to use Cynthion for low-level proxying, i.e. connecting the proxied device to the Target A port and the target host to the Target C port (similar setup as for using Packetry) and then changing the transmitted bits on the fly?

It would be great to see documentation if this is possible or otherwise a note that this is not supported.

Thank you!

@martinling
Copy link
Member

martinling commented Jul 5, 2024

Yes, this is possible - but note that it will involve using the AUX port and one of the TARGET ports, not the two TARGET ports. The data lines of the two TARGET ports are directly connected to each other for passive sniffing. To modify traffic requires going through the FPGA, as in the Facedancer case.

Your gateware would need to interface with the AUX and TARGET PHYs as necessary to implement the modifications you want to create. The LUNA gateware library has a lot of the building blocks you'd need to do this, but the details would be up to you.

@martinling martinling added the question question from the community that is not technical support label Jul 18, 2024
@martinling martinling added the documentation documentation improvement or addition label Jul 18, 2024
@martinling
Copy link
Member

Sorry, should have left this open to remind us to add something about this to the docs.

@martinling martinling reopened this Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation documentation improvement or addition question question from the community that is not technical support
Projects
None yet
Development

No branches or pull requests

2 participants