Thank you for your responses sirs and the advice. My target is to,
1. Intercept SYN packet 2. Obtain the destination IP address 3. Resolve the TLD of that IP 4. then bind each packet to queues depending on the TLD I will check on nslookup, open DNS client utilities and dns_resolver libraries as you experts suggested :) Best Regards, H. Hasitha Shan Date: Tue, 8 Jul 2014 15:20:16 +0200 Subject: Re: Re: Linux Kernel Module program to obtain domain name from IP From: kristofer.hallin@xxxxxxxxx To: kristof@xxxxxxxxxx CC: kernelnewbies@xxxxxxxxxxxxxxxxx; shhuiw@xxxxxxx; sudipm.mukherjee@xxxxxxxxx; hh_shan@xxxxxxxx There's a research project called Name Based Sockets where this have been done. Take a look at: https://www.sics.se/projects/name-based-sockets If you search for name based sockets on Google you will find a kernel module and user space code doing this. On 8 Jul 2014 15:07, "Kristof Provost" <kristof@xxxxxxxxxx> wrote: On 2014-07-08 20:19:09 (+0800), shhuiw <shhuiw@xxxxxxx> wrote: |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies