Skip to content

Instantly share code, notes, and snippets.

View nqb's full-sized avatar

Nicolas Quiniou-Briand nqb

  • Azyx
  • Rennes (35), France
View GitHub Profile
@nqb
nqb / exception.log
Created November 22, 2018 12:52
PacketFence http.admin.log
Nov 22 13:47:53 centos-devel httpd_admin: httpd.admin(3049) ERROR: [mac:unknown] Caught exception in pfappserver::Controller::Config::Source->update "Attribute (allowed_domains) does not pass the type constraint because: Validation failed for 'Maybe[ArrayRef[Str]]' with value foo.example.com at constructor pf::Authentication::Source::EmailSource::new (defined at /usr/local/pf/lib/pf/Authentication/Source/EmailSource.pm line 191) line 52.
pf::Authentication::Source::EmailSource::new('pf::Authentication::Source::EmailSource', 'HASH(0x55b429de8860)') called at /usr/local/pf/lib/pf/authentication.pm line 125
pf::authentication::newAuthenticationSource('Email', 'source', 'HASH(0x55b429de8218)') called at /usr/local/pf/lib/pfappserver/Form/Config/Source.pm line 383
pfappserver::Form::Config::Source::get_source('pfappserver::Form::Config::Source::Email=HASH(0x55b4462458a8)') called at /usr/local/pf/lib/pfappserver/Form/Field/SourceRuleAction.pm line 53
pfappserver::Form::Field::SourceRuleAction::options_type('HT
Dec 10 10:11:07 centos-devel httpd_admin: httpd.admin(21724) ERROR: [mac:unknown] Caught exception in pfappserver::Controller::Config::Source->update "Attribute (banned_domains) does not pass the type constraint because: Validation failed for 'Maybe[ArrayRef[Str]]' with value at constructor pf::Authentication::Source::EmailSource::new (defined at /usr/local/pf/lib/pf/Authentication/Source/EmailSource.pm line 142) line 41.
pf::Authentication::Source::EmailSource::new('pf::Authentication::Source::EmailSource', 'HASH(0x5601d952be70)') called at /usr/local/pf/lib/pf/authentication.pm line 125
pf::authentication::newAuthenticationSource('Email', 'source', 'HASH(0x5601d952c290)') called at /usr/local/pf/lib/pfappserver/Form/Config/Source.pm line 383
pfappserver::Form::Config::Source::get_source('pfappserver::Form::Config::Source::Email=HASH(0x5601ec396b28)') called at /usr/local/pf/lib/pfappserver/Form/Field/SourceRuleAction.pm line 53
pfappserver::Form::Field::SourceRuleAction::options_type('HTML::FormHandler
{
"access_duration": "12h",
"actions": [
"email_admin",
"reevaluate_access"
],
"auto_enable": "Y",
"button_text": "Enable Network",
"delay_by": {
"interval": null,
# apt update
Err:1 https://security.debian.org buster/updates InRelease
Reading from proxy failed - read (5: Input/output error) [IP: 172.28.128.7 443]
Err:2 https://deb.debian.org/debian buster InRelease
Reading from proxy failed - read (5: Input/output error) [IP: 172.28.128.7 443]
Err:3 https://deb.debian.org/debian buster-updates InRelease
Reading from proxy failed - read (5: Input/output error) [IP: 172.28.128.7 443]
Err:4 https://deb.debian.org/debian buster-backports InRelease
Reading from proxy failed - read (5: Input/output error) [IP: 172.28.128.7 443]
Reading package lists... Done
vagrant@debops:~/src/controller$ sudo tail /var/log/nginx/access.log
::ffff:172.28.128.8 - - [30/Aug/2019:05:03:33 +0000] "GET http://deb.debian.org/debian/dists/buster/InRelease HTTP/1.1" 301 178 "-" "Debian APT-HTTP/1.3 (1.8.2)"
::ffff:172.28.128.8 - - [30/Aug/2019:05:03:33 +0000] "GET http://security.debian.org/dists/buster/updates/InRelease HTTP/1.1" 301 178 "-" "Debian APT-HTTP/1.3 (1.8.2)"
::ffff:172.28.128.8 - - [30/Aug/2019:05:03:33 +0000] "GET http://deb.debian.org/debian/dists/buster-updates/InRelease HTTP/1.1" 301 178 "-" "Debian APT-HTTP/1.3 (1.8.2)"
::ffff:172.28.128.8 - - [30/Aug/2019:05:03:33 +0000] "GET http://deb.debian.org/debian/dists/buster-backports/InRelease HTTP/1.1" 301 178 "-" "Debian APT-HTTP/1.3 (1.8.2)"
vagrant@debops:~/src/controller$ sudo tail /var/log/nginx/debops.apt_cacher_ng_https_access.log
::ffff:172.28.128.8 - - [30/Aug/2019:05:03:34 +0000] "CONNECT security.debian.org:443 HTTP/1.1" 400 166 "-" "-"
::ffff:172.28.128.8 - - [30/Aug/2019:05:03:34 +0000] "CONNECT deb.debian.
$ vagrant version --debug
INFO global: Vagrant version: 2.2.5
INFO global: Ruby version: 2.4.6
INFO global: RubyGems version: 2.6.14.4
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.5/gems/vagrant-2.2.5/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_LOG="debug"
WARN global: resolv replacement has not been enabled!
603893f2b4fcfb860361e2f634b1e83d dist/css/chunk-vendors.65b72d20.css
2e903cf87d27fd5d572bfeffd924f197 dist/css/app.216ca640.css
b79d020c2579dcdc474123641cf98c30 dist/css/Configuration~Editor.a52444d2.css
93a6bd9818937e20a85ea2bd6234f8d4 dist/css/Editor.4fe9a8db.css
715b65fc3b6ad91786b81d31527c51f9 dist/css/Nodes.64f3c167.css
a031779514abe862d7dbd2c4400bdeaf dist/css/Configuration.f3aa24b2.css
74bd3d25f83a57912bf6f1cad6c927d0 dist/css/Reports.930302c0.css
54559234971c721637c3bebf9149bc0f dist/css/Configuration~Editor~Users.2075f1de.css
7131431f014214eee0b819ed149e7b81 dist/css/Users.86077297.css
f250618c31a3e5006ca4074da4fb3862 dist/fonts/b612-mono-latin-400.f250618c.woff
603893f2b4fcfb860361e2f634b1e83d dist/css/chunk-vendors.65b72d20.css
2e903cf87d27fd5d572bfeffd924f197 dist/css/app.216ca640.css
b79d020c2579dcdc474123641cf98c30 dist/css/Configuration~Editor.a52444d2.css
93a6bd9818937e20a85ea2bd6234f8d4 dist/css/Editor.4fe9a8db.css
715b65fc3b6ad91786b81d31527c51f9 dist/css/Nodes.64f3c167.css
a031779514abe862d7dbd2c4400bdeaf dist/css/Configuration.f3aa24b2.css
74bd3d25f83a57912bf6f1cad6c927d0 dist/css/Reports.930302c0.css
54559234971c721637c3bebf9149bc0f dist/css/Configuration~Editor~Users.2075f1de.css
7131431f014214eee0b819ed149e7b81 dist/css/Users.86077297.css
f250618c31a3e5006ca4074da4fb3862 dist/fonts/b612-mono-latin-400.f250618c.woff
@nqb
nqb / gist:9c3907deabcc8e11ab517b4463a4f13d
Last active November 19, 2019 07:33
radius_log entry
MariaDB [pf]> select * from radius_audit_log\G;
*************************** 1. row ***************************
id: 1
tenant_id: 1
created_at: 2019-11-19 07:27:39
mac: 02:00:00:00:00:01
ip:
computer_name: N/A
user_name: inverse
stripped_user_name: inverse
Jan 21 11:44:27 pfcen7stable pfqueue: pfqueue(13684) INFO: [mac:11:11:11:11:11:88] switch: $VAR1 = \bless( {
'_vlans' => {
'isolation' => '3',
'REJECT' => '-1',
'voice' => '5',
'inline' => '6',
'normal' => '1',
'registration' => '2'
},
'_id' => '192.168.0.8',