Archive for the ‘Articles’ Category

Opening and modifying the initrd

Table of contents Introduction Few words about initrd Few words about history Back to the real thing Changing it Packing it back Booting with the new initrd IntroductionBACK TO TOC Ever wondered what’s inside of the initrd file? This article tells you how to look into the initrd and even modify it. Few words about […]

tcpdump for Dummies

Table of contents Introduction Few words about initrd Few words about history Back to the real thing Changing it Packing it back Booting with the new initrd Introduction tcpdump uses Invocation Simple filtering Reading tcpdump‘s output Invocation continued Choosing an interface Turning off name resolution Limiting number of packets to intercept Saving captured data Changing […]

Best picture ever?

[singlepic=666,400,350,,center]

Rothschild Park

These pictures are from Rothschild Park in Zihron Yaakov.

Utopia Park

I shot these pictures in Utopia park. It is a small park in Beit Hefer, quiet close to Tulkarem. It is best known for its orchids, although the peacock definitely tried to steal the show .

Alexander River

These are from Alexander river. This is one of the rare places where you can see wild (almost) nature from only few meters away. In the river there are soft shell turtles, otter and a couple of hangry sheat fishes. All absolutely adoring bread – actually it is a bad thing that people feed these […]

Reverse SSH tunnel or connecting to computer behind NAT router

Introduction Few days ago I encountered a problem. How do you connect to a computer behind NAT router? Any NAT router is also a firewall. Sometimes you do have access to firewall configuration and can set up port forwarding. Yet often it is complicated and even impossible. Common situation is when you want to connect […]

What is CIDR notation

I mentioned this several times in my articles and included a link to wikipedia’s definition of CIDR notation. However only now I saw how complex the wiki’s definition is. From the other hand, I guess any formal definition of the subject would be complex and hard to understand. So I took the liberty to describe […]

SMP affinity and proper interrupt handling in Linux

Introduction Hardware interrupts has always been expensive. Somehow these small pieces of software consume so much CPU power and hardware and software engineers has always been trying to change this state of affairs. Some significant progress has been made. Still hardware interrupts consume lots of CPU power. You will rarely see effects of interrupt handling […]

How to obtain a unique thread identifier on Linux

From some reason this topic never got enough attention in libc. POSIX threads library does addresses this issue, however what starts in POSIX library stays in POSIX library. pthread_self() and friends will get you an identifier that is unique accross your program, but not accross your system. Although thread is a system object, the system […]