Hello Pedro,

so it's an inline setup, if you do ipset -L , you should be able to see the mac of your device in the registration set.

Also did you enabled ip_forward on the Packetfence server, and what is the dns server on your testing device ?

Regards

Fabrice



Le 2017-11-20 à 09:13, Pedro Trindade via PacketFence-users a écrit :
Hello Fabrice,

We're currently using a Cisco Aironet 1140 Series AP.


Here's the log:

Nov 20 11:51:25 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(18028) INFO: [mac:unknown] Instantiate profile default (pf::Connection::ProfileFactory::_from_profile) Nov 20 11:51:25 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(18028) INFO: [mac:a4:5e:60:41:4a:61] Instantiate profile default (pf::Connection::ProfileFactory::_fro
m_profile)
Nov 20 11:51:27 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17986) INFO: [mac:a4:5e:60:41:4a:61] Instantiate profile default (pf::Connection::ProfileFactory::_fro
m_profile)
Nov 20 11:51:53 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] Instantiate profile default (pf::Connection::ProfileFactory::_fro
m_profile)
Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com <mailto:pedrotrindade...@gmail.com> has authenticated on the portal.
(Class::MOP::Class:::after)
Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] new activation code successfully generated (pf::activation::creat
e)
Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] Instantiate profile default (pf::Connection::ProfileFactory::_from_profile) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com <mailto:pedrotrindade...@gmail.com> has authenticated on the portal. (Class::MOP::Class:::after) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) WARN: [mac:a4:5e:60:41:4a:61] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] Using sources email for matching (pf::authentication::match) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] Matched rule (catchall) in source email, returning actions. (pf::Authentication::Source::match) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com <mailto:pedrotrindade...@gmail.com> has authenticated on the portal. (Class::MOP::Class:::after) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) WARN: [mac:a4:5e:60:41:4a:61] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] Using sources email for matching (pf::authentication::match) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] Matched rule (catchall) in source email, returning actions. (pf::Authentication::Source::match) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com <mailto:pedrotrindade...@gmail.com> has authenticated on the portal. (Class::MOP::Class:::after) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) WARN: [mac:a4:5e:60:41:4a:61] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] Using sources email for matching (pf::authentication::match) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com <mailto:pedrotrindade...@gmail.com> has authenticated on the portal. (Class::MOP::Class:::after) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) WARN: [mac:a4:5e:60:41:4a:61] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] Using sources email for matching (pf::authentication::match) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com <mailto:pedrotrindade...@gmail.com> has authenticated on the portal. (Class::MOP::Class:::after) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com <mailto:pedrotrindade...@gmail.com> has authenticated on the portal. (Class::MOP::Class:::after) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com <mailto:pedrotrindade...@gmail.com> has authenticated on the portal. (Class::MOP::Class:::after) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com <mailto:pedrotrindade...@gmail.com> has authenticated on the portal. (Class::MOP::Class:::after) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] violation 1300003 force-closed for a4:5e:60:41:4a:61 (pf::violation::violation_force_close) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(17132) INFO: [mac:a4:5e:60:41:4a:61] Instantiate profile default (pf::Connection::ProfileFactory::_from_profile) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(18028) INFO: [mac:a4:5e:60:41:4a:61] Instantiate profile default (pf::Connection::ProfileFactory::_from_profile) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(18028) INFO: [mac:a4:5e:60:41:4a:61] Releasing device (captiveportal::PacketFence::DynamicRouting::Module::Root::release) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(18028) INFO: [mac:a4:5e:60:41:4a:61] User default has authenticated on the portal. (Class::MOP::Class:::after) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(18028) INFO: [mac:a4:5e:60:41:4a:61] Instantiate profile default (pf::Connection::ProfileFactory::_from_profile) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.portal: httpd.portal(18028) INFO: [mac:a4:5e:60:41:4a:61] re-evaluating access (manage_register called) (pf::enforcement::reevaluate_access) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.webservices: httpd.webservices(18637) INFO: [mac:a4:5e:60:41:4a:61] stated changed, adapting firewall rules for proper enforcement (pf::inline::performInlineEnforcement) Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br/> packetfence_httpd.webservices: httpd.webservices(18637) INFO: [mac:a4:5e:60:41:4a:61] Flushed connections for 10.14.192.21. (pf::ipset::iptables_unmark_node)

Best regards,

Pedro C Trindade

