Firewall issue with CGoban, KGS, Zonealarm

Comments, questions, rants, etc, that are specifically about KGS go here.
Post Reply
JeetKuneGo
Beginner
Posts: 5
Joined: Wed Jan 04, 2012 9:02 am
Rank: KGS 10k
GD Posts: 0
KGS: JeetKunGo
Been thanked: 2 times

Firewall issue with CGoban, KGS, Zonealarm

Post by JeetKuneGo »

Since updating to Java 7, I have been unable to log on to KGS.

CGoban works fine, but when attempting to log on to KGS, I get a message saying "can't connect to the server - the server may be down, please try again later"

I switched off my firewall (Zonealarm free firewall) to see whether this was a firewall issue, and it is, to some extent.

I had to set up an exception on windows firewall to allow the port (I think it's 2379). This solved the problem.

Obviously I am not going to wander round the internet with no firewall on, so this isn't a reasonable solution for me.

I suppose I need a new firewall, but would like to stick with what I have if possible...

Any input welcome.
In the land of the blind, the one-eyed man got bullied for being a freak, but went on a voyage of self-discovery and realised that it was okay to be different, then came back in disguise and became a highly successful private investigator.
RobertJasiek
Judan
Posts: 6273
Joined: Tue Apr 27, 2010 8:54 pm
GD Posts: 0
Been thanked: 797 times
Contact:

Re: Firewall issue with CGoban, KGS, Zonealarm

Post by RobertJasiek »

1) Which operating system?

2) When you switched off your firewall for testing, did you revert your system to the state prior to doing so?

3) Yes, a [software] firewall is needed. Zonealarm? It is known to not protect well. If you use Windows, use its firewall!

4) Exception for Java / CGoban? It is indeed possible that you need some. Use your firewall's log to find out what you need.

5) Java 7 is known to have problems with CGoban. Both Java 6 and Java 7 are known to have - different - security issues. Java always has some. Therefore, simply using a firewall is insufficient precaution. If you use Windows, here are more ideas:
http://home.snafu.de/jasiek/windows_sec ... ncept.html
viewtopic.php?p=36505#p36505
Do not forget to deactivate Java in your browser and email client and check again after any program update for each user account.
User avatar
Phelan
Gosei
Posts: 1449
Joined: Tue Apr 20, 2010 3:15 pm
Rank: KGS 6k
GD Posts: 892
Has thanked: 1550 times
Been thanked: 140 times

Re: Firewall issue with CGoban, KGS, Zonealarm

Post by Phelan »

JeetKuneGo wrote:Since updating to Java 7, I have been unable to log on to KGS.

CGoban works fine, but when attempting to log on to KGS, I get a message saying "can't connect to the server - the server may be down, please try again later"

I switched off my firewall (Zonealarm free firewall) to see whether this was a firewall issue, and it is, to some extent.

I had to set up an exception on windows firewall to allow the port (I think it's 2379). This solved the problem.

Obviously I am not going to wander round the internet with no firewall on, so this isn't a reasonable solution for me.

I suppose I need a new firewall, but would like to stick with what I have if possible...

Any input welcome.


From http://senseis.xmp.net/?KGSIssueFirewall:
wms wrote:All you need is outbound traffic from your host to goserver.gokgs.com port 2379. The other ports are standard web server ports (if your firewall blocks them, then you're in trouble anyway).

Actually, port 80 *is* a problem: a browser will happily use a proxy, but CGoban doesn't have an option to.
a1h1 [1d]: You just need to curse the gods and defend.
Good Go = Shape.
Associação Portuguesa de Go
RobertJasiek
Judan
Posts: 6273
Joined: Tue Apr 27, 2010 8:54 pm
GD Posts: 0
Been thanked: 797 times
Contact:

Re: Firewall issue with CGoban, KGS, Zonealarm

Post by RobertJasiek »

Calling ports standard webserver ports misses the point. It depends on how strictly one's firewall rules are. If one has configured port 53 to communicate only with one's local provider's DNS server, then another port 53 rule can be necessary for KGS (and its site hosting the start screen ads). If one has allowed port 80 only for one's browser, email client and newsreader, then another rule can be necessary for KGS.
JeetKuneGo
Beginner
Posts: 5
Joined: Wed Jan 04, 2012 9:02 am
Rank: KGS 10k
GD Posts: 0
KGS: JeetKunGo
Been thanked: 2 times

Re: Firewall issue with CGoban, KGS, Zonealarm

Post by JeetKuneGo »

Thank you for the replies guys. Sorry it took me a while to get back to you.
I did manage to resolve my problem by downloading a historic version of Java - 6.31 - which has avoided the issue.
Link is here: http://www.oracle.com/technetwork/java/ ... 01637.html
As far as I am aware, there is no other way to run CGoban other than with Java (Web Start) - is this correct?

Robert - I appreciate the help in the first post. If you wouldn't mind going through one or two of the points raised, that would be totes spiff. My answers in red:

1) Which operating system?
Windows 7

2) When you switched off your firewall for testing, did you revert your system to the state prior to doing so?
No. I simply closed the firewall program. This solved the problem

