Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

raw sockets

Posted on 2005-04-25
3
Medium Priority
?
286 Views
Last Modified: 2010-04-21
Is it true that if you're logged in as root, any application you run has access to raw sockets?
0
Comment
Question by:dissolved
  • 2
3 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 13863740
Only the root user can open a raw socket because of the security implications associated with raw network access.

see:
http://www.whitefang.com/sup/secure-faq.html
http://www.developerweb.net/sock-faq/detail.php?id=814

for more details
0
 

Author Comment

by:dissolved
ID: 13867389
thanks. What are the advantages do programs have when they have access to the raw socket?  What makes it so special?

Thanks
0
 
LVL 38

Accepted Solution

by:
yuzh earned 2000 total points
ID: 13872483
Please have a look at "Raw IP Networking FAQ":
http://www.whitefang.com/rin/rawfaq.html

To learn more details about raw socket,

also "Understanding the Solaris socket filesystem":
http://www.itworld.com/Comp/2377/swol-0202-insidesolaris/pfindex.html

man ip
man raw
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month21 days, 4 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question