2017-11-20 11:56 GMT-02:00 Pedro Trindade <pedro.cerio...@hotmail.com <mailto:pedro.cerio...@hotmail.com>>:

    Hello Fabrice,

    We're currently using a Cisco Aironet 1140 Series AP.


    Here's the log:

    Nov 20 11:51:25 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(18028) INFO: [mac:unknown]
    Instantiate profile default
    (pf::Connection::ProfileFactory::_from_profile)
    Nov 20 11:51:25 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(18028) INFO:
    [mac:a4:5e:60:41:4a:61] Instantiate profile default
    (pf::Connection::ProfileFactory::_fro
    m_profile)
    Nov 20 11:51:27 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17986) INFO:
    [mac:a4:5e:60:41:4a:61] Instantiate profile default
    (pf::Connection::ProfileFactory::_fro
    m_profile)
    Nov 20 11:51:53 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] Instantiate profile default
    (pf::Connection::ProfileFactory::_fro
    m_profile)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com
    <mailto:pedrotrindade...@gmail.com> has authenticated on the portal.
    (Class::MOP::Class:::after)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] new activation code successfully generated
    (pf::activation::creat
    e)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] Instantiate profile default
    (pf::Connection::ProfileFactory::_from_profile)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com
    <mailto:pedrotrindade...@gmail.com> has authenticated on the
    portal. (Class::MOP::Class:::after)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) WARN:
    [mac:a4:5e:60:41:4a:61] Calling match with empty/invalid rule
    class. Defaulting to 'authentication' (pf::authentication::match)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] Using sources email for matching
    (pf::authentication::match)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] Matched rule (catchall) in source email,
    returning actions. (pf::Authentication::Source::match)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com
    <mailto:pedrotrindade...@gmail.com> has authenticated on the
    portal. (Class::MOP::Class:::after)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) WARN:
    [mac:a4:5e:60:41:4a:61] Calling match with empty/invalid rule
    class. Defaulting to 'authentication' (pf::authentication::match)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] Using sources email for matching
    (pf::authentication::match)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] Matched rule (catchall) in source email,
    returning actions. (pf::Authentication::Source::match)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com
    <mailto:pedrotrindade...@gmail.com> has authenticated on the
    portal. (Class::MOP::Class:::after)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) WARN:
    [mac:a4:5e:60:41:4a:61] Calling match with empty/invalid rule
    class. Defaulting to 'authentication' (pf::authentication::match)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] Using sources email for matching
    (pf::authentication::match)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com
    <mailto:pedrotrindade...@gmail.com> has authenticated on the
    portal. (Class::MOP::Class:::after)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) WARN:
    [mac:a4:5e:60:41:4a:61] Calling match with empty/invalid rule
    class. Defaulting to 'authentication' (pf::authentication::match)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] Using sources email for matching
    (pf::authentication::match)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com
    <mailto:pedrotrindade...@gmail.com> has authenticated on the
    portal. (Class::MOP::Class:::after)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com
    <mailto:pedrotrindade...@gmail.com> has authenticated on the
    portal. (Class::MOP::Class:::after)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com
    <mailto:pedrotrindade...@gmail.com> has authenticated on the
    portal. (Class::MOP::Class:::after)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] User pedrotrindade...@gmail.com
    <mailto:pedrotrindade...@gmail.com> has authenticated on the
    portal. (Class::MOP::Class:::after)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] violation 1300003 force-closed for
    a4:5e:60:41:4a:61 (pf::violation::violation_force_close)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(17132) INFO:
    [mac:a4:5e:60:41:4a:61] Instantiate profile default
    (pf::Connection::ProfileFactory::_from_profile)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(18028) INFO:
    [mac:a4:5e:60:41:4a:61] Instantiate profile default
    (pf::Connection::ProfileFactory::_from_profile)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(18028) INFO:
    [mac:a4:5e:60:41:4a:61] Releasing device
    (captiveportal::PacketFence::DynamicRouting::Module::Root::release)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(18028) INFO:
    [mac:a4:5e:60:41:4a:61] User default has authenticated on the
    portal. (Class::MOP::Class:::after)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(18028) INFO:
    [mac:a4:5e:60:41:4a:61] Instantiate profile default
    (pf::Connection::ProfileFactory::_from_profile)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.portal: httpd.portal(18028) INFO:
    [mac:a4:5e:60:41:4a:61] re-evaluating access (manage_register
    called) (pf::enforcement::reevaluate_access)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.webservices: httpd.webservices(18637) INFO:
    [mac:a4:5e:60:41:4a:61] stated changed, adapting firewall rules
    for proper enforcement (pf::inline::performInlineEnforcement)
    Nov 20 11:51:54 tagmark.trf4.jus.br <http://tagmark.trf4.jus.br>
    packetfence_httpd.webservices: httpd.webservices(18637) INFO:
    [mac:a4:5e:60:41:4a:61] Flushed connections for 10.14.192.21.
    (pf::ipset::iptables_unmark_node)

    Best regards,

    Pedro C Trindade


    2017-11-17 16:09 GMT-02:00 Fabrice Durand via PacketFence-users
    <packetfence-users@lists.sourceforge.net
    <mailto:packetfence-users@lists.sourceforge.net>>:

        Hello Pedro,

        it looks that it's a reevaluation issue, can you provide the
        packetfence.log ?

        What controler/AP are you using in your POC ?

        Regards

        Fabrice



        Le 2017-11-17 à 13:03, Pedro Trindade via PacketFence-users a
        écrit :
        Hello all, I've been trying to make a Packetfence 7.3.0 POC
        on a Centos7.0 server.

        However after the registration process the user is not
        redirected both in ios and android devices.

        Any help would be appreciated :)

        Thanks,

        Pedro C. Trindade


        
------------------------------------------------------------------------------
        Check out the vibrant tech community on one of the world's most
        engaging tech sites, Slashdot.org!http://sdm.link/slashdot


        _______________________________________________
        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>

-- Fabrice Durand
        fdur...@inverse.ca <mailto:fdur...@inverse.ca>  ::+1.514.447.4918 
<tel:%28514%29%20447-4918>  (x135) ::www.inverse.ca <http://www.inverse.ca>
        Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and 
PacketFence (http://packetfence.org)


        
------------------------------------------------------------------------------
        Check out the vibrant tech community on one of the world's most
        engaging tech sites, Slashdot.org! http://sdm.link/slashdot
        _______________________________________________
        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>





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to