View Full Version : ethernet card promiscous mode
vicky
11-07-2001, 03:38 AM
how do i make my ethernet interface in promiscous mode so that i could capture all the packets by recv
thanx
sigma
11-07-2001, 12:48 PM
id = socket(PF_RAW, SOCK_RAW, RAWPROTO_SNOOP);
This is for IRIX 6.5 operating system. It should be the same or similair for you system. Check the socket man page.
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.