xieyaxiongfly / Atheros-CSI-Tool

Tool for extracting CSI from off-the-shelf Commercial Atheros WiFi NIC
Other
128 stars 73 forks source link

Send TCP packets limited #26

Open 522623905 opened 6 years ago

522623905 commented 6 years ago

One problem: After the CSI tool is installed, a TCP packet with a size greater than 400 bytes cannot be sent out. Why? The test conditions are as follows: Computer A, without CSI tools installed; Computer B, with CSI tools installed. Both are connected to WiFi sent by OpenWRT, A -> B sends, 400 bytes of TCP packets, B can receive normally. However, when B -> A, a 400-byte TCP packet, A cannot receive it. Therefore, it is judged that the computer with the CSI tool installed has a problem with the sender. What causes it? Where can the driver be modified? Or can you increase the size of the allowed message by modifying the kernel parameters?

xieyaxiongfly commented 6 years ago

Not so clear about the cause. I have used one PC connected with my Wi-Fi AP (installed with our tool) to surf the internet, the PC works just fine. I think it shouldn't be the problem with our tool.

Can you just use iperf to test it? I didn't see any limit on the packet size.

On Wed, May 23, 2018 at 4:09 PM, 522623905 notifications@github.com wrote:

One problem: After the CSI tool is installed, a TCP packet with a size greater than 400 bytes cannot be sent out. Why? The test conditions are as follows: Computer A, without CSI tools installed; Computer B, with CSI tools installed. Both are connected to WiFi sent by OpenWRT, A -> B sends, 400 bytes of TCP packets, B can receive normally. However, when B -> A, a 400-byte TCP packet, A cannot receive it. Therefore, it is judged that the computer with the CSI tool installed has a problem with the sender. What causes it? Where can the driver be modified? Or can you increase the size of the allowed message by modifying the kernel parameters?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xieyaxiongfly/Atheros-CSI-Tool/issues/26, or mute the thread https://github.com/notifications/unsubscribe-auth/AF-RQ62N6UlmUMcjNui8QO6gCALqxLtQks5t1RkmgaJpZM4UJ90T .

--

*-- Yaxiong Xie / *谢亚雄

School of Computer Engineering

Nanyang Technological University, Singapore

522623905 commented 6 years ago

I follow your tutorial, the router is burned openwrt-ar71xx-generic-tl-wdr4310-v1-squashfs-factory.bin. Two installed csi-too compiled network card driver, computer 1, computer 2. Perform the following Ping, there is a problem. Computer 2: ping computer 1IP -s 400 However, no data returned for a long time Computer 2: ping computer 1IP -s 300 OK

522623905 commented 6 years ago

However, ping -s 65536 is successful if two computers are connected to the WiFi of other routers.