incoming

How to Increase Google PageRank

Google PageRank (PR) is a measure from 0 -10 of how important Google thinks a webpage is. In Google’s eyes a web page with a PageRank of 10/10 is very important and a web page with a PageRank of 0/10 is not very important. If you have the Google toolbar installed on your browser then it will [...]

How to configure single IP Addresses in IPtables

Opening up a whole interface to incoming packets may not be restrictive enough and you may want more control as to what to allow and what to reject. Lets suppose we have a small network of computers that use the 192.168.0.x private subnet. We can open up our firewall to incoming packets from a single [...]

How to configure to allow Interfaces in IPtables

You would like to block all network traffic using iptables firewall under Debian GNU/Linux. This will block all incoming and outgoing traffic including Internet aka ADSL/ppp0 and it is highly recommend. The logic is block everything and allow only required traffic. This can be done with four simple commands: # iptable -F # iptables -P [...]

A brief to various iptables commands

We will use an example based approach to examine the various iptables commands. In this first example, we will create a very simple set of rules to set up a Stateful Packet Inspection (SPI) firewall that will allow all outgoing connections but block all unwanted incoming connections:

How to Block IP address of any country with iptables

Sometime it is necessary to block incoming connection or traffic from specific remote host. iptables is administration tool for IPv4 packet filtering and NAT under Linux kernel. Following tip will help you to block attacker or spammers IP address.  The blocklist is create with an API I wrote and you can use wget to update [...]

How to configure xinetd package in fedora

 xinetd, the eXtended InterNET Daemon, is an open-source daemon which runs on many Linux and Unix systems and manages Internet-based connectivity. It offers a more secure extension to or version of inetd, the Internet daemon. xinetd performs the same function as inetd: it starts programs that provide Internet services. Instead of having such servers started [...]

An Introduction to Basic IPv4 Routing

All of the operations considered in this article are operations upon a router, whether that router is a Linux box or Cisco dedicated hardware or some other type of machine. In this chapter I consider the traditional methods of IPv4 routing as using static configurations that are manually input by the network administrator. 1.1 Traditional [...]

How to install and Configure Dovecot Server in Ubuntu

Dovecot is a Mail Delivery Agent, written with security primarily in mind. It supports the major mailbox formats: mbox or Maildir. This section explain how to set it up as an imap or pop3 server.

Howto Create a DNSBL to Black Lists well known sources of SPAM

Black Lists are used in the context of email to define the IP addresses or netblocks of well known sources of SPAM. DNSBL defines a method of using standard DNS zone files to store such IP addresses. Standard DNS A RR queries are used to interrogate the black list which is organised as a reverse [...]

How to Monitor Network Services with TCP Wrappers in Linux

Most Linux distributions ship with tcp_wrappers “wrapping” all your TCP services. A tcp_wrapper (known as /usr/sbin/tcpd) is invoked from/sbin/inetd instead of the real service, such as telnet or ftp. tcpd then checks the host that is requesting the service and either executes the real server or denies access from that host. tcpd allows you to restrict access to your tcp services. You should make [...]

How To Check, Repair & Optimize All Tables in All Databases

Here is a simple command to auto repair, check and optimize all the tables in all databases running on a MySQL server: mysqlcheck -u root -p –auto-repair –check –optimize –all-databases mysqlcheck is available in MySQL 3.23.38 and later. mysqlcheck uses the SQL statements CHECK TABLE, REPAIR TABLE, ANALYZE TABLE, and OPTIMIZE TABLE in a convenient [...]

How to monitor large mailbox users

Monitoring mailbox users can be done in many serveral ways via web interface or via terminal or via bash scripts. With the usual mbox type emails, incoming new email messages are automatically redirected to each users’ own spool file. This spool mail is by default located and stored in /var/spool/mail. From there, the spool file [...]

How to Install IPTraff LAN Monitoring Tool

IPTraf is a console-based network statistics utility and IP LAN monitoring tool for Linux. IPTraf gathers a variety of figures such as TCP connection packet and byte counts, interface statistics and activity indicators, TCP/UDP traffic breakdowns, and LAN station packet and byte counts. IPTraff LAN Monitoring Tool IPTraf supports a wide variety of network statistics and [...]

How to Install NetSpeed Traffic Monitoring Applet

Now, if you want to monitor your network interface from GNOME X, here’s another linux network interface usage and monitoring tool you can use and install. Netspeed is a little GNOME-applet that shows how much traffic is currently passing thru on your specified network devices.  NetSpeed monitoring applet can show current network incoming and outgoing traffic from [...]