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

firejail defeats proxychains #124

Open
tredondo opened this issue Nov 20, 2021 · 1 comment
Open

firejail defeats proxychains #124

tredondo opened this issue Nov 20, 2021 · 1 comment
Labels

Comments

@tredondo
Copy link

I have proxychains configured with socks5 10.8.0.1 1080.

This works as expected - wget goes through the proxy:

$ proxychains wget -q github.com
[proxychains] config file found: /etc/proxychains4.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] Strict chain  ...  10.8.0.1:1080  ...  github.com:443  ...  OK

But by putting firejail in front of wget, it fetches the file, and proxychains doesn't log anything!

$ proxychains firejail wget -q github.com
[proxychains] config file found: /etc/proxychains4.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4

Is that expected? I do see a warning in the README but I can't tell how this applies to firejail.

this program works only on dynamically linked programs. also both proxychains and the program to call must use the same dynamic linker (i.e. same libc)

@rusty-snake
Copy link

Is that expected?

Yes because you can not LD_PRELOAD libraries into SUIDs for security reasons (netblue30/firejail#4156).

@haad haad added the docu label Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants