8000 [skip ci] doc: clarify ip and basic auth · blogsit/elasticsearch-http-basic@c401995 · GitHub
[go: up one dir, main page]

Skip to content

Commit c401995

Browse files
author
emiguez
committed
[skip ci] doc: clarify ip and basic auth
distinguish the two types of auth done by the plugin to clarify question #54
1 parent 85a95b1 commit c401995

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
They have a bug that allows an attacker to get ip authentication by setting
55
its ip on the 'Host' header.
66

7-
# HTTP Basic auth for ElasticSearch
7+
# HTTP Basic / Ip auth for ElasticSearch
88

9-
This plugin provides an extension of ElasticSearchs HTTP Transport module to enable HTTP basic authentication and
10-
Ip based authentication.
9+
This plugin provides an extension of ElasticSearchs HTTP Transport module to enable **HTTP basic authentication** and/or
10+
**Ip based authentication**.
1111

1212
Requesting `/` does not request authentication to simplify health check configuration.
1313

@@ -46,10 +46,14 @@ Once the plugin is installed it can be configured in the [elasticsearch modules
4646

4747
Be aware that the password is stored in plain text.
4848

49+
## Http basic authentication
50+
51+
see [this article](https://en.wikipedia.org/wiki/Basic_access_authentication)
52+
4953
## Ip based authentication
5054

51-
A client is **authenticated iff** its **request** is **trusted** and its **ip is whitelisted**.
52-
A Request from a client connected *directly* (direct client) is **trusted**. Its ip is the request ip.
55+
A client is **Ip authenticated iff** its **request** is **trusted** and its **ip is whitelisted**.
56+
A Request from a client connected *directly* (direct client) is by definition **trusted**. Its ip is the request ip.
5357
A Request form a client connected *via proxies* (remote client) is **trusted iff** there is a tail
5458
subchain of the request chain that matches a tail subchain of the trusted proxy chains.
5559

0 commit comments

Comments
 (0)
0