Enhancement #1875

Feature #1870: Full automatic package install/upgrade/uninstall support

Base: implement firewall-adjust event

Added by Davide Principi over 8 years ago. Updated about 8 years ago.

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

100%

Category:nethserver-base
Target version:v6.4-beta1
Resolution: NEEDINFO:

Description

The firewall-adjust event changes the system iptables configuration, by reading TCPPorts and UDPPorts props of each service record, then it opens/closes the specified ports

We have two underlying implementations:
  • lokkit (default)
  • shorewall

The generic firewall-adjust implementation must be agnostic of the underlying implementation.


Related issues

Related to NethServer 6 - Enhancement #1873: Base: implement runlevel-adjust event CLOSED 04/15/2013 04/15/2013
Related to NethServer 6 - Feature #866: Firewall adjust action CLOSED 03/13/2012
Related to NethServer 6 - Bug #2205: /etc/sysconfig/system-config-firewall not expanded by lok... CLOSED

Associated revisions

Revision cc45080f
Added by Giacomo Sanchietti over 8 years ago

actions, createlinks, db defaults: first implementation of lokkit-save event. Refs #1875

Revision 6c24f9c4
Added by Giacomo Sanchietti over 8 years ago

firewall-adjust: read current firewall implementation from firewall db key. Refs #1875

Revision 9c4ec796
Added by Giacomo Sanchietti over 8 years ago

nethserver-firewall-base-conf: force use of nethserver-firewall-base-save event. Refs #1875

Revision 69f7170d
Added by Davide Principi over 8 years ago

firewall-adjust action: fixed event_signal exit code logic. Refs #1875

History

#1 Updated by Giacomo Sanchietti over 8 years ago

  • Status changed from NEW to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • Estimated time set to 1.00

#2 Updated by Giacomo Sanchietti over 8 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 0 to 100

New firewall-adjust event launches the firewall-adjust action. The action will fire the event saved in the event property of firewall db key.

Example of firewall db key:

firewall=configuration
event=lokkit-save

#3 Updated by Davide Principi about 8 years ago

  • Status changed from MODIFIED to CLOSED

Also available in: Atom PDF