GNS3 / ubridge

Bridge for UDP tunnels, Ethernet, TAP and VMnet interfaces.
GNU General Public License v3.0
115 stars 46 forks source link

[0.9.17] Communication with tap interfaces is broken: recv: Connection refused #68

Closed jean-christophe-manciot closed 4 years ago

jean-christophe-manciot commented 4 years ago

Debian bullseye gns"-gui/server 2.2.6 gns3-ubridge 0.9.17

Communication with tap interface

The "A" node is a cloud with the configuration displayed in the window on the right. Launching GNS3 leads to the GUI log:

GNS3 management console.
Running GNS3 version 2.2.6 on Linux (64-bit) with Python 3.7.7 Qt 5.12.5 and PyQt 5.14.1.
Copyright (c) 2006-2020 GNS3 Technologies.
Use Help -> GNS3 Doctor to detect common issues.

=> Running GNS3 as root is not recommended and could be dangerous
uBridge process has stopped, return code: 1
uBridge version 0.9.17 running with libpcap version 1.9.1 (with TPACKET_V3)
Hypervisor TCP control server started (IP 127.0.0.1 port 42091).
UDP tunnel connecting from local port 10079 to IPv4 address 127.0.0.1 on port 10078
UDP tunnel connecting from local port 10077 to IPv4 address 127.0.0.1 on port 10076
Source NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-0 has started
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-0 has started
UDP tunnel connecting from local port 10081 to IPv4 address 127.0.0.1 on port 10080
UDP tunnel connecting from local port 10034 to IPv4 address 127.0.0.1 on port 10035
Source NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-1 has started
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-1 has started
UDP tunnel connecting from local port 10083 to IPv4 address 127.0.0.1 on port 10082
UDP tunnel connecting from local port 10072 to IPv4 address 127.0.0.1 on port 10073
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-2 has started
Source NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-2 has started
UDP tunnel connecting from local port 10085 to IPv4 address 127.0.0.1 on port 10084
UDP tunnel connecting from local port 10074 to IPv4 address 127.0.0.1 on port 10075
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-3 has started
Source NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-3 has started
UDP tunnel connecting from local port 10087 to IPv4 address 127.0.0.1 on port 10086
UDP tunnel connecting from local port 10032 to IPv4 address 127.0.0.1 on port 10033
Source NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-4 has started
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-4 has started
UDP tunnel connecting from local port 10089 to IPv4 address 127.0.0.1 on port 10088
UDP tunnel connecting from local port 10052 to IPv4 address 127.0.0.1 on port 10053
Source NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-5 has started
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-5 has started
UDP tunnel connecting from local port 10091 to IPv4 address 127.0.0.1 on port 10090
UDP tunnel connecting from local port 10068 to IPv4 address 127.0.0.1 on port 10069
Source NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-6 has started
UDP tunnel connecting from local port 10093 to IPv4 address 127.0.0.1 on port 10092
UDP tunnel connecting from local port 10004 to IPv4 address 127.0.0.1 on port 10005
Source NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-7 has started
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-6 has started
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-7 has started
UDP tunnel connecting from local port 10095 to IPv4 address 127.0.0.1 on port 10094
UDP tunnel connecting from local port 10062 to IPv4 address 127.0.0.1 on port 10063
Source NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-8 has started
UDP tunnel connecting from local port 10097 to IPv4 address 127.0.0.1 on port 10096
UDP tunnel connecting from local port 10046 to IPv4 address 127.0.0.1 on port 10047
Source NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-9 has started
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-8 has started
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-9 has started
UDP tunnel connecting from local port 10099 to IPv4 address 127.0.0.1 on port 10098
UDP tunnel connecting from local port 10010 to IPv4 address 127.0.0.1 on port 10011
Source NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-10 has started
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-10 has started
recv: Connection refused
Destination NIO listener thread for QEMU-0426fff2-2efc-4f93-90fd-620735a54f3f-4 has stopped because of an error: Invalid argument 

uBridge process has stopped, return code: 1
uBridge version 0.9.17 running with libpcap version 1.9.1 (with TPACKET_V3)
Hypervisor TCP control server started (IP 127.0.0.1 port 45795).
UDP tunnel connecting from local port 10103 to IPv4 address 127.0.0.1 on port 10102
UDP tunnel connecting from local port 10035 to IPv4 address 127.0.0.1 on port 10034
Source NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-0 has started
Destination NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-0 has started
UDP tunnel connecting from local port 10105 to IPv4 address 127.0.0.1 on port 10104
UDP tunnel connecting from local port 10066 to IPv4 address 127.0.0.1 on port 10067
Source NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-1 has started
Destination NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-1 has started
UDP tunnel connecting from local port 10107 to IPv4 address 127.0.0.1 on port 10106
UDP tunnel connecting from local port 10006 to IPv4 address 127.0.0.1 on port 10007
Destination NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-2 has started
Source NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-2 has started
UDP tunnel connecting from local port 10109 to IPv4 address 127.0.0.1 on port 10108
UDP tunnel connecting from local port 10060 to IPv4 address 127.0.0.1 on port 10061
Source NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-3 has started
Destination NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-3 has started
UDP tunnel connecting from local port 10111 to IPv4 address 127.0.0.1 on port 10110
UDP tunnel connecting from local port 10020 to IPv4 address 127.0.0.1 on port 10021
Source NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-4 has started
Destination NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-4 has started
UDP tunnel connecting from local port 10113 to IPv4 address 127.0.0.1 on port 10112
UDP tunnel connecting from local port 10070 to IPv4 address 127.0.0.1 on port 10071
Destination NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-5 has started
Source NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-5 has started
UDP tunnel connecting from local port 10115 to IPv4 address 127.0.0.1 on port 10114
UDP tunnel connecting from local port 10044 to IPv4 address 127.0.0.1 on port 10045
Destination NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-6 has started
Source NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-6 has started
recv: Connection refused
Destination NIO listener thread for QEMU-5ea19190-702a-44cf-9a4c-5807c98197fd-0 has stopped because of an error: Invalid argument 

No such issue in the exact environment with: gns3-gui/server 2.2.5 gns3-ubridge 0.9.16

jean-christophe-manciot commented 4 years ago

No such issue in the exact environment with: gns3-gui/server 2.2.6 gns3-ubridge 0.9.16

grossmj commented 4 years ago

Please upgrade to uBridge version 0.9.18, thanks :+1: