R
rasta475
I've got a handheld application (Windows Mobile 2003, CF 1.1) and a
server application (Windows Server 2000+, Framework 2.0) and the
purpose of these two pieces of software is to send collected data
(Orders) from the handheld to the server as well as send updated
reference data from the server to the handheld. This all works fine
in our test environment which consists of a Windows XP PC running
ActiveSync, a Server Class machine running Windows Server 2003, and a
handheld connected to the PC. We put the handheld in the cradle and
we can send and receive data over and over again without problem.
When we move the software to our client's system the handheld will do
the communication anywhere from 7 to 15 time successfully and then
fail with the error "No connection could be made because the target
machine actively refused it". We cannot repeat this in our simple
test environment and the client says they do not have any Firewalls
running on their internal network.
The handheld will authenticate against the server and request to do
one of 4 actions (Send, Receive Data, Receive Binary Updates, or
Transmit Application Logs for debug purposes). Each of these actions
start with an Initiation with the server. The basic initiation
protocol for this communication is as follows:
1. Handheld initiates communication with server on Specific Port
(45000 for example)
2. Server responds with new port for the handheld to communicate
with. This is a list kept internally and rolled over as needed, but
are assigned from some base port (46000) and assigned sequentially
over a specific range (200).
3. Handheld initiates communication with server on the new port and
sends or receives data based on user selection on the handheld.
(Option to send or receive)
We have run network traces using WireShark and have found that in the
failure case packets 1 and 2 go back and forth as expected. The
handheld sends Packet 3 to the server and the server never receives
the packet.
After this long-winded explanation, does anyone know a server or piece
of network hardware will block a TCP packet if the Source machine (The
PC with ActiveSync to the handheld) appears to be hitting a contiguous
set of ports one right after the other?
My theory, although I can't find anything to back me up yet, is that
some network switch or firewall software between the PC and server is
blocking the packets because it sees it as a possible "Port Scanning"
virus. Does this make sense?
Thanks in advance for your time.
-R-
server application (Windows Server 2000+, Framework 2.0) and the
purpose of these two pieces of software is to send collected data
(Orders) from the handheld to the server as well as send updated
reference data from the server to the handheld. This all works fine
in our test environment which consists of a Windows XP PC running
ActiveSync, a Server Class machine running Windows Server 2003, and a
handheld connected to the PC. We put the handheld in the cradle and
we can send and receive data over and over again without problem.
When we move the software to our client's system the handheld will do
the communication anywhere from 7 to 15 time successfully and then
fail with the error "No connection could be made because the target
machine actively refused it". We cannot repeat this in our simple
test environment and the client says they do not have any Firewalls
running on their internal network.
The handheld will authenticate against the server and request to do
one of 4 actions (Send, Receive Data, Receive Binary Updates, or
Transmit Application Logs for debug purposes). Each of these actions
start with an Initiation with the server. The basic initiation
protocol for this communication is as follows:
1. Handheld initiates communication with server on Specific Port
(45000 for example)
2. Server responds with new port for the handheld to communicate
with. This is a list kept internally and rolled over as needed, but
are assigned from some base port (46000) and assigned sequentially
over a specific range (200).
3. Handheld initiates communication with server on the new port and
sends or receives data based on user selection on the handheld.
(Option to send or receive)
We have run network traces using WireShark and have found that in the
failure case packets 1 and 2 go back and forth as expected. The
handheld sends Packet 3 to the server and the server never receives
the packet.
After this long-winded explanation, does anyone know a server or piece
of network hardware will block a TCP packet if the Source machine (The
PC with ActiveSync to the handheld) appears to be hitting a contiguous
set of ports one right after the other?
My theory, although I can't find anything to back me up yet, is that
some network switch or firewall software between the PC and server is
blocking the packets because it sees it as a possible "Port Scanning"
virus. Does this make sense?
Thanks in advance for your time.
-R-