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

Added proxy support #9

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

PlasmaPower
Copy link
Contributor

While I have been able to determine that traffic is going over the proxy, I haven't been able to test if any packets are leaking. If someone could figure out how to test for that it would be great.

@PlasmaPower
Copy link
Contributor Author

TODO: Add a better way to input a proxy password, as passing it though an argument means any user can read it with ps aux. I've documented this in the --help.

@@ -1,4 +1,4 @@
bin_PROGRAMS = btfs
btfs_SOURCES = btfs.cc btfs.h
btfs_CPPFLAGS = -Wall $(FUSE_CFLAGS) $(LIBTORRENT_CFLAGS) $(LIBCURL_CFLAGS)
btfs_CPPFLAGS = -Wall -std=c++11 $(FUSE_CFLAGS) $(LIBTORRENT_CFLAGS) $(LIBCURL_CFLAGS)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about the c++11 thing. Might break support for older distros.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using it for static map initialization. If the older distros are important, I'm pretty sure I can do that differently.

@hazcod
Copy link

hazcod commented Feb 1, 2016

Why not get it from environment variables HTTP_PROXY and HTTPS_PROXY ?

@PlasmaPower
Copy link
Contributor Author

@hazcod not a bad idea, but it would require parsing them for libtorrent.

@soredake
Copy link

soredake commented May 8, 2017

RIP?

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

Successfully merging this pull request may close these issues.

None yet

4 participants