LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Firewall blocking music in a game I play (https://www.linuxquestions.org/questions/linux-games-33/firewall-blocking-music-in-a-game-i-play-793792/)

GuySkarpz 03-07-2010 10:13 AM

Firewall blocking music in a game I play
 
I tried going to tech at second life but they wouldn't help much as I'm not premium and they said I would need to check my firewall to see if it's blocking my music in the game and I don't know how to do that. Can anyone help me figure it out?

Web31337 03-07-2010 10:42 AM

Are you asking about linux security or you want to play guessing games? Please read this and this then go back and fix your question.

win32sux 03-07-2010 07:34 PM

Quote:

Originally Posted by GuySkarpz (Post 3889238)
I tried going to tech at second life but they wouldn't help much as I'm not premium and they said I would need to check my firewall to see if it's blocking my music in the game and I don't know how to do that. Can anyone help me figure it out?

How did you configure your firewall? Did you use an iptables script, or perhaps a GUI front end like Firestarter? Basically, what you need to do can be accomplished by simply enabling the option to log packets which are filtered. This way, you'd just need to look at your log file when the music is supposed to be playing and you should see what the packets which you need to allow look like (and can then make the appropriate firewall rules for them). Let us know the answer to the above questions, as well as how much of what I said you need help with. Typically, posting the relevant log snippets here gets you feedback from members which can guide you as to what firewall tweaks you need to make.

A good way to get started would be to post the output of this command:
Code:

iptables -nvL
BTW, are you behind a router and/or dedicated firewall?

GuySkarpz 03-07-2010 11:44 PM

Quote:

Originally Posted by win32sux (Post 3889667)
How did you configure your firewall? Did you use an iptables script, or perhaps a GUI front end like Firestarter? Basically, what you need to do can be accomplished by simply enabling the option to log packets which are filtered. This way, you'd just need to look at your log file when the music is supposed to be playing and you should see what the packets which you need to allow look like (and can then make the appropriate firewall rules for them). Let us know the answer to the above questions, as well as how much of what I said you need help with. Typically, posting the relevant log snippets here gets you feedback from members which can guide you as to what firewall tweaks you need to make.

A good way to get started would be to post the output of this command:
Code:

iptables -nvL
BTW, are you behind a router and/or dedicated firewall?

Code:

iptables -nvL
Chain INPUT (policy ACCEPT 5624 packets, 4051K bytes)
 pkts bytes target    prot opt in    out    source              destination       

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target    prot opt in    out    source              destination       

Chain OUTPUT (policy ACCEPT 4954 packets, 555K bytes)
 pkts bytes target    prot opt in    out    source              destination

I used a firewall a while back (10 months ago) and I can't remember where to find it and it was GUI and I think it was firestarter

Code:

2010-03-08T05:29:00Z INFO: display_stats: FPS: 31.10
2010-03-08T05:29:07Z INFO: startInternetStream: entered startInternetStream()
2010-03-08T05:29:07Z INFO: startInternetStream: mInternetStreamMedia is now 0x1332e300
2010-03-08T05:29:07Z INFO: startInternetStream: Starting internet stream: http://208.109.237.151:8001/live
2010-03-08T05:29:07Z INFO: startInternetStream: Playing.....
2010-03-08T05:29:08Z INFO: _queueDataRequest: Starting transfer for 3fd48071-0902-38f9-5c5e-faf81de8d939
2010-03-08T05:29:09Z INFO: processTransferInfo: Receiving 823b157a-4075-a7dd-0e8f-9ce05147b975, size 3982 bytes
2010-03-08T05:29:10Z INFO: display_stats: FPS: 81.40
2010-03-08T05:29:20Z INFO: display_stats: FPS: 17.20
2010-03-08T05:29:20Z INFO: startNextTransfer: Getting asset data for: 524c07f8-3f2b-5964-b33c-2362d8335e86
2010-03-08T05:29:20Z INFO: _queueDataRequest: Starting transfer for 524c07f8-3f2b-5964-b33c-2362d8335e86
2010-03-08T05:29:20Z INFO: processTransferInfo: Receiving a456df31-d009-71e3-5f70-51cc70fb71b6, size 5152 bytes
2010-03-08T05:29:24Z INFO: _queueDataRequest: Starting transfer for 25e933f3-202d-a7ef-70c7-4f72cfbe48b2
2010-03-08T05:29:24Z INFO: processTransferInfo: Receiving e92fd70d-7ed7-efd4-7b7d-afc97cb50acb, size 3446 bytes
2010-03-08T05:29:30Z INFO: display_stats: FPS: 15.40
2010-03-08T05:29:39Z INFO: stopInternetStream: entered stopInternetStream()

That's when stopping and starting the stream button

Code:

2010-03-08T05:38:22Z INFO: display_stats: FPS: 27.30
2010-03-08T05:38:27Z INFO: startInternetStream: entered startInternetStream()
2010-03-08T05:38:27Z INFO: startInternetStream: Starting internet stream: http://208.109.237.151:8001/live
2010-03-08T05:38:27Z INFO: startInternetStream: Playing.....
2010-03-08T05:38:32Z INFO: display_stats: FPS: 23.60
2010-03-08T05:38:35Z INFO: _queueDataRequest: Starting transfer for d34e521c-ec49-1879-c74a-b99d37bec966
2010-03-08T05:38:35Z INFO: processTransferInfo: Receiving 2167a402-ba99-35b5-d67a-068bc0fe8b3c, size 1397 bytes
2010-03-08T05:38:42Z INFO: display_stats: FPS: 13.30
2010-03-08T05:38:45Z INFO: stopInternetStream: entered stopInternetStream()

did it two times in so it could be seen.

win32sux 03-08-2010 01:38 AM

Quote:

Originally Posted by GuySkarpz (Post 3889801)
Code:

iptables -nvL
Chain INPUT (policy ACCEPT 5624 packets, 4051K bytes)
 pkts bytes target    prot opt in    out    source              destination       

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target    prot opt in    out    source              destination       

Chain OUTPUT (policy ACCEPT 4954 packets, 555K bytes)
 pkts bytes target    prot opt in    out    source              destination


Your host-based firewall is completely disabled, so it couldn't be the culprit.

Are you behind a dedicated firewall/router doing SNAT? Like, one of those Linksys or D-Link devices, for example? Also, regarding the log sample you posted: Was that generated by the game itself?

GuySkarpz 03-08-2010 04:05 AM

Quote:

Originally Posted by win32sux (Post 3889867)
Your host-based firewall is completely disabled, so it couldn't be the culprit.

Are you behind a dedicated firewall/router doing SNAT? Like, one of those Linksys or D-Link devices, for example? Also, regarding the log sample you posted: Was that generated by the game itself?

The other two were of the game itself. I don't have a router, but I do have a motorola Surfboard modem.I'm new to this I wouldn't know if it would be doing SNAT. I know I had sound at one point. Just don't know what it could be that is not making the music play. Thanks for helping me so far.

win32sux 03-08-2010 04:23 AM

Quote:

Originally Posted by GuySkarpz (Post 3890001)
The other two were of the game itself. I don't have a router, but I do have a motorola Surfboard modem.I'm new to this I wouldn't know if it would be doing SNAT. I know I had sound at one point. Just don't know what it could be that is not making the music play. Thanks for helping me so far.

If your computer isn't assigned an IP within these ranges it would be fair to assume the Motorola isn't doing SNAT: 10.0.0.0-10.255.255.255, 172.16.0.0-172.31.255.255, and 192.168.0.0-192.168.255.255.

GuySkarpz 03-08-2010 04:41 AM

Quote:

Originally Posted by win32sux (Post 3890013)
If your computer isn't assigned an IP within these ranges it would be fair to assume the Motorola isn't doing SNAT: 10.0.0.0-10.255.255.255, 172.16.0.0-172.31.255.255, and 192.168.0.0-192.168.255.255.

Yeah I don't think it's in those ranges when I checked.

win32sux 03-08-2010 04:43 AM

Quote:

Originally Posted by GuySkarpz (Post 3890027)
Yeah I don't think it's in those ranges when I checked.

Okay, in that case I think the best help I can offer you right now is to move your thread to Games, where your issue can get the specialized exposure it deserves.


All times are GMT -5. The time now is 01:10 PM.