Commit Graph

7 Commits

Author SHA1 Message Date
Yevhen Vydolob cf0e470794 Add ICMP forwarding support
The current implementation supports forwarding only ICMP Echo(ping) packets, as OS not allow to send arbitrary packets without escalating privileges.  All other ICMP packets are dropped(ignored)

Changes in 'icmp_packet.go' and 'icmp.go' was mostly maded by cursor.

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
2026-04-16 15:59:10 +02:00
Christophe Fergeau 8bd53d8b9c test-mac: Add ping tests
This will help verify https://github.com/containers/gvisor-tap-vsock/issues/428 is really fixed.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2026-04-16 15:49:04 +02:00
Christophe Fergeau 976f29d2d4 Add go API for /services/dhcp/leases
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2025-09-24 16:46:33 +02:00
openshift-merge-bot[bot] c30fc5c0e8 Merge pull request #453 from vyasgun/pr/upload-download-tests
Upload and Download tests against vfkit
2025-01-30 15:59:09 +00:00
Gunjan Vyas 0b09d74fd2 test: upload and download tests against vfkit
This commit adds two tests:

1. Upload files to the VM This test uploads three files of different sizes (10M, 100M, 1G) to the running VM and verifies the sha256sum of the uploaded files.

2. Download the above files from the VM This test downloads the three files uploaded in the previous test and verifies their sha256sum values.

Signed-off-by: Gunjan Vyas <vyasgun20@gmail.com>
2025-01-23 13:30:05 +05:30
Luca Stocchi 486a03bff1 add build tag to vfkit test files
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2025-01-13 14:44:28 +01:00
Luca Stocchi e897a4aa4a test: add basic tests for vfkit
Adds a basic implementation for testing against a vfkit VM. Tests are based on the existing qemu version. It just changes the way the VM gets created/started.

It also adds a func to decompress .gz files as the fcos release for apple hypervisor is raw.gz format

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2025-01-09 15:57:22 +01:00