TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Dear Search Guard Users

136 pointsby praseodymover 5 years ago

13 comments

jonas21over 5 years ago
This is the commit containing the code that Elastic says was copied by Search Guard:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;floragunncom&#x2F;search-guard-enterprise-modules&#x2F;commit&#x2F;93b491a182c2f8ff4d0b7ac72cb4bda0c6eb12d2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;floragunncom&#x2F;search-guard-enterprise-modu...</a><p>In particular, the change to getLiveDocs(): <a href="https:&#x2F;&#x2F;github.com&#x2F;floragunncom&#x2F;search-guard-enterprise-modules&#x2F;commit&#x2F;93b491a182c2f8ff4d0b7ac72cb4bda0c6eb12d2#diff-1e087c32ad166566456e9a43991a57caR407-R429" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;floragunncom&#x2F;search-guard-enterprise-modu...</a><p>and numDocs(): <a href="https:&#x2F;&#x2F;github.com&#x2F;floragunncom&#x2F;search-guard-enterprise-modules&#x2F;commit&#x2F;93b491a182c2f8ff4d0b7ac72cb4bda0c6eb12d2#diff-1e087c32ad166566456e9a43991a57caR437-R469" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;floragunncom&#x2F;search-guard-enterprise-modu...</a><p>EDIT:<p>At least in the case of numDocs(), both Elastic and Search Guard&#x27;s implementations seem to be based on this bit of Apache-licensed code from Lucene (or perhaps this is just a common pattern for counting live documents?):<p><a href="https:&#x2F;&#x2F;github.com&#x2F;apache&#x2F;lucene-solr&#x2F;blob&#x2F;branch_6_3&#x2F;lucene&#x2F;misc&#x2F;src&#x2F;java&#x2F;org&#x2F;apache&#x2F;lucene&#x2F;index&#x2F;PKIndexSplitter.java#L146-L158" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;apache&#x2F;lucene-solr&#x2F;blob&#x2F;branch_6_3&#x2F;lucene...</a>
评论 #20883062 未加载
herovaover 5 years ago
Unfortunately, since June 2018, we have witnessed significant intermingling of proprietary code into the code base. While an Apache 2.0 licensed download is still available, there is an extreme lack of clarity as to what customers who care about open source are getting and what they can depend on. For example, neither release notes nor documentation make it clear what is open source and what is proprietary. Enterprise developers may inadvertently apply a fix or enhancement to the proprietary source code. - from amazon&#x27;s opendistro announcement.
评论 #20882851 未加载
评论 #20882157 未加载
评论 #20882185 未加载
评论 #20882140 未加载
tschellenbachover 5 years ago
Search Guard site is here: <a href="https:&#x2F;&#x2F;search-guard.com&#x2F;company&#x2F;" rel="nofollow">https:&#x2F;&#x2F;search-guard.com&#x2F;company&#x2F;</a><p>My gut feeling here is that Elastic is probably right. The SQ team is very small, while that doesn&#x27;t mean anything it does make you wonder.<p>On the other hand, does anyone know if a company that small has any viable way to defend themselves against someone with deep pockets like Elastic?
评论 #20882162 未加载
jochen_kressinover 5 years ago
Here&#x27;s our first response:<p><a href="https:&#x2F;&#x2F;search-guard.com&#x2F;search-guard-elastic&#x2F;" rel="nofollow">https:&#x2F;&#x2F;search-guard.com&#x2F;search-guard-elastic&#x2F;</a><p>Jochen Kressin
perryh2over 5 years ago
It would have been better if they provided explicit examples of infringement.
评论 #20882127 未加载
lemmoxover 5 years ago
Those are some bold accusations. Looking forward to hearing the response from Search Guard. I wonder if there were attempts to resolve this quietly before going to the courts (and blogs).
dig1over 5 years ago
I was working with first ElasticSearch versions when Shay was the only developer. At that time, I was impressed how Shay was responsive, friendly and overall ES had good design, compared to Katta [1] we used in our product.<p>ES was my go-to search engine since, but something fishy started to happen with elastic.co from 2018. They changed the license, started to use dark patterns for downloads and product names and this message from Shay, where he invites Search Guard users to use &#x27;free security features&#x27; (which aren&#x27;t free at all) from elastic.co, is low blow, not for Search Guard devs&#x2F;users, but for ES users as well. If I develop a custom plugin for ES and charge support for enterprise users, how will I know they will not come after me simply because they have similar addon?<p>As one comment noticed, alleged code is too common and can be found in Lucene as well.<p>I&#x27;m hoping this will end well, but elastic.co brand isn&#x27;t going to be the same.<p>(Also, elastic.co isn&#x27;t immune to taking over other work as well [2]).<p>[1] <a href="http:&#x2F;&#x2F;katta.sourceforge.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;katta.sourceforge.net&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;discuss.elastic.co&#x2F;t&#x2F;vector-modules-going-apache-xpack-license-despite-community-help&#x2F;197335" rel="nofollow">https:&#x2F;&#x2F;discuss.elastic.co&#x2F;t&#x2F;vector-modules-going-apache-xpa...</a><p>EDIT: added link to vector module issue
评论 #20891828 未加载
colechristensenover 5 years ago
From a first impression, this seems entirely reasonable.<p>It is unfortunate when &quot;freemium&quot; companies hide essential features like security behind their paywall, and I don&#x27;t love Elastic for doing that, but code copying is code copying.
评论 #20882304 未加载
ratamulcoderover 5 years ago
We have analyzed the claim, and it has no merit.<p>Out of 10s of thousands of code they&#x27;re bringing just a few snippets here and there which frankly only deal with APIS (netty, Lucene) in a way that is simply normal to do.<p>A shameful FUD, Looking forward to read the official rebuttal.
评论 #20885601 未加载
sidiover 5 years ago
I am not sure about the merits of the case to comment on this directly (blog post is sparse on details), but this is certainly unfortunate for the ElasticSearch community.<p>I want to share Arc - <a href="https:&#x2F;&#x2F;github.com&#x2F;appbaseio&#x2F;arc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;appbaseio&#x2F;arc</a>, an API gateway for ElasticSearch with security features that we have been actively developing starting this year. It&#x27;s Apache 2.0 licensed, built in Go and we use it for providing security features for all of our customers. It&#x27;s not as feature-rich as X-Pack &#x2F; SearchGuard today, but we&#x27;re happy to accept any PRs.
dragonshover 5 years ago
It&#x27;s already known elastic made elastic search code base proprietary. So if anyone who uses their distribution without proprietary license will likely be sued.<p>It&#x27;s very difficult in a mixed proprietary and open source code to figure out which one and which one is not proprietary. Also given the terms and conditions and license text is written broadly, it can be changed at will.<p>I will not side with sun guard or elastic here. Use Vespa or solr or some other software if one wants to use open source. Don&#x27;t touch ELK with encumbered license.
评论 #20883079 未加载
jrochkind1over 5 years ago
&gt; Whether open source or proprietary, any responsible creator must protect their work.<p>What does that even mean in this context? It seems to just be there to have the subtext &quot;So don&#x27;t blame us for not being open source, we would be doing something like this even if we were!&quot;<p>Which isn&#x27;t entirely true. If the code were released under an open source license, someone else could copy it so long as they respected the license. So you wouldn&#x27;t be suing someone for copying your code; you might for violating your license. Hard to say if the alleged infringer would have been happy to copy the code with an open source license, who knows.<p>Not saying it&#x27;s &quot;okay&quot; to copy proprietary code (for varying definitions of okay), just challenging the implication that &quot;this has nothing to do with it being open source or not&quot; -- it surely does. And I can&#x27;t see any point of that otherwise nonsequitor statement except that implication.
评论 #20882349 未加载
sneakover 5 years ago
It seems a special kind of doublethink to release some software as free and some as proprietary.<p>Software isn’t property, and applying property rights to it is fundamentally unjust. This is the point of free software.<p>To then turn around and also license proprietary software simultaneously means that you were doing free software for the wrong reasons entirely.
评论 #20882530 未加载
评论 #20882494 未加载