Monday, May 30, 2005

Gentoo rsync with SSH tunnel

Actually we can use HTTP port for updating Gentoo portage,but for much leading edge portage,I opt to tunnel it (with the risk I being warned for bandwith hogging ;->)
why? i thought emerge-webrsync has the less update portage

su -c 'ssh -fgN2L 873:rsync.au.gentoo.org:873 me@myshell.org'

edit /etc/make.conf,put


SYNC="rsync://localhost/gentoo-portage/"

najmi # nmap -p873 localhost

Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-05-30
20:57 MYT
Interesting ports on localhost (127.0.0.1):
PORT STATE SERVICE
873/tcp open rsync

Nmap finished: 1 IP address (1 host up) scanned in 0.131 seconds

then emerge --sync

it works for me.

:->

Saturday, May 28, 2005

SSH tunneling revisited

Hi, try to tunnel my own way:
najmi@almuqaddis ~ $ cat tunnel.sh
ssh -fgN2L 6667:irc.freenode.net:6667 me@myshell.org
ssh -fN2gL 3690:anonsvn.kde.org:3690 me@myshell.org

While this gonna be okey, perhaps not really headache free:

nmap localhost -p3690

Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-05-29 07:00 MYT
Interesting ports on localhost (127.0.0.1):
PORT STATE SERVICE
3690/tcp open unknown

Nmap finished: 1 IP address (1 host up) scanned in 0.152 seconds

It seems work,but it did not !

Refer my mails here:
http://lists.kde.org/?t=111726525400001&r=1&w=2

Hem,just wondering:
almuqaddis najmi # netstat -nl |grep tcp
tcp 0 0 0.0.0.0:3690 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6667 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN

I have to help translator who can't access SVN behind the firewall. It will not help much if I have to do it manually OR just use my SSH account to access the SVN with svn+ssh. It's a bottleneck of the project!

najmi@almuqaddis ~ $ svn co svn://127.0.0.1/home/trunk/l10n/templates
channel 1: open failed: connect failed: Connection timed out
svn: Connection closed unexpectedly


Wednesday, May 25, 2005

Assalamualaikum,

Lightweight Directory Access Protocol
Just having LDAP meetup with one ex-UIA. She was quite helpful anyway,as she did more reading and do focus for her project in this thing. I hope I can concentrate for this thing and done the configuration before Sem 1 start. It seems that there are no wrong with the slapd.conf,but the phpldapadmin's config.php. Okey,it seems I got a lotsof further implementation to be handled.

Books bought
I bought:
1-Marilah Berkenalan dengan al-Quran
2-Himpunan Risalah dalam Beberapa Persoalan Ummah (Jilid 1 and 2)
(I advised you to find it at Pustaka Indonesia or Pustaka Mukmin Jln TAR-you can negotiate the price in the first place).

all those written by Br. Hafiz Firdaus Abdullah, a pilot who flies on many countries and his interest in Islam and learning make us really impressed with his knowledge based on his writings.

It seems right now,Muslim have to fight not only in term of physical threat but also the deviation of Islamic teachings from the Muslims themselves. Plus, the feminism,the urge for liberalism which actually don't have any basis at all. They are fighting for what they believe the ultimate truth which actually satisfiying their own need. Can we describe this as sincere or?


Sunday, May 22, 2005

The meaning of holiday

While it might seeems odd to you and wondering why I am here during weekend,actually the same question also went to me.
The answer-I don't care :-)

Do the tunneling way!
The best thing about SSH (Secure Shell) is that, it just amazing! I can forwarding my X application from my remote machine, plus today, I am succesfully do the tunneling after I got the shell access from http://metawire.org (jazakaLLah to Bro Adli for the name). It seemed hard to get the shell as you have to convince them,why the world you want shell access :-)

here goes:
ssh -fgN2L 6667:irc.freenode.net:6667 me@myshell.org

so that I can send the SSH login process to back. If the flag is just -L,you will log to the remote machine straight away-I won't .

Finding Books
Tomorrow, my plan is to get this book-

"Himpunan Risalah Beberapa Persoalan Ummah"

It contains writings from big local scholar such as Dr Asri Zainul Abidin, Tok Janggut and others.


Saturday, May 21, 2005

Using CentOS

ahah,I should go for jog right now-but it is still raining outside. So, here am I, netting again.
Currently I am still struggling to finish my head's assignment given to me-do the SSO Server. Stucked with the config-which I am sure it is correct-I opt to do a meetup next week on 25th May here.

Hopefully I can figure out what went wrong with the config. Sometimes there gonna be s*lly mistake with it :-)

Previously during my days in the private company, I got a surprise when one of our clients running TaoLinux and Whitebox Linux for their production purposes. When some people regard Redhat as "Better Microsoft than Microsoft",I opt not to deny it.

And here goes,CentOS (always remind me to Kentos, Javanese word for coconut's core) to serve my purpose.

Works like Redhat,bootlike Redhat, but it's free- at no cost. So here goes,my Nagios Network Monitoring Server does it job:

http://staff.iiu.edu.my/najmi/nagioskict.png