Re: [PacketFence-users] CoA reply packet not detected by packetfence

2018-10-25 Thread Amjad Ali via PacketFence-users
Thanks Fabrice, this helps alot. Ali On Fri, Oct 26, 2018 at 9:21 AM Durand fabrice wrote: > Hello Ali, > > reevaluate access will use CoA (wiredeauthtechnique) and restart switch > will use snmp. > > It's how it works in PacketFence. > > Regards > > Fabrice > > > Le 18-10-24 à 02 h 01, Amjad

Re: [PacketFence-users] CoA reply packet not detected by packetfence

2018-10-25 Thread Durand fabrice via PacketFence-users
Hello Ali, reevaluate access will use CoA (wiredeauthtechnique) and restart switch will use snmp. It's how it works in PacketFence. Regards Fabrice Le 18-10-24 à 02 h 01, Amjad Ali a écrit : Hi Fabrice Thanks for that clarification but what about bouncing port with CoA method? When I

Re: [PacketFence-users] CoA reply packet not detected by packetfence

2018-10-24 Thread Amjad Ali via PacketFence-users
Hi Fabrice Thanks for that clarification but what about bouncing port with CoA method? When I hit the Restart Switchport button, I want PF to send a CoA bounce host port command. Currently as you said, its using the SNMP down and then SNMP up to restart switch port. Maybe we need something

Re: [PacketFence-users] CoA reply packet not detected by packetfence

2018-10-23 Thread Fabrice Durand via PacketFence-users
Hello Ali, in fact /usr/local/pf/html/pfappserver/lib/pfappserver/Model/Node.pm bouncePort is made to shut/no shut the port and it use snmp. What you will need to do is to implement the function wiredeauthTechniques (for wire) or deauthTechniques (for wireless) in order to launch the

Re: [PacketFence-users] CoA reply packet not detected by packetfence

2018-10-22 Thread Amjad Ali via PacketFence-users
Hi Fabrice, Yes your spot on, the issue was wrong port numbers, we'll fix that very soon. A slightly different issue but I need your advice on it, I have changed bouncePort sub routine in Node.pm to send the mac address instead of switch port index for CoA to work properly. This has been done at

Re: [PacketFence-users] CoA reply packet not detected by packetfence

2018-10-19 Thread Durand fabrice via PacketFence-users
Hello Ali, you did the good thing but in the capture it looks that the switch reply on the wrong port. CoA request: src port 52492 dst 3799 CoA-ACK : src port 1812 dst 3799 (it's suppose to be src 3799 dst 52492) So it looks to me a switch bug. Regards Fabrice Le 18-10-15 à 05 h 47,