Skip to content

x/crypto/ssh: problem with Dropbear tunnel #8657

@gopherbot

Description

@gopherbot

by Metal3d:

What does 'go version' print?

go version go1.3 linux/amd64

What steps reproduce the problem?
If possible, include a link to a program on play.golang.org.

1. http://play.golang.org/p/CLWHYVgBQs
2. Install dropbear and launch server (change port to not interfer openssh-server)
3. Run the example
4. Try to write something on the 8080 port on the target host
5. Change port connect openssh and not dropbear (port 22)
6. Recheck... that works

What happened?

With dropbear ssh server, Accept() method is blocked. There is not problem with
openssh-server. 

To be precise, ssh tunnel command works as expected, the problem appears only with go
ssh package

See my explanation https://github.com/metal3d/idok/wiki/dropbear

What should have happened instead?

After writing on 8080 port on target, Accept() function should release and let
conn.Read(...) to be executed

Please provide any additional information below.

https://github.com/metal3d/idok/wiki/dropbear

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions