[prev in list] [next in list] [prev in thread] [next in thread] 

List:       packetfence-users
Subject:    Re: [PacketFence-users] SG300 port showing up wrong
From:       Stuart Gendron via PacketFence-users <packetfence-users () lists ! sourceforge ! net>
Date:       2019-05-23 15:26:34
Message-ID: CABEfn23bv6Ju9OzjU7YSyUbZnftmQGgguRUw=azeUrH5MG_0+Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


As requested:

request_time 0
RADIUS Request User-Name = "testradius"
NAS-IP-Address = 10.100.64.67
NAS-Port = 49
State = 0x1feaf54a1efeef2b6fdba9e21c346c92
Called-Station-Id = "88:f0:77:d9:b2:48"
Calling-Station-Id = "0c:4d:e9:b9:23:ac"
NAS-Port-Type = Ethernet
Acct-Session-Id = "050000FD"
Event-Timestamp = "May 23 2019 11:24:40 EDT"
EAP-Message = 0x021400061a03
FreeRADIUS-Proxied-To = 127.0.0.1
EAP-Type = MSCHAPv2
Stripped-User-Name = "testradius"
Realm = "null"
PacketFence-Domain = "YOUITV"
User-Password = "******"
SQL-User-Name = "testradius"
RADIUS Reply EAP-Message = 0x03140004
Message-Authenticator = 0x00000000000000000000000000000000
User-Name = "testradius"
Tunnel-Type = VLAN
Tunnel-Private-Group-Id = "88"
Tunnel-Medium-Type = IEEE-802

On Wed, May 22, 2019 at 10:16 PM Durand fabrice <fdurand@inverse.ca> wrote:

