Back for some moreŠ

Current task is to trigger a violation and have action taken.
- Basic PF setup and configuration works (vlan mode)
- Test client is detected and registered without problem. I run uTorrent,
and packetfence.log shows the violation being detected.
 - Nothing happens, so I checked my violations screen in the configuration
screen, and notice no VLAN defined in Advanced tab. So I set it to
Isolation and save. Error message shows in web interface, and the
following appears in packet fence.log:

May 30 17:21:14 httpd.admin(0) INFO: "2000334" successfully modified
(pfappserver::Base::Model::Config::update)
May 30 17:21:14 httpd.admin(0) WARN: Error Writing Config
(pfappserver::Base::Model::Config::rewriteConfig)
May 30 17:21:14 httpd.admin(0) ERROR: Caught exception in
pfappserver::Controller::Violation->update "Can't call method
"GetFileName" on an undefined value at
/usr/local/pf/lib/pf/config/cached.pm line 679."
(pfappserver::Controller::Root::end)


I should mention that my lib/pf/violoation_config.pm has been modified at
line 113:
>    my $default_values;
>#    my $default_values = delete $violations_conf{'defaults'} ;
This being my hack to avoid the dreaded "Use of uninitialized value in
split at /usr/local/pf/lib/pf/services/snort.pm <http://snort.pm/> line
57" error

Am I getting bitten by the crudeness of my violation_config.pm change?

PF 4.01
CentOS 6.4


Thanks as always,

Tim


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to