core icon indicating copy to clipboard operation
core copied to clipboard

Push publishing source identity by IP should be optional

Open chrismccracken opened this issue 12 years ago • 7 comments

The Push Publishing target server/environment currently authorizes connections via the source server's IP (or hostname) and auth token. There are a number of situations where the source server's connection IP will vary, or may not be known: -Connection goes through target load balancer (AWS ELB or otherwise) -Edit (source) environment is internal and NAT'ed -Edit (source) environment is loose-coupled behind load balancer and doesn't have static IPs -Target environment is source NAT'ed

In these situations, there is not a clear way to authorize the incoming connection by IP address without adding additional servers/services/complexity. In keeping with cloud build best practices, this source->target connection should not be rigidly coupled by IP address as this connection parameter can be volatile.

chrismccracken avatar Mar 28 '14 16:03 chrismccracken

not sure I agree here. I understand the case but there are security concerns also. We will mark as a future improvement but more discussion will be needed

jtesser avatar Mar 28 '14 18:03 jtesser

I definitely agree re: security concerns. I have a few ideas for better ways to handle this when you get a chance to chat about it.

chrismccracken avatar Mar 28 '14 18:03 chrismccracken

For some cases, we've found a workaround using a specifically-configured RemoteIpValve with a specifically-configured network topology. However, we've run into https://github.com/dotCMS/core/issues/9067 so its not a slam-dunk yet

chrismccracken avatar May 09 '16 16:05 chrismccracken

Consider this architecture, where both the sender IP and load balancer IP addrs may be variable:(https://www.lucidchart.com/publicSegments/view/a4ca37ab-f696-42ac-b85e-37b0ee605b3a/image.png)

chrismccracken avatar May 09 '16 17:05 chrismccracken

I'm not sure if this is the case for all situations. But for us, our source IPs will be restricted to a small-ish range. It would be great if instead of a list of IPs, the source IP field would take a range of IPs as well.

austindlawless avatar May 23 '17 15:05 austindlawless

Related support ticket: https://my.dotcms.com/tickets/detail.dot?id=78784dd0-a956-47ab-a919-090395c5f991

gabbydotCMS avatar May 23 '17 15:05 gabbydotCMS

moved here: #11789

wezell avatar Jun 01 '17 16:06 wezell