> can i also ask you to have a copy of the radius request ?
> 
> in the auditing tab click on the + on the left of the mac address then go
> in the radius tab.
> 
> https://mgmt_ip:1443/admin/auditing
> 
> Thanks
> 
> Fabrice
> 
> 
> Le 19-05-22 à 12 h 46, Stuart Gendron a écrit :
> 
> I assume I could make a copy of the SG300.pm file and have separate ones
> for 24 and 48 port switches?
> 
> Here's the info you requested:
> 
> IF-MIB::ifDescr.49 = STRING: gigabitethernet1
> IF-MIB::ifDescr.50 = STRING: gigabitethernet2
> IF-MIB::ifDescr.51 = STRING: gigabitethernet3
> IF-MIB::ifDescr.52 = STRING: gigabitethernet4
> IF-MIB::ifDescr.53 = STRING: gigabitethernet5
> IF-MIB::ifDescr.54 = STRING: gigabitethernet6
> IF-MIB::ifDescr.55 = STRING: gigabitethernet7
> IF-MIB::ifDescr.56 = STRING: gigabitethernet8
> IF-MIB::ifDescr.57 = STRING: gigabitethernet9
> IF-MIB::ifDescr.58 = STRING: gigabitethernet10
> IF-MIB::ifDescr.59 = STRING: gigabitethernet11
> IF-MIB::ifDescr.60 = STRING: gigabitethernet12
> IF-MIB::ifDescr.61 = STRING: gigabitethernet13
> IF-MIB::ifDescr.62 = STRING: gigabitethernet14
> IF-MIB::ifDescr.63 = STRING: gigabitethernet15
> IF-MIB::ifDescr.64 = STRING: gigabitethernet16
> IF-MIB::ifDescr.65 = STRING: gigabitethernet17
> IF-MIB::ifDescr.66 = STRING: gigabitethernet18
> IF-MIB::ifDescr.67 = STRING: gigabitethernet19
> IF-MIB::ifDescr.68 = STRING: gigabitethernet20
> IF-MIB::ifDescr.69 = STRING: gigabitethernet21
> IF-MIB::ifDescr.70 = STRING: gigabitethernet22
> IF-MIB::ifDescr.71 = STRING: gigabitethernet23
> IF-MIB::ifDescr.72 = STRING: gigabitethernet24
> IF-MIB::ifDescr.73 = STRING: gigabitethernet25
> IF-MIB::ifDescr.74 = STRING: gigabitethernet26
> IF-MIB::ifDescr.75 = STRING: gigabitethernet27
> IF-MIB::ifDescr.76 = STRING: gigabitethernet28
> IF-MIB::ifDescr.77 = STRING: gigabitethernet29
> IF-MIB::ifDescr.78 = STRING: gigabitethernet30
> IF-MIB::ifDescr.79 = STRING: gigabitethernet31
> IF-MIB::ifDescr.80 = STRING: gigabitethernet32
> IF-MIB::ifDescr.81 = STRING: gigabitethernet33
> IF-MIB::ifDescr.82 = STRING: gigabitethernet34
> IF-MIB::ifDescr.83 = STRING: gigabitethernet35
> IF-MIB::ifDescr.84 = STRING: gigabitethernet36
> IF-MIB::ifDescr.85 = STRING: gigabitethernet37
> IF-MIB::ifDescr.86 = STRING: gigabitethernet38
> IF-MIB::ifDescr.87 = STRING: gigabitethernet39
> IF-MIB::ifDescr.88 = STRING: gigabitethernet40
> IF-MIB::ifDescr.89 = STRING: gigabitethernet41
> IF-MIB::ifDescr.90 = STRING: gigabitethernet42
> IF-MIB::ifDescr.91 = STRING: gigabitethernet43
> IF-MIB::ifDescr.92 = STRING: gigabitethernet44
> IF-MIB::ifDescr.93 = STRING: gigabitethernet45
> IF-MIB::ifDescr.94 = STRING: gigabitethernet46
> IF-MIB::ifDescr.95 = STRING: gigabitethernet47
> IF-MIB::ifDescr.96 = STRING: gigabitethernet48
> IF-MIB::ifDescr.97 = STRING: gigabitethernet49
> IF-MIB::ifDescr.98 = STRING: gigabitethernet50
> IF-MIB::ifDescr.99 = STRING: gigabitethernet51
> IF-MIB::ifDescr.100 = STRING: gigabitethernet52
> IF-MIB::ifDescr.1000 = STRING: Po1
> IF-MIB::ifDescr.1001 = STRING: Po2
> IF-MIB::ifDescr.1002 = STRING: Po3
> IF-MIB::ifDescr.1003 = STRING: Po4
> IF-MIB::ifDescr.1004 = STRING: Po5
> IF-MIB::ifDescr.1005 = STRING: Po6
> IF-MIB::ifDescr.1006 = STRING: Po7
> IF-MIB::ifDescr.1007 = STRING: Po8
> IF-MIB::ifDescr.3000 = STRING: tunnel1
> IF-MIB::ifDescr.7000 = STRING: loopback1
> IF-MIB::ifDescr.20000 = STRING: Logical-int 1
> IF-MIB::ifDescr.100000 = STRING: 1
> IF-MIB::ifDescr.100063 = STRING: 64
> IF-MIB::ifDescr.100067 = STRING: 68
> IF-MIB::ifDescr.100071 = STRING: 72
> IF-MIB::ifDescr.100075 = STRING: 76
> IF-MIB::ifDescr.100085 = STRING: 86
> IF-MIB::ifDescr.100087 = STRING: 88
> IF-MIB::ifDescr.100095 = STRING: 96
> IF-MIB::ifDescr.100099 = STRING: 100
> IF-MIB::ifDescr.300000 = STRING: 64
> 
> On Tue, May 21, 2019 at 9:02 PM Durand fabrice <fdurand@inverse.ca> wrote:
> 
> > So you can just change this line:
> > 
> > 
> > https://github.com/inverse-inc/packetfence/blob/devel/lib/pf/Switch/Cisco/SG300.pm#L91
> >  
> > with that:
> > 
> > return $NAS_port - 48;
> > 
> > My only concert is about other sg300 switches with let's say 24 port ....
> > 
> > Last thing, can you do a snmpwalk on the oid 1.3.6.1.2.1.2.2.1.2 and
> > paste the result ?
> > 
> > Regards
> > 
> > Fabrice
> > 
> > 
> > Le 19-05-21 à 13 h 24, Stuart Gendron a écrit :
> > 
> > Correct - it seems that the proper port for the SG300 switches is n-48
> > (where 48 is however many ports it has).
> > 
> > Is this a global change, or can be tied to the device profile itself?
> > 
> > On Tue, May 21, 2019 at 12:36 PM Fabrice Durand <fdurand@inverse.ca>
> > wrote:
> > 
> > > Hello Stuart,
> > > 
> > > yes it's possible but when you plug in the port 2 is it the port 50 who
> > > appear in the log ?
> > > 
> > > Regards
> > > 
> > > Fabrice
> > > 
> > > 
> > > Le 19-05-21 à 11 h 42, Stuart Gendron a écrit :
> > > 
> > > Logs below:
> > > 
> > > May 21 11:39:50 youi-packetfence-p1 auth[25948]: rlm_sql (sql): Closing
> > > connection (106): Hit idle_timeout, was idle for 431977 seconds
> > > May 21 11:39:50 youi-packetfence-p1 auth[25948]: rlm_sql (sql): Closing
> > > connection (108): Hit idle_timeout, was idle for 431977 seconds
> > > May 21 11:39:50 youi-packetfence-p1 auth[25948]: rlm_sql (sql): Closing
> > > connection (107): Hit idle_timeout, was idle for 431977 seconds
> > > May 21 11:39:50 youi-packetfence-p1 auth[25948]: rlm_sql (sql): Closing
> > > connection (105): Hit idle_timeout, was idle for 431977 seconds
> > > May 21 11:39:50 youi-packetfence-p1 auth[25948]: rlm_sql (sql): Opening
> > > additional connection (109), 1 of 64 pending slots used
> > > May 21 11:39:50 youi-packetfence-p1 auth[25948]: Need 2 more connections
> > > to reach min connections (3)
> > > May 21 11:39:50 youi-packetfence-p1 auth[25948]: rlm_sql (sql): Opening
> > > additional connection (110), 1 of 63 pending slots used
> > > May 21 11:39:50 youi-packetfence-p1 auth[25948]: rlm_rest (rest):
> > > Closing connection (98): Hit idle_timeout, was idle for 431989 seconds
> > > May 21 11:39:50 youi-packetfence-p1 auth[25948]: rlm_rest (rest):
> > > Closing connection (97): Hit idle_timeout, was idle for 431977 seconds
> > > May 21 11:39:50 youi-packetfence-p1 auth[25948]: rlm_rest (rest):
> > > Closing connection (99): Hit idle_timeout, was idle for 431977 seconds
> > > May 21 11:39:50 youi-packetfence-p1 auth[25948]: rlm_rest (rest):
> > > Opening additional connection (100), 1 of 64 pending slots used
> > > May 21 11:39:51 youi-packetfence-p1 auth[25948]: Need 2 more connections
> > > to reach min connections (3)
> > > May 21 11:39:51 youi-packetfence-p1 auth[25948]: rlm_rest (rest):
> > > Opening additional connection (101), 1 of 63 pending slots used
> > > May 21 11:39:51 youi-packetfence-p1 auth[25948]: Need 1 more connections
> > > to reach min connections (3)
> > > May 21 11:39:51 youi-packetfence-p1 auth[25948]: rlm_sql (sql): Opening
> > > additional connection (111), 1 of 62 pending slots used
> > > May 21 11:39:51 youi-packetfence-p1 auth[25948]: [mac:0c:4d:e9:b9:23:ac]
> > > Rejected user: 0c4de9b923ac
> > > May 21 11:39:51 youi-packetfence-p1 auth[25948]: (41096) Rejected in
> > > post-auth: [0c4de9b923ac] (from client 10.100.64.67 port 49 cli
> > > 0c:4d:e9:b9:23:ac)
> > > May 21 11:39:51 youi-packetfence-p1 auth[25948]: (41096) Login
> > > incorrect: [0c4de9b923ac] (from client 10.100.64.67 port 49 cli
> > > 0c:4d:e9:b9:23:ac)
> > > May 21 11:40:02 youi-packetfence-p1 auth[25948]: Need 7 more connections
> > > to reach 10 spares
> > > May 21 11:40:02 youi-packetfence-p1 auth[25948]: rlm_sql (sql): Opening
> > > additional connection (112), 1 of 61 pending slots used
> > > May 21 11:40:02 youi-packetfence-p1 auth[25948]: Need 1 more connections
> > > to reach min connections (3)
> > > May 21 11:40:02 youi-packetfence-p1 auth[25948]: rlm_rest (rest):
> > > Opening additional connection (102), 1 of 62 pending slots used
> > > May 21 11:40:02 youi-packetfence-p1 auth[25948]: (41106)   Login OK:
> > > [testradius] (from client 10.100.64.67 port 49 cli 0c:4d:e9:b9:23:ac via
> > > TLS tunnel)
> > > May 21 11:40:02 youi-packetfence-p1 auth[25948]: [mac:0c:4d:e9:b9:23:ac]
> > > Accepted user: testradius and returned VLAN 88
> > > May 21 11:40:02 youi-packetfence-p1 auth[25948]: (41107) Login OK:
> > > [testradius] (from client 10.100.64.67 port 49 cli 0c:4d:e9:b9:23:ac)
> > > 
> > > Looks like it's also sending port 49.
> > > 
> > > Is there somewhere to make a modification where I can say $Port = $Port
> > > - 48 or something?
> > > 
> > > On Thu, May 16, 2019 at 9:27 PM Durand fabrice <fdurand@inverse.ca>
> > > wrote:
> > > 
> > > > Hello Stuart,
> > > > 
> > > > it looks that the port is set to 49 in the radius request:
> > > > 
> > > > May 16 11:40:01 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] handling radius autz request:
> > > > from switch_ip => (10.100.64.67), connection_type =>
> > > > Ethernet-NoEAP,switch_mac => (88:f0:77:d9:b2:48), mac =>
> > > > [78:7b:8a:d3:ae:74], port => 49, username => "787b8ad3ae74"
> > > > (pf::radius::authorize)
> > > > 
> > > > Are you able to check in the radius auditing what is the radius request
> > > > (with all the attributes) and paste it to me ?
> > > > 
> > > > Regards
> > > > 
> > > > Fabrice
> > > > 
> > > > 
> > > > Le 19-05-16 à 11 h 41, Stuart Gendron a écrit :
> > > > 
> > > > Logs below:
> > > > 
> > > > [root@youi-packetfence-p1 ~]# tail -f
> > > > /usr/local/pf/logs/packetfence.log| grep 78:7b:8a:d3:ae:74
> > > > May 16 11:40:01 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] handling radius autz request:
> > > > from switch_ip => (10.100.64.67), connection_type =>
> > > > Ethernet-NoEAP,switch_mac => (88:f0:77:d9:b2:48), mac =>
> > > > [78:7b:8a:d3:ae:74], port => 49, username => "787b8ad3ae74"
> > > > (pf::radius::authorize)
> > > > May 16 11:40:01 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] Instantiate profile default
> > > > (pf::Connection::ProfileFactory::_from_profile)
> > > > May 16 11:40:01 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] Match rule
> > > > mac_lan:unknown&pf_wired_mac_auth (pf::access_filter::test)
> > > > May 16 11:40:01 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] vlan filter match ; belongs
> > > > into REJECT VLAN (pf::role::getRegistrationRole)
> > > > May 16 11:40:01 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] According to rules in
> > > > fetchRoleForNode this node must be kicked out. Returning USERLOCK
> > > > (pf::Switch::handleRadiusDeny)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] handling radius autz request:
> > > > from switch_ip => (10.100.64.67), connection_type =>
> > > > Ethernet-EAP,switch_mac => (88:f0:77:d9:b2:48), mac => [78:7b:8a:d3:ae:74],
> > > > port => 49, username => "testradius" (pf::radius::authorize)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] Instantiate profile 802.1x
> > > > (pf::Connection::ProfileFactory::_from_profile)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] Found authentication
> > > > source(s) : 'YOUI-DC-P1' for realm 'null'
> > > > (pf::config::util::filter_authentication_sources)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) WARN: [mac:78:7b:8a:d3:ae:74] Calling match with
> > > > empty/invalid rule class. Defaulting to 'authentication'
> > > > (pf::authentication::match2)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] Using sources YOUI-DC-P1 for
> > > > matching (pf::authentication::match2)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] LDAP testing connection
> > > > (pf::LDAP::expire_if)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) ERROR: [mac:78:7b:8a:d3:ae:74] Error binding: 'Connection
> > > > reset by peer' (pf::LDAP::log_error_msg)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) WARN: [mac:78:7b:8a:d3:ae:74] LDAP connection expired
> > > > (pf::LDAP::expire_if)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] Matched rule
> > > > (youi_tv_employees) in source YOUI-DC-P1, returning actions.
> > > > (pf::Authentication::Source::match_rule)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] Matched rule
> > > > (youi_tv_employees) in source YOUI-DC-P1, returning actions.
> > > > (pf::Authentication::Source::match)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] Role has already been
> > > > computed and we don't want to recompute it. Getting role from node_info
> > > > (pf::role::getRegisteredRole)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] Username was defined
> > > > "testradius" - returning role 'default' (pf::role::getRegisteredRole)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] PID: "testradius", Status:
> > > > reg Returned VLAN: (undefined), Role: default (pf::role::fetchRoleForNode)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] (10.100.64.67) Added VLAN 88
> > > > to the returned RADIUS Access-Accept (pf::Switch::returnRadiusAccessAccept)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] violation 1300003
> > > > force-closed for 78:7b:8a:d3:ae:74 (pf::violation::violation_force_close)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] Instantiate profile 802.1x
> > > > (pf::Connection::ProfileFactory::_from_profile)
> > > > May 16 11:40:13 youi-packetfence-p1 packetfence_httpd.aaa:
> > > > httpd.aaa(6346) INFO: [mac:78:7b:8a:d3:ae:74] Updating locationlog from
> > > > accounting request (pf::api::handle_accounting_metadata)
> > > > May 16 11:40:14 youi-packetfence-p1 pfqueue: pfqueue(18291) WARN:
> > > > [mac:78:7b:8a:d3:ae:74] Unable to match MAC address to IP '10.100.90.109'
> > > > (pf::ip4log::ip2mac)
> > > > 
> > > > On Tue, May 14, 2019 at 9:18 PM Durand fabrice via PacketFence-users <
> > > > packetfence-users@lists.sourceforge.net> wrote:
> > > > 
> > > > > Hello Stuart,
> > > > > 
> > > > > can you paste the log when you plug in the switch port ?
> > > > > 
> > > > > tail -f /usr/local/pf/logs/packetfence.log| grep 00:11:22:33:44:55
> > > > > 
> > > > > with the real mac address of course.
> > > > > 
> > > > > Regards
> > > > > 
> > > > > Fabrice
> > > > > 
> > > > > 
> > > > > Le 19-05-14 à 10 h 43, Stuart Gendron via PacketFence-users a écrit :
> > > > > 
> > > > > 
> > > > > Hey there,
> > > > > 
> > > > > Was wondering if anyone else has their ports showing up wrong for
> > > > > Cisco SG300 switches?
> > > > > 
> > > > > This is when plugged into port 1 on a 48 port switch:
> > > > > 
> > > > > [image: Screen Shot 2019-05-14 at 10.42.07 AM.png]
> > > > > 
> > > > > If there's a way to fix it that'd be really appreciated :-)
> > > > > 
> > > > > 
> > > > > --
> > > > > 
> > > > > *Stuart Gendron*
> > > > > IT Support Specialist
> > > > > 
> > > > > *You.i Labs*
> > > > > 307 Legget Drive, Kanata, ON, K2K 3C8
> > > > > <https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&entry=gmail&source=g>
> > > > >  t (613) 228-9107 x258 | c (613) 697-6853
> > > > > 
> > > > > 
> > > > > _______________________________________________
> > > > > PacketFence-users mailing \
> > > > > listPacketFence-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/packetfence-users
> > > > >  
> > > > > _______________________________________________
> > > > > PacketFence-users mailing list
> > > > > PacketFence-users@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/packetfence-users
> > > > > 
> > > > 
> > > > 
> > > > --
> > > > 
> > > > *Stuart Gendron*
> > > > IT Support Specialist
> > > > 
> > > > *You.i Labs*
> > > > 307 Legget Drive, Kanata, ON, K2K 3C8
> > > > <https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&entry=gmail&source=g>
> > > >  t (613) 228-9107 x258 | c (613) 697-6853
> > > > 
> > > > 
> > > 
> > > --
> > > 
> > > *Stuart Gendron*
> > > IT Support Specialist
> > > 
> > > *You.i Labs*
> > > 307 Legget Drive, Kanata, ON, K2K 3C8
> > > <https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&entry=gmail&source=g>
> > >  t (613) 228-9107 x258 | c (613) 697-6853
> > > 
> > > --
> > > Fabrice Durandfdurand@inverse.ca ::  +1.514.447.4918 (x135) ::  www.inverse.ca
> > > Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence \
> > > (http://packetfence.org) 
> > > 
> > 
> > --
> > 
> > *Stuart Gendron*
> > IT Support Specialist
> > 
> > *You.i Labs*
> > 307 Legget Drive, Kanata, ON, K2K 3C8
> > <https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&entry=gmail&source=g>
> >  t (613) 228-9107 x258 | c (613) 697-6853
> > 
> > 
> 
> --
> 
> *Stuart Gendron*
> IT Support Specialist
> 
> *You.i Labs*
> 307 Legget Drive, Kanata, ON, K2K 3C8
> <https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&entry=gmail&source=g>
>  t (613) 228-9107 x258 | c (613) 697-6853
> 
> 

-- 

*Stuart Gendron*
IT Support Specialist

*You.i Labs*
307 Legget Drive, Kanata, ON, K2K 3C8
<https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&entry=gmail&source=g>
 t (613) 228-9107 x258 | c (613) 697-6853


[Attachment #7 (text/html)]

<div dir="ltr">As requested:<div><br></div><div>request_time	0<br>RADIUS \
Request	User-Name = &quot;testradius&quot;<br>NAS-IP-Address = \
10.100.64.67<br>NAS-Port = 49<br>State = \
0x1feaf54a1efeef2b6fdba9e21c346c92<br>Called-Station-Id = \
&quot;88:f0:77:d9:b2:48&quot;<br>Calling-Station-Id = \
&quot;0c:4d:e9:b9:23:ac&quot;<br>NAS-Port-Type = Ethernet<br>Acct-Session-Id = \
&quot;050000FD&quot;<br>Event-Timestamp = &quot;May 23 2019 11:24:40 \
EDT&quot;<br>EAP-Message = 0x021400061a03<br>FreeRADIUS-Proxied-To = \
127.0.0.1<br>EAP-Type = MSCHAPv2<br>Stripped-User-Name = \
&quot;testradius&quot;<br>Realm = &quot;null&quot;<br>PacketFence-Domain = \
&quot;YOUITV&quot;<br>User-Password = &quot;******&quot;<br>SQL-User-Name = \
&quot;testradius&quot;<br>RADIUS Reply	EAP-Message = \
0x03140004<br>Message-Authenticator = 0x00000000000000000000000000000000<br>User-Name \
= &quot;testradius&quot;<br>Tunnel-Type = VLAN<br>Tunnel-Private-Group-Id = \
&quot;88&quot;<br>Tunnel-Medium-Type = IEEE-802<br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 22, 2019 at 10:16 \
PM Durand fabrice &lt;<a href="mailto:fdurand@inverse.ca">fdurand@inverse.ca</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">  
    
  
  <div bgcolor="#FFFFFF">
    <p>can i also ask you to have a copy of the radius request ?</p>
    <p>in the auditing tab click on the + on the left of the mac address
      then go in the radius tab.</p>
    <p><a class="gmail-m_-245779018951345595moz-txt-link-freetext" \
href="https://mgmt_ip:1443/admin/auditing" \
target="_blank">https://mgmt_ip:1443/admin/auditing</a></p>  <p>Thanks</p>
    <p>Fabrice</p>
    <p><br>
    </p>
    <div class="gmail-m_-245779018951345595moz-cite-prefix">Le 19-05-22 Ã  12 h 46, \
Stuart Gendron a  écrit  :<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">I assume I could make a copy of the SG300.pm file
        and have separate ones for 24 and 48 port switches?
        <div><br>
        </div>
        <div>Here&#39;s the info you requested:</div>
        <div><br>
        </div>
        <div>IF-MIB::ifDescr.49 = STRING: gigabitethernet1<br>
          IF-MIB::ifDescr.50 = STRING: gigabitethernet2<br>
          IF-MIB::ifDescr.51 = STRING: gigabitethernet3<br>
          IF-MIB::ifDescr.52 = STRING: gigabitethernet4<br>
          IF-MIB::ifDescr.53 = STRING: gigabitethernet5<br>
          IF-MIB::ifDescr.54 = STRING: gigabitethernet6<br>
          IF-MIB::ifDescr.55 = STRING: gigabitethernet7<br>
          IF-MIB::ifDescr.56 = STRING: gigabitethernet8<br>
          IF-MIB::ifDescr.57 = STRING: gigabitethernet9<br>
          IF-MIB::ifDescr.58 = STRING: gigabitethernet10<br>
          IF-MIB::ifDescr.59 = STRING: gigabitethernet11<br>
          IF-MIB::ifDescr.60 = STRING: gigabitethernet12<br>
          IF-MIB::ifDescr.61 = STRING: gigabitethernet13<br>
          IF-MIB::ifDescr.62 = STRING: gigabitethernet14<br>
          IF-MIB::ifDescr.63 = STRING: gigabitethernet15<br>
          IF-MIB::ifDescr.64 = STRING: gigabitethernet16<br>
          IF-MIB::ifDescr.65 = STRING: gigabitethernet17<br>
          IF-MIB::ifDescr.66 = STRING: gigabitethernet18<br>
          IF-MIB::ifDescr.67 = STRING: gigabitethernet19<br>
          IF-MIB::ifDescr.68 = STRING: gigabitethernet20<br>
          IF-MIB::ifDescr.69 = STRING: gigabitethernet21<br>
          IF-MIB::ifDescr.70 = STRING: gigabitethernet22<br>
          IF-MIB::ifDescr.71 = STRING: gigabitethernet23<br>
          IF-MIB::ifDescr.72 = STRING: gigabitethernet24<br>
          IF-MIB::ifDescr.73 = STRING: gigabitethernet25<br>
          IF-MIB::ifDescr.74 = STRING: gigabitethernet26<br>
          IF-MIB::ifDescr.75 = STRING: gigabitethernet27<br>
          IF-MIB::ifDescr.76 = STRING: gigabitethernet28<br>
          IF-MIB::ifDescr.77 = STRING: gigabitethernet29<br>
          IF-MIB::ifDescr.78 = STRING: gigabitethernet30<br>
          IF-MIB::ifDescr.79 = STRING: gigabitethernet31<br>
          IF-MIB::ifDescr.80 = STRING: gigabitethernet32<br>
          IF-MIB::ifDescr.81 = STRING: gigabitethernet33<br>
          IF-MIB::ifDescr.82 = STRING: gigabitethernet34<br>
          IF-MIB::ifDescr.83 = STRING: gigabitethernet35<br>
          IF-MIB::ifDescr.84 = STRING: gigabitethernet36<br>
          IF-MIB::ifDescr.85 = STRING: gigabitethernet37<br>
          IF-MIB::ifDescr.86 = STRING: gigabitethernet38<br>
          IF-MIB::ifDescr.87 = STRING: gigabitethernet39<br>
          IF-MIB::ifDescr.88 = STRING: gigabitethernet40<br>
          IF-MIB::ifDescr.89 = STRING: gigabitethernet41<br>
          IF-MIB::ifDescr.90 = STRING: gigabitethernet42<br>
          IF-MIB::ifDescr.91 = STRING: gigabitethernet43<br>
          IF-MIB::ifDescr.92 = STRING: gigabitethernet44<br>
          IF-MIB::ifDescr.93 = STRING: gigabitethernet45<br>
          IF-MIB::ifDescr.94 = STRING: gigabitethernet46<br>
          IF-MIB::ifDescr.95 = STRING: gigabitethernet47<br>
          IF-MIB::ifDescr.96 = STRING: gigabitethernet48<br>
          IF-MIB::ifDescr.97 = STRING: gigabitethernet49<br>
          IF-MIB::ifDescr.98 = STRING: gigabitethernet50<br>
          IF-MIB::ifDescr.99 = STRING: gigabitethernet51<br>
          IF-MIB::ifDescr.100 = STRING: gigabitethernet52<br>
          IF-MIB::ifDescr.1000 = STRING: Po1<br>
          IF-MIB::ifDescr.1001 = STRING: Po2<br>
          IF-MIB::ifDescr.1002 = STRING: Po3<br>
          IF-MIB::ifDescr.1003 = STRING: Po4<br>
          IF-MIB::ifDescr.1004 = STRING: Po5<br>
          IF-MIB::ifDescr.1005 = STRING: Po6<br>
          IF-MIB::ifDescr.1006 = STRING: Po7<br>
          IF-MIB::ifDescr.1007 = STRING: Po8<br>
          IF-MIB::ifDescr.3000 = STRING: tunnel1<br>
          IF-MIB::ifDescr.7000 = STRING: loopback1<br>
          IF-MIB::ifDescr.20000 = STRING: Logical-int 1<br>
          IF-MIB::ifDescr.100000 = STRING: 1<br>
          IF-MIB::ifDescr.100063 = STRING: 64<br>
          IF-MIB::ifDescr.100067 = STRING: 68<br>
          IF-MIB::ifDescr.100071 = STRING: 72<br>
          IF-MIB::ifDescr.100075 = STRING: 76<br>
          IF-MIB::ifDescr.100085 = STRING: 86<br>
          IF-MIB::ifDescr.100087 = STRING: 88<br>
          IF-MIB::ifDescr.100095 = STRING: 96<br>
          IF-MIB::ifDescr.100099 = STRING: 100<br>
          IF-MIB::ifDescr.300000 = STRING: 64<br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, May 21, 2019 at 9:02
          PM Durand fabrice &lt;<a href="mailto:fdurand@inverse.ca" \
target="_blank">fdurand@inverse.ca</a>&gt; wrote:<br>  </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">  <div \
bgcolor="#FFFFFF">  <p>So you can just change this line:</p>
            <p><a href="https://github.com/inverse-inc/packetfence/blob/devel/lib/pf/Switch/Cisco/SG300.pm#L91" \
target="_blank">https://github.com/inverse-inc/packetfence/blob/devel/lib/pf/Switch/Cisco/SG300.pm#L91</a></p>
  <p>with that:</p>
            <p>return $NAS_port - 48;</p>
            <p>My only concert is about other sg300 switches with let&#39;s
              say 24 port ....</p>
            <p>Last thing, can you do a snmpwalk on the oid
              1.3.6.1.2.1.2.2.1.2 and paste the result ?</p>
            <p>Regards</p>
            <p>Fabrice</p>
            <p><br>
            </p>
            <div class="gmail-m_-245779018951345595gmail-m_4048922184222035763moz-cite-prefix">Le
  19-05-21 à 13 h 24, Stuart Gendron a écrit  :<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Correct - it seems that the proper port for
                the SG300 switches is n-48 (where 48 is however many
                ports it has).
                <div><br>
                </div>
                <div>Is this a global change, or can be tied to the
                  device profile itself?</div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Tue, May 21, 2019
                  at 12:36 PM Fabrice Durand &lt;<a href="mailto:fdurand@inverse.ca" \
target="_blank">fdurand@inverse.ca</a>&gt;  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">  <div \
bgcolor="#FFFFFF">  <p>Hello Stuart,</p>
                    <p>yes it&#39;s possible but when you plug in the port 2
                      is it the port 50 who appear in the log ?</p>
                    <p>Regards</p>
                    <p>Fabrice</p>
                    <p><br>
                    </p>
                    <div \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995moz-cite-prefix">Le
  19-05-21 à 11 h 42, Stuart Gendron a écrit  :<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">Logs below:
                        <div><br>
                        </div>
                        <div>May 21 11:39:50 youi-packetfence-p1
                          auth[25948]: rlm_sql (sql): Closing connection
                          (106): Hit idle_timeout, was idle for 431977
                          seconds<br>
                          May 21 11:39:50 youi-packetfence-p1
                          auth[25948]: rlm_sql (sql): Closing connection
                          (108): Hit idle_timeout, was idle for 431977
                          seconds<br>
                          May 21 11:39:50 youi-packetfence-p1
                          auth[25948]: rlm_sql (sql): Closing connection
                          (107): Hit idle_timeout, was idle for 431977
                          seconds<br>
                          May 21 11:39:50 youi-packetfence-p1
                          auth[25948]: rlm_sql (sql): Closing connection
                          (105): Hit idle_timeout, was idle for 431977
                          seconds<br>
                          May 21 11:39:50 youi-packetfence-p1
                          auth[25948]: rlm_sql (sql): Opening additional
                          connection (109), 1 of 64 pending slots used<br>
                          May 21 11:39:50 youi-packetfence-p1
                          auth[25948]: Need 2 more connections to reach
                          min connections (3)<br>
                          May 21 11:39:50 youi-packetfence-p1
                          auth[25948]: rlm_sql (sql): Opening additional
                          connection (110), 1 of 63 pending slots used<br>
                          May 21 11:39:50 youi-packetfence-p1
                          auth[25948]: rlm_rest (rest): Closing
                          connection (98): Hit idle_timeout, was idle
                          for 431989 seconds<br>
                          May 21 11:39:50 youi-packetfence-p1
                          auth[25948]: rlm_rest (rest): Closing
                          connection (97): Hit idle_timeout, was idle
                          for 431977 seconds<br>
                          May 21 11:39:50 youi-packetfence-p1
                          auth[25948]: rlm_rest (rest): Closing
                          connection (99): Hit idle_timeout, was idle
                          for 431977 seconds<br>
                          May 21 11:39:50 youi-packetfence-p1
                          auth[25948]: rlm_rest (rest): Opening
                          additional connection (100), 1 of 64 pending
                          slots used<br>
                          May 21 11:39:51 youi-packetfence-p1
                          auth[25948]: Need 2 more connections to reach
                          min connections (3)<br>
                          May 21 11:39:51 youi-packetfence-p1
                          auth[25948]: rlm_rest (rest): Opening
                          additional connection (101), 1 of 63 pending
                          slots used<br>
                          May 21 11:39:51 youi-packetfence-p1
                          auth[25948]: Need 1 more connections to reach
                          min connections (3)<br>
                          May 21 11:39:51 youi-packetfence-p1
                          auth[25948]: rlm_sql (sql): Opening additional
                          connection (111), 1 of 62 pending slots used<br>
                          May 21 11:39:51 youi-packetfence-p1
                          auth[25948]: [mac:0c:4d:e9:b9:23:ac] Rejected
                          user: 0c4de9b923ac<br>
                          May 21 11:39:51 youi-packetfence-p1
                          auth[25948]: (41096) Rejected in post-auth:
                          [0c4de9b923ac] (from client 10.100.64.67 port
                          49 cli 0c:4d:e9:b9:23:ac)<br>
                          May 21 11:39:51 youi-packetfence-p1
                          auth[25948]: (41096) Login incorrect:
                          [0c4de9b923ac] (from client 10.100.64.67 port
                          49 cli 0c:4d:e9:b9:23:ac)<br>
                          May 21 11:40:02 youi-packetfence-p1
                          auth[25948]: Need 7 more connections to reach
                          10 spares<br>
                          May 21 11:40:02 youi-packetfence-p1
                          auth[25948]: rlm_sql (sql): Opening additional
                          connection (112), 1 of 61 pending slots used<br>
                          May 21 11:40:02 youi-packetfence-p1
                          auth[25948]: Need 1 more connections to reach
                          min connections (3)<br>
                          May 21 11:40:02 youi-packetfence-p1
                          auth[25948]: rlm_rest (rest): Opening
                          additional connection (102), 1 of 62 pending
                          slots used<br>
                          May 21 11:40:02 youi-packetfence-p1
                          auth[25948]: (41106)    Login OK: [testradius]
                          (from client 10.100.64.67 port 49 cli
                          0c:4d:e9:b9:23:ac via TLS tunnel)<br>
                          May 21 11:40:02 youi-packetfence-p1
                          auth[25948]: [mac:0c:4d:e9:b9:23:ac] Accepted
                          user: testradius and returned VLAN 88<br>
                          May 21 11:40:02 youi-packetfence-p1
                          auth[25948]: (41107) Login OK: [testradius]
                          (from client 10.100.64.67 port 49 cli
                          0c:4d:e9:b9:23:ac)<br>
                        </div>
                        <div><br>
                        </div>
                        <div>Looks like it&#39;s also sending port 49.</div>
                        <div><br>
                        </div>
                        <div>Is there somewhere to make a modification
                          where I can say $Port = $Port - 48 or
                          something?</div>
                      </div>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr" class="gmail_attr">On Thu, May
                          16, 2019 at 9:27 PM Durand fabrice &lt;<a \
href="mailto:fdurand@inverse.ca" target="_blank">fdurand@inverse.ca</a>&gt;  \
wrote:<br>  </div>
                        <blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">  <div \
bgcolor="#FFFFFF">  <p>Hello Stuart,</p>
                            <p>it looks that the port is set to 49 in
                              the radius request:</p>
                            <p>May 16 11:40:01 youi-packetfence-p1
                              packetfence_httpd.aaa: httpd.aaa(6346)
                              INFO: [mac:78:7b:8a:d3:ae:74] handling
                              radius autz request: from switch_ip =&gt;
                              (10.100.64.67), connection_type =&gt;
                              Ethernet-NoEAP,switch_mac =&gt;
                              (88:f0:77:d9:b2:48), mac =&gt;
                              [78:7b:8a:d3:ae:74], <font color="#ff0000">port =&gt; \
49</font>,  username =&gt; &quot;787b8ad3ae74&quot;
                              (pf::radius::authorize)</p>
                            <p>Are you able to check in the radius
                              auditing what is the radius request (with
                              all the attributes) and paste it to me ?</p>
                            <p>Regards</p>
                            <p>Fabrice</p>
                            <p><br>
                            </p>
                            <div \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995gmail-m_8160069952250413140moz-cite-prefix">Le
  19-05-16 Ã  11 h 41, Stuart Gendron a
                              écrit  :<br>
                            </div>
                            <blockquote type="cite">
                              <div dir="ltr">
                                <div dir="ltr">Logs below:
                                  <div><br>
                                  </div>
                                  <div>
                                    <div>[root@youi-packetfence-p1 ~]#
                                      tail -f
                                      /usr/local/pf/logs/packetfence.log|
                                      grep 78:7b:8a:d3:ae:74</div>
                                    <div>May 16 11:40:01
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] handling
                                      radius autz request: from
                                      switch_ip =&gt; (10.100.64.67),
                                      connection_type =&gt;
                                      Ethernet-NoEAP,switch_mac =&gt;
                                      (88:f0:77:d9:b2:48), mac =&gt;
                                      [78:7b:8a:d3:ae:74], port =&gt;
                                      49, username =&gt; &quot;787b8ad3ae74&quot;
                                      (pf::radius::authorize)</div>
                                    <div>May 16 11:40:01
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74]
                                      Instantiate profile default
                                      \
(pf::Connection::ProfileFactory::_from_profile)</div>  <div>May 16 11:40:01
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] Match rule
mac_lan:unknown&amp;pf_wired_mac_auth (pf::access_filter::test)</div>
                                    <div>May 16 11:40:01
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] vlan
                                      filter match ; belongs into REJECT
                                      VLAN
                                      (pf::role::getRegistrationRole)</div>
                                    <div>May 16 11:40:01
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] According
                                      to rules in fetchRoleForNode this
                                      node must be kicked out. Returning
                                      USERLOCK
                                      (pf::Switch::handleRadiusDeny)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] handling
                                      radius autz request: from
                                      switch_ip =&gt; (10.100.64.67),
                                      connection_type =&gt;
                                      Ethernet-EAP,switch_mac =&gt;
                                      (88:f0:77:d9:b2:48), mac =&gt;
                                      [78:7b:8a:d3:ae:74], port =&gt;
                                      49, username =&gt; &quot;testradius&quot;
                                      (pf::radius::authorize)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74]
                                      Instantiate profile 802.1x
                                      \
(pf::Connection::ProfileFactory::_from_profile)</div>  <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] Found
                                      authentication source(s) :
                                      &#39;YOUI-DC-P1&#39; for realm &#39;null&#39;
                                      \
