Hi Cascardo,

thank you your quick response.

- Sorry for the confusion, nfq-cpp was a dummy C++ test code which did
what ./print_and_accept.py script do, listen and accept all packages.

- I could not reproduce the crash neither with localhost connections
(without routing) or routing through veth interfaces.

sudo sysctl net.ipv4.ip_forward=1

sudo ip netns add net1
sudo ip netns add net2
sudo ip link add veth1 type veth peer name veth2 netns net1
sudo ip link add veth3 type veth peer name veth4 netns net2

sudo ip address add 192.168.100.1/24 dev veth1
sudo ip link set dev veth1 up
sudo ip -netns net1 address add 192.168.100.2/24 dev veth2
sudo ip -netns net1 link set dev veth2 up

sudo ip address add 192.168.200.1/24 dev veth3
sudo ip link set dev veth3 up
sudo ip -netns net2 address add 192.168.200.2/24 dev veth4
sudo ip -netns net2 link set dev veth4 up

sudo ip -netns net1 route add 192.168.200.0/24 via 192.168.100.1 dev veth2
sudo ip -netns net2 route add 192.168.100.0/24 via 192.168.200.1 dev veth4

sudo ip netns exec net2 nc -l 80
sudo ip netns exec net1 wget 192.168.200.2 -O -

These just works fine. But suddenly when the packets should leave the
box (with two "real" interfaces), there is a hiccup. To be precise,
after initiating the second TCP connection.

David


** Attachment added: "Crash with print_and_accept.py with "real" eth 
interfaces."
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1911917/+attachment/5457008/+files/linux-image-5.4.0-64-generic-202101261147.crash

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911917

Title:
  Kernel general protection fault when using NFQUEUE iptables target

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1911917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to