Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

torsocks-2.4.0-lp160.1.1 RPM for x86_64

From OpenSuSE Leap 16.0 for x86_64

Name: torsocks Distribution: openSUSE Leap 16.0
Version: 2.4.0 Vendor: openSUSE
Release: lp160.1.1 Build date: Sun Sep 25 18:29:44 2022
Group: Productivity/Networking/Security Build host: reproducible
Size: 164734 Source RPM: torsocks-2.4.0-lp160.1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://gitlab.torproject.org/tpo/core/torsocks/-/releases/
Summary: Use SOCKS-friendly applications with Tor
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 than 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, for any reason, there is no way
for torsocks to provide the Tor anonymity guarantee to your application,
torsocks will force the application to quit and stop everything.

Adjust when needed /etc/tor/torsocks.conf and use Torsocks with

    torsocks application

So, for example you can use ssh to a some.ssh.com by doing

    torsocks ssh -p SSH-Port -i ~/.ssh/ssh-key.rsa [email protected]

You can use in /etc/bash.bashrc.local or /etc/zsh.zshrc.local alias

    alias slogin-='torsocks slogin'

And can ajust ~/.ssh/config with your data for server or PC and then use simple

    slogin- server

or add too an alias

    alias slogin-server='slogin- server'

and use simple

    slogin-server

Provides

Requires

License

GPL-2.0-only

Changelog

* Sun Sep 25 2022 Andreas Stieger <[email protected]>
  - update to 2.4.0:
    * Disable ipv6 socket creation by default (signal-cli)
    * Delegate to libc fclose when fileno fails (mutt)
    * Add debug-log for opaque syscall passthrough
    * Pass through non-blacklisted syscalls, fixing "Unsupported
      syscall number" errors
    * Fixes an issue when calling recvmsg on a domain socket
      non-blocking
    * Fixed out-of-bounds write in onion pool.
    * Add getdents / getdents64 support re ticket
* Sun Feb 09 2020 [email protected]
  - Update to 2.3.0, announce message:
    2018-11-19 torsocks 2.3.0
    * Fix a bunch of stuff in the wrapper script, #24967
    * gethostbyaddr_r: always assign result
    * log: Remove log line when logging is stopped
    * gethostbyaddr_r: Don't put garbage in data->hostname
    * gethostbyaddr_r: Populate h_addrtype field
    * log: Avoid crash or file corruption when closing logs
    * connect: Always pass .onion IP cookie to connection object
    * Merge remote-tracking branch 'yawning/bug23715'
    * Make torsocks always connect to the configured Tor port
    * test: Make getpeername test connect to moria1
    * socks5: Always use ATYP 0x03 for CONNECT command
    * Merge remote-tracking branch 'upstream/master'
    * doc: Clarify the libc limitation in README
    * accept4: Initialize libc symbol early
    * Bug 23715: Support memfd_create(2).
    * test: Detect if tor is running in test_fd_passing
    * No tab in the README
    * Merge remote-tracking branch 'debian/bugfix/typo-subsytem'
    * Merge remote-tracking branch 'debian/bugfix/typo-catched'
    * Merge remote-tracking branch 'debian/bugfix/typo-conect'
    * doc: Add autogen.sh step to README
    * Add a -q/--quiet to torsocks
    * tests: Add a check for a running Tor
    * Make cpp conditional for definition of handle_mmap match use
    * utils: Add useful function for later use
    * man: Some words were missing
    * Remove clang warnings
    * Add missing quotes to variable in torsocks.in
    * Fix check_addr() to return either 0 or 1
    * Ignore stderr for getcap command
    * syscall: Add seccomp, gettimeofday, clock_gettime, fork
    * Fix typo: conect -> connect.
    * Fix typo: subsytem -> subsystem.
    * Fix typo: catched -> caught.
  - Remove dependency on tor
* Tue Dec 13 2016 [email protected]
  - recommend installing /usr/sbin/getcap used by torsocks
* Tue Nov 01 2016 [email protected]
  - Update to 2.2.0, announce message:
    2016-10-18 torsocks 2.2.0
    * Use xz for dist tarball now
    * Remove TODO as we use the bugtracker for those
    * execve: only include xattr.h for Linux
    * syscall: sched_getaffinity is only Linux
    * close: Prefix debug messages with [close]
    * Add check for Apple's System Integrity Protection.
    * Quote the non-zero length check of $getcap.
    * compat: Fix bad use of defined macro for OS X
    * Use AC_USE_SYSTEM_EXTENSIONS to try to use POSIX extensions
    * log: Fix whitespace in log.h
    * syscall: OS X doesn't support sched_getaffinity()
    * Fix memcpy buffer overrun in gethostbyaddr()
    * Fix memcpy() buffer overrun in gethostbyname()
    * Fix typo: catched -> caught
    * syscall: Whitelist sched_getaffinity(2)
  - Remove TODO from Documentation, changed by Upstream
* Tue Jun 09 2015 [email protected]
  - Use %attr(0755,root,tor) %{_sysconfdir}/tor instead of %{_sysconfdir}/tor
