Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43919 - [sshuttle] net-tool dependency unlisted.

Attached to Project: Community Packages
Opened by Zander (lezed1) - Monday, 23 February 2015, 04:54 GMT
Last edited by Felix Yan (felixonmars) - Friday, 27 February 2015, 15:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: the package net-tools is needed to run sshuttle, but it is not listed as a dependency.


Additional info:
* package version(s)
* config and/or log files etc.

Output of $ pacman -Qi sshuttle:

Name : sshuttle
Version : 0.61-5
Description : Transparent proxy server that works as a poor man's VPN.
Forwards all TCP packets over ssh (and even DNS requests when
using --dns option). Doesn't require admin privileges on the
server side
Architecture : any
URL : https://github.com/apenwarr/sshuttle
Licenses : GPL2
Groups : None
Provides : None
Depends On : python2 iptables openssh
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 168.00 KiB
Packager : Felix Yan <felixonmars@gmail.com>
Build Date : Tue 22 Apr 2014 10:39:16 PM EDT
Install Date : Sun 22 Feb 2015 11:35:26 PM EST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

Output of $ pacman -Qi net-tools:

Name : net-tools
Version : 1.60.20130531git-1
Description : Configuration tools for Linux networking
Architecture : x86_64
URL : http://net-tools.sourceforge.net/
Licenses : GPL2
Groups : None
Provides : None
Depends On : glibc
Optional Deps : None
Required By : None
Optional For : virtualbox
Conflicts With : None
Replaces : None
Installed Size : 497.00 KiB
Packager : Allan McRae <allan@archlinux.org>
Build Date : Thu 30 May 2013 09:39:49 PM EDT
Install Date : Sun 22 Feb 2015 11:35:00 PM EST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature


Here is a log of the output when net-tools is not installed:

$ sshuttle 0/0 -vvv
Starting sshuttle proxy.
Binding: 12300
Listening on ('127.0.0.1', 12300).
firewall manager ready.
c : connecting to server...
c : executing: ['python2', '-c', 'import sys; skip_imports=1; verbosity=3; exec compile(sys.stdin.read(764), "assembler.py", "exec")']
c : > channel=0 cmd=PING len=7 (fullness=0)
server: assembling 'cmdline_options.py' (29 bytes)
server: assembling 'helpers.py' (914 bytes)
server: assembling 'ssubprocess.py' (13668 bytes)
server: assembling 'ssnet.py' (5446 bytes)
server: assembling 'hostwatch.py' (2270 bytes)
server: assembling 'server.py' (2370 bytes)
s: latency control setting = True
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "assembler.py", line 26, in <module>
File "server.py", line 168, in main
File "server.py", line 68, in list_routes
File "server.py", line 47, in _list_routes
File "ssubprocess.py", line 606, in __init__
File "ssubprocess.py", line 1117, in _execute_child
OSError: [Errno 2] No such file or directory
c : fatal: server died with error code 1



Steps to reproduce:
- Install sshuttle (and uninstall net-tools if needed)
- Attempt to tunnel connection: $ sshuttle 0/0 -vvv
- Instal net-tools
- Attempt to tunnel connection again: $ sshuttle 0/0 -vvv

Only the second command runs successfully
This task depends upon

Closed by  Felix Yan (felixonmars)
Friday, 27 February 2015, 15:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.61-6

Loading...