PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001447PacketFencerefactoringpublic2012-05-08 10:352012-08-07 09:46
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeveritytweakReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.5.0Fixed in Version3.5.0 
Summary0001447: get rid of pf.conf's interface.gateway
DescriptionProve that it is irrelevant first, then get rid of it (if possible).

Will make configurator, startup sanity check and several portions of the code quite simpler.
TagsNo tags attached.
fixed in git revisionb69201b18f324842a22b28fa19b450df05bc3b86
fixed in mtn revision
Attached Files

- Relationships

-  Notes
(0002708)
obilodeau (reporter)
2012-05-08 11:29
edited on: 2012-05-08 11:37

caller stack

pf::config puts interface.gateway in $int_obj->tag( "gw" ... )

This is consumed by:

ip2gateway (pf::util)
  pf::rawip
  - trapmac
  - freemac
    - bin/pfcmd manage freemac (and relevant grammar and/or lib/pf/pfcmd.pm)
  pf::web
  - generate_status_page (and relevant apache config)
  sbin/pfmon
  - listen_arp

get_gateways (pf::util)
  pf::services
  - generate_snort_config (tags{'gateways'} meant for config rewrite), flush from rules and config
  pf::util
  - preload_network_range
    - preload_trappable_ip and preload_reggable_ip
      - pfmon_preload (disabled by default but could be enabled)
  sbin/pfdhcplistener (ignore DHCP served from local gateway in rogue handling code)
  - inrange_ip (only internally used in pf::util)
    - trappable_ip
      - pf::web status page, rendered through captive-portal/register.cgi (delete it all!)
      - pf::violation's violation_trigger, remove it too, already covered by IDS config
      - pf::rawip's trapmac, already to be deleted by above
    - reggable_ip: no external caller, ready to be removed

removal:
- lib/pf/pfcmd/pfcmd.pm (grammar)
- checkup: gateway
- web?
- move pf::rawip into addons/ as arp code, remove dependency from debian/rpm and remove from tests


(0002853)
dwuelfrath (administrator)
2012-07-31 14:37

Been merged in feature/catalyst-configurator a long ago but is now part of stable (3.5.0) since we include feature/catalyst-configurator in stable (3.5.0)
(0002894)
obilodeau (reporter)
2012-08-07 09:46

fix released in 3.5.0

- Issue History
Date Modified Username Field Change
2012-05-08 10:35 obilodeau New Issue
2012-05-08 10:35 obilodeau Status new => assigned
2012-05-08 10:35 obilodeau Assigned To => obilodeau
2012-05-08 11:29 obilodeau Note Added: 0002708
2012-05-08 11:32 obilodeau Note Edited: 0002708
2012-05-08 11:37 obilodeau Note Edited: 0002708
2012-07-31 14:37 dwuelfrath git revision => b69201b18f324842a22b28fa19b450df05bc3b86
2012-07-31 14:37 dwuelfrath Note Added: 0002853
2012-07-31 14:37 dwuelfrath Status assigned => resolved
2012-07-31 14:37 dwuelfrath Resolution open => fixed
2012-07-31 14:37 dwuelfrath Fixed in Version => 3.5.0
2012-08-07 09:46 obilodeau Note Added: 0002894
2012-08-07 09:46 obilodeau Status resolved => closed
2012-08-07 09:46 obilodeau Target Version +1 => 3.5.0


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker