if (defined($node_info->{dhcp_fingerprint}) &&
$node_info->{dhcp_fingerprint} =~ /VoIP Phone/) {
        $logger->debug("DHCP fingerprint for $mac indicates VoIP phone");
        return 1;
    }

changing to return 0 fixes it.

This was the offending code in pf/Switch.pm

Id like to put a formal request in to disable automatic VOIP detection with
a simple checkbox instead of having to hack the code every time.
Fingerprints just aren't accurate enough and we have scripts that
automatically register/flag all of our phones as voip.

We don't have the tagged vlan set on our switch ports in an idle state.  We
return VSAs with a tagged port and to enable LLDP directing the phone to
the tagged vlan, so if something is mis-identified (like almost all of our
VDIs in this case), it causes a huge issue.

Ive always just gotten by by disabling the same code in every upgrade, but
as you guys change stuff, i have to track it down again and again.

A simple checkbox "Disable automatic VOIP dhcp fingerprint detection" would
be great.  :D



On Thu, Mar 3, 2016 at 7:48 AM, Tim DeNike <[email protected]> wrote:

> I had this working fine in 5.3 and prior by disabling th
>
> #    if ($args->{'isPhone'}) {
> #        $node_info{'voip'} = $VOIP;
> #    }
>
>
> section in vlan.pm, but it doesn't seem to work now.. I'm guessing its
> finger bank that is to fault.
>
> I disabled the same section in role/custom.pm, but its still doing it.
>
> I need to completely disable the automatic detection of VOIP devices.  Its
> screwing  up my network right now.. finger bank thinks VDIs are phones and
> PF is sending a tagged port back to the switch for the devices.
>
>
> Quick!
>
> Thanks!
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to