Hi All,
There is an issue on my fresh install of PF with Debian 9.
With inline mode all is fine until i want to login, after validate
the login form i get a lots of errors in the log and ipset is not
update.
Is it a bug ?
Thomas.
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71675) INFO: [mac:00:90:4b:6a:5c:39] Instantiate
profile TEMPLATE (pf::Connection::ProfileFactory::_from_profile)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71675) INFO: [mac:00:90:4b:6a:5c:39] User cj-1023 has
authenticated on the portal. (Class::MOP::Class:::after)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71675) INFO: [mac:00:90:4b:6a:5c:39] No provisioner
found for 00:90:4b:6a:5c:39. Continuing.
(captiveportal::PacketFence::DynamicRouting::Module::Provisioning::execute_child)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71675) INFO: [mac:00:90:4b:6a:5c:39] User cj-1023 has
authenticated on the portal. (Class::MOP::Class:::after)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71675) INFO: [mac:00:90:4b:6a:5c:39] User cj-1023 has
authenticated on the portal. (Class::MOP::Class:::after)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71675) INFO: [mac:00:90:4b:6a:5c:39] User cj-1023 has
authenticated on the portal. (Class::MOP::Class:::after)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71675) INFO: [mac:00:90:4b:6a:5c:39] User cj-1023 has
authenticated on the portal. (Class::MOP::Class:::after)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71675) INFO: [mac:00:90:4b:6a:5c:39] User cj-1023 has
authenticated on the portal. (Class::MOP::Class:::after)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71675) INFO: [mac:00:90:4b:6a:5c:39] security_event
1300003 force-closed for 00:90:4b:6a:5c:39
(pf::security_event::security_event_force_close)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71675) INFO: [mac:00:90:4b:6a:5c:39] Instantiate
profile TEMPLATE (pf::Connection::ProfileFactory::_from_profile)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71675) WARN: [mac:00:90:4b:6a:5c:39] Use of
uninitialized value in concatenation (.) or string at
/usr/local/pf/lib/captiveportal/PacketFence/DynamicRouting/Module/Root.pm
line 89.
(captiveportal::PacketFence::DynamicRouting::Module::Root::release)
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): GET "/api/v1/queues/stats" (Mojolicious::dispatch)
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): Routing to controller
"pf::UnifiedApi::Controller::Queues" and action "stats"
(Mojolicious::Routes::_controller)
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): cache get for namespace='Default',
key='HASH(0x55acc3e56d20)', cache='RawMemory', time='0ms': HIT
(CHI::Driver::_log_get_result)
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): 200 OK (0.001991s, 502.260/s)
(Mojolicious::Controller::rendered)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71673) WARN: [mac:unknown] locale from the URL is not
supported (pf::Portal::Session::getLanguages)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71673) WARN: [mac:00:90:4b:6a:5c:39] locale from the
URL is not supported (pf::Portal::Session::getLanguages)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71673) INFO: [mac:00:90:4b:6a:5c:39] Instantiate
profile TEMPLATE (pf::Connection::ProfileFactory::_from_profile)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71673) WARN: [mac:00:90:4b:6a:5c:39] locale from the
URL is not supported
(captiveportal::PacketFence::Controller::Root::getLanguages)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71673) INFO: [mac:00:90:4b:6a:5c:39] Releasing device
(captiveportal::PacketFence::DynamicRouting::Module::Root::release)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71673) INFO: [mac:00:90:4b:6a:5c:39] User default has
authenticated on the portal. (Class::MOP::Class:::after)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71673) WARN: [mac:00:90:4b:6a:5c:39] locale from the
URL is not supported (pf::Portal::Session::getLanguages)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.portal:
httpd.portal(71673) INFO: [mac:00:90:4b:6a:5c:39] re-evaluating
access (manage_register called) (pf::enforcement::reevaluate_access)
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.webservices:
httpd.webservices(71109) INFO: [mac:00:90:4b:6a:5c:39] stated
changed, adapting firewall rules for proper enforcement
(pf::inline::performInlineEnforcement)
==> logs/httpd.portal.access <==
Apr 25 18:56:13 portailcaptif-wifi httpd_portal: 10.22.18.162 - -
[25/Apr/2019:18:56:13 +0200] "GET /access?lang= HTTP/1.1" 200 7372
444 163418 "-" "Mozilla/5.0 (Windows NT 5.1; rv:47.0)
Gecko/20100101 Firefox/47.0"
==> logs/httpd.api-frontend.access <==
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70929]:
api-frontend-access 127.0.0.1 - - [25/Apr/2019:18:56:13 +0200]
"POST /api/v1/ipset/unmark_mac?local=0 HTTP/1.1" 401 60 "-" "-"
==> logs/packetfence.log <==
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.webservices:
httpd.webservices(71109) INFO: [mac:00:90:4b:6a:5c:39] Request to
/api/v1//ipset/unmark_mac?local=0 is unauthorized, will perform a
login (pf::api::unifiedapiclient::call)
==> logs/api-frontend.log <==
Apr 25 18:56:13 portailcaptif-wifi api-frontend[70929]:
t=2019-04-25T18:56:13+0200 lvl=info msg="API login for user system
for tenant 0" pid=70929
request-uuid=0890840c-677b-11e9-b176-0050568391b2
==> logs/httpd.api-frontend.access <==
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70929]:
api-frontend-access 127.0.0.1 - - [25/Apr/2019:18:56:13 +0200]
"POST /api/v1/login HTTP/1.1" 200 76 "-" "-"
==> logs/packetfence.log <==
Apr 25 18:56:13 portailcaptif-wifi pfipset[70930]:
t=2019-04-25T18:56:13+0200 lvl=info msg="Syncing to peers"
pid=70930 request-uuid=0898e407-677b-11e9-8a5a-0050568391b2
==> logs/httpd.api-frontend.access <==
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70929]:
api-frontend-access 127.0.0.1 - - [25/Apr/2019:18:56:13 +0200]
"POST /api/v1/ipset/unmark_mac?local=0 HTTP/1.1" 200 64 "-" "-"
==> logs/httpd.portal.access <==
Apr 25 18:56:13 portailcaptif-wifi httpd_portal: 10.22.18.162 - -
[25/Apr/2019:18:56:13 +0200] "GET /access?lang= HTTP/1.1" 200 7372
444 163418 "-" "Mozilla/5.0 (Windows NT 5.1; rv:47.0)
Gecko/20100101 Firefox/47.0"
==> logs/httpd.api-frontend.access <==
Apr 25 18:56:13 portailcaptif-wifi pfhttpd: api-frontend-access
127.0.0.1 - - [25/Apr/2019:18:56:13 +0200] "POST
/api/v1/ipset/unmark_mac?local=0 HTTP/1.1" 401 60 "-" "-"
Apr 25 18:56:13 portailcaptif-wifi pfhttpd: api-frontend-access
127.0.0.1 - - [25/Apr/2019:18:56:13 +0200] "POST /api/v1/login
HTTP/1.1" 200 76 "-" "-"
Apr 25 18:56:13 portailcaptif-wifi pfhttpd: api-frontend-access
127.0.0.1 - - [25/Apr/2019:18:56:13 +0200] "POST
/api/v1/ipset/unmark_mac?local=0 HTTP/1.1" 200 64 "-" "-"
==> logs/api-frontend.log <==
Apr 25 18:56:13 portailcaptif-wifi api-frontend[70929]:
t=2019-04-25T18:56:13+0200 lvl=info msg="API login for user system
for tenant 0" pid=70929
request-uuid=0890840c-677b-11e9-b176-0050568391b2
==> logs/packetfence.log <==
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.webservices:
httpd.webservices(71109) INFO: [mac:00:90:4b:6a:5c:39] Request to
/api/v1//ipset/unmark_mac?local=0 is unauthorized, will perform a
login (pf::api::unifiedapiclient::call)
Apr 25 18:56:13 portailcaptif-wifi pfipset[70930]:
t=2019-04-25T18:56:13+0200 lvl=info msg="Syncing to peers"
pid=70930 request-uuid=0898e407-677b-11e9-8a5a-0050568391b2
Apr 25 18:56:13 portailcaptif-wifi pfipset[70930]:
t=2019-04-25T18:56:13+0200 lvl=info msg="Syncing to peers"
pid=70930 request-uuid=08a3e361-677b-11e9-8a5a-0050568391b2
Apr 25 18:56:13 portailcaptif-wifi pfipset[70930]:
t=2019-04-25T18:56:13+0200 lvl=eror msg="Recovered panic: json:
cannot unmarshal number into Go struct field PostOptions.role_id of
type string." pid=70930
request-uuid=08a3e361-677b-11e9-8a5a-0050568391b2
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]: Recovered panic:
json: cannot unmarshal number into Go struct field
PostOptions.role_id of type string.
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]: goroutine 53
[running]:
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
runtime/debug.Stack(0x68, 0x0, 0x0)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/usr/local/go/src/runtime/debug/stack.go:24 +0x9d
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
runtime/debug.PrintStack()
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
github.com/inverse-inc/packetfence/go/panichandler.outputPanic(0xe23900,
0xc000337c50, 0xbfc700, 0xc00027b540)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/panichandler/panichandler.go:37
+0x161
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
github.com/inverse-inc/packetfence/go/panichandler.Http(0xe23900,
0xc000337c50, 0xe21300, 0xc0003601c0)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/panichandler/panichandler.go:18
+0x6a
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]: panic(0xbfc700,
0xc00027b540)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/usr/local/go/src/runtime/panic.go:522 +0x1b5
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
github.com/inverse-inc/packetfence/go/caddy/pfipset.handleLayer2(0xe21300,
0xc0003601c0, 0xc000297500)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/pfipset/handlers.go:202
+0x935
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
net/http.HandlerFunc.ServeHTTP(0xd309b0, 0xe21300, 0xc0003601c0,
0xc000297500)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/usr/local/go/src/net/http/server.go:1995 +0x44
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
github.com/inverse-inc/packetfence/go/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc00028cfc0,
0xe21300, 0xc0003601c0, 0xc000297500)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/vendor/github.com/gorilla/mux/mux.go:159
+0xec
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
github.com/inverse-inc/packetfence/go/caddy/pfipset.PfipsetHandler.ServeHTTP(0xe12b00,
0xc000336480, 0xc0002520c0, 0xc0002b8600, 0xc00028cfc0, 0xe21300,
0xc0003601c0, 0xc000297200, 0x0, 0x0, ...)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/pfipset/pfipset.go:162
+0x1eb
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
github.com/inverse-inc/packetfence/go/caddy/pfconfig.PoolHandler.ServeHTTP(0xe12be0,
0xc0003364b0, 0xc0003273c0, 0xe21300, 0xc0003601c0, 0xc000297200,
0x0, 0x0, 0x0)
==> logs/httpd.api-frontend.access <==
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70929]:
api-frontend-access 127.0.0.1 - - [25/Apr/2019:18:56:13 +0200]
"POST /api/v1/ipset/mark_layer2?local=0 HTTP/1.1" 500 74 "-" "-"
==> logs/packetfence.log <==
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.webservices:
httpd.webservices(71109) ERROR: [mac:00:90:4b:6a:5c:39] Error
updating ipset /ipset/mark_layer2?local=0 : malformed JSON string,
neither tag, array, object, number, string or atom, at character
offset 0 (before "An internal error ha...") at
/usr/local/pf/lib/pf/api/unifiedapiclient.pm line 184.
(pf::ipset::call_ipsetd)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/pfconfig/pool.go:53
+0x142
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
github.com/inverse-inc/packetfence/go/caddy/statsd.Statsd.ServeHTTP(0xe12bc0,
0xc0002fb1a0, 0xe23880, 0xc00003e098, 0xc0001b5e00, 0xe21300,
0xc0003601c0, 0xc000297100, 0x50005a8ae9117b67, 0x61e3a308b2918356,
...)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/statsd/statsd.go:77
+0x157
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
github.com/inverse-inc/packetfence/go/caddy/logger.Logger.ServeHTTP(0xe12c40,
0xc0003364e0, 0xe23900, 0xc0001b5d10, 0x0, 0xe21300, 0xc0003601c0,
0xc000297000, 0xc00034ccc1, 0x18, ...)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/logger/logger.go:93
+0x165
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
github.com/inverse-inc/packetfence/go/caddy/caddy/caddyhttp/httpserver.(*Server).serveHTTP(0xc000330fc0,
0xe21300, 0xc0003601c0, 0xc000297000, 0xc0003a8088, 0xc0003108ec,
0xc000377d10)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/caddy/caddyhttp/httpserver/server.go:281
+0x2ed
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
github.com/inverse-inc/packetfence/go/caddy/caddy/caddyhttp/httpserver.(*Server).ServeHTTP(0xc000330fc0,
0xe21300, 0xc0003601c0, 0xc000297000)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/caddy/caddyhttp/httpserver/server.go:215
+0x180
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
net/http.serverHandler.ServeHTTP(0xc00028aea0, 0xe21300,
0xc0003601c0, 0xc000297000)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/usr/local/go/src/net/http/server.go:2774 +0xab
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
net/http.(*conn).serve(0xc0002ec140, 0xe23840, 0xc00019c1c0)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/usr/local/go/src/net/http/server.go:1878 +0x84c
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]: created by
net/http.(*Server).Serve
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70930]:
/usr/local/go/src/net/http/server.go:2884 +0x2f4
Apr 25 18:56:13 portailcaptif-wifi pfhttpd: Recovered panic: json:
cannot unmarshal number into Go struct field PostOptions.role_id of
type string.
Apr 25 18:56:13 portailcaptif-wifi pfhttpd: goroutine 53 [running]:
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
runtime/debug.Stack(0x68, 0x0, 0x0)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/usr/local/go/src/runtime/debug/stack.go:24 +0x9d
Apr 25 18:56:13 portailcaptif-wifi pfhttpd: runtime/debug.PrintStack()
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
github.com/inverse-inc/packetfence/go/panichandler.outputPanic(0xe23900,
0xc000337c50, 0xbfc700, 0xc00027b540)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/panichandler/panichandler.go:37
+0x161
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
github.com/inverse-inc/packetfence/go/panichandler.Http(0xe23900,
0xc000337c50, 0xe21300, 0xc0003601c0)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/panichandler/panichandler.go:18
+0x6a
Apr 25 18:56:13 portailcaptif-wifi pfhttpd: panic(0xbfc700,
0xc00027b540)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/usr/local/go/src/runtime/panic.go:522 +0x1b5
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
github.com/inverse-inc/packetfence/go/caddy/pfipset.handleLayer2(0xe21300,
0xc0003601c0, 0xc000297500)
Apr 25 18:56:13 portailcaptif-wifi pfipset[70930]:
t=2019-04-25T18:56:13+0200 lvl=info msg="Syncing to peers"
pid=70930 request-uuid=08a3e361-677b-11e9-8a5a-0050568391b2
Apr 25 18:56:13 portailcaptif-wifi pfipset[70930]:
t=2019-04-25T18:56:13+0200 lvl=eror msg="Recovered panic: json:
cannot unmarshal number into Go struct field PostOptions.role_id of
type string." pid=70930
request-uuid=08a3e361-677b-11e9-8a5a-0050568391b2
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/pfipset/handlers.go:202
+0x935
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
net/http.HandlerFunc.ServeHTTP(0xd309b0, 0xe21300, 0xc0003601c0,
0xc000297500)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/usr/local/go/src/net/http/server.go:1995 +0x44
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
github.com/inverse-inc/packetfence/go/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc00028cfc0,
0xe21300, 0xc0003601c0, 0xc000297500)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/vendor/github.com/gorilla/mux/mux.go:159
+0xec
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
github.com/inverse-inc/packetfence/go/caddy/pfipset.PfipsetHandler.ServeHTTP(0xe12b00,
0xc000336480, 0xc0002520c0, 0xc0002b8600, 0xc00028cfc0, 0xe21300,
0xc0003601c0, 0xc000297200, 0x0, 0x0, ...)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/pfipset/pfipset.go:162
+0x1eb
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
github.com/inverse-inc/packetfence/go/caddy/pfconfig.PoolHandler.ServeHTTP(0xe12be0,
0xc0003364b0, 0xc0003273c0, 0xe21300, 0xc0003601c0, 0xc000297200,
0x0, 0x0, 0x0)
==> logs/httpd.api-frontend.access <==
Apr 25 18:56:13 portailcaptif-wifi pfhttpd: api-frontend-access
127.0.0.1 - - [25/Apr/2019:18:56:13 +0200] "POST
/api/v1/ipset/mark_layer2?local=0 HTTP/1.1" 500 74 "-" "-"
==> logs/packetfence.log <==
Apr 25 18:56:13 portailcaptif-wifi packetfence_httpd.webservices:
httpd.webservices(71109) ERROR: [mac:00:90:4b:6a:5c:39] Error
updating ipset /ipset/mark_layer2?local=0 : malformed JSON string,
neither tag, array, object, number, string or atom, at character
offset 0 (before "An internal error ha...") at
/usr/local/pf/lib/pf/api/unifiedapiclient.pm line 184.
(pf::ipset::call_ipsetd)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/pfconfig/pool.go:53
+0x142
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
github.com/inverse-inc/packetfence/go/caddy/statsd.Statsd.ServeHTTP(0xe12bc0,
0xc0002fb1a0, 0xe23880, 0xc00003e098, 0xc0001b5e00, 0xe21300,
0xc0003601c0, 0xc000297100, 0x50005a8ae9117b67, 0x61e3a308b2918356,
...)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/statsd/statsd.go:77
+0x157
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
github.com/inverse-inc/packetfence/go/caddy/logger.Logger.ServeHTTP(0xe12c40,
0xc0003364e0, 0xe23900, 0xc0001b5d10, 0x0, 0xe21300, 0xc0003601c0,
0xc000297000, 0xc00034ccc1, 0x18, ...)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/logger/logger.go:93
+0x165
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
github.com/inverse-inc/packetfence/go/caddy/caddy/caddyhttp/httpserver.(*Server).serveHTTP(0xc000330fc0,
0xe21300, 0xc0003601c0, 0xc000297000, 0xc0003a8088, 0xc0003108ec,
0xc000377d10)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/caddy/caddyhttp/httpserver/server.go:281
+0x2ed
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
github.com/inverse-inc/packetfence/go/caddy/caddy/caddyhttp/httpserver.(*Server).ServeHTTP(0xc000330fc0,
0xe21300, 0xc0003601c0, 0xc000297000)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/tmp/buildd/packetfence-8.3.9/debian/tmp.qzHAWa1zRl/src/github.com/inverse-inc/packetfence/go/caddy/caddy/caddyhttp/httpserver/server.go:215
+0x180
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
net/http.serverHandler.ServeHTTP(0xc00028aea0, 0xe21300,
0xc0003601c0, 0xc000297000)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/usr/local/go/src/net/http/server.go:2774 +0xab
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
net/http.(*conn).serve(0xc0002ec140, 0xe23840, 0xc00019c1c0)
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/usr/local/go/src/net/http/server.go:1878 +0x84c
Apr 25 18:56:13 portailcaptif-wifi pfhttpd: created by
net/http.(*Server).Serve
Apr 25 18:56:13 portailcaptif-wifi pfhttpd:
/usr/local/go/src/net/http/server.go:2884 +0x2f4
==> logs/pfmon.log <==
Apr 25 18:56:13 portailcaptif-wifi pfmon: pfmon(71166) INFO:
[mac:unknown] deleted 0 entries from chi_cache for batch_delete
(1556211373 1556211373) (pf::dal::batch_remove)
==> logs/pfstats.log <==
Apr 25 18:56:13 portailcaptif-wifi pfstats[70940]:
t=2019-04-25T18:56:13+0200 lvl=info msg="Calling Unified API on
uri: https://127.0.0.1:9999/api/v1/queues/stats" pid=70940
==> logs/packetfence.log <==
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): GET "/api/v1/queues/stats" (Mojolicious::dispatch)
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): Routing to controller
"pf::UnifiedApi::Controller::Queues" and action "stats"
(Mojolicious::Routes::_controller)
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): cache get for namespace='Default',
key='HASH(0x55acc3e56d20)', cache='RawMemory', time='0ms': HIT
(CHI::Driver::_log_get_result)
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): 200 OK (0.001985s, 503.778/s)
(Mojolicious::Controller::rendered)
==> logs/httpd.api-frontend.access <==
Apr 25 18:56:13 portailcaptif-wifi pfhttpd[70929]:
api-frontend-access 127.0.0.1 - - [25/Apr/2019:18:56:13 +0200] "GET
/api/v1/queues/stats HTTP/1.1" 200 773 "-" "Go-http-client/1.1"
==> logs/pfmon.log <==
Apr 25 18:56:13 portailcaptif-wifi pfmon: pfmon(71166) INFO:
[mac:unknown] deleted 0 entries from chi_cache for batch_delete
(1556211373 1556211373) (pf::dal::batch_remove)
==> logs/pfstats.log <==
Apr 25 18:56:13 portailcaptif-wifi pfstats[70940]:
t=2019-04-25T18:56:13+0200 lvl=info msg="Calling Unified API on
uri: https://127.0.0.1:9999/api/v1/queues/stats" pid=70940
==> logs/packetfence.log <==
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): GET "/api/v1/queues/stats" (Mojolicious::dispatch)
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): Routing to controller
"pf::UnifiedApi::Controller::Queues" and action "stats"
(Mojolicious::Routes::_controller)
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): cache get for namespace='Default',
key='HASH(0x55acc3e56d20)', cache='RawMemory', time='0ms': HIT
(CHI::Driver::_log_get_result)
Apr 25 18:56:13 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): 200 OK (0.001985s, 503.778/s)
(Mojolicious::Controller::rendered)
==> logs/httpd.api-frontend.access <==
Apr 25 18:56:13 portailcaptif-wifi pfhttpd: api-frontend-access
127.0.0.1 - - [25/Apr/2019:18:56:13 +0200] "GET
/api/v1/queues/stats HTTP/1.1" 200 773 "-" "Go-http-client/1.1"
==> logs/pfstats.log <==
Apr 25 18:56:18 portailcaptif-wifi pfstats[70940]:
t=2019-04-25T18:56:18+0200 lvl=info msg="Calling Unified API on
uri: https://127.0.0.1:9999/api/v1/dhcp/stats" pid=70940
==> logs/httpd.api-frontend.access <==
Apr 25 18:56:18 portailcaptif-wifi pfhttpd[70929]:
api-frontend-access 127.0.0.1 - - [25/Apr/2019:18:56:18 +0200] "GET
/api/v1/dhcp/stats HTTP/1.1" 200 560 "-" "Go-http-client/1.1"
Apr 25 18:56:18 portailcaptif-wifi pfhttpd: api-frontend-access
127.0.0.1 - - [25/Apr/2019:18:56:18 +0200] "GET /api/v1/dhcp/stats
HTTP/1.1" 200 560 "-" "Go-http-client/1.1"
==> logs/pfstats.log <==
Apr 25 18:56:18 portailcaptif-wifi pfstats[70940]:
t=2019-04-25T18:56:18+0200 lvl=info msg="Calling Unified API on
uri: https://127.0.0.1:9999/api/v1/dhcp/stats" pid=70940
==> logs/pfmon.log <==
Apr 25 18:56:22 portailcaptif-wifi pfmon: pfmon(71166) INFO:
[mac:unknown] deleted 0 entries from chi_cache for batch_delete
(1556211382 1556211382) (pf::dal::batch_remove)
Apr 25 18:56:22 portailcaptif-wifi pfmon: pfmon(71166) INFO:
[mac:unknown] deleted 0 entries from chi_cache for batch_delete
(1556211382 1556211382) (pf::dal::batch_remove)
Apr 25 18:56:31 portailcaptif-wifi pfmon: pfmon(71166) INFO:
[mac:unknown] deleted 0 entries from chi_cache for batch_delete
(1556211391 1556211391) (pf::dal::batch_remove)
Apr 25 18:56:31 portailcaptif-wifi pfmon: pfmon(71166) INFO:
[mac:unknown] deleted 0 entries from chi_cache for batch_delete
(1556211391 1556211391) (pf::dal::batch_remove)
==> logs/pfstats.log <==
Apr 25 18:56:37 portailcaptif-wifi pfstats[70940]:
t=2019-04-25T18:56:37+0200 lvl=info msg="Calling Unified API on
uri: https://127.0.0.1:9999/api/v1/dhcp/stats" pid=70940
==> logs/httpd.api-frontend.access <==
Apr 25 18:56:37 portailcaptif-wifi pfhttpd[70929]:
api-frontend-access 127.0.0.1 - - [25/Apr/2019:18:56:37 +0200] "GET
/api/v1/dhcp/stats HTTP/1.1" 200 560 "-" "Go-http-client/1.1"
Apr 25 18:56:37 portailcaptif-wifi pfhttpd: api-frontend-access
127.0.0.1 - - [25/Apr/2019:18:56:37 +0200] "GET /api/v1/dhcp/stats
HTTP/1.1" 200 560 "-" "Go-http-client/1.1"
==> logs/pfstats.log <==
Apr 25 18:56:37 portailcaptif-wifi pfstats[70940]:
t=2019-04-25T18:56:37+0200 lvl=info msg="Calling Unified API on
uri: https://127.0.0.1:9999/api/v1/dhcp/stats" pid=70940
==> logs/pfmon.log <==
Apr 25 18:56:40 portailcaptif-wifi pfmon: pfmon(71166) INFO:
[mac:unknown] deleted 0 entries from chi_cache for batch_delete
(1556211400 1556211400) (pf::dal::batch_remove)
Apr 25 18:56:40 portailcaptif-wifi pfmon: pfmon(71166) INFO:
[mac:unknown] deleted 0 entries from chi_cache for batch_delete
(1556211400 1556211400) (pf::dal::batch_remove)
==> logs/pfstats.log <==
Apr 25 18:56:48 portailcaptif-wifi pfstats[70940]:
t=2019-04-25T18:56:48+0200 lvl=info msg="Calling Unified API on
uri: https://127.0.0.1:9999/api/v1/queues/stats" pid=70940
==> logs/packetfence.log <==
Apr 25 18:56:48 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): GET "/api/v1/queues/stats" (Mojolicious::dispatch)
Apr 25 18:56:48 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): Routing to controller
"pf::UnifiedApi::Controller::Queues" and action "stats"
(Mojolicious::Routes::_controller)
Apr 25 18:56:48 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): cache get for namespace='Default',
key='HASH(0x55acc3e56d20)', cache='RawMemory', time='0ms': HIT
(CHI::Driver::_log_get_result)
Apr 25 18:56:48 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): 200 OK (0.001633s, 612.370/s)
(Mojolicious::Controller::rendered)
==> logs/httpd.api-frontend.access <==
Apr 25 18:56:48 portailcaptif-wifi pfhttpd[70929]:
api-frontend-access 127.0.0.1 - - [25/Apr/2019:18:56:48 +0200] "GET
/api/v1/queues/stats HTTP/1.1" 200 773 "-" "Go-http-client/1.1"
Apr 25 18:56:48 portailcaptif-wifi pfhttpd: api-frontend-access
127.0.0.1 - - [25/Apr/2019:18:56:48 +0200] "GET
/api/v1/queues/stats HTTP/1.1" 200 773 "-" "Go-http-client/1.1"
==> logs/pfstats.log <==
Apr 25 18:56:48 portailcaptif-wifi pfstats[70940]:
t=2019-04-25T18:56:48+0200 lvl=info msg="Calling Unified API on
uri: https://127.0.0.1:9999/api/v1/queues/stats" pid=70940
==> logs/packetfence.log <==
Apr 25 18:56:48 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): GET "/api/v1/queues/stats" (Mojolicious::dispatch)
Apr 25 18:56:48 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): Routing to controller
"pf::UnifiedApi::Controller::Queues" and action "stats"
(Mojolicious::Routes::_controller)
Apr 25 18:56:48 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): cache get for namespace='Default',
key='HASH(0x55acc3e56d20)', cache='RawMemory', time='0ms': HIT
(CHI::Driver::_log_get_result)
Apr 25 18:56:48 portailcaptif-wifi packetfence: DEBUG
pfperl-api(70906): 200 OK (0.001633s, 612.370/s)
(Mojolicious::Controller::rendered)
==> logs/pfmon.log <==
Apr 25 18:56:49 portailcaptif-wifi pfmon: pfmon(71166) INFO:
[mac:unknown] deleted 0 entries from chi_cache for batch_delete
(1556211409 1556211409) (pf::dal::batch_remove)
Apr 25 18:56:49 portailcaptif-wifi pfmon: pfmon(71166) INFO:
[mac:unknown] deleted 0 entries from chi_cache for batch_delete
(1556211409 1556211409) (pf::dal::batch_remove)
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users