* Fri May 29 2015 [email protected]
  - Update to 2.1.0, announce message:
    2015-05-27 torsocks 2.1.0
    * Fix: socks5 resolve wasn't sending data correctly
    * Fix: wrong label when auth_socks5 fail
    * Move SOCKS5 auth in a seperate function
    * Send the SOCKS5 authentication for RESOLVE/RESOLVE_PTR requests.
    * Change IsolatePID password from 42 to 0
    * Add automatic per process isolation (IsolatePID)
    * Ensure that torsocks initializes itself in the presence of C++.
    * Merge remote-tracking branch 'yawning/getaddrinfo' into getaddrinfo
    * Fix: indentation in getpeername test
    * Merge remote-tracking branch 'yawning/getpeername'
    * Add support for the various inotify routines when invoked via syscall().
    * Support the eventfd2(2) syscall.
    * Support the various epoll routines when invoked via syscall().
    * Handle accept4(2) when invoked via syscall().
    * Fix getaddrinfo() to respect AI_NUMERICHOST.
    * Fix the broken getpeername() implementation.
    * Support certain Linux specific syscalls.
    * Allow TCP Fast Open clients go through tor
    * Test: support out of tree make check
    * configure.ac: avoid tests which have both -pie and -static
    * Fix error messages about setuid/setgid executables
    * Fix: switch back to a syscall whitelist scheme
    * Add AllowOutboundLocalhost.
    * Fix: syscall mmap for NetBSD
    * Fix: use getsockname instead of getsockopt to get socket family
    * Stop denying syscall() and add dangerous ones
    * Fix: typo in the listen macro declaration
    * Fix: improve getpeername to actually works
    * Fix: improve Unix socket passing detection
    * Test: add missing connection destroy
    * Test: possible double free in onion test
    * Test: fix memory leak in DNS test
    * Add accept as an accepted value through syscall()
    * Add cscope files to gitignore
    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                                                                                                                [588/6387]
    * 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-03 torsocks 2.0.0-rc3
    * Fix: add fixtures directory to EXTRA_DIST
    * Fix: add fixtures.h to makefile.am as EXTRA_DIST
    * Fix: remove DBG call in syscall()
    * Fix: don't lookup symbol if already found
    * Lookup symbols in libc in constructor
    * Fix: bad ret value check for default logging
    * Add compatibility with GNU/kFreeBSD
    * Fix compatibility with s390 and s390x architectures
    * Fix: missing registry unlock on error
    * Fix: undefined syscall values for x86
    * Fix: check fileno returned value
    * Fix: torsocks.in libdir path with lib prefix
    * Tests: add config-file tests
    * Tests: add utils unit tests
    2013-09-02 torsocks 2.0.0-rc2
    * Fix: remove FAQ file from Makefile
    * Fix: remove out of date and inaccurate FAQ
    * Tests: add connection object unit test
    * Fix: Improve README file
    * Tests: add onion pool subsystem unit test
    * Use extern for tsocks_libc_* in torsocks.h
    * Define LIBC_SYSCALL_ for OS X
    * Make sure __darwin__ is defined
    * Fix: explicitly ignore fileno return value
    * Use AC_CHECK_FUNC rather than AC_LINK_IFELSE.
    * Find out if we really need libdl.
    * Define LIBC_SYSCALL_ for FreeBSD.
    * Use SYS_ from <sys/syscall.h>.
    * Include <sys/socket.h> for AF_INET*.
    * Use getsockname(2) for finding out socket address family
    2013-08-24 torsocks 2.0.0-rc1
    * Major rewrite from version 1.4
    * Libc TCP communication support
    * Libc DNS calls support
    * syscall() support
    * Unix socket FD passing support
    * IPv6 ready
    * Thread safe
    Torsocks 1.4
    XXX
      o Added .travis.yml for travis-ci integration:
      https://travis-ci.org/ioerror/torsocks
  - Change Source0 Web URL
  - Remove obsolete patch torsocks-1.3-src_usewithtor.in.patch,
    changed by Upstream
  - Use /etc/tor/torsocks.conf instead of /etc/torsocks.conf
  - Use torsocks instead of usewithtor
  - Change Documentation, use --docdir=%{_defaultdocdir}/%{name}
* Mon Dec 29 2014 [email protected]
  - Use for patch %{name}-1.3-src_usewithtor.in.patch
    instead of  %{name}-%{version}-src_usewithtor.in.patch
* Sat Dec 06 2014 [email protected]
  - Fix typo
* Sat Dec 06 2014 [email protected]
  - Use /etc/torsocks.conf instead of %{_sysconfdir}/%{name}.conf
* Sat Dec 06 2014 [email protected]
  - Initial package creation

Files

/etc/tor
/etc/tor/torsocks.conf
/usr/bin/torsocks
/usr/lib64/torsocks
/usr/lib64/torsocks/libtorsocks.so
/usr/lib64/torsocks/libtorsocks.so.0
/usr/lib64/torsocks/libtorsocks.so.0.0.0
/usr/share/doc/packages/torsocks
/usr/share/doc/packages/torsocks/ChangeLog
/usr/share/doc/packages/torsocks/DEBUG
/usr/share/doc/packages/torsocks/README.md
/usr/share/doc/packages/torsocks/SOCKS5
/usr/share/doc/packages/torsocks/gpl-2.0.txt
/usr/share/doc/packages/torsocks/socks-extensions.txt
/usr/share/doc/packages/torsocks/torsocks-bash_completion
/usr/share/doc/packages/torsocks/torsocks-zsh_completion
/usr/share/man/man1/torsocks.1.gz
/usr/share/man/man5/torsocks.conf.5.gz
/usr/share/man/man8/torsocks.8.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed Dec 11 23:37:55 2024