(pf::config::util::filter_authentication_sources)</div>  <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) WARN:
                                      [mac:78:7b:8a:d3:ae:74] Calling
                                      match with empty/invalid rule
                                      class. Defaulting to
                                      &#39;authentication&#39;
                                      (pf::authentication::match2)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] Using
                                      sources YOUI-DC-P1 for matching
                                      (pf::authentication::match2)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] LDAP
                                      testing connection
                                      (pf::LDAP::expire_if)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) ERROR:
                                      [mac:78:7b:8a:d3:ae:74] Error
                                      binding: &#39;Connection reset by
                                      peer&#39; (pf::LDAP::log_error_msg)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) WARN:
                                      [mac:78:7b:8a:d3:ae:74] LDAP
                                      connection expired
                                      (pf::LDAP::expire_if)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] Matched
                                      rule (youi_tv_employees) in source
                                      YOUI-DC-P1, returning actions.
                                      (pf::Authentication::Source::match_rule)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] Matched
                                      rule (youi_tv_employees) in source
                                      YOUI-DC-P1, returning actions.
                                      (pf::Authentication::Source::match)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] Role has
                                      already been computed and we don&#39;t
                                      want to recompute it. Getting role
                                      from node_info
                                      (pf::role::getRegisteredRole)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] Username
                                      was defined &quot;testradius&quot; -
                                      returning role &#39;default&#39;
                                      (pf::role::getRegisteredRole)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] PID:
                                      &quot;testradius&quot;, Status: reg Returned
                                      VLAN: (undefined), Role: default
                                      (pf::role::fetchRoleForNode)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74]
                                      (10.100.64.67) Added VLAN 88 to
                                      the returned RADIUS Access-Accept
