PuTTY, addicted to it forever !
This is Warren Kwok's Internet note pad, electronic diary, online rubbish journal, whatever you might name it ! It is an archive of my random thoughts in a chronological order. I am not good at reporting boring things and change them to lively. If you find this blog boring, sorry that it is your problem.
2015/02/02
2015/01/31
2014/12/17
802.11ac and 100 Mbps ports
If you find 802.11ac wireless routers which equip with 100 Mbps ports either in the LAN or WAN side, don't buy. This is a rubbish design.
2014/12/15
Use an app instead of a calculator
When working on radio propagation distances, I need to convert between miles and kilometers. What comes to my mind is not a calculator. It is about downloading an app. Shit, what a useless person I am on this planet.
2014/12/11
IPv6 privacy extension
Law enforcement agencies say they can track IPv6 devices or computers. They are wrong absolutely. PCs and smartphones have built-in "privacy extension" to prevent the last 64 bits being tracked.
2014/12/08
Gparted live CD
I needed to change the file system of a hard disk from ext3 to NTFS
for use by Windows. Intuitively, I thought in a Linux envionment, it would involve the steps of fdisk
/dev/sda1, delete partitions, create new primary partition, write on partition
table, mkfs ntfs /dev/sda1. All the command line steps
are not necessary. Just use Gparted live CD, (Gnome Partition Editor) after boot
up, two clicks in the GUI can accomplish the tasks. There are other good
functions such as resizing partitions and copy partition for the sake of
image-backup. A geat discovery. Nice to share in this personal blog.
2014/11/17
802.11u, Passpoint and Hotspot 2.0
上星期有幸會見 WiFi Alliance CEO Mr Edgar Figuerora, 終於搞清楚 802.11u, Passpoint 同 Hotspot 2.0 三套技術的相関配合。802.11u 是將無線連線介面轉接至不同網絡,如 3G / 4G 跳至 WiFi , 可達至流動數據卸載 ( cellular offloading)。而Passpoint 則是替支援 802.11u 的器材進行互相兼容的驗證計劃。至於 Hotspot 2.0, 則是一套龐大的基礎設施規格,涉及認證,保密,計費,漫遊協議等。以小弟意見,在可見將來,各網絡商都會投資在 Hotspot 2.0 基建,固網商可提供高效能的 WiFi平台,進軍流動服務,亦可將 Hotspot 2.0 基建租予給流動網絡商。當然,那些同時經營固網及流動網的服務商更加會掌握 Hotspot 2.0,以援衝頻譜需求。WiFi 面世經已超過15年,到了今天,還不停地改良和增加功能,這要多謝 IEEE 的網絡專家多年來所付出的努力。
2014/11/09
2014/11/06
protecting .hk ccTLD systems
Yesterday, when doing a half-yearly clean up of my authoritative name servers, I found the measures of protecting ".hk" ccTLD systems from DDoS attacks as a result of malicious querying "popvote.hk" still in place. I purposely attached a screen dump for easy recall of my memory.
The solution was to tell clients that popvote.hk was hosted here and there was no need to go through “.hk”. HKCERT and HKISPA jointly appealed to all ISPs to do this in order to protect all kinds of service using .hk domains. Up to now, I am still not sure how many of them agreed to implement the interim measures.
On this related matter, attacks of popvote.hk brought some good development to the local ISP industry. Some ISPs have used resolvers and authoritative name servers in the same machines. During the attack period, larger volume of queries flooded their resolvers which made the authoritative name severs not workable. How could they explain to their customers the situation. If I were one of the customers, I would definitely ask popvote.hk was none of my business, why attacks on "popvote.hk" made all my name records vanished. In the light of increasing DNS attacks, ISPs in Hong Kong should have realised that they could not bundle a resolver and an authoritative name server in the same machine.
The solution was to tell clients that popvote.hk was hosted here and there was no need to go through “.hk”. HKCERT and HKISPA jointly appealed to all ISPs to do this in order to protect all kinds of service using .hk domains. Up to now, I am still not sure how many of them agreed to implement the interim measures.
On this related matter, attacks of popvote.hk brought some good development to the local ISP industry. Some ISPs have used resolvers and authoritative name servers in the same machines. During the attack period, larger volume of queries flooded their resolvers which made the authoritative name severs not workable. How could they explain to their customers the situation. If I were one of the customers, I would definitely ask popvote.hk was none of my business, why attacks on "popvote.hk" made all my name records vanished. In the light of increasing DNS attacks, ISPs in Hong Kong should have realised that they could not bundle a resolver and an authoritative name server in the same machine.
2014/11/05
Opendkim
I had used dkim-milter for over a year. This milter was pretty good but due to its phasing out, I had to switch to opendkim. To do the configuration was pretty easy as I had gained some experience in dkim-milter. Up to now, I still have no idea the percentage of my dkim-signed outgoing emails being permitted as reputable sender and not treated as suspicious spam. The fact is do it. If Facebook, Gmail, Yahoo all do it, why hesitate not to follow suit.
2014/11/02
rsync + ssh and scp
Something I could have misunderstood for a long time. I always think scp is powerful for retrieving files by a local host from a remote server but all the files obtained will have permissions and access rights set to the one who invoke the scp command.
#scp -P 1234 -R user@xyz.com:/remote/path/ /local/path/
This is not desirable for restoration purpose as the original attributes have been lost. I turn to use rsync like the one below:
#rsync -chavzP --stats --rsh='ssh -p1234' user@xyz.com:/remote/path/ /local/path/
As I have always said, rsync is one of the most powerful backup tools ever existed in the world. The more you learn, the more you love it.
#scp -P 1234 -R user@xyz.com:/remote/path/ /local/path/
This is not desirable for restoration purpose as the original attributes have been lost. I turn to use rsync like the one below:
#rsync -chavzP --stats --rsh='ssh -p1234' user@xyz.com:/remote/path/ /local/path/
As I have always said, rsync is one of the most powerful backup tools ever existed in the world. The more you learn, the more you love it.
2014/09/08
sine wave with MS powerpoint
Don't laugh. I am not able to draw a sine wave with MS powerpoint. I don't want to use excel for importing such a graph from math equation.
2014/09/06
2014/09/01
WiFi 路由器速度跌咗八成
屋企隻 TP-LINK 802.11n 屋企隻 TP-LINK 802.11n 路由器速度在拾呎距離跌咗八成,所有 config 都檢查清楚正常,正想買新機之際,突然想起未 check 天線。唉,三兜天線同軸接口,有兩兜完全無扭實。唉,太疏忽了,我應否重新再考工程師牌!,所有 config 都檢查清楚正常,正想買新機之際,突然想起未 check 天線。唉,三兜天線同軸接口,有兩兜完全無扭實。唉,太疏忽了,我應否重新再考工程師牌!
2014/08/31
2014/08/25
2014/08/21
2014/08/20
2014/08/04
Subscribe to:
Posts (Atom)








