All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: simo <idra-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
Cc: Andrew Bartlett
	<abartlet-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>,
	Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	samba-technical
	<samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org>
Subject: Re: [PATCH] cifs: eliminate CONFIG_CIFS_WEAK_PW_HASH
Date: Fri, 27 Apr 2012 07:15:48 -0400	[thread overview]
Message-ID: <20120427071548.4843f5cb@corrin.poochiereds.net> (raw)
In-Reply-To: <1327166803.2908.761.camel-akOVU7JyYd8WIfilqQrPtNi2O/JbrIOy@public.gmane.org>

On Sat, 21 Jan 2012 12:26:43 -0500
simo <idra-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org> wrote:

> On Sat, 2012-01-21 at 07:37 -0500, Jeff Layton wrote: 
> > On Sat, 21 Jan 2012 15:03:31 +1100
> > Andrew Bartlett <abartlet-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org> wrote:
> > 
> > > On Fri, 2012-01-20 at 14:45 -0600, Steve French wrote:
> > > > My general thinking on this is as follows:
> > > > 
> > > > If the kernel is distributed to all the workstations in an organization
> > > > with this Kconfig option disabled, it makes it harder for individual users
> > > > to make the mistake of enabling lanman (sec=lanman, or the Kconfig
> > > > option) on a public network and thus send weak password hashes
> > > > which could be discovered simply.   Most distros make the choice
> > > > of enabling broader compatibility with old pre-1997 servers but
> > > > it is a very small set of servers who would require lanman support,
> > > > and a large number of potential attackers who could benefit if
> > > > users enable lanman on a public network.  I suspect that there
> > > > are environments where removing code (via Kconfig) is preferred
> > > > to trusting all owners of all workstations running that organizations
> > > > standard linux to never enable lanman at runtime.
> > > > 
> > > > But ... the opinion of security specialists on this would be welcome.
> > > 
> > > We have been though some of this with the kerberos libs, which now allow
> > > (default?) to not even compile with weak crypto.  If the weak crypto is
> > > not compiled in, it can therefore be asserted that the weak crypto
> > > cannot be used, and this makes it easier to comply with security
> > > audits/certification etc.
> > > 
> > > I don't want to make your code more complex than it needs to be, but LM
> > > encryption really, really needs to go away.  If it is not a major
> > > bother, I would like to make it easier for that to happen if possible.
> > > 
> > 
> > The only way for it to go away completely is for all servers that
> > support only that encryption to go away completely. Unfortunately,
> > that's a tall order -- there are still at least some in the field and
> > people need to get at data on them.
> 
> Jeff, can you identify them ?
> 
> LM only servers means pre Win 95 machines, I'd be curious to know what
> servers are there that really support only LM hashes and not NT hashes.
> 

Sorry for the long delay in responding here. Yes, mostly pre-win95
machines. We occasionally get reports from people using OS/2 and I'm
pretty sure it's LM-only.

Steve, in any case...shall I consider this patch NAK'ed for now? I was
carrying it in my tree for 3.5, but it seems like there's resistance to
removing this option and I'm not particularly religious on the matter.

-- 
Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

  parent reply	other threads:[~2012-04-27 11:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-20 20:25 [PATCH] cifs: eliminate CONFIG_CIFS_WEAK_PW_HASH Jeff Layton
     [not found] ` <1327091153-22391-1-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-01-20 20:34   ` Steve French
     [not found]     ` <CAH2r5msOk=4rz_XUGi+GitzVGyJrSo9B1iGXdjz0Bnymzt0NyQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-20 20:38       ` Jeff Layton
     [not found]         ` <20120120153856.6ded308a-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2012-01-20 20:45           ` Steve French
     [not found]             ` <CAH2r5ms6YbZp+erat9RQw7-vMxem6vLWp72Yaf=Z8d4p=4+BBQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-20 21:01               ` Jeff Layton
     [not found]                 ` <20120120160105.5e2f7286-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2012-01-21  2:47                   ` Steve French
2012-01-21  4:03               ` Andrew Bartlett
2012-01-21 12:37                 ` Jeff Layton
     [not found]                   ` <20120121073720.3cf546fc-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2012-01-21 17:26                     ` simo
     [not found]                       ` <1327166803.2908.761.camel-akOVU7JyYd8WIfilqQrPtNi2O/JbrIOy@public.gmane.org>
2012-04-27 11:15                         ` Jeff Layton [this message]
     [not found]                           ` <20120427071548.4843f5cb-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2012-04-27 13:58                             ` Steve French
2012-04-27 15:14                               ` Jeff Layton

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=20120427071548.4843f5cb@corrin.poochiereds.net \
    --to=jlayton-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=abartlet-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org \
    --cc=idra-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org \
    --cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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.