Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending or receiving fragmented ping packet crashes VPCs #38

Open
vitamins opened this issue Jan 4, 2022 · 1 comment
Open

Sending or receiving fragmented ping packet crashes VPCs #38

vitamins opened this issue Jan 4, 2022 · 1 comment

Comments

@vitamins
Copy link

vitamins commented Jan 4, 2022

Sending or receiving a fragmented ping packet crashes VPCs. The console closes and does not come back up when i try to open it from the right-click menu. The VPC no longer answers to non-fragmented pings, even though it shows as started.
The first ping request is sent and captured with Wireshark, but that's the last message from the VPC.

Setup: Set MTU to 1500 on VPC and Cisco Switch.

From the VPC:

PC1> ping 10.0.1.1 -l 1472
1500 bytes from 10.0.1.1 icmp_seq=1 ttl=64 time=1.159 ms

From the VPC:

PC1> ping 10.0.1.1 -l 1473
Corrupted ...

The terminal window closes after the last message, so i couldn't capture the last line completely.

Wireshark summary, first case:
only one ping request - reply - pair is shown, multiple are recorded.

97	140.125738	10.0.1.11	10.0.1.1	ICMP	1514	Echo (ping) request  id=0xa54d, seq=5/1280, ttl=64 (reply in 98)
98	140.127178	10.0.1.1	10.0.1.11	ICMP	1514	Echo (ping) reply    id=0xa54d, seq=5/1280, ttl=64 (request in 97)

Wireshark summary, second case:
only one ping request - reply - pair is recorded.

31	53.586293	10.0.1.11	10.0.1.1	IPv4	1514	Fragmented IP protocol (proto=ICMP 1, off=0, ID=4f09) [Reassembled in GNS3/gns3-server#32]
32	53.586320	10.0.1.11	10.0.1.1	ICMP	35	Echo (ping) request  id=0x094f, seq=1/256, ttl=64 (reply in 34)
33	53.587849	10.0.1.1	10.0.1.11	IPv4	1514	Fragmented IP protocol (proto=ICMP 1, off=0, ID=4f09) [Reassembled in GNS3/gns3-server#34]
34	53.587873	10.0.1.1	10.0.1.11	ICMP	56	Echo (ping) reply    id=0x094f, seq=1/256, ttl=64 (request in 32)

GNS3 Version: 2.2.28
VPCS Version: 0.8.2

/usr/bin/vpcs -v
Welcome to Virtual PC Simulator, version 0.8.2
Dedicated to Daling.
Build time: Aug 23 2021 11:15:00
Copyright (c) 2007-2015, Paul Meng ([email protected])
All rights reserved.
VPCS is free software, distributed under the terms of the "BSD" licence.
Source code and license can be found at vpcs.sf.net.
For more information, please visit wiki.freecode.com.cn.
apt show gns3-*
Package: gns3-gui
Version: 2.2.28~impish1
Priority: extra
Section: net
Maintainer: GNS3 team <[email protected]>
Installed-Size: 26,8 MB
Depends: python3, python3-pyqt5, python3-pyqt5.qtsvg, python3-pyqt5.qtwebsockets, wireshark, vinagre, libc6 (>= 2.7)
Recommends: gns3-server
Replaces: gns3 (<< 1.4.0-1)
Download-Size: 6.474 kB
APT-Manual-Installed: yes
APT-Sources: http://ppa.launchpad.net/gns3/ppa/ubuntu impish/main amd64 Packages
Description: GNS3 GUI

Package: gns3-server
Version: 2.2.28~impish1
Priority: extra
Section: net
Maintainer: GNS3 team <[email protected]>
Installed-Size: 48,5 MB
Depends: python3, vpcs, ubridge (>= 0.9.14), qemu-system-x86, qemu-kvm, qemu-utils, mtools, cpulimit, libvirt-bin | libvirt-daemon-system, libc6 (>= 2.14)
Recommends: dynamips, x11vnc, xvfb
Enhances: gns3-iou
Download-Size: 8.929 kB
APT-Manual-Installed: yes
APT-Sources: http://ppa.launchpad.net/gns3/ppa/ubuntu impish/main amd64 Packages
Description: GNS3 server

Package: gns3-iou
Version: 0.0.3~impish1
Priority: extra
Section: net
Maintainer: GNS3 team <[email protected]>
Installed-Size: 9.216 B
Pre-Depends: dpkg (>= 1.16.1)
Depends: libssl1.0.0:i386 | libssl1.1:i386, lib32z1
Download-Size: 1.380 B
APT-Manual-Installed: yes
APT-Sources: http://ppa.launchpad.net/gns3/ppa/ubuntu impish/main amd64 Packages
Description: GNS3 support for IOU

Package: gns3-webclient-pack
Version: 1.0.0b3~impish2
Priority: optional
Section: net
Maintainer: GNS3 team <[email protected]>
Bugs: https://github.com/GNS3/gns3-webclient-pack/issues
Installed-Size: 498 kB
Depends: python3, python3-pyqt5, python3-distro, telnet, vinagre, virt-viewer, wireshark, xterm | x-terminal-emulator, python3:any
Download-Size: 143 kB
APT-Sources: http://ppa.launchpad.net/gns3/ppa/ubuntu impish/main amd64 Packages
Description: GNS3 WebClient pack to use with the GNS3 web interface
 This package installs all the required packages to connect to GNS3 nodes
 using Telnet, VNC or SPICE and do packet captures on GNS3 links
 This package provides protocol handlers for the following URL schemes:
 * gns3+telnet://
 * gns3+vnc://
 * gns3+spice://
 * gns3+pcap://

Possibly related
#7

@grossmj grossmj transferred this issue from GNS3/gns3-server Jan 15, 2022
@DanielBarie
Copy link

Can confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants