Modify

Ticket #97 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

Avoid innecesary firewall restart

Reported by: javier.amor.garcia@… Owned by: juruen@…
Milestone: Component: base
Severity: normal Keywords:
Cc:

Description (last modified by hblanco@…) (diff)

Firewall is always restarted when saving modules changes. In my computer that means about 3 seconds that not are always neccesary.

Possible plan:

  • make a changed sub in GConfModule (default: looks into the gconf key)
  • make nmodIsChanged use the previous sub (for speed concerns those two points may be optional in almost all modules via a gconf key)
  • make a sub firewallChanged in Firewall::Observer (defualt return true)
  • make sure all firewall using modules inherit from FireWall::Observer
  • make firewall use this sub to determine if it has to restart
  • change Global saveAllModules and modIsChanged to use this feature

Attachments

Change History

comment:1 Changed 7 years ago by javier.amor.garcia@…

  • priority changed from normal to low

comment:2 Changed 7 years ago by hblanco@…

  • Description modified (diff)
  • Milestone set to 0.9

comment:3 Changed 6 years ago by juruen@…

  • Milestone changed from 0.9 to 0.12

comment:4 Changed 4 years ago by juruen@…

  • Status changed from new to closed
  • Resolution set to fixed

Executing all the iptables commands with just one sudo command makes much faster.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.