Modify ↓
Ticket #97 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.