Hello Adam,

Sure, please see my answers inline.

Thanks,

Ludovic Zammit
[email protected] <mailto:[email protected]> ::  +1.514.447.4918 (x145) ::  
www.inverse.ca <http://www.inverse.ca/>
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu <http://www.sogo.nu/>) 
and PacketFence (http://packetfence.org <http://packetfence.org/>) 




> On May 12, 2020, at 3:44 AM, Franklin, Adam <[email protected]> wrote:
> 
> Hi Ludovic
>  
> Thanks- I have iptables turned on now. Can you give any advice based on the 
> below output?
> After connection to the wifi there is still no redirection to captive portal.
>  
> May 12 08:38:55 vs-nsfc-pf packetfence_httpd.portal: httpd.portal(33876) 
> ERROR: [mac:00:11:22:33:44:55] Error while communicating with the Fingerbank 
> collector. 500 Can't connect to 127.0.0.1:4723 
> (pf::fingerbank::endpoint_attributes)
> May 12 08:38:55 vs-nsfc-pf packetfence_httpd.portal: httpd.portal(33876) 
> WARN: [mac:00:11:22:33:44:55] Use of uninitialized value in string ne at 
> /usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Application.pm 
> line 138.
> (captiveportal::PacketFence::DynamicRouting::Application::process_fingerbank)
> May 12 08:38:55 vs-nsfc-pf packetfence_httpd.portal: httpd.portal(33876) 
> ERROR: [mac:00:11:22:33:44:55] Error while communicating with the Fingerbank 
> collector. 500 Can't connect to 127.0.0.1:4723 
> (pf::fingerbank::update_collector_endpoint_data)

No fingerbank API key?
packetfence-fingerbank-collector started?
No access to internet ? Or behind a proxy ?

>  
> May 12 08:39:16 vs-nsfc-pf pfqueue: pfqueue(34337) INFO: [mac:unknown] stated 
> changed, adapting firewall rules for proper enforcement 
> (pf::inline::performInlineEnforcement)
> May 12 08:39:16 vs-nsfc-pf pfipset[2046]: t=2020-05-12T08:39:16+0100 lvl=info 
> msg="Syncing to peers" pid=2046 
> request-uuid=aee86d70-9423-11ea-9cd7-506b8dc7c6e6
> May 12 08:39:16 vs-nsfc-pf pfipset[2046]: t=2020-05-12T08:39:16+0100 lvl=info 
> msg="Syncing to peers" pid=2046 
> request-uuid=aee9464c-9423-11ea-9cd7-506b8dc7c6e6

upset trying to sync upset session with peers

> May 12 08:39:16 vs-nsfc-pf pfipset[2046]: t=2020-05-12T08:39:16+0100 lvl=info 
> msg="Removed 10.6.131.225 from pfsession_Unreg_10.6.130.0" pid=2046 
> request-uuid=aee9464c-9423-11ea-9cd7-506b8dc7c6e6
> May 12 08:39:16 vs-nsfc-pf pfipset[2046]: t=2020-05-12T08:39:16+0100 lvl=info 
> msg="Added 10.6.131.225 to pfsession_Unreg_10.6.130.0" pid=2046 
> request-uuid=aee9464c-9423-11ea-9cd7-506b8dc7c6e6

Nothing out of the ordinary, can you tell me the step that you take and what is 
not working ? Also what are you trying to achieve ?

Thanks,

>  
> Thanks
> Adam
>  
>  
> From: Ludovic Zammit <[email protected]> 
> Sent: 11 May 2020 17:44
> To: Franklin, Adam <[email protected]>
> Cc: [email protected]
> Subject: Re: [PacketFence-users] Won't Redirect to Captive Portal
>  
> Hello Adam,
>  
> Don’t turn off iptables if you are running inline mode because the whole 
> inline mode rely on iptables / ipset sessions.
>  
> Thanks,
> 
> Ludovic Zammit
> [email protected] <mailto:[email protected]> ::  +1.514.447.4918 (x145) ::  
> www.inverse.ca <http://www.inverse.ca/>
> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu 
> <http://www.sogo.nu/>) and PacketFence (http://packetfence.org 
> <http://packetfence.org/>) 
>  
> 
> 
> 
> 
> On May 11, 2020, at 10:29 AM, Franklin, Adam via PacketFence-users 
> <[email protected] 
> <mailto:[email protected]>> wrote:
>  
> Hi there
>  
> I have PF setup in inline mode with 2 interfaces, inline and management
> I have turned off the iptables
> A device receives an IP address from DHCP, and if manually set to Registered 
> in the portal, it can get out to the internet ok.
> My problem is that upon connecting to the wifi network the captive portal is 
> not appearing within the browser. The bottom log is observed, can anyone help?
>  
> May 11 14:59:37 vs-nsfc-pf pfqueue: pfqueue(7002) INFO: [mac:unknown] stated 
> changed, adapting firewall rules for proper enforcement 
> (pf::inline::performInlineEnforcement)
> May 11 14:59:38 vs-nsfc-pf pfqueue: pfqueue(7002) INFO: [mac:unknown] Request 
> to /api/v1/ipset/unmark_mac?local=0 is unauthorized, will perform a login 
> (pf::api::unifiedapiclient::call)
> May 11 14:59:38 vs-nsfc-pf pfipset[2048]: t=2020-05-11T14:59:38+0100 lvl=info 
> msg="Syncing to peers" pid=2048 
> request-uuid=a710b138-938f-11ea-b9d2-506b8dc7c6e6
> May 11 14:59:38 vs-nsfc-pf pfipset[2048]: t=2020-05-11T14:59:38+0100 lvl=info 
> msg="Syncing to peers" pid=2048 
> request-uuid=a711cb03-938f-11ea-b9d2-506b8dc7c6e6
> May 11 14:59:38 vs-nsfc-pf pfipset[2048]: t=2020-05-11T14:59:38+0100 lvl=info 
> msg="Removed 10.6.131.140 from pfsession_Unreg_10.6.130.0" pid=2048 
> request-uuid=a711cb03-938f-11ea-b9d2-506b8dc7c6e6
> May 11 14:59:38 vs-nsfc-pf pfipset[2048]: t=2020-05-11T14:59:38+0100 lvl=info 
> msg="Added 10.6.131.140 to pfsession_Unreg_10.6.130.0" pid=2048 
> request-uuid=a711cb03-938f-11ea-b9d2-506b8dc7c6e6
>  
> Thanks
> Adam
>  
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>  
> This message may contain confidential information and is intended only for 
> the individual(s) named. If you are not the named addressee you should not 
> disseminate, distribute, print or copy this e-mail. Please notify the sender 
> immediately by e-mail if you have received this e-mail by mistake and delete 
> this e-mail from your system. E-mail transmission cannot be guaranteed to be 
> secure or error-free as information could be intercepted, corrupted, lost, 
> destroyed, arrive late or incomplete, or contain viruses. The sender 
> therefore does not accept liability for any errors or omissions in the 
> contents of this message, which arise as a result of e-mail transmission. 
> Please note that any views or opinions presented in this e-mail are solely 
> those of the author and do not necessarily represent those of NCG. Finally, 
> the recipient should check this e-mail and any attachments for the presence 
> of viruses. Although this e-mail and its attachments are believed to be free 
> of any virus or other defects, which might affect any computer or IT system 
> into which they are received, no responsibility is accepted by NCG or any of 
> its associated companies for any loss or damage arising in any way from the 
> receipt or use thereof.
>  
> NCG Corporation is incorporated under the Further and Higher Education Act 
> for the provision of education to students, its trading divisions are 
> Newcastle College, Newcastle Sixth Form College, West Lancashire College, 
> Kidderminster College, Carlisle College, Lewisham and Southwark and its 
> registered office is at Rye Hill House, Scotswood Road, Newcastle upon Tyne, 
> NE4 7SA.
>   _______________________________________________
> PacketFence-users mailing list
> [email protected] 
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/packetfence-users 
> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
>  
> This message may contain confidential information and is intended only for 
> the individual(s) named. If you are not the named addressee you should not 
> disseminate, distribute, print or copy this e-mail. Please notify the sender 
> immediately by e-mail if you have received this e-mail by mistake and delete 
> this e-mail from your system. E-mail transmission cannot be guaranteed to be 
> secure or error-free as information could be intercepted, corrupted, lost, 
> destroyed, arrive late or incomplete, or contain viruses. The sender 
> therefore does not accept liability for any errors or omissions in the 
> contents of this message, which arise as a result of e-mail transmission. 
> Please note that any views or opinions presented in this e-mail are solely 
> those of the author and do not necessarily represent those of NCG. Finally, 
> the recipient should check this e-mail and any attachments for the presence 
> of viruses. Although this e-mail and its attachments are believed to be free 
> of any virus or other defects, which might affect any computer or IT system 
> into which they are received, no responsibility is accepted by NCG or any of 
> its associated companies for any loss or damage arising in any way from the 
> receipt or use thereof.
> 
>  
> NCG Corporation is incorporated under the Further and Higher Education Act 
> for the provision of education to students, its trading divisions are 
> Newcastle College, Newcastle Sixth Form College, West Lancashire College, 
> Kidderminster College, Carlisle College, Lewisham and Southwark and its 
> registered office is at Rye Hill House, Scotswood Road, Newcastle upon Tyne, 
> NE4 7SA.
> 

_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to