weblog d’un abbe

20071025

/me traced again

Filed under: Experiences, Fun — abbe @ 0051

/me traced again
After this, I traced again my photo, but this time a current one :). Following is the link to the SVG source for vector graphics fans, scale me as much as you can :)

http://wahjava.googlepages.com/face3-final-plain.svg

20071017

HTTP/1.1 Pipelining

Filed under: Research — abbe @ 2239
wahjava [~] chatteau $ telnet www.google.co.in 80
Trying 72.14.235.147...
Connected to www.google.co.in.
Escape character is '^]'.
HEAD / HTTP/1.1
Host: www.google.co.in
Connection: Keep-Alive

HEAD /intl/xx-hacker_ALL/images/logo.gif HTTP/1.1
Host: www.google.co.in
Connection: Keep-Alive

HEAD /intl/en_com/images/logo_plain.png HTTP/1.1
Host: www.google.co.in
Connection: Close

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=ISO-8859-1
Set-Cookie: PREF=ID=db57a2b700aaeb98:TM=1192640570:LM=1192640570:S=P8DKqeTNcecd_Fji; expires=Fri, 16-Oct-2009 17:02:50 GMT; path=/; domain=.google.co.in
Server: gws
Content-Length: 0
Date: Wed, 17 Oct 2007 17:02:50 GMT

HTTP/1.1 200 OK
Content-Type: image/gif
Last-Modified: Wed, 07 Jun 2006 19:51:10 GMT
Expires: Sun, 17 Jan 2038 19:14:07 GMT
Server: gws
Content-Length: 8851
Date: Wed, 17 Oct 2007 17:02:50 GMT

HTTP/1.1 200 OK
Content-Type: image/png
Last-Modified: Fri, 27 Oct 2006 01:24:32 GMT
Expires: Sun, 17 Jan 2038 19:14:07 GMT
Server: gws
Content-Length: 8072
Date: Wed, 17 Oct 2007 17:02:50 GMT
Connection: Close

Connection closed by foreign host.

text indicates INPUT.
text indicates OUTPUT.

20071009

dd if=/dev/hda of=/dev/sdb bs=64M

Filed under: Experiences — abbe @ 0253

Just finished, dding my ST3160812AV (160 GB/PATA/Seagate) onto ST3160812AS (160 GB/SATA/Seagate):

chatteau ~ # dd if=/dev/hda of=/dev/sdb bs=64M
9+0 records in
8+0 records out
536870912 bytes (537 MB) copied, 10.5324 s, 51.0 MB/s
26+0 records in
26+0 records out
1744830464 bytes (1.7 GB) copied, 29.3277 s, 59.5 MB/s
35+0 records in
34+0 records out
2281701376 bytes (2.3 GB) copied, 38.9617 s, 58.6 MB/s
77+0 records in
76+0 records out
5100273664 bytes (5.1 GB) copied, 84.8692 s, 60.1 MB/s
104+0 records in
103+0 records out
6912212992 bytes (6.9 GB) copied, 114.29 s, 60.5 MB/s
197+0 records in
196+0 records out
13153337344 bytes (13 GB) copied, 216.665 s, 60.7 MB/s
267+0 records in
267+0 records out
17918066688 bytes (18 GB) copied, 294.418 s, 60.9 MB/s
796+0 records in
796+0 records out
53418655744 bytes (53 GB) copied, 895.93 s, 59.6 MB/s
1783+0 records in
1782+0 records out
119587995648 bytes (120 GB) copied, 2173.03 s, 55.0 MB/s
2333+0 records in
2332+0 records out
156497870848 bytes (156 GB) copied, 3087.42 s, 50.7 MB/s
2380+0 records in
2379+0 records out
159651987456 bytes (160 GB) copied, 3185.21 s, 50.1 MB/s
2384+1 records in
2384+1 records out
160041885696 bytes (160 GB) copied, 3198.33 s, 50.0 MB/s

The whole process took less than an hour as compared to 1 hr. 25 min. when I dded my SATA disk to PATA disk.

20071004

Job advertisement for hackers :)

Filed under: Fun — abbe @ 0218
abbe [~] chatteau $ telnet wahjava.wordpress.com 80
Trying 122.252.140.199...
Connected to wahjava.wordpress.com.
Escape character is '^]'.
HEAD / HTTP/1.1
Host: wahjava.wordpress.com
Connection: Close

