I got it working.

        if (pf::action::action_exist($vid, $pf::action::AUTOREG) &&
is_node_registered($mac)) {



2013/5/23 Junior Moura <junior.a...@gmail.com>

> Hello everyone.
>
> I just tryed pf for a while and updated it for the last one version. So,
> now, im getting something wrong when a violation is triggered.
>
> The pfdetect died after triggered one violation.
>
> May 23 19:42:16 pfdetect(9776) INFO: pfdetect: violation 9500399 [VNC]:
> 00:24:54:8b:9d:64 (main::)
> May 23 19:42:16 pfdetect(9776) INFO: stopping pfdetect (main::END)
>
> Reading the source code and logs, what i found is violation.pm ( in line
> 527 ) cant use the action_exist()
>
> if (action_exist($vid, $pf::action::AUTOREG) && is_node_registered($mac)) {
>
> looking in the logs, we can look:
>
> Undefined subroutine &pf::violation::action_exist called at
> /usr/local/pf/lib/pf/violation.pm line 527, <$snortpipe_fh> line 1.
>
> Anyone knows a patch to try on it?
>
> Best Regards,
> Junior.
>
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
PacketFence-devel mailing list
PacketFence-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-devel

Reply via email to