2015年2月24日 星期二

Tomato by Shibby之Access Restriction失效問題

為了限制部分電腦只能於特定時間上網
找了部Tenda N6改成Tomato by Shibby

設定Access Restriction功能後測試  無效!!!

電腦的IP位址已經被鎖了,卻仍可上網

挖出用過沒問題的無線路由器來比對

兩台路由器只有韌體版本不同

新: Tomato Firmware 1.28.0000 MIPSR2-124 K26 Max
舊: Tomato Firmware 1.28.0000 MIPSR2-123 K26 Max

直接將Tenda N6降版到123沒改設定,功能生效了

結論: 目前最新版v1.28 build 124的部分功能有問題

Function "Access Restriction" does not work properly in Tomato by Shibby v1.28 build 124. Pretty sure it's a bug in latest version because the same setting works after I downgrade firmware to v1.28 build 123.


2015年2月11日 星期三

kamailio IPv6運作超難搞 (失敗收場)


如果你想試試SIP/IPv6,很可能會搜尋到這篇文章:
Run your own SIP VoIP service on both IPv4 and IPv6


讀來如此簡單而美好

花兩天時間試過裝在以下各VM
CentOS 6.3 x86 (source編譯安裝)
Debian 7.7.0 i386 (source編譯安裝)
Debian 6.0.4 i386 (source編譯安裝)
Debian 7.0.0 i386 (直接從repo用apt-get安裝)

全部同樣的情況:
IPv4幾乎不需要設定就能動
IPv6怎麼設定5060 port都不收封包 (netstat確定有listen)

怎麼送封包給kamailio,只有下面這個系統回應
ICMPv6 Destination Unreachable (Port unreachable)

功力太淺,放棄

(kamailio has put me in hell for two days. too tired now to write in English..... 
my suggestion to the ones who got the same ICMPv6 Port unreachable packet is,
"give it up, now!", this is no fun at all)