HTTP/1.1 200 OK
Vary: Cookie
X-hacker: If you're reading this, you should visit automattic.com/jobs and apply to join the fun, mention this header.
X-Pingback: https://wahjava.wordpress.com/xmlrpc.php
Content-Type: text/html; charset=UTF-8
Server: LiteSpeed
Date: Wed, 03 Oct 2007 20:44:34 GMT
Content-Length: 0
Connection: close

Connection closed by foreign host.

20071003

/me resolves using OpenNIC

Filed under: Fun — abbe @ 0157

OpenNIC logo
I started using OpenNIC (an alternate root nameserver) on my box. The OpenNIC DNS servers are able to resolve all ICANN TLDs. So now you can resolve .com, .net, .in, or .geek (only resolvable on OpenNIC :P ). As I run an instance of pdns_recursor (a resolving DNS server). To start using OpenNIC as root servers in pdns_recursor, add following line to your pdns_recursor configuration file:

hint-file=/etc/pdns-recursor/root.hints

And following are the contents of root.hints file:

;begin OpenNIC SOA/Header

. 86400 IN SOA ns20.opennic.glue. hostmaster.opennic.glue. (
                2007100222              ;Serial
                10800                   ;Refresh after 3 hours
                7200                    ;Retry after 2 hours
                108000                  ;Expire after 30 hours
                7200)                   ;Cache TTL of 2 hrs

;end OpenNIC SOA/Header

;begin OpenNIC root pointers

.       518400  IN      NS      ns12.opennic.glue.
.       518400  IN      NS      ns2.opennic.glue.
.       518400  IN      NS      ns20.opennic.glue.
.       518400  IN      NS      ns21.opennic.glue.
.       518400  IN      NS      ns22.opennic.glue.

;end OpenNIC root pointers

;begin OpenNIC server list

ns12.opennic.glue.      172800  IN      A       131.161.247.250
ns2.opennic.glue.       172800  IN      A       216.87.84.214
ns20.opennic.glue.      172800  IN      A       66.150.224.233
ns21.opennic.glue.      172800  IN      A       58.6.115.46
ns22.opennic.glue.      172800  IN      A       58.6.115.45

In case you use BIND or some other DNS server, there is an HOWTO for Configuring Tier2 Server.

wahjava [~] chatteau $ dig +trace wahjava.wordpress.com

; <> DiG 9.4.2b1 <> +trace wahjava.wordpress.com
;; global options:  printcmd
.                       517638  IN      NS      ns22.opennic.glue.
.                       517638  IN      NS      ns20.opennic.glue.
.                       517638  IN      NS      ns2.opennic.glue.
.                       517638  IN      NS      ns21.opennic.glue.
.                       517638  IN      NS      ns12.opennic.glue.
;; Received 198 bytes from ::1#53(::1) in 1 ms

com.                    172800  IN      NS      l.gtld-servers.net.
com.                    172800  IN      NS      m.gtld-servers.net.
com.                    172800  IN      NS      a.gtld-servers.net.
com.                    172800  IN      NS      b.gtld-servers.net.
com.                    172800  IN      NS      c.gtld-servers.net.
com.                    172800  IN      NS      d.gtld-servers.net.
com.                    172800  IN      NS      e.gtld-servers.net.
com.                    172800  IN      NS      f.gtld-servers.net.
com.                    172800  IN      NS      g.gtld-servers.net.
com.                    172800  IN      NS      h.gtld-servers.net.
com.                    172800  IN      NS      i.gtld-servers.net.
com.                    172800  IN      NS      j.gtld-servers.net.
com.                    172800  IN      NS      k.gtld-servers.net.
;; Received 471 bytes from 58.6.115.46#53(ns21.opennic.glue) in 248 ms

wordpress.com.          172800  IN      NS      ns1.wordpress.com.
wordpress.com.          172800  IN      NS      ns2.wordpress.com.
wordpress.com.          172800  IN      NS      ns3.wordpress.com.
;; Received 141 bytes from 192.35.51.30#53(f.gtld-servers.net) in 469 ms

wahjava.wordpress.com.  300     IN      CNAME   wordpress.com.edgekey.net.
wordpress.com.          14400   IN      NS      ns1.wordpress.com.
wordpress.com.          14400   IN      NS      ns2.wordpress.com.
wordpress.com.          14400   IN      NS      ns3.wordpress.com.
;; Received 180 bytes from 72.233.2.19#53(ns3.wordpress.com) in 644 ms

Create a free website or blog at WordPress.com.