23 Commits (ce607238f85a1fce8153030d9662d52199a53792)

Author SHA1 Message Date
Digimer 3ce3a80c98 * Started working on the updated Databse->_find_behind_databases logic. 7 years ago
Digimer b5e7054a33 * Added Scalar::Util->weaken to help avoid memory leaks. 7 years ago
Digimer 215d96b983 * Added a check to see if firewalld is running and, if not, start it in System->manage_firewall 7 years ago
Digimer eaf900d5c3 * Added a check in System->manage_firewall to check iptables-save for the requested port and return immediately if the requested port is open and the task wasn't 'close'. This speeds up firewall checks substantially. 7 years ago
Digimer c1b21f96be * Finished updating System->manage_firewall to be much faster than before. 7 years ago
Digimer 189ca3bfce * Created System->_load_firewalld_zones and -> _load_specific_firewalld_zone to more efficiently load information about firewall zones. 7 years ago
Digimer d7fd0c564f * Making good progress of speeding up firewalld stuff. Still room for improvement. 7 years ago
Digimer 31dddf95b0 * Created System->_match_port_to_service that matches a TCP or UDP port to a firewalld service name, if possible. 7 years ago
Digimer 9b8922b530 * Created System->is_local that takes a hostname or IP address and returns '1' if that matches the local host or one of the local IPs. 7 years ago
Digimer cd5a78091f * Started work on managing the firewall in System. 7 years ago
Digimer c6ad16a7a1 * Added a timeout to System->ping to reduce the delay caused by the host being unable to resolve a hostname. 8 years ago
Digimer 9936554cdb * Created Tools->nice_exit 8 years ago
Digimer 6080ae0bb3 * Connecting to a database now adds/updates the host in the database via the new Database->insert_or_update_hosts and Database->get_hosts(). 8 years ago
Digimer 4aff8a1722 * Fixed bad calls to $an->_hostname and $an->_short_hostname. 8 years ago
Digimer a932b44d28 * Fixed a few more problems with the SQL schema and setting up the database when needed. 8 years ago
Digimer 13352bad6d * Moved most of 'scancore-database' into the new Database->configure_pgsql() method. I had renamed that script, but now it will be removed soon. 8 years ago
Digimer ae58dd6f12 * This commit gets m3 back to being able to compile. It very likely doesn't actually work yet though. 8 years ago
Digimer 3ea562a79c Note: Broken Commit 8 years ago
Digimer 6b5185fe61 * Added a lot more testing. 8 years ago
Digimer 648af130cd * Finished scancore-database. It now setups/repairs postgresql database config, user and scancore database. 8 years ago
Digimer 632f677f04 * Added two new modules; Convert.pm for converting data types and Database.pm for managing all things related to databases. 8 years ago
Digimer bea6bc5e69 * Updated Tools->new() to check if it is being invoked in a browser and set the environment appropriately. It also sets the PWD environmental variable to the DOCUMENT_ROOT variable. 8 years ago
Digimer 753d7a3ba6 * Created the new System.pm module with the initial read_file() method that reads files. 8 years ago