Writing a Packet sniffer


 
Thread Tools Search this Thread
Top Forums Programming Writing a Packet sniffer
# 1  
Old 05-04-2009
Writing a Packet sniffer

Hi,
I want to write a packet sniffer in C without using libpcap. Can anyone suggest me how to begin writing it? Any tutorials or books?

Thanks in advance!
# 2  
Old 05-06-2009
Here is a pointer to a video on IP packet sniffer programming from SecurityTube IP Packet Sniffer Programming Tutorial.

It is one of a series of tutorials on this subject.
# 3  
Old 05-07-2009
Thanks a LOT! The tutorials are really good.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Packet loss coming with big packet size ping

(5 Replies)
Discussion started by: Vishal_dba
5 Replies

2. Programming

Raw Socket Programming - Efficient Packet Sniffer

Hi, I have the requirement to sniff packets from the Ethernet card on my Linux machine and process it and feed it to a RANAP protocol stack. So far I have written the raw packet sniffer and successfully sniffing packets and do little processing. However, for huge number of packets ... (9 Replies)
Discussion started by: rstnsrr
9 Replies

3. Homework & Coursework Questions

filter packet

Exercise: Protection of WEB and DNS servers using the context-free rules for packet filtering: - Protect your WEB-server, so that would be for him can be accessed by browsers, and could go to dns. - Protect your primary DNS-server so that it could be to contact clients and secondary servers.... (1 Reply)
Discussion started by: numeracy
1 Replies

4. Cybersecurity

filter packet

Exercise: Protection of WEB and DNS servers using the context-free rules for packet filtering: - Protect your WEB-server, so that would be for him can be accessed by browsers, and could go to dns. - Protect your primary DNS-server so that it could be to contact clients and secondary servers.... (1 Reply)
Discussion started by: numeracy
1 Replies

5. IP Networking

Packet decoding

Hi, wondering if anyone can suggest a tool to me that will let me either cut & paste hex or type it in for packet decoding. I want to be able to decode a packet as done with tcpdump or wireshark, but I want to be able to manually input the hex myself. (2 Replies)
Discussion started by: Breakology
2 Replies

6. Programming

packet capture

can anyone tell me how can i capture the packets. i have tried ethernet software to capture them but its not doing what i want it to do it (1 Reply)
Discussion started by: dazdseg
1 Replies

7. IP Networking

regarding sniffer

hi this is munna. am doing a program about sniffer. if the user can delete the file from /root/.mozilla/firefox/27a5g6oo.default history.dat or he/she can do in browser window edit->preferences->privacy->history as "0"(zero). (remember visted pages for the last 0 days). ... (3 Replies)
Discussion started by: munna_dude
3 Replies

8. IP Networking

Seeing IP packet

Hi, Is there any way that i can directly take out the IP packet and see its contents. Waiting for your answer .............. Bye (4 Replies)
Discussion started by: manjunath
4 Replies

9. Shell Programming and Scripting

key sniffer

Hi everybody, I'll like to know how I can add in my script a key sniffer. In fact, I'll like to detect a "Ctrl + C" command... How can do that and is it possible in shell script under AIX ? Thanks !!! Dimitri (1 Reply)
Discussion started by: dfrangidis
1 Replies
Login or Register to Ask a Question