How to Configure Splunk to use a Web Proxy Server

Posted on 1 CommentPosted in General IT Info, Information Security

A Splunk server I installed was configured such that it could only communicate with hosts within the corporate network so it did not have direct internet access. This posed a problem when trying to use the “Browse Splunkbase” option in the Splunk administrator web interface. I also could not use the “iplocation” data-processing command. This […]

How to Block an IP Range with IPTables

Posted on Leave a commentPosted in Information Security

If you want to block a range of IP addresses from accessing your CentOS server you can issue the following IPTables firewall command: /sbin/iptables -I INPUT -m iprange –src-range 192.168.1.1-192.168.1.2.100 -j DROP Replace “192.168.1.1-192.168.1.2.100” with the IP range you want to block. This command only works with the IPTables firewall so if your operating system […]

VSFTPD Error “500 OOPS: reading non-root config file”

Posted on Leave a commentPosted in General IT Info

After setting up a new Linux server I kept getting the following error whenever I tried to upload something with the VSFTPD ftp service: 500 OOPS: reading non-root config file It turns out that I had the following setting in the /etc/vsftpd/vsftpd.conf file: user_config_dir=/etc/vsftpd/virtual_users I commented out that setting and restarted the vsftpd service and […]