search for: sock_raw

Displaying 20 results from an estimated 95 matches for "sock_raw".

2008 Jun 09
1
SOCK_RAW issue
Hello, I've installed the lastest version of ( Wine 1.0-rc4 ), but when I run an MMORPG that requires networking, I get the following message in the console : Code: WARNING: Trying to create a socket of type SOCK_RAW, this will fail unless you have special permissions. I'm using the Linux distro Ubuntu Hardy Heron, so I can't log as root to let Wine creating a SOCK_RAW ( even if I could, it will be still dangerous :P ) ... How can I give the current user ( bouazza in my case ) or wine the permissions...
2009 Feb 24
4
C&C Red Alert 3 - Lan (and also hamachi) play
...calhost) (that is, he sees me, I don't see him). So does anybody know where the problem is? Is there a fix for this? One thing I noticed (probably doesn't matter) was this message (not Wine's message, as I'm running WINEDEBUG=-all): > WARNING: Trying to create a socket of type SOCK_RAW, this will fail unless you have special permissions. > WARNING: Trying to create a socket of type SOCK_RAW, this will fail unless you have special permissions. > WARNING: Trying to create a socket of type SOCK_RAW, this will fail unless you have special permissions. > Maybe it means som...
2016 Jan 27
2
ctdb, raw sockets and CVE-2015-8543
...on.c:89 failed to open raw socket (Invalid argument) | Could not find which interface the ip address is hosted on. can not release it and | common/system_linux.c:344 failed to open raw socket (Invalid argument) The corresponding parts in ctdb's code look like this: | s = socket(AF_INET, SOCK_RAW, htons(IPPROTO_RAW)); converting IPPROTO_RAW to 0xff00 (from strace): | socket(PF_INET, SOCK_RAW, 0xff00 /* IPPROTO_??? */) = -1 EINVAL (Invalid argument) Removing htons() from both calls seems to fix the issue for us. Is it possible that the call to htons is just wrong and should be removed? -...
2010 Jun 10
1
Re: Emule Crash every day
...erver class {5c63c1ad-3956-4ff8-8486-40034758315b} not registered fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {5c63c1ad-3956-4ff8-8486-40034758315b} could be created for context 0x17 err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions. err:winediag:IcmpCreateFile Failed to use ICMP (network ping), this requires special permissions. fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (8800000a) (Then emule crashed.)
2010 Nov 26
1
problem installing utorrent on 64bit linux
...:hnetcfg:fw_app_put_Name 0x18ae08, L"\00b5Torrent" fixme:hnetcfg:fw_apps_Add 0x18b328, 0x18ae08 fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000017 fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000017 err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions. err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions. err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not r...
2010 Jul 30
3
New eMule-Mods crashes !!!
...63c1ad-3956-4ff8-8486-40034758315b} not registered > fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported > err:ole:CoGetClassObject no class object {5c63c1ad-3956-4ff8-8486-40034758315b} could be created for context 0x17 > err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions. > err:winediag:IcmpCreateFile Failed to use ICMP (network ping), this requires special permissions. > fixme:shell:IAutoComplete2_fnInit ACO_FILTERPREFIXES not supported > fixme:shell:MLSetMLHInstance (0x71590000,0x7ece0000) stub > fixme:shell:MLIsMLH...
2020 May 18
1
ether-wake
....wikipedia.org/wiki/Wake-on-LAN#Magic_packet> For example, if you were to run: (assuming interface name 'eth0') # tcpdump -i eth0 ether proto 0x0842 You'd see the ether-wake command's packet. If you strace the process, you'll see the socket is created as socket(AF_PACKET, SOCK_RAW, htons(0)). -- Jonathan Billings <billings at negate.org>
2016 Jan 29
0
ctdb, raw sockets and CVE-2015-8543
...(Invalid argument) > | Could not find which interface the ip address is hosted on. can not > release it > and > | common/system_linux.c:344 failed to open raw socket (Invalid argument) > > The corresponding parts in ctdb's code look like this: > | s = socket(AF_INET, SOCK_RAW, htons(IPPROTO_RAW)); > converting IPPROTO_RAW to 0xff00 (from strace): > | socket(PF_INET, SOCK_RAW, 0xff00 /* IPPROTO_??? */) = -1 EINVAL > (Invalid argument) > > Removing htons() from both calls seems to fix the issue for us. Is it > possible that the call to htons is just wr...
2010 Nov 20
2
utorrent mot workin on Centos
...:hnetcfg:fw_app_put_Name 0x164958, L"\00b5Torrent" fixme:hnetcfg:fw_apps_Add 0x164940, 0x164958 fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000017 fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000017 err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions. err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions. err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not r...
2008 Nov 06
7
utorrent does not start
Code: /mnt/shetach/Downloads/utorrent# wine ./ut161L.exe /RECOVER err:module:import_dll Library (which is needed by L"W:\\Downloads\\utorrent\\ut161L.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"W:\\Downloads\\utorrent\\ut161L.exe" failed, status c0000135 I would like some help to determine what that means, I suspect a missing DLL but I
2008 Mar 03
1
Unable open raw socket in CentOS 5 - SE Linux and kernel capability interaction?
...nux policy? Thanks S Source file #include <stdio.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/prctl.h> #include <netinet/in.h> int main(void) { int fd = socket(PF_INET, SOCK_RAW, IPPROTO_TCP); if (-1 == fd) { printf("Failed to open raw socket: %d=%s\n", errno, strerror(errno)); } else { printf("Socket opened successfully\n"); close(fd); } return 0; } SElinux .te file policy_module(rawsox,1.0.0) ######################################## #...
2019 Oct 17
2
Transient permission denied errors when sending audit logs
Hi, In kubevirt we are running into a strange permission problem on libvirt-5.0. We see transient "Permission Denied" errors when "virAuditSend" wants to send an audit log. [1] shows the logs of one of these containers. Here an example: {"component":"virt-launcher","level":"warning","msg":"Failed to send audit message
2011 Aug 18
4
[RFC 0/0] Introducing a generic socket offload framework
...- * We're currently hooked into too many socket calls. We should be able to reduce the number of hooks to 3 (__sock_create(), sys_connect(), sys_bind()). * Our 'hw_socket' component should be folded into a netdev so we can leverage NAPI. * We don't handle SOCK_SEQPACKET, SOCK_RAW, SOCK_RDM, or SOCK_PACKET sockets. * We don't currently have support for /proc/net. Our current plan is to add '/proc/net/hwsock' (filename TBD) and add support for these sockets to the net-tools packages (netstat & friends), rather than muck around with plumbing hardware...
2011 Aug 18
4
[RFC 0/0] Introducing a generic socket offload framework
...- * We're currently hooked into too many socket calls. We should be able to reduce the number of hooks to 3 (__sock_create(), sys_connect(), sys_bind()). * Our 'hw_socket' component should be folded into a netdev so we can leverage NAPI. * We don't handle SOCK_SEQPACKET, SOCK_RAW, SOCK_RDM, or SOCK_PACKET sockets. * We don't currently have support for /proc/net. Our current plan is to add '/proc/net/hwsock' (filename TBD) and add support for these sockets to the net-tools packages (netstat & friends), rather than muck around with plumbing hardware...
2014 Apr 04
1
[Bug 913] New: Memory allocation failure, Segmentation fault (core dumped) when running 'nft list tables'
...D|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f46579c7000 read(3, "#\n# reserved values\n#\n0\tcosmos\n#"..., 4096) = 112 read(3, "", 4096) = 0 close(3) = 0 munmap(0x7f46579c7000, 4096) = 0 socket(PF_NETLINK, SOCK_RAW, 12) = -1 EPROTONOSUPPORT (Protocol not supported) write(2, "Memory allocation failure\n", 26Memory allocation failure ) = 26 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} --- +++ killed by SIGSEGV (core dumped) +++ Segmentation fault (core dumped) Is there anythi...
2006 Jul 25
3
problem in Route add using netlink
...*rtMsg; char dstAddr[30] ; char srcAddr[30] ; char gateway[30] ; char ifName[30]; char msgBuf[BUFSIZE]; struct route_info rinfo; int sock, len, msgSeq = 0; int val, i; /* Create Socket */ if((sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) < 0) perror("Socket Creation: "); /* Initialize the buffer */ memset(msgBuf, 0, BUFSIZE); /* point the header and the msg structure pointers into the buffer */ nlMsg = (struct nlmsghdr *)msgBuf; rtMsg = (struc...
2011 Aug 03
18
[Bug 734] New: Iptables on Arm Processor with Vanilla Kernel
...x4001c000, 4096, PROT_READ) = 0 mprotect(0x400ae000, 4096, PROT_READ) = 0 mprotect(0x40010000, 4096, PROT_READ) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 3 getsockopt(3, SOL_IP, 0x40 /* IP_??? */, "filter\0\306\2701(\300\24\0\0\0\377\7\0\0\340\334\326\306\200\0C\307$\335\326\306\16"..., [84]) = 0 brk(0) = 0x1b000 brk(0x1c000) = 0x1c000 getsockopt(3, SOL_IP, 0x41 /...
2010 Feb 13
8
S.T.A.L.K.E.R. - Call of Pripyat on Wine 1.1.38
After upgrade (wine 1.1.37>1.1.38, my distribution is ArchLinux) STALKER Call of Pripyat crashes after one minute playing. [neko at gdetotut ~]$ wine --version wine-1.1.38 [Crying or Very sad]
2019 Mar 13
1
[RFC] vhost: select TAP if VHOST is configured
If VHOST_NET is configured but TUN and TAP are not, then the kernel will build but vhost will not work correctly since it can't setup the necessary tap device. A solution is to select it. Fixes: 9a393b5d5988 ("tap: tap as an independent module") Signed-off-by: Stephen Hemminger <stephen at networkplumber.org> --- drivers/vhost/Kconfig | 3 ++- 1 file changed, 2
2019 Oct 17
0
Re: Transient permission denied errors when sending audit logs
...few denials libvirt can > just continue. The transient nature makes this really bizarre. The error message above comes from the audit_log_user_message() call that libvirt makes. This is implemented in libaudit.so using the sendto() syscall on a netlink socket opened with socket(PF_NETLINK, SOCK_RAW, NETLINK_AUDIT); So in terms of code being run there, there's very little - the EPERM is coming back from the kernel when sending the message. I'm not sure what scenario could cause this - perhaps the audit log buffer in the kernel is full or something like that ? > * Sometimes it...