NetworkManager Firewall

Currently, there’s no simple framework in NetworkManager for Firewalling support.

Here’s one way you can provide a simple and minimal firewall setup for your box controlled by NM.

Create the following files:

rrs@learner:~$ cat /etc/network/if-up.d/firewall
#!/bin/bash

if [ $IFACE == “lo” ]; then
echo;
else
/sbin/iptables -A INPUT -i $IFACE -m state –state NEW,INVALID -j DROP;
fi
rrs@learner:~$ cat /etc/network/if-down.d/firewall
#!/bin/bash

if [ $IFACE == “lo” ]; then
echo;
else
/sbin/iptables -D INPUT -i $IFACE -m state –state NEW,INVALID -j DROP;
fi

[Read More]
Categories: Debian-Pages Tools 

NetworkManager Debian Network Interfaces

So many of you might be aware of NetworkManager. The big new tool from RedHat does simplify Network Configuration on your Linux box.

But there lies a small problem with NetworkManager. It is very picky about what it is going to touch and what not.

Here’s a paragraph from the README.Debian file:

Configuration of wireless and ethernet interfaces

Only devices that are *not* listed in /etc/network/interfaces or which have  
been configured "auto" and "dhcp" (with no other options) are managed by

NM.

[Read More]
Categories: Debian-Pages Tools 

My APT Repositoy

I’ve created an APT repository of my own for Debian because the package inclusion policy in Debian (for good reasons) is very stringent.

So this public apt repository is nothing but a placeholder for packages which I am not able to push to Debian.

Currently it only has fusecompress

Add the following lines to your /etc/apt/sources.list file for automatic installation/upgradation of packages.

# RESEARCHUT - APT Repository
deb http://www.researchut.com/packages/ sid main contrib non-free
deb-src http://www.researchut.com/packages/ sid main contrib non-free

Categories: Debian-Pages 

K Addressbook LDAP Bug

For those who are stuck up with using Kontact with an Exchange server should have experiences of how difficult it is to get everything properly working.

For instance, address book is an issue. Assuming that your exchange server holds more that 10,000 user records, it is going to be a challenging task to get your addressbook configurd to fetch those addresses.

A friend of mine figured out that this was rather a bug with either ldap or exchange (in that case a feature) which restricted the query response to 1000 replies. This bug is inherited in the ldap code of K Address Book also because it silently fetches 1000 records only.

[Read More]
Categories: Tools KDE 

FuseCompress

So recently I tried to look at what all projects I monitored using a RCS.

The list I ended up with was:

  • Open iSCSI

  • Beryl

  • Linux

  • LVM

  • Device Mapper

  • KDE

Wow!! That itself is huge. I then looked at the space consumption for these projects and that led to 4.1 GB. That’s too much of space taken away.

Now, since most of the contentt is text in these projects, I thought why not find out a way to use them with compression beneath. And that is where FuseCompress came to the rescue. Like many other excellent implementations (ntfs-3g, sshfs), fusecompress does exactly what I was looking for. It keeps the data compressed (gz, bz2, lzo) and provides a transparent interface for the applications (through FUSE). With this in place, I get full comprerssion, with saving disk space, while not breaking any of the applications. Now that is what I call full utilization of your CPU cycles (Most n00bs claim that full CPU cycle utilization is by using Gentoo which keeps compiling on n on n on….You often might have heard someone saying -mcpu=.., -fblah-makes-it-fast)

[Read More]
Categories: Tools 

Lost my piece

So Finally I got a haircut.

Before

Now

Categories: Fun 

Data Synchronization in KDE

Synchronization is one of the common problems I face with my multiple machines. This article is about how KDE help me in keeping my data synchronized across machines without any problem.

Categories: Debian-Pages Computing 

Using latest Beryl in Debian

Most GNU/Linux desktop users today are aware of the new 3D enhancements brought to the desktop. Namely Compiz and Beryl.

Compiz is already present in Debian but Beryl isn’t and will not be included until Etch is released, which probably is expected to be released in another 3 months. Beryl looks to be primarily focused on Ubuntu which IMO is not good but I can’t comment much because I haven’t contributed to it. In fact, as per the recent announcement on the Beryl blog, their release too seems to be focused on Ubuntu.

[Read More]
Categories: Debian-Pages Tools