![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ftp connection | draganmi | SCO | 6 | 04-18-2007 02:11 AM |
| FTP Connection | mungaz | Security | 0 | 05-23-2006 10:48 AM |
| ssh connection | olli-h | UNIX for Dummies Questions & Answers | 1 | 03-16-2006 01:40 AM |
| Web connection... HOW???????????? | gussiglo21 | UNIX for Dummies Questions & Answers | 1 | 12-10-2003 01:08 PM |
| ssh connection | lealyz | UNIX for Advanced & Expert Users | 9 | 11-13-2003 10:39 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi Experts,
need help about release or refresh TCP Connection: i have the sample like below : application log connection: 0500 ( 192.168.0.1:36053) 00919 2007/05/10 23:30:25 112 13 2007/05/10 23:30:25 1969/12/31 17:00:00 0500 ( 192.168.0.1:36054) 00920 2007/05/10 23:30:26 000 00 1969/12/31 17:00:00 1969/12/31 17:00:00 0500 ( 192.168.0.1:36055) 00921 2007/05/10 23:30:26 000 00 1969/12/31 17:00:00 1969/12/31 17:00:00 0500 ( 192.168.0.1:42699) 00314 2007/05/14 07:07:23 097 13 2007/05/14 07:07:23 1969/12/31 17:00:00 0500 ( 192.168.0.1:36057) 00923 2007/05/10 23:30:26 000 00 1969/12/31 17:00:00 1969/12/31 17:00:00 0500 ( 192.168.0.1:49175) 26426 2007/05/10 23:54:46 000 00 1969/12/31 17:00:00 1969/12/31 17:00:00 netstat -a | grep 500 hostname.500 192.168.0.1.36053 16560 0 66608 0 ESTABLISHED hostname.500 192.168.0.1.36054 5840 0 66608 0 ESTABLISHED hostname.500 192.168.0.1.36055 5840 0 66608 0 ESTABLISHED hostname.500 192.168.0.1.36057 5840 0 66608 0 ESTABLISHED hostname.500 192.168.0.1.36067 5840 0 66608 0 ESTABLISHED hostname.500 192.168.0.1.36073 16560 0 66608 0 ESTABLISHED the application connection its connect through port 500 to another application, but if we see the bold one is mean that the tcp connection not binded to the another application server. how to release or refresh the tcp connection to not bind "bold" ? please advices thank you bucci |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Give us header of "application log connection:". Example
Local-Port Remote-IP:Port ??? Connection-Time ??? ?? ???? 0500 ( 192.168.0.1:36053) 00919 2007/05/10 23:30:25 112 13 2007/05/10 23:30:25 1969/12/31 17:00:00 pseudo code of your server will be very helpful to help you You can use tcpdump/ethereal to see what is happening b/w both client and server... Simply "snoop" packets for "port 500". At instance i can think of tunning Kernel-TCP/IP parameters and reduce idle-timeout. In SunOs you can use ndd and in Linux you can use sysctl (/proc/sys/net/ipv4) All the best. |
|
#3
|
|||
|
|||
|
Hi Sumitpandya,
local-port is 500 and remote port is depend on the application is can 36053, 45050,etc and connection time is 23:30:25, pid is 00919 (919), application id is 112. how to check that the tcp connection is stuck (means no transaction on the TCP ? note : using solaris 8 sparc 5.8 please advice Thank you bucci Quote:
|
|
#4
|
|||
|
|||
|
Run snoop command
Quote:
should give you communication b/w server and client. Then you analyse the sequence for communication taking place. If you running client and server on same machine then you need to provide extra option " -d lo0 ". Additionally you can write that output to a file using one more option " -o snoop500.pcap " and then use "Ethereal" tool to further analyse commuication |
|||
| Google The UNIX and Linux Forums |