grossmj
5e3ca29c58
Fix updating packet filters
2026-02-21 21:42:22 +08:00
grossmj
60abbade27
Revert merged changes from 2.2 introduced by PR #2607
2026-02-21 21:35:12 +08:00
grossmj
c5b9f379fe
Merge remote-tracking branch 'origin/2.2' into 3.0
...
# Conflicts:
# Dockerfile
# dev-requirements.txt
# gns3server/compute/qemu/qemu_vm.py
# gns3server/version.py
# requirements.txt
2026-02-20 16:28:53 +08:00
Dale Arbogast
279f05a14a
fix: handle RuntimeError in notification_manager emit()
...
asyncio.get_running_loop() raises RuntimeError when emit() is called
from a thread without an active event loop (e.g. when the disk space
check in project_manager triggers a log.warning notification from a
threadpool worker).
This causes a 500 Internal Server Error on project creation/open when
disk usage is high, instead of the intended warning notification.
Wrap the emit loop in try/except RuntimeError so that notifications
are silently dropped when no event loop is available, rather than
crashing the request.
Fixes #2502
Fixes #2505
2026-02-19 16:49:50 -05:00
Dale Arbogast
3dd4184193
fix: busybox static link detection on Alpine/musl
...
On musl-based systems (Alpine), ldd returns exit code 0 for static
binaries, unlike glibc which returns 1. This causes install_busybox()
to reject all busybox binaries as "dynamically linked" on Alpine.
Fix by also accepting binaries whose executable name contains "static"
(i.e. busybox-static, busybox.static), which are the first two
candidates checked by the function. The generic "busybox" fallback
still relies on the ldd return code check.
2026-02-19 16:44:01 -05:00
Patrik Olsson
fe2014854e
Take populated disks into consideration when calculating PCI device ID
2026-02-05 15:10:57 +01:00
grossmj
7f45cc6f47
Disable checking for available disk space. Ref #2548
2026-01-28 18:32:42 +08:00
grossmj
abaeab6242
Upgrade greenlet and sqlalchemy dependencies
2026-01-26 19:50:42 +08:00
grossmj
69a695c9e6
Merge branch '2.2' into 3.0
...
# Conflicts:
# dev-requirements.txt
# gns3server/appliances/infix.gns3a
# gns3server/crash_report.py
# gns3server/run.py
# gns3server/utils/asyncio/__init__.py
# gns3server/version.py
# requirements.txt
# setup.py
2026-01-24 19:27:39 +08:00
grossmj
58d1e8f0c5
Set default location of udhcpc in "/etc/network/udhcpc". Fixes #2582
2026-01-17 18:01:42 +08:00
grossmj
60c10e7ecc
Merge remote-tracking branch 'origin/2.2' into 3.0
...
# Conflicts:
# .github/workflows/testing.yml
# CHANGELOG
# README.md
# gns3server/appliances/infix.gns3a
# gns3server/compute/docker/__init__.py
# gns3server/compute/docker/docker_vm.py
# gns3server/crash_report.py
# gns3server/version.py
# gns3server/web/web_server.py
# setup.py
# tests/controller/test_project.py
2025-11-29 11:42:02 +10:00
grossmj
f2aaf5ab38
Docker API version requirements and process to handle older daemons
2025-11-17 22:26:18 +10:00
grossmj
3a24318694
Use docker_name property when creating a container
2025-11-17 11:11:11 +10:00
grossmj
bae6221991
Set name of container in Docker
2025-11-17 10:59:05 +10:00
Thomas Schmidt
a7108e1592
use GNS3 node name as vnc Desktop name
...
Most VNC clients use the Desktop name in their window title.
Currently this defaults to user@host which means all docker vnc
connections have identical window names of e.g.
SSVNC: gns3@gns3server
This uses the node name instead.
2025-05-22 13:13:47 +02:00
grossmj
2cdaa1cd06
Fix tests
2025-05-14 17:19:18 +02:00
grossmj
f2080979a1
Fix tests
2025-05-14 16:56:46 +02:00
grossmj
df576f0668
Merge remote-tracking branch 'origin/2.2' into 3.0
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
# gns3server/schemas/template.py
2025-05-14 16:42:59 +02:00
grossmj
2b96e54629
Fix tests and require Qemu version >= 2.4
2025-04-30 13:38:52 +07:00
Tobias Stein
cdf819f820
Fix adding pci_bridges to qemu vms
...
* Offset pci_device_id for network devices by 32 (formerly 4)
to reserve first 32 IDs for non-netdev devices
* This implies a new pci_bridge for the netdevs and
the pci_device_ids starting at 0 (using modulo)
* Fixes a bug in the creation of the qemu command
when the number of qemu pcie devices (storage_controller, disks, …)
was greater than 4 and the number of network devices
saturated the 32 pcie ids of the root bridge
causing qemu not to start.
2025-04-28 21:07:52 +02:00
Emmanuel Ferdman
c05e6f4de4
Resolve deprecation warnings of regex library
...
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-04-26 00:15:16 -07:00
grossmj
d9dcc2738d
Merge remote-tracking branch 'origin/2.2' into 3.0
...
# Conflicts:
# CHANGELOG
# Dockerfile
# README.md
# gns3server/appliances/infix.gns3a
# gns3server/compute/docker/docker_vm.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/controller/gns3vm/virtualbox_gns3_vm.py
# gns3server/crash_report.py
# gns3server/static/web-ui/index.html
# gns3server/static/web-ui/main.9bcf455e62558dedfd48.js
# gns3server/version.py
2025-04-21 20:13:31 +07:00
grossmj
a5a663bc99
Remove OVMF_CODE_4M.secboot.fd and associated code
2025-04-18 17:31:31 +07:00
grossmj
2b7eb91694
Add edk2-stable202502 UEFI firmwares and try to first use firmwares from the ovmf package if installed. Fixes #2494
2025-04-18 17:13:29 +07:00
grossmj
684770a220
Prettify TPM error message
2025-04-18 15:25:50 +07:00
grossmj
f6546bf1de
Fix bug in qemu_stdout message
2025-04-18 15:19:06 +07:00
grossmj
355b97398b
Reduce matching error for TPM result
2025-04-18 15:13:41 +07:00
grossmj
6242a0be80
Try to detect swtpm and AppArmor issue. Ref https://github.com/GNS3/gns3-gui/issues/3725
2025-04-18 15:06:49 +07:00
grossmj
ffd628902c
Fix Docker logs decoding. Ref #2522
2025-04-18 13:58:56 +07:00
grossmj
ca34053125
Add delay after starting a Docker container and adding connections in uBridge. Ref #2522
2025-04-18 13:50:20 +07:00
grossmj
d06f93e772
Fix TypeError when reading Docker container logs. Ref #2522
2025-04-18 13:47:29 +07:00
grossmj
0e8d969cd2
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/docker/__init__.py
# gns3server/compute/docker/docker_vm.py
# requirements.txt
2025-04-16 17:53:44 +07:00
grossmj
0e89ff56a8
Replace "Docker hub" by "Docker repository" because it is possible to use different repositories
2025-04-16 17:42:40 +07:00
grossmj
773076c40e
Fix unable to add NAT cloud after configuring “allowed_interfaces” in configuration file. Fixes #2508
2025-04-16 16:04:57 +07:00
grossmj
4fd41991db
Fix VMware add ubridge connection. Fixes #2490
2025-01-27 12:12:43 +10:00
grossmj
09774a3a56
Merge branch '2.2' into 3.0
...
# Conflicts:
# CHANGELOG
# gns3server/compute/virtualbox/virtualbox_vm.py
# gns3server/controller/compute.py
# gns3server/crash_report.py
# gns3server/static/web-ui/index.html
# gns3server/static/web-ui/main.c83939cdfe3af0ec27df.js
# gns3server/version.py
# gns3server/web/web_server.py
# requirements.txt
# tests/controller/test_compute.py
2025-01-22 18:37:17 +10:00
grossmj
bd58196817
Add more information when patching .vbox file. Ref https://github.com/GNS3/gns3-gui/issues/3542
2025-01-20 13:22:22 +10:00
grossmj
4758431c76
Improvements for built-in disks
...
* Checksum is updated in the database for updated disks.
* It is not possible to prune them.
2025-01-02 23:10:51 +07:00
grossmj
5e1b8814b6
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/iou/iou_vm.py
2024-12-17 15:08:45 +07:00
grossmj
df56955bf0
Use license instead of licence
2024-12-17 15:01:01 +07:00
grossmj
e1b4d74f1e
Merge branch '2.2' into 3.0
2024-12-16 18:17:01 +07:00
grossmj
86fbae00e1
Fix issue with iourc_path
2024-12-16 18:16:42 +07:00
grossmj
db067579db
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/iou/iou_vm.py
2024-12-16 18:08:51 +07:00
grossmj
6314dd3c35
Fix: do not use the iourc file if IOU licence check is not enabled
2024-12-16 18:07:02 +07:00
grossmj
a00f53fbaa
Fix error 500 on PUT for cloud, nat, vmware and vpcs nodes. Fixes #2426
2024-11-19 12:21:35 +10:00
Jeremy Grossmann
fa0d7d7529
Use call_soon_threadsafe() in notification manager
2024-11-18 12:13:41 +10:00
grossmj
b37db57bb9
Fix tests
2024-11-17 15:00:13 +10:00
grossmj
31a2cb998d
Fix issue with asyncio.Queue which is not thread safe.
2024-11-17 14:39:22 +10:00
grossmj
ec9dbd20b8
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_node.py
# gns3server/compute/docker/docker_vm.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/crash_report.py
# gns3server/version.py
2024-11-07 23:18:42 +10:00
grossmj
aeae9deb01
Merge remote-tracking branch 'origin/2.2' into 2.2
2024-11-07 14:53:23 +10:00