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

Proxy Forward #738

Closed
hamedsbt opened this issue Sep 11, 2022 · 2 comments
Closed

Proxy Forward #738

hamedsbt opened this issue Sep 11, 2022 · 2 comments
Labels
feature a whole new feature

Comments

@hamedsbt
Copy link

Many applications on Linux don't support the proxy option, such as Skype. Therefore, an option to forward its request to a specified proxy server is necessary.

Thank you!

@hamedsbt hamedsbt added the feature a whole new feature label Sep 11, 2022
@gustavo-iniguez-goya
Copy link
Collaborator

gustavo-iniguez-goya commented Sep 11, 2022

Hi @hamedsbt ,

This feature was already requested here #437 . I wrote a PoC some months ago, but it was a wasted of time, because we need to place a mark on every packet that the application sends. For UDP it could work (I only tested TCP connections), because we intercept udp_sendmsg syscall. But for TCP we need to intercept tcp_sendmsg/tcp_recvmsg in order to mark every packet, because right now we only intercept new connections.

On the other hand... I also wrote a PoC to intercept tcp_sendmsg/recvmsg to get statistics about amount of bytes sent by the applications. So I have a general idea on how this could work, and once one or the other feature is finsihed, it'll be easier to add the other one, but I need to glue all the pieces together, test it, and see if it works as expected.

Not directly related, but I also wrote some notes about this here: #667 (comment)

@gustavo-iniguez-goya
Copy link
Collaborator

closing as duplicated of #437. Let's keep discussing about this feature on #437

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

No branches or pull requests

2 participants