Raw Sockets Binding to iface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grayhat
    New Member
    • Jan 2009
    • 1

    #1

    Raw Sockets Binding to iface

    Hello,

    I recently wrote a C program to bind to my eth0 interface and begin sniffing packets off my network. However when I run the program after a successful compilation it gives me the error: cannot bind to desired address. I ran ifconfig and it says that eth0 is Up Running Multicast Promisc. How could I allow the eth0 address to be assigned my socket?

    Any help would be greatly appreciated! Thanks.

    gray_hat
Working...