(pf::Switch::returnRadiusAccessAccept)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] violation
                                      1300003 force-closed for
                                      78:7b:8a:d3:ae:74
                                      (pf::violation::violation_force_close)</div>
                                    <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74]
                                      Instantiate profile 802.1x
                                      \
(pf::Connection::ProfileFactory::_from_profile)</div>  <div>May 16 11:40:13
                                      youi-packetfence-p1
                                      packetfence_httpd.aaa:
                                      httpd.aaa(6346) INFO:
                                      [mac:78:7b:8a:d3:ae:74] Updating
                                      locationlog from accounting
                                      request
                                      (pf::api::handle_accounting_metadata)</div>
                                    <div>May 16 11:40:14
                                      youi-packetfence-p1 pfqueue:
                                      pfqueue(18291) WARN:
                                      [mac:78:7b:8a:d3:ae:74] Unable to
                                      match MAC address to IP
                                      &#39;10.100.90.109&#39;
                                      (pf::ip4log::ip2mac)</div>
                                  </div>
                                </div>
                              </div>
                              <br>
                              <div class="gmail_quote">
                                <div dir="ltr" class="gmail_attr">On
                                  Tue, May 14, 2019 at 9:18 PM Durand
                                  fabrice via PacketFence-users &lt;<a \
href="mailto:packetfence-users@lists.sourceforge.net" \
target="_blank">packetfence-users@lists.sourceforge.net</a>&gt;  wrote:<br>
                                </div>
                                <blockquote class="gmail_quote" style="margin:0px 0px \
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">  <div \
bgcolor="#FFFFFF">  <p>Hello Stuart,</p>
                                    <p>can you paste the log when you
                                      plug in the switch port ?</p>
                                    <p>tail -f
                                      /usr/local/pf/logs/packetfence.log|
                                      grep 00:11:22:33:44:55</p>
                                    <p>with the real mac address of
                                      course.</p>
                                    <p>Regards</p>
                                    <p>Fabrice</p>
                                    <p><br>
                                    </p>
                                    <div \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995gmail-m_8160069952250413140gmail-m_2131341995420308868moz-cite-prefix">Le
  19-05-14 Ã  10 h 43, Stuart Gendron
                                      via PacketFence-users a écrit  :<br>
                                    </div>
                                    <blockquote type="cite">
                                      <div dir="ltr">
                                        <div><br>
                                        </div>
                                        <div>Hey there,</div>
                                        <div><br>
                                        </div>
                                        <div>Was wondering if anyone
                                          else has their ports showing
                                          up wrong for Cisco SG300
                                          switches?</div>
                                        <div><br>
                                        </div>
                                        <div>This is when plugged into
                                          port 1 on a 48 port switch:</div>
                                        <div><br>
                                        </div>
                                        <div><img src="cid:16ae54c8220ec6c7f9c1" \
                alt="Screen Shot 2019-05-14
                                            at 10.42.07 AM.png" width="525" \
height="70"><br>  </div>
                                        <div><br>
                                        </div>
                                        <div>If there&#39;s a way to fix it
                                          that&#39;d be really appreciated
                                          :-)</div>
                                        <div><br>
                                        </div>
                                        <div><br>
                                        </div>
                                        -- <br>
                                        <div dir="ltr" \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995gmail-m_8160069952250413140gmail-m_2131341995420308868gmail_signature">
  <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <table cellspacing="10" \
