|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
FreeBSD Device group
I've been doing a bit of network programming with pcap.h on my FreeBSD box and I want to alllow access to to raw sockets and devices without allowing root access. I make a group with Network access for the raw sockets, but i'm not sure what group FreeBSD uses and was wondering if anyone could help me out.
thanks kl365 |
|
#2
|
||||
|
||||
|
There isn't a device group to open sockets. However, all *nixes won't let you create a listening socket with a port # below 1024, unless you have root privileges. Anyone can create ports above 1024, but below 1024, you'll need root privs.
Note that I said "listening socket". You can always connect to a socket that is already listening on a given port #, irrespective of your privileges.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month Last edited by Scorpions4ever : January 19th, 2004 at 12:00 PM. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > FreeBSD Device group |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|