Re: Raw Sockets

From: Amit Kucheria (
Date: Fri Jul 19 2002 - 13:19:38 EST

On Fri, 19 Jul 2002, Natarajan K wrote:

> HI,
> How to use raw sockets in LInux? It requires me to be root or have
> some special capability CAP_NET_RAW. How do I acquire this capability
> ? I am familiar with normal tcp/ip sockets.

Either get root or 'sudo' permissions from you admininstrator or if your
machine has CAPABILITIES enabled then get yourself CAP_NET_RAW

I'm an angel!!! Honest!
The horns are just there to hold the halo up straight.
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R): +1-785-830-8521 ||| (C): +1-785-760-2871

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to More majordomo info at

This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:01 EST