PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001688PacketFencecaptive portalpublic2013-08-14 12:172014-04-03 14:01
ReporterKimHagen 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001688: Captive portal access to common/network-access-detection.gif use lan ip.
DescriptionIn the Captive portal option to enter an ip for access to common/network-access-detection.gif it states that you can use your LAN ip here.

This is however fire-walled (in inline mode).



Additional InformationI made a patch to iptables.pm so it works.
is it safe to put this patch?

--- /usr/src/iptables.pm 2013-08-14 18:01:53.000000000 +0200
+++ /usr/local/pf/lib/pf/iptables.pm 2013-08-14 18:02:26.256478576 +0200
@@ -187,6 +187,7 @@
             $rules .= "-A INPUT --in-interface $dev -d $ip --jump $FW_FILTER_INPUT_INT_INLINE\n";
             $rules .= "-A INPUT --in-interface $dev -d 255.255.255.255 --jump $FW_FILTER_INPUT_INT_INLINE\n";
             $rules .= "-A INPUT --in-interface $dev -d $mgmt_ip --protocol tcp --match tcp --dport 443 --jump ACCEPT\n";
+ $rules .= "-A INPUT --in-interface $dev -d $mgmt_ip --protocol tcp --match tcp --dport 80 --jump ACCEPT\n";
             $rules .= "-A FORWARD --in-interface $dev --jump $FW_FILTER_FORWARD_INT_INLINE\n";
 
         # nothing? something is wrong

regards,
Kim
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-08-14 12:17 KimHagen New Issue


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker