Posts

Showing posts with the label DevOps

What Happens Under the Hood of SSH Connections? Analyzing SSH Packets with Wireshark.

Image
Prerequisites Before we dive into packet analysis, make sure you have the following set up: Two Endpoints (VMs or Containers) Wireshark tcpdump It’s also important to have a basic understanding of: TCP SSH Linux Introduction In this blog post, I'll guide you through the step-by-step process of analyzing SSH connection packets using Wireshark. Whether you're troubleshooting SSH issues or simply curious about how SSH works at the protocol level, this tutorial is for you. We'll cover both successful and failed SSH connections, examining the packet flow and explaining what’s happening in the background. I've already set up a working environment for this use case. Let’s dive right into packet capture and analysis, and uncover what happens during an SSH connection. Fig. 1: A list of servers with roles and IP addresses for quick network reference. Breaking Down Packet Capture and Analysis: A Step-by-Step Guide In this post, we'll break down the process of packet capture...

VIM ( Vi IMproved ) The Superstar - - - DevOps IDE

Image
Why vim ? very low memory footprint which makes it super fast popular , supports all programming languages free and Open Source , Always available Few Use Cases and Tips: Edit Multiples Files          I am big fan of vim. most of the time i have to work with multiple files and create them parallel , had to switch between the files and view the dependent variables. with vim it becomes easy and fast . In one my post https://osgroup-techies.blogspot.com/2020/05/elasticsearch-cluster-on-k3s-light_86.html I have provisioned es cluster now i will be creating manifests for kibana . i will be creating service , configmap and deployment in three different files using vim multiple screen feature although i can create the manifest in a single file, but i did so just to have proper readibility and understanding on k8s components for kibana.       Lets See how it looks like: ~ Line Numbers and Highligh...

Running GUI Applications inside Containers - Firefox | Gedit and many more

Image
Key Benefits:     Disposable Infrastructure  Its really fun 😷  , It is always good to know how things work.. Requisite: Lxd installed on your workstation (local laptop or wherever you are going to accomplish this) Love for Linux💝 Theorem:👇 Create a LXD Profile  Launch Container Get high on Contianers  🎶 Lets get our hands dirty... In case you are interested in theory and concepts: Profiles store any configuration (key/value or devices) that an instance(container instance) can  have   / etc/subuid && /etc/subgid  (idmaps for user namespace) : - mapping uids and gids on host to a set of uids and gids in a container  want more indepth understanding on idmaps connect with me

Obscuring server from pings (@ procfs level)

Image
Ping is a computer network administration software utility used to test the reachability of a host on an Internet Protocol (IP) network. Problem :                      1) By using ping sweeps it becomes easy to identify hosts alive in the network,which    can result in ping flooding, once ping flooding crosses the limit, the network gets jammed Lets hide our servers:                      1) view the current settings, make the necessary change,write it to the file                      2) test it !!! Done  Too Much of Theory, Lets get our hand dirty Ping Sweep Ping Sweep is a technique used to identify if the hosts are alive in the networks using their IP add...

Jail SSH Users !!!

Image

[Tutorial] Jenkins Integration with Git

Image
Want to learn Docker ? Want to learn Jenkins ? Want to learn Git ? Want to learn Continuous Integration ? Want to learn all of them without actually messing up with your system! ?? Well, then you are at the right place & probably at the right time !  I have created a Hands-on Lab Tutorial for you. You can access it on below link :  Hands-on Tutorial - Jenkins Integration with GIT for CI This tutorial will guide you through: 1) Jenkins Installation on Docker 2) Jenkins Configuration 3) Git Basics 4) Git Commands 5) CI using Jenkins-Git Here's a screenshot of tutorial: You can also try any other Docker commands, Git Commands, Jenkins Jobs in the Lab Environment. Share it with others and let me know your suggestions, comments in the comment box below.