ProFTPd Server with virtual users and in SFTP mode How to configure proftpd server with virtual users and with sftp mode. Debian Linux Networking Security
SED Tutorial - how print or delete particular line How we can print or delete particular line with SED (text) stream editor Linux Linux Utilities
Time zone and precise time setting in Linux Properly set system time is important for the user, but also for the system itself. Let's explain how Linux accesses time zones and how to set the exact time to get you right. Linux Debian
nftables geoip - continents ip In the previous articles, we showed how to perform packet marking in nftables based on geoip source ip addresses and also how to log traffic to external files . Today we will show how to mark packets based on which continent they come from. The principle is that we first mark packets based on the source IP address so that we know which countries they are coming from. And then we'll find out which continent the state is on. Linux Security Networking
nftables and GeoIP How to Block IPs from Countries or Continets using NfTables Geoip script We'll learn how we can block traffic originated from specific country or continent IPs using GeoIP database and linux nftables . This article describes the configuration for debian linux distros. nftables is the new packet classification framework that intends to replaces the existing {ip,ip6,arp,eb}_tables infrastructure. In a nutshell: It is available in Linux kernels >= 3.13 It comes with a new command line utility nft whose syntax is different to iptables. Linux Security Networking
How nftables log to external file Logging traffic blocked by the nftables or iptables firewall rules is necessary for debugging the firewall rules and to be alerted to local software problems. Any packet matching a rule can be logged by using -j LOG target for iptables or log statement for nftables. Logging packet has no effect on the packet's disposition, however. The packet must match an accept or drop rule. Linux Security Networking
How to Configure Proxy in Debian/CentOS/RHEL/Fedora Proxies are commonly found on business networks, but they are increasingly becoming popular for personal use. The following tutorial will show you multiple ways of setting your proxy in Linux desktop or servers Linux Networking
How to Change Hostname on Debian Linux This tutorial explains how to change the hostname on Debian or Debian based distro without restarting the system. Debian Linux
SSH - Too Many Authentication Failures How to recover from "Too many Authentication Failures for user root" I've done several attempts to establish SSH-connecton for user root@host using putty terminal. While doing so I specified wrong credentials several times and after that I've specified them correctly, and then after the credentials were accepted the ssh session breaks with "Server unexpectedly closed network connection". This error is reported by putty terminal. When trying to ssh root@localhost from the local console - it works fine. Linux Networking
How manage log files with LOGROTATE Understanding logrotate utility Logs are useful when you want to track usage or troubleshoot an application. As more information gets logged, however, log files use more disk space. Over time a log file can grow to unwieldy size. Running out of disk space because of a large log file is a problem, but a large log file can also slow down the process of resizing or backing up your virtual server. Linux
Add or Change SSL/TLS certificate in Lotus Domino Add or Change SSL/TLS certificate in Lotus Domino SSL/TLS certificates don’t last forever, most of them need to be renewed on a yearly cycle and occasionally you will want to change the type of the SSL certificate mid-cycle. Lotus Notes SSL/TLS For work with ssl/tls certificates in the lotus notes are used with the kyrtool program. You can download kyrtool from this IBM website . Or direct from our web site . Security Linux
Working with Vsftpd as FTPS server with virtual users and SSL certificates in Debian or Ubuntu Introdution What is the difference between FTP , FTPS and SFTP we learned in the last article Understanding Key Differences Between FTP, FTPS and SFTP We also need to recognize the difference between active and passive ftp connections Configure VSFTPd server Install vsftpd server and pam service First you need vsftp and PAM with htpasswd utility support installed ~] apt-get install vsftpd libpam-pwdfile apache2-utils Configure pam for vsftpd Linux Pluggable Authentication Modules (PAM) provide dynamic authentication support for applications and services in a Linux or GNU/kFreeBSD system. Debian Linux Networking Security