开发者

Raw sockets privilege for normal user

开发者 https://www.devze.com 2023-01-27 05:17 出处:网络
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

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 开发者_StackOverflowspecific 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消