I need to write packet sniffer in Linux that detect http packet that send and save the url that request . I see code in security-freak
and run related code . This code run and only sniff received packet but I need send packet to sniff . In this code how to detect sent packet ?
I can't use any library like libcap or ... (forbidden)
the code is :sniffer.c