Wise people learn when they can; fools learn when they must - Arthur Wellesley

Sunday 29 July 2018

LINUX- 31 LINUX LOGS (RHEL-7) P1



                   LINUX- 31 LINUX LOGS (RHEL-7) P1

LINUX LOG’s AND IT’s SIGNIFICANCE,

All Posts under Linux Logs:

LINUX LOGS (RHEL-7) P1
LINUX LOGS (RHEL-7) P2
LINUX LOGS (RHEL-7) P3

When every thing is green and all are Happy Happy, then nobody bothers about anything. Even they don’t know the name of person who is responsible to manage their system. But when there is any issue with system then the magic start…

Everyone is thinking about…

Who is looking in to the issue?
Who is managing our system?
what’s his/her name & extension?
what is the ETR?
Where is update?

Chaos depends upon how bigger the issue is. You are the sys admin and now you are the center of attraction…

CHEERS and CONGRATS ……

Sunday 22 July 2018

LINUX-30 FIREWALLD (RHEL7) -P3


                   LINUX-30 FIREWALLD (RHEL7) -P3


Other Posts under firewalld,

FIREWALLD (RHEL7) -P2
FIREWALLD (RHEL7) -P3

INTERFACES & FIREWALLD:

How to add an interface to a zone
How to change an interface from one zone to another
How to remove an interface from a zone
How to list interfaces assigned to a zone
How to List the zone to which an interface is assigned

Saturday 21 July 2018

LINUX-29 FIREWALLD (RHEL7) -P2


                    LINUX-29 FIREWALLD (RHEL7) -P2

FIREWALLD AND IT’s SIGNIFICANCE,

Other Posts under firewalld,


It’s time for HOW TO…...

Sunday 15 July 2018

LINUX-28 FIREWALLD (RHEL7) -P1


                          LINUX-28 FIREWALLD (RHEL7) -P1

FIREWALLD AND IT’s SIGNIFICANCE,
Well, what is this FIREWALLD?

Its packet filtering based on “Netfilter” module,

Wait…Wait, we did it already via iptables. Then what & why is this?

IPTABLES still exists in RHEL-7 but its silent means it is not default firewall option, default option is firewalld.

Saturday 14 July 2018

RHEL6–45– IP TABLES IN LINUX -P7



                         RHEL6–45– IP TABLES IN LINUX -P7
IP Tables digging deeper,

Other Posts under IPTABLES series,


CONFIGURE IPTABLE LOGGING-2:


Great, our requirement is fulfilled.

But still I think that collecting garbage is not wise, also putting all at /var/log/messages will create annoyance while searching something really serious.

RHEL6–44– IP TABLES IN LINUX -P6



                         RHEL6–44– IP TABLES IN LINUX -P6
IP Tables digging deeper,


CONFIGURE IPTABLE LOGGING-1:

We already learned there is a target called LOG. Now time to use it,

So, what it will do? Let’s configure and find out ourselves…

I want to know what firewall is doing with ssh,

RHEL6–43– IP TABLES IN LINUX-P5



                         RHEL6–43– IP TABLES IN LINUX-P5
IP Tables digging deeper,


PING OF DEATH:

What is ping of death?

[root@rhel6-client1 ~]# ping -f -s 65500 192.168.135.142
PING 192.168.135.142 (192.168.135.142) 65500(65528) bytes of data.
.^C
--- 192.168.135.142 ping statistics ---
46916 packets transmitted, 46915 received, 0% packet loss, time 249276ms
rtt min/avg/max/mdev = 1.515/5.164/44.228/1.083 ms, pipe 3, ipg/ewma 5.313/5.359 ms

RHEL6–42– IP TABLES IN LINUX -P4



                         RHEL6–42– IP TABLES IN LINUX -P4
IP Tables digging deeper,

Well, in previous post we successfully implemented out first IP TABLE rules,


Whenever you change the rules, keep following in mind.

Always save the table by following command,

RHEL6–41– IP TABLES IN LINUX-P3



                         RHEL6–41– IP TABLES IN LINUX-P3
What is IP Tables and how to implement,



From previous mistakes we learned too many things or nothing (it depends upon you), lets try to short out those issue in this post.

An important point to note is, IPTables always work in sequential order so always consider while appending (-A) any rule that where they are in order, or in which line they are.

RHEL6–40– IP TABLES IN LINUX - P2




                         RHEL6–40– IP TABLES IN LINUX -P2

What is IP Tables and its significance,



Great, this is second post from IPTables and we already learned basics and now it’s time for implementation.

Well, are you really serious to learn? Then please do mistakes with me and get frustrated.
This post is just a hit and trial like a beginner is learning Iptables implementation by reading various posts on internet.