Project

General

Profile

Actions

Bug #7850

closed

Include file containing XML_RPC_encode() missing from snort

Added by Chris Linstruth over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Snort
Target version:
-
Start date:
09/10/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.4
Affected Plus Version:
Affected Architecture:
All

Description

Attempting to enable XMLRPC Sync in Snort results in this:

Fatal error: Call to undefined function XML_RPC_encode() in /usr/local/pkg/snort/snort.inc on line 3735 Call Stack: 0.0000 240984 1. {main}() /usr/local/www/pkg_edit.php:0 0.9871 2104888 2. eval(‘write_config(“Snort pkg: saved changes to XMLRPC sync configuration.“);snort_sync_on_changes();‘) /usr/local/www/pkg_edit.php:238 1.1261 2110792 3. snort_sync_on_changes() /usr/local/www/pkg_edit.php(238) : eval()‘d code:1 1.1263 2111776 4. snort_do_xmlrpc_sync() /usr/local/pkg/snort/snort.inc:3692 PHP ERROR: Type: 1, File: /usr/local/pkg/snort/snort.inc, Line: 3735, Message: Call to undefined function XML_RPC_encode()

Also seen attempting to install snort package on a system with Sync configured in a saved configuration.

Actions #1

Updated by Chris Linstruth over 6 years ago

This did not turn up in my pre-report search: https://forum.pfsense.org/index.php?topic=136388

Actions #2

Updated by Jim Thompson over 6 years ago

  • Assignee set to Jim Pingle
Actions #3

Updated by Jim Pingle over 6 years ago

  • Status changed from New to Confirmed
  • Affected Architecture All added
  • Affected Architecture deleted ()

Checking the code, I can confirm that the snort package hasn't been adjusted for XMLRPC sync on 2.4. Looking at that thread, bmeeks is going to take care of it once the weather lets up at his location: https://forum.pfsense.org/index.php?topic=136388.msg746443#msg746443

Actions #4

Updated by Jim Thompson over 6 years ago

  • Target version deleted (2.4.0)
Actions #5

Updated by Bill Meeks over 6 years ago

The fix for this problem has been submitted in a Github pull request. Once that request is approved and merged, this ticket can be closed.

https://github.com/pfsense/FreeBSD-ports/pull/418

Bill

Actions #6

Updated by Bill Meeks over 6 years ago

Fix was merged into the Packages respository on 9/14/2017. This bug report can be closed.

Bill

Actions #7

Updated by Kill Bill over 6 years ago

Fixed.

Actions #8

Updated by Jim Pingle over 6 years ago

  • Status changed from Confirmed to Resolved
Actions

Also available in: Atom PDF