PacketFence - BTS - PacketFence
View Issue Details
0001049PacketFencecaptive portalpublic2010-08-23 15:082015-02-13 15:35
obilodeau 
 
normalfeatureN/A
closedopen 
 
 
0001049: provide a %%client-range%% variable for apache templates
This would be useful when we want to give captured users access to something specific on the PacketFence server even if they are not in the registration / isolation VLAN. So far we hardcode such values in a per-client way. Bad for network changes.

Looking at the proper variable to use, here's trapping.range description.

#
# trapping.range
#
# Comma-delimited list of address ranges/CIDR blocks that PacketFence will monitor/detect/trap on.
# Gateway, network, and broadcast addresses are ignored.

Implementation:

trapping.range would need to be translated in a format compatible with the output of pf::util::get_internal_nets()

- pf::config would populate a global
- a new sub under pf::util would output it in a %%internal-nets%% compatible fashion
- pf::services would populate the template tag by calling the new function
No tags attached.
Issue History
2010-08-23 15:08obilodeauNew Issue
2010-08-23 15:08obilodeauStatusnew => assigned
2010-08-23 15:08obilodeauAssigned To => obilodeau
2010-09-15 11:23obilodeauTarget Version1.9.1 => 1.9.2
2010-09-22 16:02obilodeauTarget Version1.9.2 => 1.9.3
2012-10-19 15:05fgaudreaultAssigned Toobilodeau =>
2012-10-19 15:05fgaudreaultTarget Version1.9.3 => general
2015-02-13 15:35lmunroNote Added: 0003740
2015-02-13 15:35lmunroStatusassigned => closed

Notes
(0003740)
lmunro   
2015-02-13 15:35   
No longer relevant.