I have been trying to use the raw socket in my machine under windows xp sp2. since there is no admin privilege for my user i am getting error while trying to create a sock_raw socket. does anyone know the specific privilege under Active directory or group policy so that i can ask our administrator to grant me the same?
thanks in advance, Hari
According to MSDN:
[O]nly members of the Administrators group can create sockets of type SOCK_RAW on Windows 2000 and later.
You need to be a member of the Administrators group. There is no specific Active Directory privilege, you just need to be in the group.
For Windows 2003 Microsoft notes this, however XP SP2 probably disables it.
AllowUserRawAccess
Key: Tcpip\Parameters
Value Type: REG_DWORD—Boolean
Valid Range: 0, 1 (False, True)
Default: 0 (False)
Description: This parameter controls access to raw sockets. If true, non - administrative users have access to raw sockets. By default, only administrators have access to raw sockets.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With