- 
                Notifications
    
You must be signed in to change notification settings  - Fork 103
 
Description
Describe the bug
After attach a packetcapture cube to an host interface, the interface won't be reached from other hosts
To Reproduce
Steps to reproduce the behavior:
- create packetcapture cube with the following command
polycubectl packetcapture add pc1 capture=bidirectional
polycubectl pc1 set filter="host 4.4.4.2" (4.4.4.2 is ip address of another host connecting to the the host polycubed is running)
polycubectl pc1 set dump="/tmp/jpi" - attach the cube to one of host interface, in my case interface name is "ens9" with ip "4.4.4.12"
polycubectl attach pc1 ens9 - ping ens9 from host 4.4.4.2
 - ens9 is not able to reach
 
Expected behavior
Before attaching the cube to the interface, ens9 is reachable from other hosts; with cube enable it should be keep the same behavior
Please tell us about your environment:
- Ubuntu 18.04.1 LTS
 - 5.2.0-050200-generic
 - polycube version information
polycubectl:
version: -128-NOTFOUND+ [git: (branch/commit): master/f199ac1b]
polycubed:
version: -128-NOTFOUND+ [git: (branch/commit): master/f199ac1b] - Polycube Log: Attach the log from 
/var/log/polycube/polycubed.log 
Additional context
dumped packet information
tcpdump -r /tmp/jpi.pcap -n
12:09:22.570537 IP 4.4.4.12 > 4.4.4.2: ICMP echo reply, id 18252, seq 4, length 64
12:09:22.570582 IP 4.4.4.12 > 4.4.4.2: ICMP echo reply, id 18252, seq 1, length 64
12:09:22.570626 IP 4.4.4.12 > 4.4.4.2: ICMP echo reply, id 18252, seq 3, length 64
12:09:22.570682 IP 4.4.4.12 > 4.4.4.2: ICMP echo reply, id 18252, seq 2, length 64
12:09:22.570727 IP 4.4.4.12 > 4.4.4.2: ICMP echo reply, id 18252, seq 4, length 64
12:09:22.570771 IP 4.4.4.12 > 4.4.4.2: ICMP echo reply, id 18252, seq 1, length 64
12:09:22.570815 IP 4.4.4.12 > 4.4.4.2: ICMP echo reply, id 18252, seq 3, length 64
looks the host replies the icmp request indefinitely