Commits on Source (36)
-
intrigeri authored
Spotted by Lintian.
-
intrigeri authored
-
intrigeri authored
-
David Goulet authored
Whitelist those four syscalls for the syscall() function. Patch from "cypherpunks". Closes #21022 Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
On a filesystem not supporting capabilities, an error is thrown out on stderr which is undesirable and confusing for the user. This commit throws stderr to /dev/null. The point of this getcap is to actually see if any capabilities are enabled or none. In the context of an error, there are none. Fixes #21088 Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
This function is used by utils_is_address_ipv4/6 and has to return 0 on error or 1 on success. Fixes #20871 Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
Fixes #19376 Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
The ht.h generated functions are now flagged with ATTR_UNUSED so the compiler knows to ignore the warnings if unused. Remove -fno-strict-overflow as well. Not needed for gcc and clang doesn't have it. Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
Taylor R Campbell authored
Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
With this check, we can skip tests that need a running tor when none is present. Also update the maatuska hostname for the DNS test. Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
This option disables all logging by setting TORSOCKS_LOG_LEVEL=1. Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
-
David Goulet authored
-
David Goulet authored
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
Also, replace spaces for a tab. Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
Yawning Angel authored
Enough things use this now, that the syscall(2) wrapper should support it, since glibc doesn't provide a wrapper for it, and the documentation says to invoke it using syscall(2).
-
David Goulet authored
Fixes #17618 Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
Fixes #22068 Signed-off-by:
David Goulet <dgoulet@ev0ke.net>
-
David Goulet authored
-
David Goulet authored
Because of the SafeSocks parameter of Tor, if set, we can't pass a raw IP address to Tor since it will believe we did a DNS resolution from the application. Now, thanks to #22461, Tor safely accepts an IPv4/IPv6 address withing a FQDN connect request which avoids the SafeSocks warnings. The #22461 wasn't backported which means that torsocks working with SafeSocks is only possible in tor >= 0.3.2 stable series. Fixes #23667 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
The other IP doesn't work anymore and I can't recall what it was ;). Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Whatever we use IPv4 or IPv6, make torsocks use the configured SocksPort in the configuration. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
-
David Goulet authored
Fixes #23876 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Fixes #24081 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Fixes #25586 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Fixes #25627 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
It gets really noisy with mutt. Not sure why, I expect maybe multi thread/process makes it that everytime it dies, we get that log statement. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Originating from: https://bugzilla.redhat.com/show_bug.cgi?id=1601259 Patch by "cHBWyJuH". Fixes #26794 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
Alex Xu authored
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
Ulrike Uhlig authored