John Fleming
763ef24108
Address the telnet console bug. Add wait_for for drain() call. If we're stuck on drain then the buffer isn't getting emptied. 5 seconds after drain() blocks, exception will be thrown and client will be removed from connection table and will no longer be a problem.
8 months ago
John Fleming
54abf85523
Update telnet_server.py
...
Maybe use the correct object name this time for the socket objects.
8 months ago
John Fleming
ac86717bc0
Update telnet_server.py
...
Set tcp keepalive timers to 60 seconds. Seems to default to 2 hours on ubuntu 22. Most firewalls will age out an idle tcp session at 1 hour.
Will not address telnet console failing after a tcp session has failed (TimeoutError).
8 months ago
grossmj
30c85703c8
Attempt to fix "cannot reopen console". Ref #2182
2 years ago
grossmj
a7d19fd89a
Fix StreamWriter doesn't have the wait_closed() method in Python3.6. Fixes #2170
2 years ago
grossmj
b3a6b9173b
Fix reset console. Fixes #1619
2 years ago
grossmj
1148dbc48e
Fix issue when calling reset_console with running VPCS and Qemu nodes. Ref #1619
2 years ago
grossmj
8aada49414
Some fixes for early support for Python3.10
...
The loop parameter has been removed from most of asyncio‘s high-level API following deprecation in Python 3.8.
3 years ago
grossmj
bb284d082a
Set socket options SO_KEEPALIVE and TCP_NODELAY for embedded Telnet server. Ref #1335
6 years ago
grossmj
56412b35e0
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/utils/asyncio/telnet_server.py
6 years ago
grossmj
60ac6d2dfe
Telnet console resize support for Docker VM.
6 years ago
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
grossmj
4d95e0b51f
Catch some exceptions.
6 years ago
grossmj
4021a13651
Catch exceptions in various locations to fix small issues reported by Sentry.
6 years ago
grossmj
814526ba26
Add missing coroutine decorator Ref https://github.com/GNS3/gns3-gui/issues/2566
6 years ago
grossmj
3560cda06c
Use asyncio.ensure_future() instead of asyncio.async() with conservative approach to support Python < 3.4.4. Fixes https://github.com/GNS3/gns3-gui/issues/2566
6 years ago
ziajka
860ca3b35d
Remotely close telnet console. Ref #2330
7 years ago
ziajka
96a0b52cf8
EthernetSwitch closing connections, Ref: gui/#2330
7 years ago
ziajka
86bd7b6058
Added missing corutine flag, fixes #1145
7 years ago
ziajka
ac508435c3
History support for console and telnet application, Fixes : #1083
...
Arrows UP/DOWN for telnet, Ref. #1083
Typo, Ref. #1083
Support async commands, Ref. #1083
Small refactor, Ref. #1083
Asyncio telnet server - connections support, Ref. #10831
Prompt-toolkit in dependencies, ref. #1083
Few comments, ref. #1083
Direct imports, ref. #1083
Windows size changed support in telnet server, ref. #1139
Fake termios
Fake termios - different approach
InputStream - copied source from prompt_toolkit
7 years ago
Julien Duponchelle
69f154d9cc
Correctly initialize connection to VPCS console
8 years ago
Julien Duponchelle
553e137a13
Support for serial console for Virtual BOX and VMware using asyncio
...
Ref #747
8 years ago
Julien Duponchelle
871fea33e0
Cleanup unbreakable space
8 years ago
Julien Duponchelle
dcbaa62df8
Better aux console for docker
...
Fix #472
9 years ago
Julien Duponchelle
ad6fb664a2
Fix detection of EOF in Docker telnet console
...
Fix #476
9 years ago
Julien Duponchelle
dab1b26569
Aux console for Docker
...
Fix https://github.com/GNS3/gns3-gui/issues/1039
9 years ago
Julien Duponchelle
87eef545e1
Correctly close the telnet connection for docker
...
Fix #427
9 years ago
Julien Duponchelle
f35c742b07
Avoid consuming 100% of CPU when stopping docker container
...
Fix #427
9 years ago
Julien Duponchelle
c2b78400f2
Fix closing a docker console jump to 100% of CPU usage
...
Fix #427
9 years ago
Julien Duponchelle
33edbefa3b
Docker cleanup and improvements
9 years ago