Hello,

You can’t do that directly on VMware, you will need to have a switch that 
handles radius authentication.

If you want to authenticate a VM, you will need to do the authentication at the 
switch port level where the NIC of the VM is tied to.

Thanks,

Ludovic Zammit
lzam...@inverse.ca <mailto:lzam...@inverse.ca> ::  +1.514.447.4918 (x145) ::  
www.inverse.ca <https://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 Apr 14, 2021, at 8:35 AM, Di Battista Francesco <teme...@gmail.com> wrote:
> 
> Hi Ludovic, 
> in this case I have a wired system connected on ens256 interface....
> I need that all network on this interface have a captive portal with 
> packetfence.
> 
> PS....In this case I have a virtual switch on vmware system....But also 
> physically switch have the same problem...
> 
> 
> 
> Il giorno mar 13 apr 2021 alle ore 21:38 Ludovic Zammit <lzam...@inverse.ca 
> <mailto:lzam...@inverse.ca>> ha scritto:
> What is the equipment that you are using ? Switch ? Wireless controller? What 
> brand?
> 
> Your problem is that the equipment does not generate a RADIUS request and 
> that’s needed for all authentication.
> 
> You see the captive portal without a RADIUS request and that can’t work.
> 
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) INFO: 
>> [mac:00:50:56:91:0f:31] re-evaluating access (manage_register called) 
>> (pf::enforcement::reevaluate_access)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] Can't re-evaluate access because no open locationlog 
>> entry was found 
> 
> Thanks,
> 
> Ludovic Zammit
> lzam...@inverse.ca <mailto:lzam...@inverse.ca> ::  +1.514.447.4918 (x145) ::  
> www.inverse.ca <https://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 Apr 13, 2021, at 2:58 PM, Di Battista Francesco <teme...@gmail.com 
>> <mailto:teme...@gmail.com>> wrote:
>> 
>> Hi Ludovic, 
>> this is the full log after unregister device:
>> 
>> Apr 13 19:07:17 pf packetfence: pfperl-api(18300) INFO: Database 
>> /usr/local/fingerbank/db/fingerbank_Local.db was changed or handles weren't 
>> initialized. Creating handle. (fingerbank::DB::SQLite::build_handle)
>> Apr 13 19:07:17 pf packetfence: pfperl-api(18300) INFO: Database 
>> /usr/local/fingerbank/db/fingerbank_Local.db was changed or handles weren't 
>> initialized. Creating handle. (fingerbank::DB::SQLite::build_handle)
>> Apr 13 19:07:17 pf packetfence: pfperl-api(18300) INFO: Database 
>> /usr/local/fingerbank/db/fingerbank_Upstream.db was changed or handles 
>> weren't initialized. Creating handle. (fingerbank::DB::SQLite::build_handle)
>> Apr 13 19:07:17 pf packetfence: pfperl-api(11914) INFO: Instantiate profile 
>> default (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:07:17 pf packetfence: pfperl-api(18300) INFO: Database 
>> /usr/local/fingerbank/db/fingerbank_Upstream.db was changed or handles 
>> weren't initialized. Creating handle. (fingerbank::DB::SQLite::build_handle)
>> Apr 13 19:07:17 pf packetfence: pfperl-api(11914) INFO: Instantiate profile 
>> default (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:07:18 pf packetfence: pfperl-api(19975) INFO: Instantiate profile 
>> default (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:07:18 pf packetfence: pfperl-api(19975) INFO: Instantiate profile 
>> default (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:07:43 pf pfqueue: pfqueue(18609) WARN: [mac:00:50:56:91:0f:31] 
>> Unable to pull accounting history for device 00:50:56:91:0f:31. The history 
>> set doesn't exist yet. (pf::accounting_events_history::latest_mac_history)
>> Apr 13 19:07:43 pf pfqueue: pfqueue(18609) WARN: [mac:00:50:56:91:0f:31] 
>> Unable to pull accounting history for device 00:50:56:91:0f:31. The history 
>> set doesn't exist yet. (pf::accounting_events_history::latest_mac_history)
>> Apr 13 19:08:41 pf pfipset[3447]: t=2021-04-13T19:08:41+0200 lvl=info 
>> msg="Syncing to peers" pid=3447 
>> request-uuid=e58af3b9-9c7a-11eb-a898-00505691ff38
>> Apr 13 19:08:41 pf pfipset[3447]: t=2021-04-13T19:08:41+0200 lvl=info 
>> msg="Syncing to peers" pid=3447 
>> request-uuid=e58b805b-9c7a-11eb-a898-00505691ff38
>> Apr 13 19:08:41 pf pfipset[3447]: t=2021-04-13T19:08:41+0200 lvl=info 
>> msg="Syncing to peers" pid=3447 
>> request-uuid=e58af3b9-9c7a-11eb-a898-00505691ff38
>> Apr 13 19:08:41 pf pfipset[3447]: t=2021-04-13T19:08:41+0200 lvl=info 
>> msg="Syncing to peers" pid=3447 
>> request-uuid=e58b805b-9c7a-11eb-a898-00505691ff38
>> Apr 13 19:08:43 pf packetfence_httpd.portal: httpd.portal(20821) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:43 pf packetfence_httpd.portal: httpd.portal(20821) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:43 pf packetfence_httpd.portal: httpd.portal(20821) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:08:43 pf packetfence_httpd.portal: httpd.portal(20821) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:43 pf packetfence_httpd.portal: httpd.portal(20821) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:43 pf packetfence_httpd.portal: httpd.portal(20821) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:08:44 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:44 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:44 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:08:44 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:44 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:44 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(8428) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(8428) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(8428) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(20603) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(8428) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(8428) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(8428) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:08:45 pf packetfence_httpd.portal: httpd.portal(20603) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] new activation code successfully generated 
>> (pf::activation::create)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] new activation code successfully generated 
>> (pf::activation::create)
>> Apr 13 19:09:01 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Calling match with empty/invalid rule class. 
>> Defaulting to 'authentication' (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Using sources email for matching 
>> (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Calling match with empty/invalid rule class. 
>> Defaulting to 'authentication' (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Using sources email for matching 
>> (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Matched rule (catchall) in source email, returning 
>> actions. (pf::Authentication::Source::match_rule)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Matched rule (catchall) in source email, returning 
>> actions. (pf::Authentication::Source::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Calling match with empty/invalid rule class. 
>> Defaulting to 'authentication' (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Using sources email for matching 
>> (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Matched rule (catchall) in source email, returning 
>> actions. (pf::Authentication::Source::match_rule)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Matched rule (catchall) in source email, returning 
>> actions. (pf::Authentication::Source::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Calling match with empty/invalid rule class. 
>> Defaulting to 'authentication' (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Using sources email for matching 
>> (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] security_event 1300003 force-closed for 
>> 00:50:56:91:0f:31 (pf::security_event::security_event_force_close)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:unknown] locale from the URL  is not supported 
>> (pf::Portal::Session::getLanguages)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] locale from the URL  is not supported 
>> (pf::Portal::Session::getLanguages)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] locale from the URL  is not supported 
>> (captiveportal::PacketFence::Controller::Root::getLanguages)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) INFO: 
>> [mac:00:50:56:91:0f:31] Releasing device 
>> (captiveportal::PacketFence::DynamicRouting::Module::Root::release)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) INFO: 
>> [mac:00:50:56:91:0f:31] User default has authenticated on the portal. 
>> (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] locale from the URL  is not supported 
>> (pf::Portal::Session::getLanguages)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) INFO: 
>> [mac:00:50:56:91:0f:31] re-evaluating access (manage_register called) 
>> (pf::enforcement::reevaluate_access)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] Can't re-evaluate access because no open locationlog 
>> entry was found (pf::enforcement::reevaluate_access)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Calling match with empty/invalid rule class. 
>> Defaulting to 'authentication' (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Using sources email for matching 
>> (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Calling match with empty/invalid rule class. 
>> Defaulting to 'authentication' (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Using sources email for matching 
>> (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Matched rule (catchall) in source email, returning 
>> actions. (pf::Authentication::Source::match_rule)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Matched rule (catchall) in source email, returning 
>> actions. (pf::Authentication::Source::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Calling match with empty/invalid rule class. 
>> Defaulting to 'authentication' (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Using sources email for matching 
>> (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Matched rule (catchall) in source email, returning 
>> actions. (pf::Authentication::Source::match_rule)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Matched rule (catchall) in source email, returning 
>> actions. (pf::Authentication::Source::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) WARN: 
>> [mac:00:50:56:91:0f:31] Calling match with empty/invalid rule class. 
>> Defaulting to 'authentication' (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Using sources email for matching 
>> (pf::authentication::match)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>> has authenticated on the portal. (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] security_event 1300003 force-closed for 
>> 00:50:56:91:0f:31 (pf::security_event::security_event_force_close)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:unknown] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:unknown] locale from the URL  is not supported 
>> (pf::Portal::Session::getLanguages)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>> (pf::ip4log::ip2mac)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] locale from the URL  is not supported 
>> (pf::Portal::Session::getLanguages)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) INFO: 
>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>> (pf::Connection::ProfileFactory::_from_profile)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] locale from the URL  is not supported 
>> (captiveportal::PacketFence::Controller::Root::getLanguages)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) INFO: 
>> [mac:00:50:56:91:0f:31] Releasing device 
>> (captiveportal::PacketFence::DynamicRouting::Module::Root::release)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) INFO: 
>> [mac:00:50:56:91:0f:31] User default has authenticated on the portal. 
>> (Class::MOP::Class:::after)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] locale from the URL  is not supported 
>> (pf::Portal::Session::getLanguages)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) INFO: 
>> [mac:00:50:56:91:0f:31] re-evaluating access (manage_register called) 
>> (pf::enforcement::reevaluate_access)
>> Apr 13 19:09:02 pf packetfence_httpd.portal: httpd.portal(20603) WARN: 
>> [mac:00:50:56:91:0f:31] Can't re-evaluate access because no open locationlog 
>> entry was found (pf::enforcement::reevaluate_access)
>> 
>> Il giorno mar 13 apr 2021 alle ore 17:56 Ludovic Zammit <lzam...@inverse.ca 
>> <mailto:lzam...@inverse.ca>> ha scritto:
>> Unregister your device, re-do the authentication and send me the full log.
>> 
>> Thanks,
>> 
>> Ludovic Zammit
>> lzam...@inverse.ca <mailto:lzam...@inverse.ca> ::  +1.514.447.4918 (x145) :: 
>>  www.inverse.ca <https://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 Apr 13, 2021, at 11:11 AM, Di Battista Francesco <teme...@gmail.com 
>>> <mailto:teme...@gmail.com>> wrote:
>>> 
>>> Hi Ludovic. 
>>> this is the log for one client
>>> 
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>>> has authenticated on the portal. (Class::MOP::Class:::after)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>>> has authenticated on the portal. (Class::MOP::Class:::after)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>>> has authenticated on the portal. (Class::MOP::Class:::after)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>>> has authenticated on the portal. (Class::MOP::Class:::after)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>>> [mac:00:50:56:91:0f:31] User teme...@gmail.com <mailto:teme...@gmail.com> 
>>> has authenticated on the portal. (Class::MOP::Class:::after)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>>> [mac:00:50:56:91:0f:31] security_event 1300003 force-closed for 
>>> 00:50:56:91:0f:31 (pf::security_event::security_event_force_close)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8288) INFO: 
>>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>>> (pf::Connection::ProfileFactory::_from_profile)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) WARN: 
>>> [mac:00:50:56:91:0f:31] Unable to match MAC address to IP '51.103.161.94' 
>>> (pf::ip4log::ip2mac)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) WARN: 
>>> [mac:00:50:56:91:0f:31] locale from the URL  is not supported 
>>> (pf::Portal::Session::getLanguages)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) INFO: 
>>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>>> (pf::Connection::ProfileFactory::_from_profile)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) WARN: 
>>> [mac:00:50:56:91:0f:31] locale from the URL  is not supported 
>>> (captiveportal::PacketFence::Controller::Root::getLanguages)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) INFO: 
>>> [mac:00:50:56:91:0f:31] Releasing device 
>>> (captiveportal::PacketFence::DynamicRouting::Module::Root::release)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) INFO: 
>>> [mac:00:50:56:91:0f:31] User default has authenticated on the portal. 
>>> (Class::MOP::Class:::after)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) INFO: 
>>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>>> (pf::Connection::ProfileFactory::_from_profile)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) INFO: 
>>> [mac:00:50:56:91:0f:31] Instantiate profile default 
>>> (pf::Connection::ProfileFactory::_from_profile)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) WARN: 
>>> [mac:00:50:56:91:0f:31] locale from the URL  is not supported 
>>> (pf::Portal::Session::getLanguages)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) INFO: 
>>> [mac:00:50:56:91:0f:31] re-evaluating access (manage_register called) 
>>> (pf::enforcement::reevaluate_access)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) WARN: 
>>> [mac:00:50:56:91:0f:31] Can't re-evaluate access because no open 
>>> locationlog entry was found (pf::enforcement::reevaluate_access)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) WARN: 
>>> [mac:00:50:56:91:0f:31] locale from the URL  is not supported 
>>> (pf::Portal::Session::getLanguages)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) INFO: 
>>> [mac:00:50:56:91:0f:31] re-evaluating access (manage_register called) 
>>> (pf::enforcement::reevaluate_access)
>>> Apr 13 17:09:37 pf packetfence_httpd.portal: httpd.portal(8428) WARN: 
>>> [mac:00:50:56:91:0f:31] Can't re-evaluate access because no open 
>>> locationlog entry was found (pf::enforcement::reevaluate_access)
>>> 
>>> Il giorno mar 13 apr 2021 alle ore 13:29 Ludovic Zammit <lzam...@inverse.ca 
>>> <mailto:lzam...@inverse.ca>> ha scritto:
>>> Hello,
>>> 
>>> Show me the logs:
>>> 
>>> grep MAC-ADDRESS logs/packetfence.log
>>> 
>>> Thanks,
>>> 
>>> Ludovic Zammit
>>> lzam...@inverse.ca <mailto:lzam...@inverse.ca> ::  +1.514.447.4918 (x145) 
>>> ::  www.inverse.ca <https://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 Apr 13, 2021, at 4:49 AM, Di Battista Francesco <teme...@gmail.com 
>>>> <mailto:teme...@gmail.com>> wrote:
>>>> 
>>>> Hi Ludovic, 
>>>> do you can help me to restore the right working mode?
>>>> 
>>>> Thanks
>>>> 
>>>> Il giorno dom 28 mar 2021 alle ore 15:04 Di Battista Francesco 
>>>> <teme...@gmail.com <mailto:teme...@gmail.com>> ha scritto:
>>>> HiLudovic, 
>>>> I had tried to enable vlan only for check if Vmware (packetfence is a 
>>>> virtual machine) had correctly configured vlan.
>>>> From this time the system doesn't works.
>>>> At first there were not dhcp server.
>>>> Now the authentication aren't enable.
>>>> 
>>>> Now I have two interface...One for authenticate users and one for internet 
>>>> connection.
>>>> 
>>>> How I can reset all? The VLAN are disabled.
>>>> 
>>>> In Auding {Radius, DHCP, DNS} log I have nothing 
>>>> 
>>>> Thanks 
>>>> 
>>>> 
>>>> 
>>>> Il giorno ven 26 mar 2021 alle ore 19:49 Ludovic Zammit 
>>>> <lzam...@inverse.ca <mailto:lzam...@inverse.ca>> ha scritto:
>>>> Hello,
>>>> 
>>>> It’s normal because your access has been changed after the authentication 
>>>> on the portal.
>>>> 
>>>> If you are doing web auth it’s most likely a change of ACL and if you are 
>>>> doing VLAN enforcement, the VLAN has been changed.
>>>> 
>>>> It means that you have no network access within the new authenticated 
>>>> access.
>>>> 
>>>> Check under Auditing log related to your Mac address.
>>>> 
>>>> What equipment are you using and what are you trying to achieve ?
>>>> 
>>>> Thanks,
>>>> 
>>>> Ludovic Zammit
>>>> lzam...@inverse.ca <mailto:lzam...@inverse.ca> ::  +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 Mar 26, 2021, at 2:44 AM, Di Battista Francesco via PacketFence-users 
>>>>> <packetfence-users@lists.sourceforge.net 
>>>>> <mailto:packetfence-users@lists.sourceforge.net>> wrote:
>>>>> 
>>>>> Hi all, 
>>>>> I have a problem on my packetfence after reboot system.
>>>>> 
>>>>> At first the dhcpclient for registration device was not woking. I have 
>>>>> restored the interface and now works fine.
>>>>> 
>>>>> Next I have this problem.
>>>>> The user can connection with captive portal (for example with email 
>>>>> authentication)
>>>>> 
>>>>> The captive portal works fine, the email was send correctly, the role 
>>>>> (guest) has applied but the internet access are not apply.
>>>>> 
>>>>> The server correctly navigate on management interface. The management 
>>>>> interface has daemon portal enable.
>>>>> 
>>>>> If I close the browser and re-open it, I have this messages:
>>>>> 
>>>>> Your network should be enable whitin a minute or two. If it is not reboot 
>>>>> your computer.
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> -- 
>>>>> linux registered user #400388
>>>>> _______________________________________________
>>>>> PacketFence-users mailing list
>>>>> PacketFence-users@lists.sourceforge.net 
>>>>> <mailto:PacketFence-users@lists.sourceforge.net>
>>>>> https://lists.sourceforge.net/lists/listinfo/packetfence-users 
>>>>> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> linux registered user #400388
>>>> 
>>>> 
>>>> -- 
>>>> linux registered user #400388
>>> 
>>> 
>>> 
>>> -- 
>>> linux registered user #400388
>> 
>> 
>> 
>> -- 
>> linux registered user #400388
> 
> 
> 
> -- 
> linux registered user #400388

_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to