border="0">  <tbody>
                                                        <tr>
                                                          <td><br>
                                                          </td>
                                                          <td><b><font \
                size="2">Stuart
                                                          Gendron</font></b><br>
                                                          <font size="1">IT
                                                          Support
                                                          Specialist<br>
                                                          <br>
                                                          <b>You.i Labs</b><br>
                                                          <a \
href="https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&amp;entry=gmail&amp;source=g" \
style="color:rgb(17,85,204)" target="_blank">307  Legget Drive,
                                                          Kanata,
                                                          ON,  K2K 3C8</a><br>
                                                          <font \
                color="#ff0000">t</font>  <a value="+16132289107" \
                style="color:rgb(17,85,204)">(613)
                                                          228-9107</a>  x258
                                                          |  <font \
color="#ff0000">c</font>  <a value="+16136978439" \
style="color:rgb(17,85,204)">(613)</a><font color="#1155cc">  697-6853</font><br>  \
</font></td>  </tr>
                                                      </tbody>
                                                    </table>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                      <br>
                                      <fieldset \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822 \
995gmail-m_8160069952250413140gmail-m_2131341995420308868mimeAttachmentHeader"></fieldset>
  <br>
                                      <fieldset \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822 \
995gmail-m_8160069952250413140gmail-m_2131341995420308868mimeAttachmentHeader"></fieldset>
  <pre class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-466899469 \
