Bug #3025

Trusted network validator

Added by Filippo Carletti over 6 years ago. Updated about 6 years ago.

Status:CLOSEDStart date:05/15/2015
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.6
Security class: Resolution:
Affected version:v6.5 NEEDINFO:No

Description

Trusted networks panel should deny adding green networks, they are already implicitly trusted.
I'm not sure that other other networks should not go into trusted networks.


Related issues

Related to NethServer 6 - Enhancement #2711: Base: display green network inside "Trusted network" page CLOSED 05/15/2015

Associated revisions

Revision 9a1e24ef
Added by Giacomo Sanchietti about 6 years ago

Trusted network: new validator Refs #3025

New networks can't be:
  • already used green networks
  • OpenVPN roadworrior network
  • L2TP network

History

#1 Updated by Filippo Carletti over 6 years ago

Trusted networks panel should deny adding green networks, they are already implicitly trusted.

Another option may be to pre-fill the table with green networks and make them undeletable (grey color?).

#2 Updated by Giacomo Sanchietti over 6 years ago

  • Related to Enhancement #2711: Base: display green network inside "Trusted network" page added

#3 Updated by Filippo Carletti over 6 years ago

  • Target version set to ~FUTURE

#4 Updated by Giacomo Sanchietti about 6 years ago

  • Category set to nethserver-base
  • Status changed from NEW to TRIAGED
  • Target version changed from ~FUTURE to v6.6
  • % Done changed from 0 to 20

#5 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#6 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#7 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-base-2.7.0-1.5.g9a1e24e.ns6.noarch.rpm
Test case
  • Try to add already defined networks (green, openvpn, l2tp)
  • See test cases from #2711

#8 Updated by Vasco Castelo Branco about 6 years ago

  • Assignee set to Vasco Castelo Branco

#9 Updated by Vasco Castelo Branco about 6 years ago

  • Start date set to 05/15/2015

#10 Updated by Filippo Carletti about 6 years ago

  • Assignee changed from Vasco Castelo Branco to Filippo Carletti

#11 Updated by Filippo Carletti about 6 years ago

  • Status changed from ON_QA to TRIAGED
  • % Done changed from 70 to 20

I tested the update on a system where I had the vpn installed.
Pre-update, the trusted network page was empty.
After update, it contained 3 lines, in light gray color, with a lock icon and no actions available:
the green network (Description Green: eth0) and the two vpn networks (openvp and l2tp).

My green network is 192.168.56.0/24
I added a trusted network 192.168.57.0/24: success.

When I tried adding 192.168.0.0/16 the system shown the red error box containing:
Network address
Network already in use

I also upgraded a system where I had some trusted networks configured: those were shown as before, intermixed with the new gray lines.
This system had the same problem when I tried to add the super-network.

#12 Updated by Filippo Carletti about 6 years ago

  • Assignee deleted (Filippo Carletti)

#13 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from TRIAGED to MODIFIED
  • % Done changed from 20 to 60

The case of super-networking will not be handled by the web interface.
Still, the administrator can add a super-network using the command line:

db networks setprop 192.168.0.0 network Mask 255.255.0.0

The network will not be editable using the web interface.

#14 Updated by Giacomo Sanchietti about 6 years ago

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

#15 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

#16 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-base-2.7.1-1.ns6.noarch.rpm

Also available in: Atom PDF