PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001242PacketFenceconfigurationpublic2011-08-04 15:442011-10-24 20:17
Reporterfgaudreault 
Assigned Tofgaudreault 
PrioritylowSeveritytweakReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiondevel 
Target Version3.0.2Fixed in Version3.0.2 
Summary0001242: Doubled allow network subnets in generated captive-portal-common.conf
DescriptionWith the latest trunk release, we are seeing the generated captive-portal-common.conf file double the authorized network subnets for the captive portal.

Additional InformationExemple:

# Access control
<DirectoryMatch "/usr/local/pf/html/captive-portal">
  Order deny,allow
  Deny from all
  allow from 192.168.2.0/24 192.168.3.0/24 192.168.4.0/24 192.168.6.0/24 127.0.0.0/24 192.168.3.0/24 192.168.2.0/24 127.0.0.1 10.0.1.10
</DirectoryMatch>

We can see 192.168.2.0 and 192.168.3.0 generated twice.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision358aae97063184220ec65b41464eb271defbe536
Attached Files

- Relationships

-  Notes
(0002306)
fgaudreault (viewer)
2011-09-29 16:45
edited on: 2011-09-29 16:46

Problematic code identified :
# Access control
<DirectoryMatch "%%install_dir%%/html/captive-portal">
  Order deny,allow
  Deny from all
  allow from %%internal-nets%% %%routed-nets%% 127.0.0.1
</DirectoryMatch>

Since vlan-registration or vlan-isolation are considered as routed-nets, we will print them in double because they are also internal-nets in some cases.

Suggestion: Use routed-nets only, and use another variable to add the inline subnets.

(0002307)
fgaudreault (viewer)
2011-09-30 16:17

Inline VLAN in networks.conf are included in the template variable routed-nets.
(0002390)
obilodeau (reporter)
2011-10-24 20:15

fix released in 3.0.2

- Issue History
Date Modified Username Field Change
2011-08-04 15:44 fgaudreault New Issue
2011-08-17 16:36 obilodeau Target Version => +1
2011-09-29 16:45 fgaudreault Note Added: 0002306
2011-09-29 16:46 fgaudreault Note Edited: 0002306
2011-09-29 16:46 fgaudreault Note Edited: 0002306
2011-09-30 16:17 fgaudreault mtn revision => 358aae97063184220ec65b41464eb271defbe536
2011-09-30 16:17 fgaudreault Note Added: 0002307
2011-09-30 16:17 fgaudreault Status new => resolved
2011-09-30 16:17 fgaudreault Fixed in Version => +1
2011-09-30 16:17 fgaudreault Resolution open => fixed
2011-09-30 16:17 fgaudreault Assigned To => fgaudreault
2011-10-24 20:15 obilodeau Target Version +1 => 3.0.2
2011-10-24 20:15 obilodeau Note Added: 0002390
2011-10-24 20:16 obilodeau Status resolved => closed
2011-10-24 20:17 obilodeau Fixed in Version +1 => 3.0.2


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker