[MXS-4213] Proxy Protocol : access denied Without dynamic_node_detection=false Created: 2022-07-20 Updated: 2022-07-27 Resolved: 2022-07-25 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | xpandmon |
| Affects Version/s: | 6.4.1 |
| Fix Version/s: | 22.08.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Christine Lieu (Inactive) | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Issue Backend issue appears to be that dynamically detected nodes are having Below example is where karma075 is MaxScale and user1@clientIP, user2@clientIP
Expected Fix This way its conditional, more safe and will not effect non proxy environments. Detailed Analysis When checked through maxctrl cmd, found that dynamically detected servers as [root@karma075 ~]# maxctrl show servers | grep 'Server|proxy_protocol'
Since these server entries are detected at the runtime, there is no way
|
| Comments |
| Comment by Daman Saini (Inactive) [ 2022-07-21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Xpand Version : 5.0.45-Xpand-mainline1-17678 [root@karma075 ~]# maxscale -V
[root@karma075 ~]# cat /etc/maxscale.cnf
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2022-07-25 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The configuration options from the bootstrap nodes are now copied over to the dynamically generated ones. With the addition of the proxy_protocol support for internal connections, this should work with the 22.08.0 release of MaxScale. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daman Saini (Inactive) [ 2022-07-27 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
While testing the build generated by markus makela, found an issue which is being tracked as Scenario 1: Any 1 node (only) of Xpand with "proxy_protocol=on" Scenario 2: Declare all nodes of the Xpand with "proxy_protocol=on" |