6007822995gmail-m_8160069952250413140gmail-m_2131341995420308868moz-quote-pre">_______________________________________________
 PacketFence-users mailing list
<a class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007 \
822995gmail-m_8160069952250413140gmail-m_2131341995420308868moz-txt-link-abbreviated" \
href="mailto:PacketFence-users@lists.sourceforge.net" \
target="_blank">PacketFence-users@lists.sourceforge.net</a> <a \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995gmail-m_8160069952250413140gmail-m_2131341995420308868moz-txt-link-freetext" \
href="https://lists.sourceforge.net/lists/listinfo/packetfence-users" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/packetfence-users</a> \
</pre>  </blockquote>
                                  </div>
_______________________________________________<br>
                                  PacketFence-users mailing list<br>
                                  <a \
href="mailto:PacketFence-users@lists.sourceforge.net" \
target="_blank">PacketFence-users@lists.sourceforge.net</a><br>  <a \
href="https://lists.sourceforge.net/lists/listinfo/packetfence-users" \
rel="noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/packetfence-users</a><br>
  </blockquote>
                              </div>
                              <br clear="all">
                              <div><br>
                              </div>
                              -- <br>
                              <div dir="ltr" \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995gmail-m_8160069952250413140gmail_signature">
  <div dir="ltr">
                                  <div>
                                    <div dir="ltr">
                                      <div>
                                        <div dir="ltr">
                                          <table cellspacing="10" border="0">
                                            <tbody>
                                              <tr>
                                                <td><br>
                                                </td>
                                                <td><b><font size="2">Stuart
                                                      Gendron</font></b><br>
                                                  <font size="1">IT
                                                    Support Specialist<br>
                                                    <br>
                                                    <b>You.i Labs</b><br>
                                                    <a \
