Friday 27 October 2017

Zoho terminology

Zoho terminology

Question: What is Zoho?
Zoho is a division of ZOHO Corporation A US-based company that has been creating and selling cutting edge software solutions since 1996.


Question: What do you meant by Zoho CRM?
Zoho CRM is an On-demand Customer Relationship Management (CRM) software for managing your customer relations.
Zoho CRM helps streamline your organization-wide sales, marketing, customer support, and inventory management functions in a single system.


Question: What is a project in Zoho?
Projects is an online project management app that helps you plan your work and keep track of your progress.
It also lets the people in the project communicate easily, discuss ideas, and stay updated.


Question: What is a Zoho Doc?
It Online Document Management System where you can store all your files securely in a centralized location, and access anywhere online.
It is the homepage for all your documents, spreadsheets, presentations, pictures, music, videos, etc.


Question: What is Zoho connect?
Zoho Connect is an enterprise social networking software application that allows people to connect with their colleagues, share ideas, and disseminate information. Users can also post messages, leave comments, share files, and conduct real-time


Question: What is Zoho inventory?
Zoho Inventory is cloud-based inventory management software that helps you create and manage both your sales and purchase orders, and track your inventory. You can integrate it with online sales channels like Amazon, eBay, and Etsy, as well as shopping carts like Shopify and more.


Question: What is a Zoho Sheet?
Zoho Sheet is an online spreadsheet application that lets you create, edit and share spreadsheets.
It can be used to work with large amount of data, functions, formulas and charts.
It is a great online productivity application which businesses find extremely useful for collaboration.


Question: What is the Zoho Show?
Zoho Show is an online-presentation tool that can be used by anyone with a Zoho account.
You can use Zoho Show to create presentations and access them from anywhere using a browser and an Internet connection.


Question: What is Zoho Assist program?
Zoho Assist is an online remote support and access platform for small and mid-sized businesses that can empower every app to become more trustworthy at absolutely no cost.


Question: What is Zoho book?
Zoho Books is an easy-to-use, online accounting software designed for small businesses to manage their finances and stay on top of their cash flow.


Question: What is a project management software?
Project management software is software used for project planning, scheduling, resource allocation and change management.
It allows project managers (PMs), stakeholders and users to control costs and manage budgeting, quality management and documentation and also may be used as an administration system.


Wednesday 25 October 2017

iptables tutorial for Beginner - iptables commands

iptables tutorial for Beginner

Question: What is iptables?
iptables is a utility program that allows a system administrator to configure the tables provided by the Linux kernel firewall.
Different kernel modules and programs are used for different protocols, For Example
iptables applies to IPv4
ip6tables applies to IPv6
arptables applies to ARP
ebtables to Ethernet frames


Question: What privileges required to manage iptables?
iptables requires user root to manage.


Question: How to install iptables?
sudo apt-get install iptables



Question: Why we use iptables?
We use Iptables to allow/deny traffic for incoming/outgoing.


Question: How iptables works?
We define the rules for All type Incoming and Outgoing connection.
For Example
When someone try to established a connection, iptables looks for a rule in its list to do as per rules.


Question: What is Policy Chain default Behavior?
If someone trying to connect and that is not in existing rules, that rules come under default behavior.


Question: How to check all the iptables Rules?
iptables -L -n -v


Output
Chain INPUT (policy ACCEPT 1129K packets, 415M bytes)
pkts bytes target prot opt in out source destination 
0 0 ACCEPT tcp -- lxcbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
0 0 ACCEPT udp -- lxcbr0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
0 0 ACCEPT tcp -- lxcbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
0 0 ACCEPT udp -- lxcbr0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:67


Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination 
0 0 ACCEPT all -- * lxcbr0 0.0.0.0/0 0.0.0.0/0 
0 0 ACCEPT all -- lxcbr0 * 0.0.0.0/0 0.0.0.0/0


Chain OUTPUT (policy ACCEPT 354K packets, 185M bytes)
pkts bytes target prot opt in out source destination



Question: What are different type of connection defined in iptables?
  1. Input: This chain is used to control the behavior for incoming connections.
  2. Forward : This chain is used to control the behavior for incoming connections that local but forward from another like router.
  3. Output : This chain is used to control the behavior for outgoing connections



Question: What are different type of iptables Responses for connections?
  1. Accept: Allow the connection.
  2. Drop : Drop the connection. It is used when you don't want the source to realize your system exists
  3. Reject: Don't allow the connection and send back an error.



Question: How to block a connection from specific IP Address?
iptables -A INPUT -s 10.20.20.20 -j DROP
10.20.20.20 is IP Address.


Question: How to block a connection from IP Address range?
iptables -A INPUT -s 10.10.10.0/24 -j DROP

10.20.20.20 is IP Address.


Question: How to un-block a connection from specific IP Address?
iptables -D INPUT -s 10.20.20.20 -j DROP

10.20.20.20 is IP Address.


Question: How to block outgoing connections on a specific port?
iptables -A OUTPUT -p tcp --dport 8082 -j DROP

8082 is Port.


Question: How to block outgoing connections from mulitple port?
iptables -A OUTPUT  -p tcp -m multiport --dports 8081,8082,8083 -j ACCEPT

8081, 8082, 8083 is Port.


Question: How to block incoming connections on a specific port?
iptables -A INPUT -p tcp --dport 8082 -j DROP

8082 is Port.


Question: How to Limit the Number of Concurrent Connections per IP Address?
iptables -A INPUT -p tcp --syn --dport 22 -m connlimit --connlimit-above 3 -j REJECT



Question: How to search a string in iptables?
iptables -L $table -v -n | grep $string



Question: How to add new rule in iptables?
iptables -N custom-filter



Question: How to Disable Outgoing Mails through IPTables?
iptables -A OUTPUT -p tcp --dports 25,465,587 -j REJECT



Question: How to get help on IPTables?
man iptables