Changeset 1407
- Timestamp:
- 04/01/08 11:28:35 (6 months ago)
- Files:
-
- honeyclient/trunk/lib/HoneyClient/Manager.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/trunk/lib/HoneyClient/Manager.pm
r1368 r1407 532 532 533 533 if ($DB_ENABLE && ($clientDbId > 0)) { 534 if (defined($globalAgentState)) {535 $LOG->info("Saving URL History to Database.");536 insert_url_history(agent_state => $globalAgentState,534 if (defined($globalAgentState)) { 535 $LOG->info("Saving URL History to Database."); 536 insert_url_history(agent_state => $globalAgentState, 537 537 client_id => $clientDbId); 538 538 } … … 552 552 END { 553 553 # TODO: Make sure this works correctly. 554 # Make sure all processes in our process group our dead.555 kill("KILL", -$$);554 # Make sure all processes in our process group our dead. 555 kill("KILL", -$$); 556 556 } 557 557 … … 893 893 } 894 894 if ($globalAgentErrorCount >= getVar(name => "max_agent_error_count")) { 895 if ($DB_ENABLE && ($vm->database_id > 0)) { 896 # Mark the VM as suspended within the database. 897 HoneyClient::Manager::Database::set_client_suspicious($vm->database_id); 898 } 895 899 $globalAgentErrorCount = 0; 896 900 # Reset the FW state table.
