lkl / linux

Linux kernel source tree

Home Page:https://lkl.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue running tcp server using raw sockets in LKL

shravya-ks opened this issue · comments

Hello,
I was trying to run tcpdump and iperf3 using raw sockets in lkl. My json file is as follows :

{
  “interfaces”:[
   {
      “type”:”raw”,
       “param”:”eth0”
   }
 ]
}

I have observed that tcpdump from a client to the server on lkl works whereas iperf3 doesn’t work. tcpdump uses raw sockets whereas iperf3 doesn’t use raw socket. It looks like the raw sockets in lkl works only with the applications which use raw sockets. Please correct me if I am wrong.