Hi Louis,

there is traffic on port 1813 from the cisco switch to th server. tcpdump shows it.

mysql> select count(*) from radacct; shows count(*) 44

Regards,
Hubert

Am 23.07.2015 um 15:08 schrieb Louis Munro:
Hi Hubert,
Can you see if there is actually traffic on port 1813 coming to the server then?

# tcpdump -iany -tnl -c 100 port 1813



And if there is, is there anything in the accounting tables of the database?

mysql> select count(*) from radacct;


Regards,
--
Louis Munro
lmu...@inverse.ca <mailto:lmu...@inverse.ca> :: www.inverse.ca <http://www.inverse.ca>
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)

On Jul 23, 2015, at 1:02 , Hubert Kupper <kup...@uni-landau.de <mailto:kup...@uni-landau.de>> wrote:

Yes, I have done this.

On the 2960G:
aaa authentication dot1x default group radius
aaa accounting dot1x default start-stop group radius

Regards, Hubert

Am 22.07.2015 um 20:16 schrieb Louis Munro:
It may not be your config that’s wrong.
It may be that the switch is not sending accounting data to PacketFence.

Have you configured RADIUS accounting on the 2960?

Regards,
--
Louis Munro
lmu...@inverse.ca <mailto:lmu...@inverse.ca> :: www.inverse.ca <http://www.inverse.ca/>
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu/>) and PacketFence (www.packetfence.org <http://www.packetfence.org/>)

On Jul 22, 2015, at 1:11 , Hubert Kupper <kup...@uni-landau.de <mailto:kup...@uni-landau.de>> wrote:

Hello,

I have running Packetfence-ZEN-5-1 fine. I created a test bandwidth
violation of 2MB/Day but nothing happens when a client uses more than
2MB traffic. The web interface shows "there is not enough data to create
the graph" and violation.log shows only DHCP violations.

I added the following line to the Cisco 2960G in switches.conf:

deauthMethod=RADIUS

In violations.conf:

[1100013]
desc=Bandwidth Limit test (2MB/day)
template=bandwidth_limit
#hk090715 trigger=Accounting::BandwidthExpired
trigger=Accounting::TOT2MBD
window=dynamic
enabled=Y
actions=trap,log
priority=1
auto_enable=N
whitelisted_categories=
vlan=isolation


So what is wrong with my config?

Best regards,
Hubert

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



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

Reply via email to