Hello James,

check in ipset -L if the mac where you have an issue appear in the Reg ipset (IP and MAC).

If not then you probably have an issue with an update of ipset so you can flush the pfsession_reg set (it will be filled when the device will hit the portal).


Regards

Fabrice


Le 2018-01-16 à 15:44, James Jakimowicz via PacketFence-users a écrit :

Hi everyone,


I have packetfence v6.2.1 deployed as an inline configuration at one of our sites and the for a little while now we have been experiencing an instability problem where users are no longer able to pass traffic through the packetfence server. I've included a couple snippets from the logs. I'm wondering if anyone can help point me in the right direction to resolve this issue?


from packetfence.log


Jan 15 09:22:44 httpd.portal(17980) ERROR: [mac:48:ee:0c:40:47:93] Can't bind : IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:24:40 httpd.portal(17900) INFO: [mac:b0:39:56:10:31:1e] Instantiate a new iptables modification method. pf::ipset (pf::inline:
:get_technique)
Jan 15 09:25:45 httpd.portal(17980) INFO: [mac:48:ee:0c:40:47:93] Instantiate a new iptables modification method. pf::ipset (pf::inline:
:get_technique)
Jan 15 09:25:48 httpd.portal(36352) ERROR: [mac:unknown] Can't bind : IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:48 httpd.portal(36352) INFO: [mac:unknown] Instantiate profile default (pf::Portal::ProfileFactory::_from_profile) Jan 15 09:25:48 httpd.portal(36352) ERROR: [mac:unknown] Can't bind : IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:49 httpd.portal(36352) ERROR: [mac:48:ee:0c:40:47:93] Can't bind : IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:49 httpd.portal(36352) INFO: [mac:48:ee:0c:40:47:93] Instantiate profile default (pf::Portal::ProfileFactory::_from_profile
)
Jan 15 09:25:49 httpd.portal(36352) INFO: [mac:48:ee:0c:40:47:93] Instantiate profile default (pf::Portal::ProfileFactory::_from_profile
)
Jan 15 09:25:49 httpd.portal(36352) INFO: [mac:48:ee:0c:40:47:93] Updating node user_agent with useragent: 'AppleTV3,1/8.4.2 (12H606)' (
captiveportal::PacketFence::DynamicRouting::Application::process_user_agent)
Jan 15 09:25:50 httpd.portal(36352) ERROR: [mac:48:ee:0c:40:47:93] Can't bind : IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:50 httpd.portal(36352) INFO: [mac:48:ee:0c:40:47:93] Instantiate a new iptables modification method. pf::ipset (pf::inline:
:get_technique)
Jan 15 09:25:50 httpd.portal(36352) INFO: [mac:48:ee:0c:40:47:93] User default has authenticated on the portal. (Class::MOP::Class:::aft
er)


from pfqueue.log
Jan 15 09:25:45 pfqueue(2485) ERROR: [mac:unknown] Odd number of elements in anonymous hash at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)
Jan 15 09:25:45 pfqueue(2479) ERROR: [mac:a0:04:60:ef:1f:e0] Can't bind : IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:46 pfqueue(2479) ERROR: [mac:a0:04:60:ef:1f:e0] Can't bind : IO::Socket::INET: connect: timeout
 (pf::iplog::_get_lease_from_omapi)
Jan 15 09:25:48 pfqueue(2484) INFO: [mac:unknown] Instantiate a new iptables modification method. pf::ipset (pf::inline::get_technique) Jan 15 09:25:48 pfqueue(2483) INFO: [mac:unknown] Instantiate a new iptables modification method. pf::ipset (pf::inline::get_technique) Jan 15 09:25:48 pfqueue(2483) WARN: [mac:unknown] Use of uninitialized value $args in anonymous hash ({}) at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)
Jan 15 09:25:48 pfqueue(2483) ERROR: [mac:unknown] Use of uninitialized value $args in anonymous hash ({}) at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)
Jan 15 09:25:48 pfqueue(2483) WARN: [mac:unknown] Odd number of elements in anonymous hash at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)
Jan 15 09:25:48 pfqueue(2483) ERROR: [mac:unknown] Odd number of elements in anonymous hash at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)
Jan 15 09:25:51 pfqueue(2484) INFO: [mac:unknown] Instantiate a new iptables modification method. pf::ipset (pf::inline::get_technique) Jan 15 09:25:51 pfqueue(2483) INFO: [mac:unknown] Instantiate a new iptables modification method. pf::ipset (pf::inline::get_technique) Jan 15 09:25:51 pfqueue(2483) WARN: [mac:unknown] Use of uninitialized value $args in anonymous hash ({}) at /usr/local/pf/lib/pf/util/webapi.pm line 34.
 (pf::util::webapi::add_mac_to_log_context)



Thank you,

-James





------------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to