![]() The packet parameters that can be modified are determined by which combination you choose. There are other possible combinations you could try. Three combinations of the Domain, Type, and Protocol arguments are shown here. You don't need pcap.Īn implementation of all these routines with a GUI (using GTK+) can be found here. You must run these as root to obtain raw sockets. Rather than use command-line arguments, each example has hard-coded values, so you need to modify each example to suit your preferences. ![]() The intention here is to be able to arbitrarily set the various parameters within a packet. I have recently been investigating raw socket programming in C for linux and I decided to provide a collection of routines I have prepared. C Language Examples of IPv4 and IPv6 Raw Sockets for Linux
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |