NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Newbie Lounge
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 09-28-2004   #1 (permalink)
kaichen
Registered Member
 
Join Date: Sep 2004
Posts: 1
Question persistent TCP under unreliable wireless AP

I am running XP connected to a wireless AP via DHCP. When the link goes
down due to transient wireless outage, the network icon gives me "network
cable unplugged" message. But the connection usually goes up again
quickly (e.g. after 5-30 seconds).

The problem is that my TCP connections (e.g. ssh) are all lost after the
outage. The scenario goes like this:
1) The TCP session is connected. Netstat shows that it is "ESTABLISHED".
2) When the link is down, after a few seconds, the TCP connection drops with an error message like "connection to server lost". Netstat shows that the TCP
session is gone.
3) After the link is up again, DHCP gives me back the old IP. However, the
previous TCP connection cannot resume, and it has to be re-started again,
which is very annoying.

I am looking for a solution to keep the TCP connection persistent after a
transient wireless link outage. Is there any registry in XP that can do
this?

Thanks in advance for any pointers.

-KC
kaichen is offline   Reply With Quote
Old 09-28-2004   #2 (permalink)
beakmyn
root\.workspace\.garbage.
 
Join Date: Aug 2003
Posts: 4,796
Although I'm no expert. I have three opinions on the matter.
1. Would a static IP address be better?
2. This may be built security mechanism to ssh to prevent someone from hijacking your connection
3. Because the connection dropped the server side of your TCP connection isn't going to hold a connection open if there's nothing on the other end.
beakmyn is offline   Reply With Quote
Old 09-28-2004   #3 (permalink)
Chris
Bad as Can
 
Chris's Avatar
 
Join Date: Jul 2002
Posts: 1,141
Quote:
Originally Posted by beakmyn
Although I'm no expert. I have three opinions on the matter.
1. Would a static IP address be better?
2. This may be built security mechanism to ssh to prevent someone from hijacking your connection
3. Because the connection dropped the server side of your TCP connection isn't going to hold a connection open if there's nothing on the other end.

1. Static IP isn't going to matter.
2. Not really a security mechanism, just how TCP/IP works.
3. Yep. The connection is broken when the link goes down and has to be re established. There is no workaround.
__________________
perl -e 'print pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'
Chris is offline   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

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



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 08:48 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.