«
»

Weblog Archives

You are currently browsing the archives for the Networking tag.

Netcat – a couple of useful examples

One of the Linux command line tools I had initially under-estimated is netcat or just nc. By default, netcat creates a TCP socket either in listening mode (server socket) or a socket that is used in order to connect to a server (client mode). Actually, netcat does not care whether the socket is meant to [...]

Sockets Programming In Python

These are the articles that got me into network programming in Python: Socket Programming HOWTO by Gordon McMillan. Sockets programming in Python by M. Tim Jones.

Music Collection Sharing With Rhythmbox

Actually, this title is not very descriptive, as sharing music with Rhythmbox takes only one click of the mouse. However, this article intends to provide an overview of what happens behind the scenes after this mouse button has been pressed and how Rhythmbox and Avahi work together in order to make the sharing of music such an easy task.

DictExpress

This is a dictionary protocol server implementation written in Python. I decided to write this stuff just to learn Python. The goal is to create a full-featured dictionary server, while making the retrieval of word definitions from any source and in any language easy. The server is usable and acts as a proper UNIX daemon.

Set up the VNC Server in Fedora

This article describes in brief how to configure VNC server instances for one or multiple users on a remote machine, how to use VNC to start graphical applications on boot and finally how to enhance security by connecting to the server through encrypted SSH tunnels.

Setup the SSH server to use keys for authentication

In this article I describe how to configure the SSH server, so that users authenticate using keys, how to generate DSA keys using ssh-keygen, how to configure ssh-agent and finally how to use ssh-add to manage cached passphrases.

Assign Virtual IPs to your NIC

Can a network card have multiple IPs assigned to it? The answer is absolutely yes! Some times, for example when you run several servers on a machine or when you need IP-based Apache virtualhosts, it is useful to bind a server or a virtualhost on its own IP address. I am not going to get [...]

SSH Tunnels Headaches

I’m writing a VNC mini howto and I got stuck with something. I wanted to do the following with a single command: create the SSH tunnel (local port forwarding) execute vncviewer on the local machine have the SSH tunnel to be automatically closed at the time vncviewer was closed