Re: promiscus mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 25, 2005 at 03:33:13PM +0100, Paolo Perego wrote:
> On Tue, 2005-01-25 at 10:12 +0530, Muruganandam wrote:
> >    How to enable the Promiscus mode in the kernel,inorder to capture the 
> > packets.Advance Thanks
> I dear... are you sure you want to do this? You really want your kernel
> to be engaged in packet capturing? Sorry but why don't you do this in a
> user space tool passing some information to a kernel module you wrote
> via /proc o via char device for the needs you and you alone know?

Even easier: use tcpdump or ethereal. Completely userspace based, no
need for any more kernel code. If you don't want to use tcpdump itself,
you could at least use libpcap (see www.tcpdump.org.).


Erik

-- 
Erik Mouw
J.A.K.Mouw@xxxxxxxxxxxxxx  mouw@xxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux