Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Menu
    Projects Groups Snippets
  • Get a free trial
  • Sign up
  • Login
  • Sign in / Register
  • Remmina Remmina
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 148
    • Issues 148
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 has launched! Please visit Breaking changes in 15.0 and 15.0 Removals to see which breaking changes may impact your workflow.

  • Remmina
  • RemminaRemmina
  • Issues
  • #953
Closed
Open
Created Aug 11, 2016 by Antenore Gatta (tmow)@antenoreOwner

SSH does not try IPv4 after IPv6 fails (when DNS has addresses for both)

Created by: box293

Linux Mint 17.3 Rosa MATE
Remmina version 1.2.0-rcgit.14
Desktop environment : MATE
Connecting to (OS and version): any linux SSH session
Connecting via (RDP, VNC, ...): SSH

I've noticed an unusual behaviour which I can reproduce.

If Remmina cannot connect to the DNS destination using IPv6, it doesn't try IPv4.

I've been setting up some servers to do some application testing. I already have entries in my DNS server for IPv4 and IPv6 for the new server.

core-030.box293.local has address 10.25.5.160
core-030.box293.local has IPv6 address 2001:44b8:3132:25:10:25:5:160

After deploying the servers from a template, they initially have their IPv4 address defined and active but not the IPv6 address. If I try and connect to the dns name core-030 it fails with the error:

Failed to startup SSH session: Timeout connecting to to core-030

If I jump to my Linux Mint terminal session and do a:

ssh root@core-030

It takes a little longer than usual but then eventually connects. I'm assuming at this point it tries and connects to the IPv6 address, fails, and then trys the IPv4 address and succeeds.

My assumption is that Remmina tries to connect to the IPv6 address and fails. It doesn't then try the IPv4 address.

I'm not sure how all of this happens in the back end. I assume that the Linux Mint terminal resolves the core-030 object, receives an IPv6 and IPv4 record and tries the IPv6 record first (perhaps it tries the address based on the IP binding order).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking