bugzilla-daemon at mindrot.org
2005-Nov-25 12:39 UTC
[Bug 1125] packet_get_int() returns -1 (serverloop.c)
http://bugzilla.mindrot.org/show_bug.cgi?id=1125 Summary: packet_get_int() returns -1 (serverloop.c) Product: Portable OpenSSH Version: 3.7.1p2 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: bitbucket at mindrot.org ReportedBy: equinox at lichtspiele.org Hi there. This morning I connected via ssh to my server: [09:41:16][equinox at abmahnung] [~] $ .goth connecting to domain: lichtspiele.org (217.160.131.3) for equinox ssh options: -XC -i /home/equinox/.ssh/neogoth.key Received disconnect from 217.160.131.3: 2: server_input_channel_req: unknown channel -1 [09:41:17][equinox at abmahnung] [~] $ .goth connecting to domain: lichtspiele.org (217.160.131.3) for equinox ssh options: -XC -i /home/equinox/.ssh/neogoth.key Last login: Fri Nov 25 00:12:43 2005 from acb6bd31.ipt.aol.com [09:41:20][equinox at neogoth] [~] $ As you can see, the connection attempt was fine the second time, but the first time I got that error. This problem is not reproducible because it only appear twice in a year, but it seems to be a bug. If you need any more information please let me know. -- Tristan Cebulla ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Nov-26 03:04 UTC
[Bug 1125] packet_get_int() returns -1 (serverloop.c)
http://bugzilla.mindrot.org/show_bug.cgi?id=1125 ------- Comment #1 from dtucker at zip.com.au 2005-11-26 14:04 ------- There's insufficient information here to do anything other than guess, so here's a guess: perhaps the X11 forward port is busy, the bind fails and that's the unknown channel? You can test this with "netcat" on the server. Make sure there's nothing listening on port 6010 (use netstat -an), then make netcat listen on that port ("nc -l -p 6010"), connect to the port ("nc localhost 6010") then quit both netcats. This should leave port 6010 in a "TIME_WAIT" state (check with netstat). Now quickly try your ssh connection (the TIME_WAIT will only last about 2 minutes). If this reproduces your problem then it's a known bug that will be fixed in the 4.3 release. If it doesn't, then I'm out of ideas. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Nov-28 14:14 UTC
[Bug 1125] packet_get_int() returns -1 (serverloop.c)
http://bugzilla.mindrot.org/show_bug.cgi?id=1125 ------- Comment #2 from equinox at lichtspiele.org 2005-11-29 01:14 ------- I couldn't reproduce that problem with your suggestion. I set loglevel to DEBUG now and if this happens again I hope I can give you more information. Btw, I just saw that "X11Forwarding no" is set in my sshd-config but I used -XC as connection parameters, could this cause the error? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.