I want to find the main file or package that responsible for packet capture that entered the router like raw socket or pcap, so What is the location of this file in source code of openwrt ?
Brother can you explain to me more about tcpdump most important functions ?
I also like this tutorial.
If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
brother another question, Do you know which files responsible for nating and forwarding ?
This is very generic. iptables are used for nat. Forwarding is part of the OS.
Can you tell me the location of these files in source code ?
You've already received an answer to the question once before, I'm sure the files haven't moved since then