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
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.
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
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.
Created attachment 911542 [details] stderr from strace trickle -s -d 20 ssh bingen.cs.berkeley.edu
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
Thank you. Reported upstream: https://github.com/mariusaeriksen/trickle/issues/8