From c4da86f20b0caabb8385d4633c63806784582c73 Mon Sep 17 00:00:00 2001 From: darode Date: Wed, 25 Apr 2012 09:41:34 +0000 Subject: [PATCH] 2012-04-25 Dario Rodriguez * pandoradb_data.sql, pandoradb.data.postgreSQL.sql, pandoradb.data.oracle.sql: Added default value 127.0.0.1 to IP ACL API list MERGED FROM 4.0.2 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 8 ++++++++ pandora_console/pandoradb.data.oracle.sql | 1 + pandora_console/pandoradb.data.postgreSQL.sql | 3 ++- pandora_console/pandoradb_data.sql | 4 ++-- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e0ead796c5..c9472d6bbf 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2012-04-25 Dario Rodriguez + + * pandoradb_data.sql, + pandoradb.data.postgreSQL.sql, + pandoradb.data.oracle.sql: Added default value 127.0.0.1 to IP ACL API list + + MERGED FROM 4.0.2 + 2012-04-25 Vanessa Gil * operation/agentes/exportdata.php: Fixed several bugs. diff --git a/pandora_console/pandoradb.data.oracle.sql b/pandora_console/pandoradb.data.oracle.sql index c0b2108600..81775394e7 100644 --- a/pandora_console/pandoradb.data.oracle.sql +++ b/pandora_console/pandoradb.data.oracle.sql @@ -89,6 +89,7 @@ INSERT INTO tconfig (token, value) VALUES ('netflow_path', '/var/spool/pandora/d INSERT INTO tconfig (token, value) VALUES ('netflow_interval', '300'); INSERT INTO tconfig (token, value) VALUES ('netflow_daemon', '/usr/bin/nfcapd'); INSERT INTO tconfig (token, value) VALUES ('event_fields', 'evento,id_agente,estado,timestamp'); +INSERT INTO tconfig (token, value) VALUES ('list_ACL_IPs_for_API_0', '127.0.0.1'); COMMIT; END;; diff --git a/pandora_console/pandoradb.data.postgreSQL.sql b/pandora_console/pandoradb.data.postgreSQL.sql index 06a9f219db..8611e6a789 100644 --- a/pandora_console/pandoradb.data.postgreSQL.sql +++ b/pandora_console/pandoradb.data.postgreSQL.sql @@ -85,7 +85,8 @@ INSERT INTO "tconfig" ("token", "value") VALUES ('netflow_path', '/var/spool/pandora/data_in/netflow'), ('netflow_interval', '300'), ('netflow_daemon', '/usr/bin/nfcapd'), -('event_fields', 'evento,id_agente,estado,timestamp'); +('event_fields', 'evento,id_agente,estado,timestamp'), +('list_ACL_IPs_for_API_0', '127.0.0.1'); COMMIT WORK; diff --git a/pandora_console/pandoradb_data.sql b/pandora_console/pandoradb_data.sql index db60513ba8..0bb8603a29 100644 --- a/pandora_console/pandoradb_data.sql +++ b/pandora_console/pandoradb_data.sql @@ -84,8 +84,8 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES ('netflow_path', '/var/spool/pandora/data_in/netflow'), ('netflow_interval', '300'), ('netflow_daemon', '/usr/bin/nfcapd'), -('event_fields', 'evento,id_agente,estado,timestamp'); - +('event_fields', 'evento,id_agente,estado,timestamp'), +('list_ACL_IPs_for_API_0', '127.0.0.1'); UNLOCK TABLES;