Advanced Networking in Linux: VLANs, Bonding, and Bridging

In the world of Linux, networking is a vast and powerful realm that enables users to configure their systems for a wide range of scenarios. From simple home networks to complex enterprise environments, Linux provides robust tools and configurations that can optimize network performance, enhance security, and ensure reliability. This post delves into advanced networking configurations in Linux, focusing on three critical aspects: Virtual Local Area Networks (VLANs), network bonding, and network bridging....

June 21, 2024 路 6 min 路 1211 words 路 Omid Farhang

Advanced Shell Scripting Techniques: Automating Complex Tasks with Bash

Bash scripting, a cornerstone of Unix and Linux system administration, offers powerful tools to automate repetitive tasks, streamline workflows, and handle complex operations. For those already comfortable with basic scripting, diving into advanced techniques can unlock new levels of efficiency and capability. This post will explore advanced shell scripting techniques in Bash, focusing on script optimization, robust error handling, and automating complex system administration tasks. Script Optimization Optimization is crucial for ensuring that your scripts run efficiently, especially when dealing with large datasets or intensive tasks....

June 19, 2024 路 5 min 路 980 words 路 Omid Farhang

Linux Malware targets WordPress and common Plugins

Doctor Web has discovered a malicious Linux program that hacks websites based on a WordPress CMS. It exploits 30 vulnerabilities in a number of plugins and themes for this platform. If sites use outdated versions of such add-ons, lacking crucial fixes, the targeted webpages are injected with malicious JavaScripts. As a result, when users click on any area of an attacked page, they are redirected to other sites. What they can do?...

January 15, 2023 路 2 min 路 337 words 路 Omid Farhang

How to Upgrade Ubuntu

Update Release Name in Sources To start upgrading you need to change the /etc/apt/sources.list file and replace the name of your previous release with new one. So, for example if you are 20.04, replace every instance of focal with kinetic. If you currently have 22.04, replace jammy with kinetic. This process can be automated by using the following sed command: 1 sudo sed -i 's/jammy/kinetic/g' /etc/apt/sources.list Then, look in /etc/apt/sources.list.d/. Change any files in there the same way....

December 30, 2022 路 1 min 路 207 words 路 Omid Farhang

How to Upgrade Ubuntu Kernel

Ubuntu by default uses LTS Kernels: Canonical provides long-term support (LTS) kernels for Ubuntu LTS releases. Canonical also provides interim operating system releases with updated kernels every 6 months. For customers and business partners that don鈥檛 have specialised bleeding-edge workloads or latest hardware needs, the latest LTS release 鈥-generic鈥 kernel is the best option for them such as the 4.15 default kernel in Ubuntu 18.04 LTS. Customers who need the latest hardware support capability can install the latest HWE kernel such as the ones contained in interim releases, keeping in mind the shorter support lifespan associated with these kernels (9 months)....

December 30, 2022 路 2 min 路 401 words 路 Omid Farhang

Cross-platform botnet targets SSH-enabled devices

Microsoft researchers found a cross-platform botnet that originates from malicious software downloads on Windows devices & succeeds in propagating to a variety of Linux-based devices by enumerating default credentials on internet-exposed SSH-enabled devices. Microsoft researchers observed that the initial infection points related to the botnet were devices infected through the installation of malicious cracking tools that purport to acquire illegal Windows licenses. The cracking tools contain additional code that downloads and launches a fake version of svchost....

December 12, 2022 路 1 min 路 109 words 路 Omid Farhang

How To Use Cloudflare WARP On Linux

What is WARP? The Cloudflare WARP client allows individuals and organizations to have a faster, more secure, and more private experience online. The WARP client sits between your device and the Internet, and has several connection modes to better suit different needs. Install Installing Warp Client (aka Cloudflare Zero Trust Client) is so easy, specially if your OS uses AUR. AUR Use your AUR helper to find and install cloudflare-warp-bin, for example I use yay here:...

November 27, 2022 路 2 min 路 233 words 路 Omid Farhang

Google Chrome in Ubuntu keeps detecting network change

Recently I had problem with my Ubuntu, Whenever I tried to open a website my聽Chromium told me that a Network Change has been detected and after 1-2 reload that sites would load and sometimes failed to load fully. After looking up for that problem, I found out many other people had same problem and it has something to do with聽鈥渁vahi-daemon鈥. Solution According to the links I found in Ubuntu forums, this problem comes from IPv6 in Ubuntu and disabling that service will fix it, I tried it and it worked:...

July 6, 2017 路 1 min 路 139 words 路 Omid Farhang

Security vulnerability in NVIDIA's proprietary Linux drivers fixed

The H-Online: A new version of NVIDIA鈥檚 proprietary UNIX graphics drivers for Linux, Solaris and FreeBSD fixes a security vulnerability (CVE-2012-0946) that allowed attackers to read and write arbitrary system memory in order to, for example, obtain root privileges. To take advantage of the vulnerability, an attacker must have access permission for some device files 鈥 which, for systems with these drivers, is typically the case for users who can launch a graphical interface as 3D acceleration and some other features cannot be used otherwise....

April 12, 2012 路 1 min 路 213 words 路 Omid Farhang

Pinguy OS 11.04 Pre-Alpha Released

Pinguy OS an out-of-the-box working operating system for everyone, not just geeks.This OS is for people that have never used Linux before or for people that just want an out-of-the-box working OS without doing all the tweaks and enhancements that everyone seems to do when installing a fresh copy of Ubuntu or other Linux based Distro鈥檚. Read Full Story here:

March 15, 2011 路 1 min 路 61 words 路 Omid Farhang