Package: sshproxy
Version: 0.6_beta2.2
Severity: grave
Justification: renders package unusable


After installing from the standard repository I was able to configure sshproxy. 
I installed all sshproxy packages, except mysql-backend. 

After I added the admin user (with password), I was unable to login, because 
the sshproxy new thread quit. 
I got error messages in the console and in the syslog. 

Here is the console error message:

hn2:/usr/share/doc/sshproxy# ssh -p 2242 pongra...@localhost
pongra...@localhost's password: 
Exception in thread client-read:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/var/lib/python-support/python2.5/sshproxy/ipc.py", line 210, in
handle_message
    msg = message_from_string(packet)
  File "/var/lib/python-support/python2.5/sshproxy/ipc.py", line 84, in
message_from_string
    data = marshal.loads(data)
ValueError: bad marshal data

Connection to localhost closed.
hn2:/usr/share/doc/sshproxy# 



In the syslog I got this error message: 

Jan 21 14:28:41 novfe1 sshproxyd[2353] Auth request (type=password) 
service=ssh-connection, username=pongraczi
Jan 21 14:28:41 novfe1 sshproxyd[2276] ACL authenticate True 'client.username 
== "pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] Auth granted (password).
Jan 21 14:28:41 novfe1 sshproxyd[2353] check_channel_request session 1
Jan 21 14:28:41 novfe1 sshproxyd[2353] [chan 1] Max packet in: 34816 bytes
Jan 21 14:28:41 novfe1 sshproxyd[2353] [chan 1] Max packet out: 16384 bytes
Jan 21 14:28:41 novfe1 sshproxyd[2353] Secsh channel 1 (session) opened.
Jan 21 14:28:41 novfe1 sshproxyd[2353] check_channel_shell_request
Jan 21 14:28:41 novfe1 sshproxyd[2353] Authenticated pongraczi
Jan 21 14:28:41 novfe1 sshproxyd[2276] ACL console_session True 
'client.username == "pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2369] IPC: Connecting to server 
#000sshproxy-control-2353#000�
Jan 21 14:28:41 novfe1 sshproxyd[2353] IPC: Accepting new client 
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL admin True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'admin'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'admin'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'admin'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'admin'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'admin'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'admin'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'admin'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'admin'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'admin'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'admin'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'client.username == 
"pongraczi"'
Jan 21 14:28:41 novfe1 sshproxyd[2353] ACL: True 'admin'
Jan 21 14:28:41 novfe1 sshproxyd[2369] IPC: Connecting to server 
#000sshproxy-control-2353#000�
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc] ERROR: cannot execute function 
PtyConsole
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc] Traceback (most recent call last):
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc] File 
"/var/lib/python-support/python2.5/sshproxy/ptywrap.py", line 39, in __init__
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc]     code(cipc, *args, **kwargs)
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc] File 
"/var/lib/python-support/python2.5/sshproxy/dispatcher.py", line 187, in 
PtyConsole
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc]     Console(*args, 
**kwargs).cmdloop()
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc] File 
"/var/lib/python-support/python2.5/sshproxy/registry.py", line 59, in __new__
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc]     obj.__reginit__(*args, **kw)
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc] File 
"/var/lib/python-support/python2.5/sshproxy/console.py", line 46, in __reginit__
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc]     self.populate()
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc] File 
"/var/lib/python-support/python2.5/sshproxy/console.py", line 51, in populate
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc]     methods = 
self.ipc.call('public_methods')
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc] File 
"/var/lib/python-support/python2.5/sshproxy/ipc.py", line 426, in call
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc]     return self.chan.call(_func, 
*args, **kw)
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc] File 
"/var/lib/python-support/python2.5/sshproxy/ipc.py", line 276, in call
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc]     msg = 
self.wait_response(MSG_CALL_RESP, msg.id, 15.0)
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc] File 
"/var/lib/python-support/python2.5/sshproxy/ipc.py", line 177, in wait_response
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc]     raise IPCTimeout('Event not 
set: TIMEOUT')
Jan 21 14:28:56 novfe1 sshproxyd[2369] [exc] IPCTimeout: Event not set: TIMEOUT
Jan 21 14:28:56 novfe1 sshproxyd[2353] [chan 1] EOF sent (1)
Jan 21 14:28:56 novfe1 sshproxyd[2353] EOF in transport thread
Jan 21 14:28:57 novfe1 sshproxyd[2353] System exit
Jan 21 14:28:57 novfe1 sshproxyd[2353] sshproxy ending
Jan 21 14:28:57 novfe1 sshproxyd[2276] A child process has been killed and 
cleaned.



All the stuff runs inside an openvz container.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-1-pve
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to