href="https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&amp;entry=gmail&amp;source=g" \
style="color:rgb(17,85,204)" target="_blank">307  Legget Drive,
                                                      Kanata, ON,  K2K
                                                      3C8</a><br>
                                                    <font color="#ff0000">t</font>  \
<a value="+16132289107" style="color:rgb(17,85,204)">(613)  228-9107</a>  x258
                                                    |  <font color="#ff0000">c</font> \
<a value="+16136978439" style="color:rgb(17,85,204)">(613)</a><font color="#1155cc">  \
697-6853</font><br>  </font></td>
                                              </tr>
                                            </tbody>
                                          </table>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                        </blockquote>
                      </div>
                      <br clear="all">
                      <div><br>
                      </div>
                      -- <br>
                      <div dir="ltr" \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995gmail_signature">
  <div dir="ltr">
                          <div>
                            <div dir="ltr">
                              <div>
                                <div dir="ltr">
                                  <table cellspacing="10" border="0">
                                    <tbody>
                                      <tr>
                                        <td><br>
                                        </td>
                                        <td><b><font size="2">Stuart
                                              Gendron</font></b><br>
                                          <font size="1">IT Support
                                            Specialist<br>
                                            <br>
                                            <b>You.i Labs</b><br>
                                            <a \
href="https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&amp;entry=gmail&amp;source=g" \
style="color:rgb(17,85,204)" target="_blank">307  Legget Drive, Kanata,
                                              ON,  K2K 3C8</a><br>
                                            <font color="#ff0000">t</font>  <a \
value="+16132289107" style="color:rgb(17,85,204)">(613)  228-9107</a>  x258 |  <font \
color="#ff0000">c</font>  <a value="+16136978439" \
style="color:rgb(17,85,204)">(613)</a><font color="#1155cc">  697-6853</font><br>  \
</font></td>  </tr>
                                    </tbody>
                                  </table>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                    <pre \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995moz-signature" \
cols="72">--  Fabrice Durand
<a class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995moz-txt-link-abbreviated" \
href="mailto:fdurand@inverse.ca" target="_blank">fdurand@inverse.ca</a> ::  \
+1.514.447.4918 (x135) ::  <a \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995moz-txt-link-abbreviated" \
href="http://www.inverse.ca" target="_blank">www.inverse.ca</a> Inverse inc. :: \
Leaders behind SOGo (<a \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995moz-txt-link-freetext" \
href="http://www.sogo.nu" target="_blank">http://www.sogo.nu</a>) and PacketFence (<a \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail-m_-4668994696007822995moz-txt-link-freetext" \
href="http://packetfence.org" target="_blank">http://packetfence.org</a>) </pre>  \
</div>  </blockquote>
              </div>
              <br clear="all">
              <div><br>
              </div>
              -- <br>
              <div dir="ltr" \
class="gmail-m_-245779018951345595gmail-m_4048922184222035763gmail_signature">  <div \
dir="ltr">  <div>
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <table cellspacing="10" border="0">
                            <tbody>
                              <tr>
                                <td><br>
                                </td>
                                <td><b><font size="2">Stuart Gendron</font></b><br>
                                  <font size="1">IT Support Specialist<br>
                                    <br>
                                    <b>You.i Labs</b><br>
                                    <a \
href="https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&amp;entry=gmail&amp;source=g" \
style="color:rgb(17,85,204)" target="_blank">307 Legget  Drive, Kanata, ON,  K2K \
                3C8</a><br>
                                    <font color="#ff0000">t</font>  <a \
value="+16132289107" style="color:rgb(17,85,204)">(613)  228-9107</a>  x258 |  <font \
color="#ff0000">c</font>  <a value="+16136978439" \
style="color:rgb(17,85,204)">(613)</a><font color="#1155cc">  697-6853</font><br>  \
</font></td>  </tr>
                            </tbody>
                          </table>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail-m_-245779018951345595gmail_signature">
        <div dir="ltr">
          <div>
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <table cellspacing="10" border="0">
                    <tbody>
                      <tr>
                        <td><br>
                        </td>
                        <td><b><font size="2">Stuart Gendron</font></b><br>
                          <font size="1">IT Support Specialist<br>
                            <br>
                            <b>You.i Labs</b><br>
                            <a \
href="https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&amp;entry=gmail&amp;source=g" \
style="color:rgb(17,85,204)" target="_blank">307  Legget Drive, Kanata, ON,  K2K \
                3C8</a><br>
                            <font color="#ff0000">t</font>  <a value="+16132289107" \
style="color:rgb(17,85,204)">(613) 228-9107</a>  x258  |  <font \
color="#ff0000">c</font>  <a value="+16136978439" \
style="color:rgb(17,85,204)">(613)</a><font color="#1155cc">  697-6853</font><br>  \
</font></td>  </tr>
                    </tbody>
                  </table>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
  </div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><table \
border="0" cellspacing="10" style="font-size:12.8px;font-family:&quot;Times New \
Roman&quot;"><tbody><tr><td><br></td><td><b><font size="2">Stuart \
Gendron</font></b><br><font size="1">IT Support Specialist<br><br><b>You.i \
Labs</b><br><a href="https://maps.google.com/?q=307+Legget+Drive,+Kanata,+ON,%C2%A0K2K+3C8&amp;entry=gmail&amp;source=g" \
style="color:rgb(17,85,204)" target="_blank">307 Legget Drive, Kanata, ON,  K2K \
3C8</a><br><font color="#ff0000">t</font>  <a value="+16132289107" \
style="color:rgb(17,85,204)">(613) 228-9107</a>  x258 |  <font \
color="#ff0000">c</font>  <a value="+16136978439" \
style="color:rgb(17,85,204)">(613)</a><font color="#1155cc">  \
697-6853</font><br></font></td></tr></tbody></table></div></div></div></div></div></div>


--000000000000bfeb5405898fb581--


["Screen Shot 2019-05-14 at 10.42.07 AM.png" (image/png)]



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic