Commits on Source (41)
-
intrigeri authored
Spotted by Lintian.
2810dd44 -
intrigeri authoredc822b5c2
-
intrigeri authoredb072b72c
-
David Goulet authored
Whitelist those four syscalls for the syscall() function. Patch from "cypherpunks". Closes #21022 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
87b075dd -
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>
6228eabd -
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>
4dbf57e2 -
David Goulet authored
Fixes #19376 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
5a5b72fa -
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>
a495bf1e -
David Goulet authored
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
3891910f -
David Goulet authored
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
98e84212 -
Taylor R Campbell authored
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
6520a009 -
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>
c5cde94d -
David Goulet authored
This option disables all logging by setting TORSOCKS_LOG_LEVEL=1. Signed-off-by: David Goulet <dgoulet@ev0ke.net>
0b199d9e -
David Goulet authored
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
3ea5ca1f -
David Goulet authored2f54670b
-
David Goulet authored3c3a1a80
-
David Goulet authoredc320f7e8
-
David Goulet authored
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2a6f518c -
David Goulet authored
Also, replace spaces for a tab. Signed-off-by: David Goulet <dgoulet@ev0ke.net>
70822d08 -
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).
dc1d6ae5 -
David Goulet authored
Fixes #17618 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
e4601e0f -
David Goulet authored
Fixes #22068 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
fd7b0d71 -
David Goulet authoredf7554337
-
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>
a0070f02 -
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>
c32050ae -
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>
f7f4154d -
David Goulet authored8258eac2
-
David Goulet authored
Fixes #23876 Signed-off-by: David Goulet <dgoulet@torproject.org>
2fa55911 -
David Goulet authored
Fixes #24081 Signed-off-by: David Goulet <dgoulet@torproject.org>
e56313a0 -
David Goulet authored
Fixes #25586 Signed-off-by: David Goulet <dgoulet@torproject.org>
a44660bd -
David Goulet authored
Fixes #25627 Signed-off-by: David Goulet <dgoulet@torproject.org>
8013dfb1 -
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>
9895fbf6 -
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>
446ce04b -
Alex Xu authored47b10b68
-
David Goulet authored
Signed-off-by: David Goulet <dgoulet@torproject.org>
cec4a733 -
Ulrike Uhlig authoreda87414d8
-
Ulrike Uhlig authored63628665
-
Ulrike Uhlig authorede7325f48
-
Ulrike Uhlig authored
Upstream version 2.3.0
d8177572 -
Ulrike Uhlig authoreda45ca7ec
-
118d8572