Home page logo
/

fulldisclosure logo Full Disclosure mailing list archives

aix sniffer
From: Zolee <panczelos () freemail hu>
Date: Tue, 7 Feb 2006 14:37:26 +0100 (CET)

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/


  By Date           By Thread  

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