Skip to content

🐛 BUG: Two nodes can't connect properly to each other #1385

@QZAiXH

Description

@QZAiXH

What version of nebula are you using? (nebula -version)

1.9.5

What operating system are you using?

Windows

Describe the Bug

I have two nodes, A (IP: 172.17.60.163) and B (IP: 172.17.7.238). The operation steps are as follows:

  1. ping lighthouse 1 from node A, can connect normally
  2. ping lighthouse 1 from node A, it can connect normally. 3. ping lighthouse 1 from node A again, it cannot connect.
  3. ping lighthouse 1 from node A again, can't connect normally. 4.
  4. Node B can ping lighthouse 1 normally.

Logs from affected hosts

A.log
B.log
l1.err.log
l2.err.log

Config files from affected hosts

Node A configuration

relay:
    relays:
        - 172.17.215.97
        - 172.17.0.1
    am_relay: false
    use_relays: true
tun:
    unsafe_routes: []
    disabled: false
    dev: fsnb0
    drop_local_broadcast: false
    drop_multicast: false
    tx_queue: 500
    mtu: 1300
    routes: []
logging:
    level: info
    format: text
firewall:
    outbound_action: reject
    inbound_action: reject
    conntrack:
        tcp_timeout: 12m
        udp_timeout: 3m
        default_timeout: 10m
    outbound:
        - port: any
          proto: any
          host: any
    inbound:
        - port: any
          proto: any
          host: any
          groups: []
pki:
    ca: xxx
    cert: xxx
    key: xxx
    disconnect_invalid: true
static_host_map:
    172.17.0.1:
        - x.x.x.x:4242
    172.17.215.97:
        - x.x.x.x:4242
lighthouse:
    am_lighthouse: false
    hosts:
        - 172.17.0.1
        - 172.17.215.97
    interval: 60
    local_allow_list:
        interfaces: {}
    advertise_addrs: []
listen:
    host: 0.0.0.0
    port: 0
punchy:
    delay: 1s
    respond_delay: 5s
    punch: true
    respond: true
handshakes:
    trigger_buffer: 64
    try_interval: 100ms
    retries: 10
static_map:
    network: ip4
    cadence: 30s
    lookup_timeout: 250ms
cipher: aes
routines: 1

Node B configuration

relay:
    relays:
        - 172.17.0.1
        - 172.17.215.97
    am_relay: false
    use_relays: true
tun:
    unsafe_routes: []
    disabled: false
    dev: fsnb0
    drop_local_broadcast: false
    drop_multicast: false
    tx_queue: 500
    mtu: 1300
    routes: []
logging:
    level: info
    format: text
firewall:
    outbound_action: reject
    inbound_action: reject
    conntrack:
        tcp_timeout: 12m
        udp_timeout: 3m
        default_timeout: 10m
    outbound:
        - port: any
          proto: any
          host: any
    inbound:
        - port: any
          proto: any
          host: any
          groups: []
pki:
    ca: xxx
    cert: xxx
    key: xxx
    disconnect_invalid: true
static_host_map:
    172.17.0.1:
        - x.x.x.x:4242
    172.17.215.97:
        - x.x.x.x:4242
lighthouse:
    am_lighthouse: false
    hosts:
        - 172.17.0.1
        - 172.17.215.97
    interval: 60
    local_allow_list:
        interfaces: {}
    advertise_addrs: []
listen:
    host: 0.0.0.0
    port: 0
punchy:
    delay: 1s
    respond_delay: 5s
    punch: true
    respond: true
handshakes:
    trigger_buffer: 64
    try_interval: 100ms
    retries: 10
static_map:
    network: ip4
    cadence: 30s
    lookup_timeout: 250ms
cipher: aes
routines: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions