[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <43E8A7BB.40303@heapoverflow.com>
Date: Tue Feb 7 13:59:35 2006
From: ad at heapoverflow.com (ad@...poverflow.com)
Subject: aix sniffer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
google shouldn't be your friend
http://www.cs.odu.edu/~cs476/fall03/lectures/sockets.htm
:)
Zolee wrote:
> Hi!
>
> I want write a tcp packet capture sniffer for aix.(without packet
> capture library). But the following socket is capure only the udp
> packets: /The udp capture works fine/
>
> if((sockfd = socket(PF_INET,SOCK_RAW,0)) < 0){ perror("Socket:");
> exit(1); }
>
> And I trying this code: .... socket(PF_INET,SOCK_RAW,IPPROTO_TCP)
> ...... But, it doesnt work. The code is work on linux( a little bit
> modification). I dont know, what is false.
>
> Someone can help me?
>
> Ups, Sorry my poor english. I hope you understand me :-) Tanx PZ
>
> ________________________________________________________________________
> Harry Potter ?s a F?lv?r Herceg - megjelenik febru?r 10-?n.
> Rendeld meg most!
> http://www.bookline.hu/control/news?newsid=322&affiliate=frehp6kar87
>
>
>
>
> _______________________________________________ Full-Disclosure -
> We believe in it. Charter:
> http://lists.grok.org.uk/full-disclosure-charter.html Hosted and
> sponsored by Secunia - http://secunia.com/
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iQIVAwUBQ+inuq+LRXunxpxfAQJwig//Xxi/fr9G3Bw8+U7+QoHTxr3bj17EBgrH
1aziXDz22FzLMhohhfFsw9XRDPu+FGHsUIYHogFi8lk31ju2/3ucOjrFc6J1jxW6
OHE5Aa4nYiaYDPZfn68j2Uke1uhcQBSv7sLTI797G52KpeBBQqcVmOxaKgLN5vuK
we7VRZHNWyOKYVABOWsJlMO3J5FNYzDKGwsl0Ho5K4iJuH0m48AmgYOyf3c4hl2V
D2QPG0WsQAPY8v3yZ1KSh9rCZR7sbJ7FDrwbXsi5ELlfAHlP+SUyRKpBByUOStc0
cnbqRrSkkp8cq8af5AQh5Tp50K1KuqD5yMJfuNfkyPsoTvPxBbvb2w7j6dE8OLen
f+fXATpmnk/n4CvFW5y4Ay6GUgsE4a+bDaNOGHqXtW/y7WPaEPqZHgOqF9lzBdnM
r6k/OGnWv/QWzNDBH8ycaOKJ6dKwgI34wT8R8ee2O0TeMxFJbzYoUTjnXw9lPK7W
8dz4mKdLKa4emW4fD2+9S1XlxKlxSL6Ljt7eIcL2eJ4f22vuSeotBfwfbKkMfl94
lZT+NXfPyNulXbnSl9M4+FmPtUGP92YCW5Ao6Ry9avkgFBizUbAiOZJ6Q6/WSGD0
lML/2RynI83ATKChoCgjLvQS+NwtWYkdAY9BubR05y6OaPLPAs11nN+vX0092SAI
jfNpTr9qSAo=
=ZsFq
-----END PGP SIGNATURE-----
Powered by blists - more mailing lists