Networking Forums

Networking Forums > Computer Networking > Linux Networking > Connection problem from Windows Client to Linux Server

Reply
Thread Tools Display Modes

Connection problem from Windows Client to Linux Server

 
 
mfg
Guest
Posts: n/a

 
      10-08-2007, 07:03 PM
Hi, I have a problem to get data from a linux server over UDP.
I have two applications (self written), the first runs under Windows
(Client), the other on Slackware 10.2, Kernel 2.4.32. The Windws
Client asks the Linux Server for an UDP data packet, and Linux answers
with the requested data.
So far so good.
Now I tried to get data with size over 1500 bytes, and I get ...
nothing.
To get more information, I've started Wireshark, and got following
line at the client side from the server: "Flags: 0x06 (Don't Fragment)
(More Fragments)". My MTU settings are 1500 on linux, 1492 on windows,
both are default values I think. The send data has none of this Bits
set (Flags: 0x0).
When I start the linux application on an Kernel 2.6 system, everything
is ok, there is no 'Don't Fragment' Bit set.
The problem is, I can't use an newer kernel at the moment, because
some other software only runs on 2.4 Kernels.
Does anyone have an idea?

 
Reply With Quote
 
 
 
 
Mark Hobley
Guest
Posts: n/a

 
      10-09-2007, 01:08 AM
mfg <(E-Mail Removed)> wrote:
> Now I tried to get data with size over 1500 bytes, and I get ...
> nothing.


That's because your Don't Fragment flag is set. The datagram is over the 1492
bytes limit, and should be discarded.

> When I start the linux application on an Kernel 2.6 system, everything
> is ok, there is no 'Don't Fragment' Bit set.


Ok.

> Does anyone have an idea?


What are you trying to do? What is the nature of the data content?

You could chunk your data into 1k blocks and label them 1 of 3, 2 of 3, 3 of
3, or whatever number of blocks you have. The receiver discards all blocks,
if a complete set is not received. (Add a rolling set number, so that it does
not get confused with later transmissions, eg receiving 1 and 2 from first
set, then 3 from a different data set.)

Alternatively you may want to use TCP, if reliable (signed-for) delivery is
required. UDP is for real time (pigeon) delivery, that may get lost.

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Email: markhobley at hotpop dot donottypethisbit com

http://markhobley.yi.org/

 
Reply With Quote
 
mfg
Guest
Posts: n/a

 
      10-10-2007, 12:15 PM
Now I got the solution!
The problem was on both sides (Linux and Windows):
The first problem was, that the Linux Kernel 2.4.32 send our UDP
packets in an non standard network protocol (Kernel 2.6.19 does it
right...),
and the second problem, that the firewall we used don't informed about
blocking those non standard protocol.
So the windows firewall blocks it and set the "Don't Fragment" bit.
By the way, I use ZoneAlarm since years, but this bug costs me many
time, so i will look out for another firewall :-(.
I think comodo will have an option to solve this problem.

Thanks,
Manfred Gschweitl

 
Reply With Quote
 
mfg
Guest
Posts: n/a

 
      10-10-2007, 12:20 PM
I have forgotten one thing:
The solution is to uninstall the firewall. Only to disable it will not
help (Do'h)!

Manfred Gschweitl


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A Strange - 421 Service not available, remote server has closed connection - problem for Linux ftp client. vince Linux Networking 0 03-09-2007 09:35 PM
VNC server on windows, linux client cannot connect Geico Caveman Linux Networking 0 09-14-2006 07:38 AM
How to tinc windows client to linux server Christian Maier Linux Networking 0 01-03-2006 10:07 AM
Windows ntp server, Linux Client Brad Schroeder Linux Networking 3 08-11-2004 03:21 PM
Linux DNS Client Against Windows 2000 DNS Server Daniel Rigal Linux Networking 5 06-16-2004 02:24 PM



1 2 3 4 5 6 7 8 9 10 11