Battlefield 2 Blocked!

Why is it that Comodo firewall is blocking me from being able to play battlefield 2 over LAN, even though i have it set to allow all activites for the application.

Any help is appreciated

Hey Andrew,

The only thing I can think of is if you haven’t run the Zone wizrd to create a zone that encompasses all the IP addrewsses that make up your LAN (incl. your router) and then set that zone as trusted. Without this, CFP will block all inbound traffic, including traffic from your LAN.

Cheers,
Ewen :slight_smile:

Ok, i will try that later… i will post if it works or not

I have run the wizard and created a trusted network (one of the first things I did when I installed CPF so I could transfer files between PCs on my local network) :slight_smile:

I setup Battlefield 2 as a trusted app (allow all activities, including skip advanced checks and allow invisible connections) - no go.

I added a rule right below my ‘trusted zone’ rules to allow all TCP/UDP traffic within my local LAN - still no go.

When I try to run BF2, on both PCs I get notifications of a ‘UDP Port scan Flood’ and each PC ‘bans’ the other…

Anyone have any ideas what to try next? :slight_smile:

Almost sounds like it’s trying to find a port to use, which would seem to be odd, but nonetheless. Have you defined any specific ports within BF2 (if you can), and added those on an inbound rule in Network Monitor? Is the UDP Flood within a certain range of ports, or is it all over the place? Have you tried increasing the Flood threshold?

LM

In BF2, the default port is 16567 (or something like that). When the UDP flood is reported, it seems to start at that port, then go up 1 at a time for about 20 ports, then it just suddenly starts logging zeroes and then stops and bans the other PC. I can give this another try and get better info to post… (I cleared the log at one point while I was messing around, d’oh!)

I didn’t define any specific ports as I figured giving the application the ‘allow all activities’ flag would allow it to do what it needed to do to connect, or if not that then allowing all TCP/UDP inbound and outbound traffic within my trusted zone, or a combination of the two. :slight_smile:

I can try raising the flood threshold and see how that goes.

Thanks for the help so far, LM! :■■■■

Hey Andrew,

Can you try creating a Network monitor rule with the following parameters;

Action : ALLOW
Direction : IN
Protocol : UDP
Source IP : Your LAN zone (if you’ve created one) or the IP of the other PC on your LAN responsible for the flood
Destination IP : ANY (ANY, in the case on an inbound rule, means the PC running CFP)
Source Port : ANY
Destination Port : 16567

Wait a few minutes after adding this rule to ensure that it is initialized and then start BF2 on both PCs and see if they can now talk.

Let us know how this works out.

Ewen :slight_smile:

Hi Ewen and LM,

I created the rule as you suggested. Here is a copy of the log entries I get:

Date/Time :2007-08-10 16:17:11
Severity :High
Reporter :Network Monitor
Description: UDP Port Scan
Attacker: 192.168.1.97
Ports: 65140, 58996, 59252, 59508, 59764, 60020, 60276, 60532, 60788, 61044, 61300, 61556, 61812, 62068, 62324, 62580, 62836, 63092, 63348, 63604, 63860, 64116, 64372, 64628, 64884, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
The attacker has been temporarily blocked

Date/Time :2007-08-10 16:12:42
Severity :High
Reporter :Application Monitor
Description: Application Access Denied (BF2.exe:192.168.1.1: :dns(53))
Application: F:\Battlefield 2\BF2.exe
Parent: C:\WINDOWS\explorer.exe
Protocol: UDP Out
Destination: 192.168.1.1::dns(53)

Date/Time :2007-08-10 16:08:42
Severity :High
Reporter :Application Behavior Analysis
Description: Suspicious Behaviour (BF2.exe)
Application: F:\Battlefield 2\BF2.exe
Parent: C:\WINDOWS\explorer.exe
Protocol: UDP Out
Destination: 192.168.1.1::dns(53)
Details: C:\WINDOWS\Temp~e5.0001 modified the memory of F:\Battlefield 2\BF2.exe in memory.

The 3rd message (or 1st message if you look at the timestamps) I know is because the copy-protection on the BF2 CD modifies the program in memory, but I don’t understand why I am still getting the UDP port scan error or the other error when I have BF2 set as a trusted application… could the ~e5.0001 be the cause of the other errors because it changes the executable? Should I add the ~e5.0001 as a trusted application as well?

Thanks again for your help so far guys… :■■■■ :■■■■

Hi everibody,

How can i play with the firewall ? Even, if i put Battlefield 2 allowed, nothing happened !!

Help me… (:AGY)

Welcome to the forum, maddog77. I moved your thread here. See if the above steps help.

Hey all,

I found the following info on the ports required for BF2 to be played online;

Battlefield 2

incoming
TCP - 80,4711,18060,28910,29900-29901,29920
UDP - 1500-4999,16567,18060,27900-27901,29900,29910,55123-55124,55215

outgoing
TCP - 80,4711,18060,28910,29900-29901,29920
UDP - 1500-4999,16567,18060,27900-27901,29900,29910,55123-55124,55215

Also, the file, ~e5.0001 file is part of the SafeDisk 4 copy protection and should be an allowed application.

Cheers,
Ewen :slight_smile:

New using the firewall for two days, but I play bf2 and 2142. Here is what happened when I configured it, first since you have blocked yourself somehow from firewall. Do this.

In the network monitor Identify the things that have been block… Just delete them for now since the next time something launches you will have the prompt again to choose to accept or deny.

In application monitor delete the entry’s for bf2

Then launch the game and use the alt/tab to switch between applications. Your firewall should be launched because you are trying to access the net. And allow it.

This will happen up to three time. But if your game stalls during load, alt/tab to see if you firewall prompt is up.