Archive for February, 2010

Simple web-whois service

I decided to quickly create a really simple whois service.

http://whois.nf/

The url is simple, there are tons of similar services, but this one should prove to be fast to load and light on any device, thanks to its pre-1980′s design.

PS: If you are a web designer and can do HTML/CSS/JS, contact me, I might have some work for you.

Tags: ,

GANDI.NET – Registered domains count

You already saw, I guess, the gandi.net statistics on top of their page…

Like many registrars, I can only believe those statistics are faked to make it look like gandi.net is handling more domains than it is actually handling.

Let’s take a simple example: I transfered 17 domains from GANDI, and they still show in the interface, can be “locked”, etc… (nothing happens in reality). Here I believe GANDI might not delete correctly domains transfered to another registrar. While 17 domains might be a really small amount, if it’s the case for all domains transfered from GANDI, it might boost the statistics quite a lot…

Anyway if you want a registrar with fast support and good answers to your questions, come to KalyHost.

Tags: , , , ,

Invision Power Board and IPv6, a dirty hack

Since IPS seems to lack the willingness to fix the IPv6 issue with their software, and given the amount of users willing to totally disable IP protection on their board to allow IPv6 users, I decided to provide with those people an alternative solution allowing to differenciate users.

This will create fake IPv4 for IPv6 users based on the 64 first bits of their IP. As most currently exising IPv6 providers are assigning /64 classes to their customers, banning the generated IPv4 effectively bans the whole IPv6.

Also I do generate a 32bits IPv4 from 64bits of IPv6 using XOR. While this means people using IPv6 might share the same generated IPv4 (quite unlikely), it is usually impossible for someone to obtain a different generated IPv4 without access to more than a /64 (I believe only system administrators have this kind of thing).

You might want to store in database generated IPv4 and their IPv6 counterparts to be able to recover a given IPv6 from a blocked IPv4.

This method also allows to block IPs in the same subnet from IPv4 subnets (I don’t know if IPB supports this feature) and recognize people from the same subnet as the start of their generated ip will be the same (however whois information for the given IP will not match the real user’s ip).

To have the generated IPv4, insert this in conf_global.php :

$encoded_ip = inet_pton($_SERVER['REMOTE_ADDR']);
if (strlen($encoded_ip) == 16) {
    $ipv4 = '';
    for($i = 0; $i < 8; $i += 2) $ipv4 .= chr(ord($encoded_ip[$i]) ^ ord($encoded_ip[$i+1]));
    $_SERVER['REMOTE_ADDR'] = inet_ntop($ipv4);
}

And remember to ask your IPB support to have real IPv6 ASAP.

Tags: , , , ,

Binary Barbie, can you read ASCII binary directly?

Being able to read ASCII in binary form is really easy, in fact, especially for letters.

Basically an ASCII number starting with “01″ has great chances of being a letter. The next binary number allows to know if it’s lower case or upper case (0 = uppercase, 1 = lowercase), then the 5 next numbers will be the index in the alphabet.

For example 01000010 is easy to read. It starts with 01, then you get a 0 (upper case), then 00010. This can be decoded as: 0×16 + 0×8 + 0×4 + 1×2 + 0×1 = 2. So this is the second letter of the alphabet: B.

This also means that with only 5 binary digits, and knowing where the end is, you can know which letter was there. I tried to read what was written on Barbie’s clothes, I got some unexpected letters (like a Q). Either the designer didn’t care, or it’s just that the letter boundary was somewhere else.

Binary at the bottom of the dress has no clear boundary. I guess the designer just didn’t care about the meaning at this location.

Tags: , , , ,

Japanese Visa Part one: change visa status!

If you’re reading this article, you probably did read on internet that obtaining and keeping a valid visa in Japan is a pain.

Now, I’m going to have to change my visa status. This is a pain too, but I guess it should be possible. Changing visa status is not an easy task: based on the informations I could obtain from the various official locations, changing status takes 2 to 3 months, and should be done before renewing visa, which should be done 1 month before expiration.

My visa expires half of june 2010, this makes the timeline look like this:

  • February 15th: Change visa status, start!
  • May 15th: Visa changed
  • May 15th: Start visa renewal
  • June 15th: Visa renewed

I do not know what will happen between February 15th and May 15th, however I guess the informations I gave will be verified. Japanese legal system is a pain, and unfortunately, being unable to read japanese legal kanji, I’m in great difficulties when I phone to try to get more informations. My only real solution is to go there and show what I filled, and ask people if it’s OK.

Now let’s go for part one! First part will be to fill the visa category change document, and bring it with the necessary documentation for the new visa status so the people there will know what to do.

Tags: , , ,

KalyHost – Domain names now available

After some months of work, we finally are able to have our first shop online, with domain names sales and management.

You can see this on the KalyHost page for domains, where you can order many extensions for cheap (.NET are on sale until 27 february).

Sale is done via Paypal, and domain is usable immediatly after sale. You can then manage your domain as you want to. Once we finish setting up webhosting and some other services (affiliation, etc) KalyHost will finally be ready for the real show. For now cheap domains are already a great thing, and I wish more people could have a look at it.

Tags: , , , , ,

Nigeria Spam 419 – A new pattern

Today I was surprised to receive a new kind of african spam I never saw before. It seems “they” noticed their usual pattern is too impossible (hidden money of an african country, I will give it to you because I don’t know who you are), so they finally got innovative.

Today the spam I got was different, but is indeed a spam, and based on the origin (tracked from the mail’s “received” headers, strangly I reached Nigeria), I believe responding to this email will get me involved in something like “He finally paid but the money is blocked in Nigeria and I’m blocked in XXX, please go there and get it for me young man, I will give you half of it”. Anyway here we go:

Dear Counsel,

My name is Clara Jong and I am a contacting your firm in regards to a
divorce settlement with my ex husband (Paul Lee Jong) who resides in
your jurisdiction. I am currently on assignment in Japan.

We had an out of court agreement (Collaborative Law Agreement) for him
to pay $448,450.00 plus legal fees in 2008, but to date he has only
paid me $44,000.

I am hereby seeking your firm’s to assistance in collecting the
balance which was agreed upon when we got in

See, quite original isn’t it. So everything needed is in there. High amount of money, a (young?) damselle blocked in an exotic country (Japan in this case, which is not quite exotic for me), and a problem with a husband. Headers are revealing the sender’s IP on a network managed by:

org-name:       MTN Nigeria
org-type:       LIR
country:        NG

I believe this is rather obvious and leaves no place for doubt. Welcome to new Spam 419, more subtle and likely to get more people involved with this scam which has been known to strip people of their money for years. I guess we’ll soon see the same pattern emerge from ex-USSR as they have been working closely (copying?) with nigerians.

Anyway be careful and never respond to those.

Tags: , , ,

Invision Power Board and FaceBook connect on Chrome

Some people who manage Invision Boards have seen the new “FaceBook connect” feature as something interesting… However at first, I couldn’t see the “Connect with FaceBook” button.

Searching around a bit finally got this error from Chrome:

Unsafe JavaScript attempt to access frame with URL http://bbs.gg.st/index.php?app=core&module=global&section=login from frame with URL http://www.facebook.com/extern/login_status.php?api_key=10e950be918b8f0561e2073c53f2ab8e&extern=0&channel=http%3A%2F%2Fbbs.gg.st%2Finterface%2Ffacebook%2Fxd_receiver.php&locale=en_US. Domains, protocols and ports must match.

On Firefox (and probably other browsers), this works without problem. Just sharing that so other people do not get stuck with the same problem.

Tags: , , , , , ,