Posts

Check Listening Ports in Linux (Ports in use)

Image
  How to Check for Listening Ports in Linux (Ports in use) When troubleshooting network connectivity or application-specific issues, one of the first things to check should be what ports are actually in use on your system and which application is listening on a specific port. This article explains how to use the  netstat ,  ss  and  lsof  commands to find out which services are listening on which ports. The instructions are applicable for all Linux and Unix-based operating systems like macOS. What is Listening Port Network port is identified by its number, the associated IP address, and type of the communication protocol, such as TCP or UDP. Listening port is a network port on which an application or process listens on, acting as a communication endpoint. Each listening port can be open or closed (filtered) using a firewall. In general terms, an  open port  is a network port that accepts incoming packets from remote locations. You can’t have two s...

NAS share “Disk Quota Exceed” error Fix

Image
Problem:-   In one of my Linux box, NAS share was mounted on the directory under /archive2015. The space of the NAS share was 150 GB and the used size is 137 GB but when we try to create any file or directory we were getting a “Disk Quota Exceed” error. Solution:-  As it was NAS file system, In NAS there is two types of quota. you can set limits for warnings on soft quota and hard quota on a different time schedule in this problem we need to check both quota limit and one more thing after a weak soft quota also convert in hard quota automatically. so this warning may be due soft quota . How to Mount NAS in Linux  Run the following command: mount <NAS Ethernet Interface IP>:/share/<Shared Folder Name> <Directory to Mount> mount -t nfs 192.168.0.42:/share/public/mnt/pub Specify your NAS username and password. done!!!

How To extend the tmfs file system size .

Image
   Issue Number 1 . On one of my Linux Server, Oracle database was not running because of tmpfs .  Oracle Team wants to extend the tmfs file system size from 2 GB to 4GB. Solution:  tmpfs is a RAMs temporary file system that is generally mounted on /dev/shm. To extend the tmfs   use the below steps :  Check The Size of tmps # df -h /dev/shm/ Filesystem Size Used Avail Use% Mounted on tmpfs 2.0G 148K 2.0G 1% /dev/shm 2.  Edit the /etc/fstab file. And Change the Size below  Change the size as shown below : tmpfs /dev/shm tmpfs size=4g 0 0 3. remount the file system using mount command # mount -o remount tmpfs

What is Cyber Attacks ? And How many type of Cyber Attacks in 2022 .

Image
What is a Cyber Attack? A digital assault is deliberate double-dealing of PC frameworks, organizations, and innovation subordinate ventures. These assaults utilize malevolent code to alter PC code, information, or rationale. Coming full circle into disastrous outcomes that can think twice about information and proclaim cybercrimes like data and fraud. A digital assault is otherwise called a PC network assault (CNA) Common Types Attacks Phishing Attacks Phishing is a sort of friendly design normally utilized to take client information, for example, Mastercard numbers and login qualifications. It happens when an assailant, acting like a confided-in individual, deceives the casualty to open an instant message, email, or text. The casualty is then deluded to open a vindictive connection that can cause the freezing of a framework as a feature of a ransomware assault, uncovering touchy data, or establishment of malware. Phishing is frequently used to get traction in legislative or corporate ...

Instructions to Prevent DDoS Attacks: 7 Tried-and-Tested Methods

Image
Instructions to Prevent DDoS Attacks:  7 Tried-and-Tested Methods A DDoS assault empowers a programmer to flood an organization or server with counterfeit traffic. An excess of traffic over-burdens assets and upsets availability, preventing the framework from handling certified client demands. Administrations become inaccessible, and the objective organization experiences delayed personal time, lost income, and disappointed clients. This article clarifies how a business can forestall DDoS assaults and remain a stride in front of would-be programmers. The practices we show underneath assist with limiting the effect of a DDoS and guarantee a speedy recuperation from an assault endeavor What Is a DDoS Attack? A DDoS (Distributed Denial of Service) is a cyberattack that intends to crash an organization, administration, or server by flooding the framework with counterfeit traffic. The abrupt spike in messages, association solicitations, or parcels overpowers the objective's foundation a...

What is DDoS ?

Image
  WHAT IS A DDOS ATTACK? A Distributed  Denial of Service (DoS) attack is a malicious attempt to affect the availability of a targeted system, such as a website or application, to legitimate end-users. Typically, attackers generate large volumes of packets or requests ultimately overwhelming the target system. In the case of a Distributed Denial of Service (DDoS) attack, the attacker uses multiple compromised or controlled sources to generate the attack. In general, DDoS attacks can be segregated by which layer of the Open Systems Interconnection (OSI) model they attack. They are most common at the Network (layer 3), Transport (Layer 4), Presentation (Layer 6), and Application (Layer 7) Layers. DDOS Attack Classification While thinking about mitigation techniques against these attacks, it is useful to group them as Infrastructure layer (Layers 3 and 4) and Application Layer (Layer 6 and 7) attacks. Infrastructure Layer Attacks Attacks at Layer 3 and 4, are typically ...