NOTICE: This package has been removed from pkgsrc

./wip/torsocks, Library to torify applications

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 2.2.0, Package name: torsocks-2.2.0, Maintainer: pkgsrc-users

Torsocks allows you to use most applications in a safe way with
Tor. It ensures that DNS requests are handled safely and explicitly
rejects any traffic other then TCP from the application you're
using.

Torsocks is an ELF shared library that is loaded before all others.
The library overrides every needed Internet communication libc
function calls such as connect(2) or gethostbyname(3).

This process is transparent to the user and if torsocks detects
any communication that can't go through the Tor network such as
UDP traffic for instance, the connection is denied. If, in some
way, there is no way for torsocks to provide the Tor anonymity
guarantee with your application, torsocks will force the application
to quit and stop everything.


Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 53d8cb45b487571d39ab226e25cb538976a195a1
RMD160: a16adc2120da9c846d4801ece60a43758a25f2e6
Filesize: 302.652 KB

Version history: (Expand)


CVS history: (Expand)


   2015-05-24 15:55:43 by Ben Gergely | Files touched by this commit (4)
Log message:
Project moved from github into the tor projects own git repo.

Also removed patch as it had been merged upstream.
   2014-08-15 23:07:37 by Leonardo Taccari | Files touched by this commit (5) | Package removed
Log message:
Remove patches no more needed (all imported upstream).
   2014-08-15 22:59:39 by Leonardo Taccari | Files touched by this commit (4)
Log message:
Update wip/torsocks to 2.0.0.

Tested on NetBSD/i386 6.1.4 with tor-0.2.4.23 but still getting segfaults
(application tested: www/lynx and wip/vimb).

Changes:
2014-08-11 torsocks 2.0.0
	* Fix: compilation issue on Debian kfreebsd-i386
	* Fix: add LICENSE file to repository
	* Fix: add compilation requirements to README.md

2014-04-04 torsocks 2.0.0-rc7
	* Fix: fix NULL dereference on error
	* Fix: memory leak in connect error path
	* Delete old source directory
	* Fix: nullify constant that might be undefined
	* Refactor the connect() code flow for clarity
	* Tests: add connect() test
	* Tests: add socket() test
	* Fix: socketpair() denied for INET[6] socket
	* Fix: socket() type check SOCK_STREAM
	* Fix: add autogen.sh to installation procedures
	* Fix: change TSOCKS_LOOPBACK bitness
	* Fix: support kfreebsd for mmap()

2014-03-17 torsocks 2.0.0-rc6
	* Fix: set addr len for getsockname in accept
	* Fix: use socket fd and NOT sockaddr in accept

2014-03-17 torsocks 2.0.0-rc5
	* Fix: strict aliasing in library
	* Add fclose() support
	* Fix: add torsocks.conf option type
	* Add option to allow inbound connections
	* Fix: handle NULL node in getaddrinfo

2014-03-03 torsocks 2.0.0-rc4
	* Extras: add bash and zsh completion file
	* Fix: move functions in file and set hidden attribute
	* Update torsocks.1 man page with new options and some fixes
	* Add -u/-p/-d to torsocks script
	* Fix: check SOCKS5 user/pass before setting them in config
	* Test: add socks5 tests
	* Fix: assert conn->fd typo
	* Add SOCKS5 username/password authentication
	* Fix: handle conn. type domain name for socks5 connect
	* Fix: check strdup return value in config-file.c
	* Fix: make tsock_tor_resolve support IPv6
	* Fix: overload listen and not bind
	* Fix: remove the use of IPv4 sockaddr in connect
	* Tests: add one for utils_tokenize_ignore_comments
	* Fix: use unsigned char for socks5 ABI
	* Fix: use connection_get_ref on creation
	* Fix: use strtok_r reentrant instead of strtok
	* Fix: check is_suid flag before each getenv()
	* Deny libc function bind()
	* Deny libc function accept()/accept4()
	* Fix: handle hints being NULL in getaddrinfo
	* Fix: handle socket creation with multiple types
	* Fix: better document connection registry mutex
	* Fix: check strdup return value
	* Fix: deny connection to ANY address
	* Fix: remove all variables with double underscore
	* Fix: change socks5_send_ptr_request to use address type
	* Fix: IPv6 typo in socks5_send_resolve_ptr_request
	* Fix: assert conn->fd typo
	* Fix: build status markdown
	* Fix: return right value with localhost resolve
	* Fix: fd leak on tor resolve error
	* Fix: use libc close() when resolving through Tor
	* Fix: socks5 connect use connection domain and correct len
	* Fix: bad reference in getaddrinfo() using inet_pton
	* Test: add unit test for sockaddr_is_localhost
	* Fix: remove gethostent() usage
	* Add localhost resolve utils function
	* Fix: README typos
	* Fix: bad libc detection on system with libcap.so
	* Add portable is localhost function
	* Tests: add travis build status image to README
	* Fix: quote torsocks script shell arguments
	* Add --version to torsocks.in
	* Add hardening compile and linker flags
	* Fix: cleanup configure.ac and add missing headers/functions
	* Fix: typo in exit.c comment
	* Fix: add a library cleanup flag
	* Fix: overload _exit and _Exit to cleanup library
	* Fix: lookup libc name and pass it to dlopen()
	* Fix: bad include and duplicate syscall values
	* Fix: change non TCP socket warning to debug
	* Fix: check if address is local after onion lookup
	* Fix: put utils_is_ipv4_local static inline
	* Fix: set loopback check in host byte order
	* Fix: reject IPv6 socket creation
	* Fix: fix localhost resolution address
	* Fix: add missing errno to handle non-blocking connect()
	* Revert "Fix: explicitly remove src.old from tarball"
	* Add __syscall support for *BSD systems
	* Add NetBSD support
	* Fix: install documentation in doc directory
	* Fix: explicitly remove src.old from tarball
	* Fix: typo in README
   2013-11-05 15:56:42 by Thomas Klausner | Files touched by this commit (8)
Log message:
More fixes; now packages on NetBSD.
   2013-11-04 01:23:47 by Thomas Klausner | Files touched by this commit (7)
Log message:
Import UNFINISHED PACKGE for torsocks-2.0.0rc3 as wip/torsocks.
Needs porting for NetBSD; and at least PLIST fixes for other platforms.

Torsocks allows you to use most applications in a safe way with
Tor. It ensures that DNS requests are handled safely and explicitly
rejects any traffic other then TCP from the application you're
using.

Torsocks is an ELF shared library that is loaded before all others.
The library overrides every needed Internet communication libc
function calls such as connect(2) or gethostbyname(3).

This process is transparent to the user and if torsocks detects
any communication that can't go through the Tor network such as
UDP traffic for instance, the connection is denied. If, in some
way, there is no way for torsocks to provide the Tor anonymity
guarantee with your application, torsocks will force the application
to quit and stop everything.