How to disable network access for Wine?
-
- Newbie
- Posts: 1
- Joined: Wed Sep 12, 2012 12:49 am
How to disable network access for Wine?
Hi, how do I disable all Internet/network access for Wine? Thanks.
Re: How to disable network access for Wine?
I did something like that once by modifying create_socket() in server/sock.c
to always fail. This requires rebuilding wine from source.
Alternately you might be able to do something more secure using
native linux security tools, though I haven't tried that.
to always fail. This requires rebuilding wine from source.
Alternately you might be able to do something more secure using
native linux security tools, though I haven't tried that.
Re: How to disable network access for Wine?
The only way to do it is properly is using SELinux.
Re: How to disable network access for Wine?
Right, if you only change Wine, malware that knows it's really running on Linux can still sneak out.
If your goal is to fool a well-behaved app, though, changing Wine might suffice.
If your goal is to fool a well-behaved app, though, changing Wine might suffice.
Re: How to disable network access for Wine?
I think we need some SELinux Howto for this, i see that question quite often. Sadly i never did something with SELinux