Enhancement #3426

Backport CGP and lightsquid access on port 980

Added by Filippo Carletti almost 5 years ago. Updated almost 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:<multiple packages>
Target version:v6.8
Resolution: NEEDINFO:No

Description

NethServer 7 permits access to CGP graphs and lightsquid reports through the usual server-manager port (980).
NethServer 6 permits access through port 80, which, sometimes is not usable (read port forwards).
It's possible to backport all features to 6.8 adapting configurations to the older software versions.
We need to adapt patches to 3 packages:
1. nethserver-httpd-admin
2. nethserver-cgp
3. nethserver-lightsquid

nethserver-httpd-admin needs support for proxypass, which is available in apache 2.2
nethserver cgp and nethserver-lightsquid need a new configuration fragment to use the proxypass feature and the dashboard links should be adjusted to point to the proxypass'ed url.

Associated revisions

Revision 3f92d56a
Added by Filippo Carletti almost 5 years ago

Serve lightsquid reports through port 980 on server-manager. Refs #3426

Revision 01502c5a
Added by Filippo Carletti almost 5 years ago

Serve CGP graphs through port 980 on server-manager. Refs #3426

History

#1 Updated by Filippo Carletti almost 5 years ago

  • Status changed from NEW to TRIAGED
  • Assignee set to Filippo Carletti
  • % Done changed from 0 to 20

I'd like to add a feature to permit access through port 80, selecting the ip addresses which can connect directly to the application url (the user must know the url alias, which is an hard to guess hash).
The ip address should be the same which can access the server-manager from remote, so the user must set them in Network service -> httpd-admin.
And activate the changes with the appropriate command:

signal-event nethserver-lightsquid-update
or
signal-event nethserver-cgp-update

#2 Updated by Filippo Carletti almost 5 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#3 Updated by Filippo Carletti almost 5 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Filippo Carletti)
  • % Done changed from 30 to 60

#4 Updated by Filippo Carletti almost 5 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

Packages available in nethserver-testing:
nethserver-httpd-admin-1.6.6-1.2.g13af7f7.ns6.noarch.rpm
nethserver-cgp-2.0.0-1.1.g01502c5.ns6.noarch.rpm
nethserver-lightsquid-1.0.5-1.1.g3f92d56.ns6.noarch.rpm

Test cases (after every step look for errors in /var/log/httpd-admin/error_log and /var/log/httpd/error_log):
1. update nethserver-httpd-admin and check that access to the server-manager is still available
2. install or update nethserver-cgp and/or nethserver-lightsquid and check access through Dashboard->Application links
3. set your ip in Network services -> httpd-admin and try to access the alias url on port 80 (also check forbidden access from a different ip)

#5 Updated by Nicola Rauso almost 5 years ago

  • Assignee set to Nicola Rauso

#6 Updated by Nicola Rauso almost 5 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Nicola Rauso)
  • % Done changed from 70 to 90

Tested: OK

For test 3 had also to trigger the events:

nethserver-lightsquid-update
nethserver-cgp-update

#7 Updated by Giacomo Sanchietti almost 5 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Released:
- nethserver-httpd-admin-1.6.7-1.ns6.noarch.rpm
- nethserver-lightsquid-1.0.6-1.ns6.src.rpm
- nethserver-cgp-2.0.1-1.ns6.noarch.rpm

Also available in: Atom PDF