All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christopher R. Hertel" <crh@samba.org>
To: Volker.Lendecke@SerNet.DE
Cc: linux-cifs@vger.kernel.org, cifs-protocol@samba.org,
	samba-technical@lists.samba.org
Subject: Re: [cifs-protocol] cifs client timeouts and hard/soft mounts
Date: Sat, 04 Dec 2010 13:46:39 -0600	[thread overview]
Message-ID: <4CFA9A9F.1080208@samba.org> (raw)
In-Reply-To: <E1POnFL-00BKg9-JW@intern.SerNet.DE>

Volker Lendecke wrote:
> On Fri, Dec 03, 2010 at 09:54:13PM -0600, Christopher R. Hertel wrote:
>> That may seem to be in the "who cares" category, since those old transports
>> are essentially dead (much more dead than NBT, or even NBF).  Unfortunately,
>> the code to handle the old transports is still there in Windows, so there
>> are behaviors -- things like the timeouts you're talking about and the weird
>> VC=0 shutdown behvior -- that exist because of these old disused transports.
> 
> VC=0, how does Windows treat this facing NAT (masquerading)
> networks? I've done tests in the past where Windows killed
> valid connections from behind a NAT box when a new client
> came in.

I put a lot of info into [MS-CIFS] about how *and why* this works the way it
does.  See [MS-CIFS] 2.1.3.  Unfortunately, since [MS-CIFS] applies only to
W98, NT4, and earlier it doesn't tell you much about W2K and newer
implementations.  There's a KB article that talks about the problem a
little:  KB301673.

I thought that there was a registry setting that would allow you to tell the
Windows server NOT to close existing connections if it received a VC=0 from
the same IP.  Even when working with Microsoft I wasn't able to find
anything like that, beyond what's in that KB article.

Basically, they should give up on the VC=0 thing, since it's a throw-back to
the days when OS/2 could run SMB over connectionless IPX transport over
multiple modems in parallel.

Chris -)-----

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh@ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh@ubiqx.org

  parent reply	other threads:[~2010-12-04 19:46 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-04  2:28 cifs client timeouts and hard/soft mounts Jeff Layton
     [not found] ` <20101203212811.17594274-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-12-04  3:54   ` [cifs-protocol] " Christopher R. Hertel
2010-12-04  8:13     ` Volker Lendecke
     [not found]       ` <E1POnFL-00BKg9-JW-dqLtpHMqGvUyWpdLl23E4A@public.gmane.org>
2010-12-04 11:44         ` Jeff Layton
2010-12-04 12:25           ` Shirish Pargaonkar
2010-12-04 13:09             ` Jeff Layton
     [not found]               ` <20101204080942.42be63da-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-12-04 14:06                 ` Shirish Pargaonkar
     [not found]                   ` <AANLkTim45G=pLwznde8S_b=FGCnYyO29Tnokghs0qZ-y-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-04 14:22                     ` Jeff Layton
2010-12-04 14:46                       ` Shirish Pargaonkar
     [not found]                         ` <AANLkTimN0F5KyM7r1+k3Y3Ki+kwQukAr4uXzRJuMVZtX-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-04 16:55                           ` Jeff Layton
     [not found]             ` <AANLkTinsm=b5Pezzo4m6Jbmq96EcYas4Hsw0nhxfb4m6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-04 20:17               ` Christopher R. Hertel
2010-12-04 12:30           ` Shirish Pargaonkar
     [not found]           ` <20101204064452.46ac24c7-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-12-04 12:34             ` Shirish Pargaonkar
2010-12-04 20:04             ` Christopher R. Hertel
2010-12-04 19:46       ` Christopher R. Hertel [this message]
     [not found]     ` <4CF9BB65.2010307-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-12-04 11:28       ` Jeff Layton
2010-12-04 19:49         ` Christopher R. Hertel
2010-12-04  8:12 ` Volker Lendecke
2010-12-06  1:42   ` Steve French
     [not found]     ` <AANLkTi=MCgZb=we2OEtxJ4DZ==sVmRLd8aQKeMU7vvKt-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-06  2:06       ` Jeff Layton
2010-12-06  2:16         ` Steve French
     [not found]           ` <AANLkTik4Vh5hqWwVngjCC7v1ST1YxAP9LvQbcqKDhWHp-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-06  2:30             ` Jeff Layton
2010-12-06  4:34             ` Volker Lendecke
     [not found]               ` <E1PPSnw-00DDbs-Va-dqLtpHMqGvUyWpdLl23E4A@public.gmane.org>
2010-12-06 16:28                 ` Steve French
2010-12-06 16:49                   ` [cifs-protocol] " simo
     [not found]                     ` <1291654155.3167.6.camel-akOVU7JyYd8WIfilqQrPtNi2O/JbrIOy@public.gmane.org>
2010-12-06 17:06                       ` Christopher R. Hertel
2010-12-06 17:17                         ` Steve French
2010-12-06 17:01                   ` Christopher R. Hertel
     [not found]                     ` <4CFD16D8.4090207-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-12-06 17:42                       ` Jeff Layton
     [not found]                         ` <20101206124255.7ea8a8a9-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-12-06 18:49                           ` Jeremy Allison
2010-12-06 18:54                           ` Christopher R. Hertel
     [not found]                             ` <4CFD3166.4000800-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-12-06 20:17                               ` Volker Lendecke
2010-12-06 20:38                                 ` Christopher R. Hertel
     [not found]                                   ` <4CFD49CD.5010002-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-12-06 20:42                                     ` Volker Lendecke
2010-12-06 20:44                                     ` Steve French
     [not found]                                       ` <AANLkTim1-m=d-A6yp4bWpYrEeqN_t49aHnAGPQEjrob_-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-06 20:52                                         ` Christopher R. Hertel
     [not found]                                           ` <4CFD4D15.60103-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-12-06 22:45                                             ` [cifs-protocol] " Christopher R. Hertel
2010-12-07 20:34                                 ` Matt Ficken (Insight Global)
     [not found]                                   ` <673E6032983AF84185CE49D109B4F40A526665-Jfd81uAzPQsTaQvdokkCPVir+X/St4rqwBk/1ggFUS45P9zcU8sUGwC/G2K4zDHf@public.gmane.org>
2010-12-07 20:53                                     ` Christopher R. Hertel
2010-12-06  2:46   ` Andrew Bartlett
2010-12-06  4:35     ` Volker Lendecke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CFA9A9F.1080208@samba.org \
    --to=crh@samba.org \
    --cc=Volker.Lendecke@SerNet.DE \
    --cc=cifs-protocol@samba.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=samba-technical@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.