![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Hello, Setup: Latest 64-bit Windows client on Windows Server 2008 connecting to a DB2 9.7 server (running on Linux) with latest fixpack. The database being connected to is activated. When using the client, connnection setup takes more than 50 seconds. Sniffing on the network with Wireshark reveals that no outgoing packets are seen during the first 20 seconds. So, for some reason, the DB2 client "hesitates" for a rather long while before even trying to connect. I tried temporarily closing the DB2 server and set up netcat to listen on port 50000 instead. I then ran netcat in client mode on the Windows-box. Data were immediately tranferred. Name resolving doesn't /seem/ to be the culprit: The netcat client has no trouble quickly initiating a connection. And even if I catalog the DB2 node with IP address instead of a DNS name, the problem prevails. Why might the DB2 client waiting? Can the client be set in some kind of debug mode where it tells me what it's doing? -- Troels |
#12
| |||
| |||
|
|
Ok, if you are not worried about people sniffining within your network, you won't need any encryption. I just want to point out that it is a matter of about 90 seconds to find out your user/pwd. If I get access to the instance user... |
|
Anyway, you are probably right. I'm usually not too concerned about security within my own network as well, but depending on the system, I would probably change my mind. But just to make a stand, I am using either DATA_ENCRYPT or SSL, when I'm connecting between WAN's or over the Internet. |
#13
| |||
| |||
|
#14
| |||
| |||
|
|
Are you cataloguing databases with authentication server? No: I had cataloged it without specifying authentication (as I usually do on unix/linux clients). Setting it explicitly to SERVER made the problem go away (there are some old clients which also need to connect to the server, so I think I cannot improve to SERVER_ENCRYPT). Connections are now instantaneous. |
![]() |
| Thread Tools | |
| Display Modes | |
| |