Views: 137 Samba is a free software re-implementation of the SMB networking protocol, and was originally developed by Andrew Tridgell. Samba provides file and print services for various Microsoft Windows clients and can integrate with a Microsoft Windows Server domain, either as a Domain Controller (DC) or as a domain member. As of version 4, […]
LightSquid is a Squid log analyzer that runs on pfSense. By parsing through the proxy access logs, the package is able to produce web-based reports that detail the URLs accessed by each user on the network.
Views: 134 If you need a way to connect to remote ssh host and you don’t have putty installed you can use plink.Just open cmd and type:
The software utility cron also known as cron job is a time-based job scheduler in Unix-like computer operating systems. Users that set up and maintain software environments use cron to schedule jobs (commands or shell scripts) to run periodically at fixed times, dates, or intervals. It typically automates system maintenance or administration—though its general-purpose nature makes it useful for things like downloading files from the Internet and downloading email at regular intervals.
Rsyslog is an open-source software utility used on UNIX and Unix-like computer systems for forwarding log messages in an IPnetwork. It implements the basic syslog protocol, extends it with content-based filtering, rich filtering capabilities, queued operations to handle offline outputs, support for different module outputs, flexible configuration options and adds features such as using TCP for transport.
The GeoIP extension allows you to find the location of an IP address, including the city, state, country, latitude, and longitude.
If you'd like to use the new GeoIP2, MaxMind now offers a pure PHP implementation that doesn't require a C extension: https://github.com/maxmind/GeoIP2-php.
This is a simple tutorial on how to back up your www directory a.k your website and the database. For the file backup we are going to use the tar command which will archive the files and folders. Mysqldump is going to be our database export tool and scp and ssh the tools for remote transfer the archive.
A simple iptables firewall script to block all ports except port 80 and give port 22 to certain ip’s
Views: 122 This simple script is very useful and very simple and will give you the basics of what you can do with linux iptables firewall. Make a file: Paste all the info and correct the ip addresses with you owns. Give it some permissions And run the script. Now this was tested in ubuntu […]
How to install denyhosts on Ubuntu Linux 17.04 ( intrusion prevention security tool for SSH and more)
Views: 105 DenyHosts is a log-based intrusion prevention security tool for SSH servers written in Python. It is designed to prevent brute-force attacks on SSH servers by monitoring invalid login attempts in the authentication log and blocking the originating IP addresses using /etc/hosts.deny and sbin/iptables on Linux server. In this tutorial, you will learn how […]
Views: 126 Mycli is a modern alternative to the default MySQL client. This tool does to MySQL what bpython does to the standard Python REPL. Mycli will auto-complete keywords, table names, columns, and functions as you type them. The completion suggestions are context-sensitive. For example, after the SELECT * FROM, only tables from the current […]
Fail2ban scans log files and bans IPs that show the malicious signs -- too many password failures, seeking for exploits, etc. Generally Fail2Ban is then used to update firewall rules to reject the IP addresses for a specified amount of time, although any arbitrary other action (e.g. sending an email) could also be configured. Out of the box Fail2Ban comes with filters for various services (apache, courier, ssh, etc).
Views: 133 First enable the mods: Then edit the virtual host: And add ifmodule between virtual host: Then restart the apache service: