[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1EA8944E-754B-4927-BA5D-E78032D02C5C@xyberpix.com>
Date: Tue Feb 7 19:34:14 2006
From: xyberpix at xyberpix.com (xyberpix)
Subject: aix sniffer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
My big question is why would you want to do this?
xyberpix
Blog: http://blogs.securiteam.com
On 7 Feb 2006, at 13:37, 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.1 (Darwin)
iD8DBQFD6PYd2VKEoIQBZwkRAs4oAJ9fbCvH8Hq6N5mcC5iwFFHNOf6qCgCgxfeC
LlXN/05EwZAW8bHknY1kY/8=
=JQ8J
-----END PGP SIGNATURE-----
Powered by blists - more mailing lists