3) Yes, a [software] firewall is needed. Zonealarm? It is known to not protect well. If you use Windows, use its firewall!
I am disinclined to pay for a firewall, stupid as this may be. Do you have any reasons why Windows Firewall is preferable to ZA?

4) Exception for Java / CGoban? It is indeed possible that you need some. Use your firewall's log to find out what you need.
ZA is pretty lame, as you outlined above - can't create exceptions for specific ports or programs.

5) Java 7 is known to have problems with CGoban. Both Java 6 and Java 7 are known to have - different - security issues. Java always has some. Therefore, simply using a firewall is insufficient precaution. If you use Windows, here are more ideas:
http://home.snafu.de/jasiek/windows_sec ... ncept.html
Excellent - that's some homework for me!
viewtopic.php?p=36505#p36505
Too opaque for moi. But thanks :)
Do not forget to deactivate Java in your browser and email client and check again after any program update for each user account.
a) done b) don't use one at home - webmail only.
Thanks for the help
In the land of the blind, the one-eyed man got bullied for being a freak, but went on a voyage of self-discovery and realised that it was okay to be different, then came back in disguise and became a highly successful private investigator.
Coyote
Dies in gote
Posts: 34
Joined: Sat Aug 18, 2012 2:16 pm
Rank: DGS 18
GD Posts: 0
KGS: Coyote
DGS: Coyote
Has thanked: 3 times
Been thanked: 10 times

Re: Firewall issue with CGoban, KGS, Zonealarm

Post by Coyote »

Years ago when I worked at a cable internet support call center I spoke with a gentleman who couldn't connect to his vpn suddenly. He didn't have a firewall but he could contact everything but his vpn.

Turns out he had uninstalled Zone Alarm a week ago. Reinstalled Zone Alarm, completely disabled it, uninstalled. Now he can connect to his VPN. Since then I've always suggested people avoid ZA.

Windows Firewall is good enough. I've also been using the free windows AV, Windows Security Essentials for over a year now with good success.
RobertJasiek
Judan
Posts: 6273
Joined: Tue Apr 27, 2010 8:54 pm
GD Posts: 0
Been thanked: 797 times
Contact:

Re: Firewall issue with CGoban, KGS, Zonealarm

Post by RobertJasiek »

JeetKuneGo wrote:2) When you switched off your firewall for testing, did you revert your system to the state prior to doing so?
No. I simply closed the firewall program. This solved the problem


But... you know that you are running a great risk?! Inbound firewall should always be active, even during tests. Therefore, the proper way was to revert your system together with applying a solution, i.e., activate the Windows firewall before again connecting to the internet.

Do you have any reasons why Windows Firewall is preferable to ZA?


Every security expert I have read during the last years has said a) the Windows Firewall is good and b) ZA is bad. (I have not bothered to collect citations for various evidence.)
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: Firewall issue with CGoban, KGS, Zonealarm

Post by xed_over »

JeetKuneGo wrote:As far as I am aware, there is no other way to run CGoban other than with Java (Web Start) - is this correct?

No that's not correct. You can download and run the jar directly, but unless you already know how to run Java programs on the commandline, its probably easier to just stick with JWS
RobertJasiek
Judan
Posts: 6273
Joined: Tue Apr 27, 2010 8:54 pm
GD Posts: 0
Been thanked: 797 times
Contact:

Re: Firewall issue with CGoban, KGS, Zonealarm

Post by RobertJasiek »

xed_over wrote:run the jar directly


But JRE must still be installed?
User avatar
quantumf
Lives in sente
Posts: 844
Joined: Tue Apr 20, 2010 11:36 pm
Rank: 3d
GD Posts: 422
KGS: komi
Has thanked: 180 times
Been thanked: 151 times

Re: Firewall issue with CGoban, KGS, Zonealarm

Post by quantumf »

RobertJasiek wrote:
xed_over wrote:run the jar directly


But JRE must still be installed?


Indeed
User avatar
quantumf
Lives in sente
Posts: 844
Joined: Tue Apr 20, 2010 11:36 pm
Rank: 3d
GD Posts: 422
KGS: komi
Has thanked: 180 times
Been thanked: 151 times

Re: Firewall issue with CGoban, KGS, Zonealarm

Post by quantumf »

Note also that your ADSL router (assuming you have one) will usually be running at least a NAT style firewall, which is a very effective first line of defense.
JeetKuneGo
Beginner
Posts: 5
Joined: Wed Jan 04, 2012 9:02 am
Rank: KGS 10k
GD Posts: 0
KGS: JeetKunGo
Been thanked: 2 times

Re: Firewall issue with CGoban, KGS, Zonealarm

Post by JeetKuneGo »

Well, in the end the solution I went with was to go back to Java update 6.31, which worked fine, and inspired me to restrict Java's running in my web browser - which is positive in a way, as my browsing should be more secure, but still...

Not ideal, and I am looking in to which solution I should use with a new laptop, so thanks very much for the help, folks.

Toodles!
In the land of the blind, the one-eyed man got bullied for being a freak, but went on a voyage of self-discovery and realised that it was okay to be different, then came back in disguise and became a highly successful private investigator.
Post Reply