Project

General

Profile

Actions

Feature #969

closed

Direct Client->Foreman communication shouldn't be needed (and moved to the Proxy)

Added by Marcello de Sousa almost 13 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
TFTP
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When provisioning a machine, the client needs to access foreman unattended urls, such as:
http://foreman/unattended/kickstart
and
http://foreman/unattended/built

That means firewall open to foreman (and the API).
I think the architecture and security would improve if Foreman could be as isolated as possible, not depending on being open to the machines it manages... Those tasks should be left to the proxy.

The suggested solution:
Client communications directed to Foreman should me moved to proxy (in this case, the one running on the master) so you only need port 8140(puppetmaster) + 8443 (foreman-proxy) open.

Note:
The proxy doesn’t really need to simply forward the request (although this is also a valid initial solution). It could have some intelligence to validate them or serve the unattended itself (pre fetching template information or something like it)…

http://i.imgur.com/aJlN5.png


Files

Foreman_Arch.png View Foreman_Arch.png 67.8 KB Foreman architecture change Marcello de Sousa, 06/09/2011 05:23 AM

Related issues 7 (3 open4 closed)

Related to Foreman - Feature #1069: Unattended install behind firewall and built statusClosedGreg Sutcliffe07/26/2011Actions
Related to Foreman - Bug #1208: Unauthenticated IP spoofing should not be allowedClosedOhad Levy10/04/2011Actions
Related to Foreman - Feature #1970: Override the foreman_url hostnameNew11/22/2012Actions
Related to Smart Proxy - Feature #11582: Implement proxy API for "built" commandRejected08/27/2015Actions
Related to Foreman - Feature #17316: Proxy templating needs TFTP feature to be turned onClosedLukas Zapletal11/11/2016Actions
Blocks Katello - Tracker #8172: Isolate Client Communication through a CapsuleNew

Actions
Blocks Discovery - Feature #8147: Support for HTTP proxyNew10/29/2014Actions
Actions

Also available in: Atom PDF