Hi Fabrice,
On 07/03/2018 03:41, Durand fabrice via PacketFence-users wrote:
if(my $entry = pf::accounting->cache->get($mac)){
+if (!$cluster_enabled){
return $entry->{'Acct-Session-Id'};
+}
Do a : bin/pfcmd cache accounting dump @mac
to see if the cache is correct for the mac address.
I didn't check, btw tcpdump shows that pf is always sending the same
session id, even if i clear dot1x session on switch.
+my $sburomac = $mac;
+$sburomac =~ tr/:/-/;
$mac =~ tr/:/-/; is enough.
I'm afraid $mac is used along somewhere in the code, compromising some
other funcions.
btw if you can do a Pull request on github it will be really appreciated.
Ok, i'll do.
Sergio.
--
Sergio Rizzi
Network Management and Security
Senior Account
Laboratori Guglielmo Marconi
Via Porrettana 123
40037 Pontecchio Marconi (BO) - Italy
Phone +39 051 6781944
Mobile +39 349 8073882
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users