Home page logo
/

fulldisclosure logo Full Disclosure mailing list archives

Re: aix sniffer
From: "GroundZero Security" <fd () g-0 org>
Date: Wed, 8 Feb 2006 05:28:04 +0100

to sniff packets ? :P

----- Original Message ----- 
From: "xyberpix" <xyberpix () xyberpix com>
To: "Zolee" <panczelos () freemail hu>
Cc: <full-disclosure () lists grok org uk>
Sent: Tuesday, February 07, 2006 8:33 PM
Subject: Re: [Full-disclosure] 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-----
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]