6672 Commits

Author SHA1 Message Date
Bine
4a059be480 Increase DB engine pool size and max overflow
As described in #2568 when multiple clients connect simultaneously, an excessive number of database pool connections are created. This leads to resource exhaustion and connection management issues.

We have introduced the pool_size and max_overflow parameters to better control the database connection pool.
These parameters ensure the database can handle a sufficient number of concurrent connections without over-allocating resources.

Added pool_size and max_overflow arguments to the database initialization.

This change overrides the default initialization configuration where the temporary fix was applied.

Co-Authored-By: Ufi <86113085+ufiking@users.noreply.github.com>
2025-10-17 22:17:10 +02:00
Jeremy Grossmann
230866890e
Merge pull request #2556 from GNS3/bugfix/2543
Enable ip cef in IOU L2 and IOU L3 base configs
2025-09-01 18:59:10 +02:00
grossmj
355cfb7571
Enable ip cef in IOU L2 and IOU L3 base configs 2025-09-01 18:55:36 +02:00
grossmj
8dddfe056e
Merge branch 'master' into 2.2 2025-09-01 18:42:02 +02:00
Jeremy Grossmann
9c33827de3
Merge pull request #2555 from GNS3/update-gh-docker-build
Update docker-build.yml
2025-09-01 18:28:04 +02:00
grossmj
a34fa53823
Update tags 2025-09-01 18:27:04 +02:00
grossmj
565a76ae27
Only build and push Docker image when releasing a new version 2025-09-01 18:23:52 +02:00
grossmj
dc9c3b1c5d
Fix pushing Docker image to Docker hub 2025-09-01 18:17:52 +02:00
grossmj
a394fb71dc
Update method to login to ghcr.io 2025-09-01 17:55:46 +02:00
grossmj
6cbf3baa1b
Update docker-build.yml 2025-09-01 17:49:34 +02:00
grossmj
10322135e3
Upgrade sentry-sdk package 2025-08-30 21:51:20 +02:00
grossmj
12d1d04462
Update security issues again in README.md. Fixes #2535 2025-08-29 18:28:14 +02:00
grossmj
8b4c2f5e90
Update security issues in README.md. Fixes #2535 2025-08-29 18:25:57 +02:00
grossmj
1ed549fdb1
Upgrade requests dev dependency 2025-08-29 14:01:19 +02:00
grossmj
845cad35f0
Upgrade pydantic, fastapi & sqlalchemy dependencies 2025-08-29 13:55:00 +02:00
grossmj
31613630cf
Update pyproject.toml to support LICENSE file 2025-06-09 22:24:23 +02:00
Jeremy Grossmann
aaffc731ee
Merge pull request #2538 from Nick1200000/enhancement/docker-build
Add automated Docker build and publish workflow
2025-06-09 22:14:11 +02:00
Nick1200000
5ce55aff02 Resolving the Error 2025-06-08 14:11:01 +05:30
Nick1200000
aa1c0bb557 Resolving the Errors 2025-06-08 13:38:35 +05:30
Nick1200000
25bc2dce57 Resolving the Errors 2025-06-08 13:30:49 +05:30
Nick1200000
7e35d164dc Resolving the Errors 2025-06-08 13:26:40 +05:30
Nick1200000
8666ffaff3 Resolving the Errors 2025-06-08 13:24:38 +05:30
Nick1200000
020f6a123d Docker build CI/CD pipeline 2025-06-07 18:16:47 +05:30
grossmj
232b9c2806
Fix tests 2025-05-25 17:35:45 +02:00
Jeremy Grossmann
f260f6e2b4
Merge pull request #2531 from PsyBlade42/docker-vnc-name
use GNS3 node name as vnc Desktop name
2025-05-23 14:26:08 +02: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
975ca254fd
Release v3.0.5 v3.0.5 2025-05-14 19:11:44 +02:00
grossmj
89cf5ea8e7
Bundle web-ui v3.0.5 2025-05-14 19:06:42 +02:00
grossmj
bfbe2bf885
Sync appliances 2025-05-14 18:55:51 +02:00
grossmj
5c036dfd90
Upgrade uvicorn and pydantic 2025-05-14 18:54:55 +02:00
grossmj
2fbfe5385a
Use Ubuntu 24.04 LTS in Dockerfile. Ref #2523 2025-05-14 18:30:43 +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
c2c89b0ff3
Add missing 'nat' template type in schema. Fixes #2529 2025-05-13 20:52:44 +02:00
grossmj
ef3570dc95
Merge branch 'master' into 2.2 2025-05-13 20:48:59 +02:00
grossmj
2bf3eff143
Remove debug message in tests 2025-05-13 20:47:38 +02:00
Jeremy Grossmann
add8c4e8a2
Merge pull request #2526 from emmanuel-ferdman/master
Resolve deprecation warnings of regex library
2025-04-30 14:14:37 +07:00
Jeremy Grossmann
53eac771d6
Merge pull request #2528 from tobiasstein/fix-pci-bridges
Fix adding pci_bridges to qemu vms
2025-04-30 14:09:22 +07: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
e32576d5ed
Development on 2.2.55.dev1 2025-04-21 19:35:13 +07:00
Jeremy Grossmann
bd3657d8f3
Merge pull request #2524 from GNS3/release/v2.2.54
Release v2.2.54
2025-04-21 19:30:57 +07:00
grossmj
4418d6bb2b
Release v2.2.54 v2.2.54 2025-04-21 17:15:22 +07:00
grossmj
dbcafdd314
Merge branch 'master' into 2.2 2025-04-21 17:08:59 +07:00
grossmj
4dd1803a70
Bundle web-ui v2.2.54 2025-04-21 16:40:59 +07:00
grossmj
99272fb7e0
Sync appliances 2025-04-21 16:30:32 +07:00
grossmj
a24d2e25ed
Add new method to find the IP address of a VBox GNS3 VM + allow NAT Network 2025-04-21 16:29:32 +07:00