Bug 1023559 - Trickle doesn't work with ssh
Summary: Trickle doesn't work with ssh
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: trickle
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Alexeev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-25 18:18 UTC by D. Wagner
Modified: 2014-08-18 09:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-18 09:57:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
stderr from strace trickle -s -d 20 ssh bingen.cs.berkeley.edu (43.43 KB, text/plain)
2014-06-23 18:36 UTC, D. Wagner
no flags Details

Description D. Wagner 2013-10-25 18:18:11 UTC
Description of problem:

I can't use trickle with ssh, on Fedora 19.  It doesn't seem to work, for some reason.

$ trickle -s ssh <hostname>
Read from socket failed: Resource temporarily unavailable

The ssh binary is dynamically linked and not setuid:

$ ls -l /usr/bin/ssh
-rwxr-xr-x. 1 root root 457248 Aug  1 01:01 /usr/bin/ssh
$ ldd  /usr/bin/ssh | grep 'libc\.'
	libc.so.6 => /lib64/libc.so.6 (0x00007f27bb5a4000)

Version-Release number of selected component (if applicable):

trickle-1.07-15.fc19.x86_64
openssh-6.2p2-5.fc19.x86_64

Comment 1 Pavel Alexeev 2014-01-25 16:58:59 UTC
You does not specify other options beside standalonne mode. What are you expect?

Try something like:
$ trickle -s -d 20 ssh <host>

It works to me.

Comment 2 D. Wagner 2014-01-25 18:55:15 UTC
Nope, still doesn't work for me.

$ trickle -s -d 20 ssh bingen.cs.berkeley.edu          
Read from socket failed: Resource temporarily unavailable
$ 

$ trickle -s -d 20 ssh -v bingen.cs.berkeley.edu                
OpenSSH_6.2p2, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /home/daw/.ssh/config
debug1: /home/daw/.ssh/config line 5: Applying options for bingen.cs.berkeley.edu
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 50: Applying options for *
debug1: Connecting to bingen.cs.berkeley.edu [128.32.153.240] port 22.
debug1: Connection established.
debug1: identity file /home/daw/.ssh/id_rsa type -1
debug1: identity file /home/daw/.ssh/id_rsa-cert type -1
debug1: identity file /home/daw/.ssh/id_dsa type 2
debug1: identity file /home/daw/.ssh/id_dsa-cert type -1
debug1: identity file /home/daw/.ssh/id_ecdsa type -1
debug1: identity file /home/daw/.ssh/id_ecdsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.2
debug1: match: OpenSSH_6.2 pat OpenSSH*
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Resource temporarily unavailable

Comment 3 Pavel Alexeev 2014-01-26 14:59:01 UTC
Hm, it is very intresting it reproduced sometimes, randomly.

Please run it like:
strace trickle -s -d 20 ssh <host> 2> trickle.strace
and then attack trickle.strace file there.

Also please try few times with short interval.

Comment 4 D. Wagner 2014-06-23 18:36:59 UTC
Created attachment 911542 [details]
stderr from strace trickle -s -d 20 ssh bingen.cs.berkeley.edu

Comment 5 D. Wagner 2014-06-23 18:39:56 UTC
Sorry I didn't see your note earlier.  It reproduces consistently (5 out of 5 times) for me.  I've attached a sample strace output.  Software versions listed below:

$ rpm -q trickle openssh openssl-libs krb5-libs              
trickle-1.07-15.fc19.x86_64
openssh-6.2p2-8.fc19.x86_64
openssl-libs-1.0.1e-38.fc19.x86_64
krb5-libs-1.11.3-21.fc19.x86_64
$ uname -a
Linux xxx 3.14.7-100.fc19.x86_64 #1 SMP Wed Jun 11 22:34:02 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Comment 6 Pavel Alexeev 2014-08-18 09:57:39 UTC
Thank you.
Reported upstream: https://github.com/mariusaeriksen/trickle/issues/8


Note You need to log in before you can comment on or make changes to this bug.