>>411
せっかくだからソース貼っとくね
http://techlog.iij.ad.jp/archives/2264