Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




fulldisclosure logo Full Disclosure mailing list archives

Re: aix sniffer
From: xyberpix <xyberpix () xyberpix com>
Date: Tue, 7 Feb 2006 19:33:49 +0000

-----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/


  By Date           By Thread  

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