Skip to content

v3.0 tuntap crash #1192

@coneill746

Description

@coneill746

Running in a docker container using an image which has been built from RHEL 8.10

Supernode starts with no issue

[root@kxsa n2n]# sudo supernode -p 1200 -f
10/Feb/2025 13:29:04 [supernode.c:588] WARNING: using default federation name; FOR TESTING ONLY, usage of a custom federation name (-F) is highly recommended!
10/Feb/2025 13:29:04 [sn_utils.c:136] calculated shared secrets for edge authentication
10/Feb/2025 13:29:04 [supernode.c:604] supernode is listening on UDP 1200 (main)
10/Feb/2025 13:29:04 [supernode.c:613] supernode opened TCP 1200 (aux)
10/Feb/2025 13:29:04 [supernode.c:620] supernode is listening on TCP 1200 (aux)
10/Feb/2025 13:29:04 [supernode.c:629] supernode is listening on UDP 5645 (management)
10/Feb/2025 13:29:04 [supernode.c:641] dropping privileges to uid=997, gid=992
10/Feb/2025 13:29:04 [sn_utils.c:807] successfully created resolver thread
10/Feb/2025 13:29:04 [supernode.c:659] supernode started

Edge service crashes

[root@kxsa n2n]# sudo edge -c mynetwork -a 173.245.239.3 -l 173.245.239.3:1200
10/Feb/2025 14:46:31 [edge_utils.c:3774] adding supernode = 173.245.239.3:1200
10/Feb/2025 14:46:31 [edge.c:1085] starting n2n edge 3.0.0 Oct 27 2021 19:04:56
10/Feb/2025 14:46:31 [edge.c:1091] using compression: none.
10/Feb/2025 14:46:31 [edge.c:1092] using null cipher.
10/Feb/2025 14:46:31 [edge_utils.c:392] number of supernodes in the list: 1
10/Feb/2025 14:46:31 [edge_utils.c:394] supernode 0 => 173.245.239.3:1200
10/Feb/2025 14:46:31 [edge_utils.c:467] WARNING: encryption is disabled in edge
10/Feb/2025 14:46:31 [edge_utils.c:483] successfully created resolver thread
10/Feb/2025 14:46:31 [edge.c:1116] use manually set IP address
10/Feb/2025 14:46:31 [tuntap_linux.c:136] ERROR: tuntap ioctl(TUNSETIFF, IFF_TAP) error: Operation not permitted[-1]

Any suggestions about what is going wrong?

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