IRC’s DCC Send behind iptables

To establish an IRC’s DCC Send connection behind your Linux’s Iptables firewall few modules should be compiled/loaded on your kernel to make this connection possible.

While compiling your kernel make sure to add the following drivers on the kernel or compile them as modules:
ip_nat_irc
ip_conntrack_irc

Note: When both drivers are compiled as modules remember to modprobe them, a good idea is to insert the lines in your firewall script:
modprobe ip_nat_irc
modprobe ip_conntrack_irc

-Your IRC client should not set to any unsual IRC networking settings such as: Behind a firewall, proxy, socks etc…
-Set your IRC client to get Local host and IP address on connect, for mIRC, the lookup method should be set as “normal”
-For Windows XP SP2 users, turn off the Firewall option or just set mIRC as an exception.

Note: If on the firewall’s syslog you get:
kernel: Forged DCC command from internalIP: externalIP:ports
then something is wrong on your client.

Use عربي/arabic on your Debian system

From the first day i started using GNU/Linux as my main machine at home or at work, beeing able to browse arabic websites was a complete failure. The default fonts that Debian installs by default with X11 or even the packages I tried to install such as:

  • ttf-arabeyes
  • ttf-kacst
  • xfonts-intl-arabic
  • were no good.

    I’m no fonts expert but what made it work is when i apt-get’ed the following packages:
    apt-get install ttf-arabeyes ttf-kacst xfonts-intl-arabic msttcorefonts

    msttcorefonts - “Microsoft TrueType Core Fonts” made it work (i guess), give it a try, restart X11 and you should be able to browse in arabic.

    Now, in order to write in arabic in most of the application you use, insert in your ~/.bashrc:
    setxkbmap -symbols "us(pc105)+ar+group(ctrl_shift_toggle)"
    group(ctrl_shift_toggle) enables you to switch from Latin to Arabic by using the combination “Ctrl+Shift”.

    enjoy!

    haytham’s blog is Digg proof thanks to caching by WP Super Cache!