Whitelist IP - openmrs/openmrs-contrib-itsmresources GitHub Wiki
- Staging: djoum/XSEDE
- Production: batouri/XSEDE
sudo su -
sh /opt/scripts/whitelist.sh
You can perform the steps of the script above manually using the following commands, replacing 0.0.0.0 with the IP address to be whitelisted.
$ mysql -u root -p
mysql> use id_dashboard;
mysql> INSERT INTO IPWhitelists (address, createdAt, updatedAt)
--> VALUES ('0.0.0.0', NOW(), NOW());
Query OK, 1 row affected (0.21 sec)See LP folder for ID Dashboard MySQL root password.
FYI, the spam information comes from DNS blacklist services. The exact list of services can be found here: https://github.com/openmrs/openmrs-contrib-id/blob/production/app/system-modules/signup/conf.signup.json#L16