Skip to content

Syncthing 1.8.0 trying to connect via wrong network route #6892

Closed

Description

@saladpanda

Related forum thread with details: https://forum.syncthing.net/t/syncthing-trying-to-connect-via-wrong-network-route/15476

Affected: Syncthing 1.8.0

Summary:
Syncthing explicitly specifies the source-IP when connecting to a remote device which ignores the routes configured in the operating system and can lead to problems connecting. Syncthing v.1.7.1 works fine in the same configuration.

Activity

  1. added
    bug
    needs-triage
    on Aug 13, 2020
  2. removed
    needs-triage
    on Aug 13, 2020
  3. added a commit that references this issue on Aug 13, 2020
    ddb927d
  4. calmh commented on Aug 17, 2020

    @calmh
    Member

    @AudriusButkevicius can you explain what the technical problem is? I don't understand why doing a dial from something bound to 0.0.0.0:22000 would act differently than a dial from an unbound socket.

  5. AudriusButkevicius commented on Aug 17, 2020

    @AudriusButkevicius
    Member

    I think it gets bound to interface which is the default gateway, as I think we "resolve" the unspecified address as we bind to it.

    Also, people might specify a specific bind address.

  6. added this to the v1.9.0 milestone on Aug 18, 2020
  7. added a commit that references this issue on Aug 19, 2020
    e4d63b2
  8. added
    frozen-due-to-age
    on Aug 19, 2021
  9. locked and limited conversation to collaborators on Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-age

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions