tag:blogger.com,1999:blog-55053017076440512002023-11-16T03:08:46.984+08:00Just K2about my work and lifek2http://www.blogger.com/profile/12236881468925631538noreply@blogger.comBlogger207125tag:blogger.com,1999:blog-5505301707644051200.post-35519697740498091052013-06-21T09:52:00.000+08:002013-06-21T09:52:39.799+08:00change the property of a css rule<br />
It is interesting to change the CSS property of a rule not just an element.<br />
<br />
By <a href="http://www.hunlock.com/blogs/Totally_Pwn_CSS_with_Javascript">Totally Pwn CSS with Javascript</a>, It is possible to do it by javascript.<br />
<br />
The entry point is document.styleSheets.<br />
<br />
For Firefox user, one can iterate the document.styleSheets[].cssRules[].selectorText to find the css selector. then add/modify/remove the rule to meet your requirement.<br />
To add a rule, docuemnt.styleSheets[].addRule(ruleName, null, 0).<br />
To remove a rule, document.styleSheets[].deleteRule(index);<br />
<br />
For IE user, one can iterate the document.styleSheets[].rules[].<br />
To add a rule, docuemnt.styleSheets[].insertRule(ruleName +'{ }', 0).<br />
To remove a rule, document.styleSheets[].removeRule(index);<br />
<br />k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-16495807696418018692011-11-24T15:22:00.000+08:002011-11-24T15:23:18.398+08:00Tool kills hidden Linux bugs, vulnerabilities<a href="http://www.scmagazine.com.au/News/280893,tool-kills-hidden-linux-bugs-vulnerabilities.aspx"><br />Tool kills hidden Linux bugs, vulnerabilities</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-80179498127199396592011-11-24T15:11:00.004+08:002011-11-24T15:23:43.561+08:00interesting reading for gps application<a href="http://www.codeproject.com/KB/windows/WritingGPSApplications1.aspx">Writing Your Own GPS Applications: Part I</a><br /><br /><a href="http://www.codeproject.com/KB/windows/WritingGPSApplications2.aspx">Writing Your Own GPS Applications: Part 2</a><br /><br /><a href="http://www.codeproject.com/KB/GDI-plus/maps_map_net_gis.aspx">Writing GIS and Mapping Software for .NET</a><br /><br /><a href="http://android-map.blogspot.com/2011/07/big-planet-tracks-21-gps.html">Big Planet Tracks 2.1 (*星跡地圖* - GPS 軌跡記錄器)</a><br /><br /><a href="http://android-map.blogspot.com/2011/01/rmaps-0861.html">RMaps 0.8.6.1</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-50243028599962983932011-07-28T18:21:00.001+08:002011-07-28T18:23:37.276+08:00facebook sdk for iphone<a href="http://www.raywenderlich.com/77/how-to-post-on-facebook-with-your-iphone-app">How To Post on Facebook with your iPhone App</a><br /><br /><a href="http://www.raywenderlich.com/1488/how-to-use-facebooks-new-graph-api-from-your-iphone-app">How To Use Facebook’s New Graph API from your iPhone App</a><br /><br /><a href="http://www.raywenderlich.com/1578/how-to-get-a-user-profile-with-facebooks-new-graph-api-from-your-iphone-app">How To Get a User Profile with Facebook’s New Graph API from your iPhone App</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-66965816918880916272011-02-09T00:10:00.004+08:002011-02-09T01:16:32.215+08:00rx multi-queue issue survey<a href="http://www.linuxfoundation.org/collaborate/workgroups/networking/napi">NAPI</a> - ("New API") is a modification to the device driver packet processing framework, which is designed to improve the performance of high-speed networking.<br /><br /><a href="http://www.landley.net/kdocs/ols/2007/ols2007v2-pages-305-310.pdf">Enabling Linux* Network Support of Hardware Multiqueue Devices</a><br /><br /><a href="http://nfws.edenwall.com/nfws_userday/David-Miller_Linux-Multiqueue-Networking.pdf">Linux Multiqueue Networking, David S. Miller, 2008</a><br /><br /><a href="http://vger.kernel.org/~davem/davem_nyc09.pdf">Linux Multiqueue Networking, David S. Miller, 2009</a><br /><br /><a href="http://fuscof.ntop.org/research/imc2010-fusco.pdf">High Speed Network Traffic Analysis with Commodity Multi-core Systems</a><br /><br /><a href="http://www.halobates.de/lk09-scalability-pres.pdf">Linux multi-core scalability, 2009</a><br /><br /><a href="http://kerneltrap.org/mailarchive/linux-netdev/2010/3/14/6271892">[PATCH RFC] ethtool: add multiple queue support to {get,set}_ringparams</a><br /><br /><a href="http://www.ntop.org/TNAPI.html">TNAPI (Threaded NAPI) for packet capturing</a><br /><br /><a href="http://kerneltrap.org/mailarchive/linux-netdev/2010/6/21/6279769/thread">RE: Can I limit number of rx queues for igb (and other Intel drivers)?</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-82221542963120613402011-01-25T13:37:00.002+08:002011-01-25T13:38:57.464+08:00python tutorial<a href="http://wdvl.internet.com/Authoring/python/client/watts06152009.html">Breaking Down a Simple Python App</a><br /><br /><a href="http://wdvl.internet.com/Authoring/python/intro/Watts06302009-2.html">Intro to Python Introspection and Dynamic Programming</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-69357057641564924082011-01-25T13:35:00.002+08:002011-01-25T13:37:00.649+08:00Linux kernel design patterns in LWN<a href="http://lwn.net/Articles/336224/">Linux kernel design patterns - part 1</a><br /><br /><a href="http://lwn.net/Articles/336255/">Linux kernel design patterns - part 2</a><br /><br /><a href="http://lwn.net/Articles/336262/">Linux kernel design patterns - part 3</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-63116234030783664862010-04-22T10:27:00.002+08:002010-04-22T10:39:12.619+08:00get the version information of SQL serverMicrosoft support has a <a href="http://support.microsoft.com/kb/321185">web page</a> for this.<br /><br />In short,<br />1. run 'select @@version'.<br /><br /><table class="table" cellspacing="1"><tbody><tr><th>Version Number</th><th>Service Pack</th></tr><tr><td>6.50.479</td><td>SQL Server 6.5 Service Pack 5a (SP5a) Update</td></tr><tr><td>6.50.416</td><td>SQL Server 6.5 Service Pack 5a (SP5a)</td></tr><tr><td>6.50.415</td><td>SQL Server 6.5 Service Pack 5 (SP5)</td></tr><tr><td>6.50.281</td><td>SQL Server 6.5 Service Pack 4 (SP4)</td></tr><tr><td>6.50.258</td><td>SQL Server 6.5 Service Pack 3 (SP3)</td></tr><tr><td>6.50.240</td><td>SQL Server 6.5 Service Pack 2 (SP2)</td></tr><tr><td>6.50.213</td><td>SQL Server 6.5 Service Pack 1 (SP1)</td></tr><tr><td>6.50.201</td><td>SQL Server 6.5 RTM</td></tr></tbody></table><br /><table class="table" cellspacing="1"><tbody><tr><th>Version Number</th><th>Service Pack</th></tr><tr><td>7.00.1063</td><td>SQL Server 7.0 Service Pack 4 (SP4)</td></tr><tr><td>7.00.961</td><td>SQL Server 7.0 Service Pack 3 (SP3)</td></tr><tr><td>7.00.842</td><td>SQL Server 7.0 Service Pack 2 (SP2)</td></tr><tr><td>7.00.699</td><td>SQL Server 7.0 Service Pack 1 (SP1)</td></tr><tr><td>7.00.623</td><td>SQL Server 7.0 RTM (Release To Manufacturing)</td></tr></tbody></table><br />if the version number string is started with "8.", "9." or later, then run<br />"SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')"<br /><pre class="code">The following results are returned:</pre><ul><li>The product version (for example, 8.00.534)</li><li>The product level (for example, "RTM" or "SP2")</li><li>The edition (for example, "Standard Edition"). For example, the results resemble the following:<br /><br />8.00.534 SP2 Standard Edition</li></ul><table class="table" cellspacing="1"><tbody><tr><th>Release</th><th>Sqlservr.exe</th></tr><tr><td>RTM</td><td>2000.80.194.0</td></tr><tr><td>SQL Server 2000 SP1</td><td>2000.80.384.0</td></tr><tr><td>SQL Server 2000 SP2</td><td>2000.80.534.0</td></tr><tr><td>SQL Server 2000 SP3</td><td>2000.80.760.0</td></tr><tr><td>SQL Server 2000 SP3a</td><td>2000.80.760.0</td></tr><tr><td>SQL Server 2000 SP4</td><td>2000.8.00.2039</td></tr></tbody></table><br /><br /><table class="table" cellspacing="1"><tbody><tr><td>9.00.1399.06</td><td>RTM</td><td>Enterprise Edition</td></tr></tbody></table>The following table lists the Sqlservr.exe version number. <div class="kb_nowrapper"></div><br /><table class="table" cellspacing="1"><tbody><tr><td><b>Release</b></td><td><b>Sqlservr.exe</b></td></tr><tr><td>RTM</td><td>2005.90.1399</td></tr><tr><td>SQL Server 2005 Service Pack 1</td><td>2005.90.2047</td></tr><tr><td>SQL Server 2005 Service Pack 2</td><td>2005.90.3042</td></tr><tr><td>SQL Server 2005 Service Pack 3</td><td>2005.90.4035</td></tr></tbody></table><pre class="code"><br /></pre><table class="table" cellspacing="1"><tbody><tr><td>10.0.1600.22</td><td>RTM</td><td>Enterprise Edition</td></tr></tbody></table>The following table lists the Sqlservr.exe version number. <div class="kb_nowrapper"><span class="kb_collapsetext_close"><span class="kb_collapsetext_background"></span>Collapse this table</span><span class="kb_expandtext"><span class="kb_expandtext_background"></span>Expand this table</span></div><table class="table" cellspacing="1"><tbody><tr><td><b>Release</b></td><td><b>Sqlservr.exe</b></td></tr><tr><td>RTM</td><td>2007.100.1600.0</td></tr><tr><td>SQL Server 2008 Service Pack 1</td><td>2007.100.2531.0</td></tr></tbody></table><pre class="code"><br /><br /><br /><br /><br /><br /><br /></pre>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-4614450179701733962010-04-21T11:44:00.005+08:002010-04-30T13:23:39.803+08:00TPM and Linux<a href="http://domino.research.ibm.com/comm/research_projects.nsf/pages/gsal.TCG.html">Trusted Computing in IBM Research</a><br /><br /><a href="http://www.h-online.com/open/features/Linux-and-TPM-747063.html">The H Open Source - Linux and TPM</a><br /><br /><a href="http://domino.research.ibm.com/comm/research_projects.nsf/pages/gsal.TCG.html">Trusted Computing</a>, IBM resources page on TPM and Linux<br /><br /><a href="http://www.infsec.ethz.ch/people/psevinc/TPMEmulatorTalk.pdf">TPM EmulatorTalk.pdf</a><br /><br /><a href="http://sites.google.com/site/ourcomputernotes/security/use-tpm-on-linux">Use TPM on Linux</a><br /><br /><a href="https://www.grounation.org/index.php?post/2008/07/04/8-how-to-use-a-tpm-with-linux">How to use a TPM with Linux @GrouNation</a><br /><br /><a href="http://blog.elleryq.idv.tw/2009/04/linuxtpm-ecryptfs.html">[lINUX]TPM and eCryptfs</a><br /><br /><a href="http://tpm-emulator.berlios.de/">TPM Emulator</a><br /><br /><a href="http://softtpm.sourceforge.net/">SoftTPM</a> is located, but no files could be downloaded.<br /><br /><a href="http://technet.microsoft.com/en-us/library/cc749022.aspx" rel="external">Microsoft TechNet – Windows Trusted Platform Module Management Step-by-Step Guide</a>, Microsoft's guide to the use of TPM with Windows.k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-87487492534184811132010-04-21T09:34:00.002+08:002010-04-21T10:35:08.503+08:00full disk encryption and filesystem encryption<a href="https://launchpad.net/ecryptfs">eCryptfs</a> seems support TPM. in its README,<br />...Future versions of eCryptfs will allow hardware token devices, such as a TPM chip, to protect your secret keys....<br />But there is a file named ecryptfs-utils-83/src/utils/ecryptfs_generate_tpm_key.c.<br />It is necessary to look into further.<br /><a href="http://www.dubeyko.com/development/FileSystems/eCryptfs/ecryptfs.pdf">eCryptfs: An Enterprise-class Cryptographic Filesystem for Linux</a> introduce the eCryptfs in detail.<br /><br /><br /><a href="http://www.enderunix.org/metfs/">MetFS</a> (FUSE) doesn't support TPM by observing its source.<br /><br /><a href="http://www.arg0.net/encfs">EncFS</a> (FUSE), no clue now.<br /><br /><a href="http://reboot78.re.funpic.de/cryptofs/">CryptoFS</a> (FUSE) doesn't support TPM by observing its source.<br /><br /><br /><a href="http://www.truecrypt.org/faq">TrueCrypt</a> (On-The-Fly Disk encryption) doesn't support TPM explicitly.<br /><br /><a href="http://en.wikipedia.org/wiki/Full_disk_encryption">Full disk Encryption in wikipedia</a> is a good start for information of this kind.<br /><br /><a href="http://magazine.redhat.com/2007/01/18/disk-encryption-in-fedora-past-present-and-future/">Fedora Core 4</a> support disk encryption. (dm-crypt ?)<br />Fedora's Release note: <a href="http://fedoraproject.org/wiki/Releases/FeatureEncryptedFilesystems">FeatureEncryptedFilesystems</a> outline something on this topic.<br /><br /><a href="http://en.wikipedia.org/wiki/Comparison_of_disk_encryption_software">Comparison of disk encryption software</a> - <a href="http://en.wikipedia.org/wiki/BestCrypt">BestCrypt</a>, Bloombase Keyparc, Check Point Full Disk Encryption, <a href="http://en.wikipedia.org/wiki/Cryptoloop">cryptoloop</a>, <a href="http://en.wikipedia.org/wiki/Dm-crypt">dm-crypt</a>, eCryptfs, FREE CompuSec, loop-AES, <a href="http://en.wikipedia.org/wiki/Scramdisk">Scramdisk</a>, SecureDoc, <a href="http://en.wikipedia.org/wiki/TrueCrypt">TrueCrypt</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-72944546811772352802010-04-16T11:14:00.002+08:002010-04-16T11:18:36.819+08:00RSA and SSL weak keys ?<a href="http://www.gossamer-threads.com/lists/gentoo/security/62484">ssl weak key generation (supposed to effect only debian)</a>. By reading the document, I think it is not really weak key on RSA, but debian's patch on OpenSSL causes predictable rsa key set.<br /><br /><a href="http://seclists.org/nmap-dev/2008/q4/225">script to check for weak SSH hostkeys</a> - <br /><br /><a href="http://wiki.debian.org/SSLkeys">SSL keys</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-91245609403828232222010-04-16T11:10:00.002+08:002010-04-16T11:14:22.158+08:00Cryptographic API and RSA<a href="http://msdn.microsoft.com/en-us/library/aa380255%28v=VS.85%29.aspx">Cryptography</a><br /><br /><a href="http://blogs.technet.com/pki/archive/2009/06/17/what-is-a-strong-key-protection-in-windows.aspx">Windows PKI blog</a><br /><a href="http://stackoverflow.com/questions/295345/how-to-encrypt-small-data-block-with-only-rsa-public-key-using-microsoft-ecsp">How to encrypt small data block with only RSA public key using Microsoft ECSP</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-10128613130053276312010-04-16T10:47:00.002+08:002010-04-16T10:52:02.602+08:00accelerometer<a href="http://dougt.org/wordpress/2009/08/orientation/">Orientation in Firefox and beyond</a> shows how to handle "MozOrientation" event in FF 3.6.<br /><a href="http://developer.apple.com/safari/library/navigation/index.html#section=Resource+Types&topic=Sample+Code">Safari Reference Library</a> shows the API.<br /><a href="http://www.mobileorchard.com/phonegap-use-the-iphone-sdks-features-from-html-and-javascript/">PhoneCap</a> opens up the iPhone's SDK to Web developers - allowing them to access features such as the accelerometer and geo-location tools directly from HTML and Javascript powered Web pages.<br /><a href="http://www.switchonthecode.com/tutorials/iphone-tutorial-reading-the-accelerometer">iPhone Tutorial - Reading the Accelerometer</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-39793721065137800572010-04-16T10:00:00.002+08:002010-04-16T10:47:29.787+08:00Geolocation<a href="http://dev.w3.org/geo/api/spec-source.html">Geolocation API Specification in W3C</a><br /><a href="http://code.google.com/apis/gears/api_geolocation.html">Geolocation API - Gears API</a><br /><a href="http://gears.google.com/">Google Gears</a> also provide this feature for Android 1.x device or emulator, Windows Mobile, Windows, Mac OS Tiger/Leopard/Snow Leopard, Linux.<br /><a href="https://addons.mozilla.org/zh-TW/firefox/addon/13492">Google Gears Portable for FF 3.6</a><br /><a href="http://code.google.com/p/gears/">gears' source code</a><br /><a href="http://www.brighthub.com/search/results.aspx?q=Learn%20how%20to%20perform%20GeoLocation%20with%20Google%20Gears">Learn how to perform GeoLocation with Google Gears</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-81146665851184722942010-04-16T09:18:00.003+08:002010-04-16T11:20:18.057+08:00Android<a href="http://developer.android.com/guide/index.html">The Developer's Guide</a><br /><a href="http://www.androidin.net/bbs/forum-82-1.html">Android 中文論壇, G3 Hero</a><br /><a href="http://shop.teac.idv.tw/MyBlog/index.php?pl=1817&ct1=3&ct2=23">[Android]HTC Hero[台灣版]取得Root權限方法</a><br /><a href="http://www.mobile01.com/topicdetail.php?f=423&t=1469403&last=18184052">market下載的遊戲與程式能直接安裝在記憶卡嗎?</a><br /><a href="http://en.wikipedia.org/wiki/Android_Open_Source_Project">Android in Wikipedia</a><br /><a href="http://www.mobile01.com/newsdetail.php?id=8805">Nexus One到貨第二話:來看Android 2.1好體驗 </a><br /><a href="http://www.betaversion.org/~stefano/linotype/news/110/">Dalvik: how Google routed around Sun’s IP-based licensing restrictions on Java ME </a><br /><br /><a href="http://www.kroah.com/log/linux/android-kernel-problems.html">Android and the Linux kernel community</a><br /><a href="http://www.linuxplanet.com/linuxplanet/reports/6992/1/">Linux 2.6.33 Boosts Graphics, Dumps Android</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-86034628733657185982010-04-16T09:13:00.004+08:002010-04-16T11:21:26.572+08:00FIPS-140 and HSM<a href="http://en.wikipedia.org/wiki/FIPS_140">FIPS 140</a><br />it is necessary to meet the requirement of FIPS 140-2 level 3<br /><br /><a href="http://www.safenet-inc.com/Services/SafeNet_HSM_Implementation.aspx">SafeNet HSM Implementation</a><br /><br /><a href="http://www.asiapeak.com/hsm.php">HSM reseller in Taiwan</a><br /><a href="http://iss.thalesgroup.com/en/Products/Hardware%20Security%20Modules/nShield%20Solo.aspx">Thalesgroup's HSM: nShield Solo</a><br /><br /><br /><a href="http://blog.webcom.it/articles/2006/04/07/ncipher-nethsm-with-openssl-tutorial/">Tutorial: nCipher NetHSM and OpenSSL</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-67006318897555260022010-01-18T09:47:00.003+08:002010-01-18T09:50:53.719+08:00wsgi<a href="http://werkzeug.pocoo.org/">werkzeug.pocoo.org</a> - a simple collection of various utilities for WSGI application<br /><br /><a href="http://pythonpaste.org/webob/">webob</a> - web object (WSGI)<br /><br /><a href="http://code.google.com/modwsgi/">modwsgi</a> - wsgi module<br /><br /><a href="http://launchpad.net/bobo/">bobo</a> - a small simple easy to learn and remember web framework for Python<br /><br /><a href="http://www.python.org/dev/peps/pep-0333/">wsgi spec</a> - python web server gateay interface v 1.0<br /><br />cherryPy +Apache with mod_wsgi<br /><br />Djangok2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-22889140098648611642009-11-18T15:07:00.002+08:002009-11-18T15:12:27.534+08:00mitm and ssl<a href="http://www.securegoose.org/2009/11/tls-renegotiation-vulnerability-cve.html">The Secure Goose: TLS renegotiation vulnerability</a> and <a href="http://blogs.iss.net/archive/andwhilewereatit.html">Frequency X Blog: IBM Internet Security Systems</a> show this vulnerability. or one kind of CSRF.k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-59470382654640004942009-11-16T11:05:00.003+08:002009-11-16T11:28:54.692+08:00core dump analysisIn <a href="http://publib.boulder.ibm.com/httpserv/ihsdiag/get_backtrace.html">Getting a backtrace from a coredump</a>, it shows the tools for getting backtraces from coredumps.<br /><br />Recently, my stuff asks me what is the procedure to get the reason that a program generates coredump in an AIX 5.3 machine.<br /><br /># dbx <program generates="" the="" coredump=""> <coredump file=""><br /><br />then the reason will be shown and which function/line generates the coredump.<br /><br /><br /><a href="http://administratosphere.wordpress.com/2007/11/16/5-reasons-to-want-a-core-dump/">Here</a> is another post that show similar information.<br />It is interesting for me.<br />So I get involved to study whether to get such information in various platform.<br /><br />btw, is there any tool to show such information in various platform ?k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-51328483903397446272009-10-30T14:33:00.002+08:002009-10-30T14:55:01.284+08:00network access control<a href="http://en.wikipedia.org/wiki/Network_Access_Control">Network Access Control</a><br /><br /><a href="http://freenac.net/">FreeNAC</a><br /><a href="http://netpass.sf.net/">netpass</a><br /><a href="http://www.packetfence.org/">PacketFence</a><br /><a href="http://hupnet.sourceforge.net/">HUPnet</a><br /><a href="http://netreg.sourceforge.net/">NetReg</a><br /><a href="http://sourceforge.net/projects/rings/">RINGS</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-80815199682056812572009-10-30T14:18:00.002+08:002009-10-30T14:24:50.053+08:00VPN - by IPSEC<a href="http://www.enterprisenetworkingplanet.com/netsecur/article.php/3845966/">Build an IPSEC VPN without Losing Your Mind</a> show a sample to build VPN by IPSEC.<br /><br />A tutorial is shown in Openswan's <a href="http://wiki.openswan.org/index.php/Openswan/Tutorial">wiki</a><br /><br />btw, OpenSwan is a fork of <a href="http://www.freeswan.org/">FreeS/WAN</a> which is no longer in active development.k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-45670135723422481862009-10-23T17:46:00.001+08:002009-10-23T17:47:32.680+08:00Ext2 disk driver on Windows<a href="http://www.ext2fsd.com/?page_id=27">Ext2Fsd Project</a><br /><a href="http://www.ltr-data.se/opencode.html">Tools and utilities for Windows</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-52014426348174328872009-10-23T17:14:00.002+08:002009-10-23T17:34:16.041+08:00AMF - Action Message FormatMore and more web pages embedded flash to do complicated task.<br />e.g. the hottest facebook farm game.<br /><br />I just wonder how messages are exchanged in HTTP protocol level.<br />After track down the traffics, there is a lot of AMF payload in HTTP body.<br />I would like to do something to remove weed/pest automatically.<br />And it is necessary to understand the AMF first.<br /><br /><a href="http://en.wikipedia.org/wiki/Action_Message_Format">Action Message Format in Wikipedia</a><br /><br /><a href="http://wiki.gnashdev.org/AMF">AMF - Gnash Project Wiki</a> show information and library for this.<br /><br /><a href="http://osflash.org/documentation/amf3">OSFlash - Open Source Flash</a> also shows the information/code for this.<br /><br /><a href="http://docs.pyamf.org/current/">Google App Engine -- PyAMF - AMF for Python</a><br /><br /><a href="http://code.google.com/p/amfast/">amfast - Flash remoting framework for Python</a> - it is easy to use its AMF Encoder/Decoder.<br />The same author also have a few document on <a href="http://limscoder.blogspot.com/search/label/amf">this topic</a>.k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-2681227528239088272009-10-23T16:35:00.002+08:002009-10-23T17:14:27.412+08:00logical volume, snapshot and db backupRecently, I get the chance to review the usage of the snapshot of a file-system.<br /><br />In Linux, only logical volume supports this feature. Btrfs is also documented to support this feature.<br />In AIX, JFS supports snapshot. (But there is no document mention this in Linux's implementation)<br />In Solaris, ZFS directly support this. (ZFS provide logical volume management, raid management etc). UFS also supports this.<br /><br /><a href="http://www.softpanorama.org/Internals/Filesystems/snapshots.shtml">Logical Volume Snapshots</a> - shows information on this topic.<br /><br />So, is it possible use the snapshot feature to back up a database ?<br />Yes, it is possible in limited condition.<br /><br />Here is the reference<br /><a href="http://www.postgresql.org/docs/8.3/static/backup-file.html">PostgreSQL 8.3.8 Documentation Chapter 24. Backup and Restore 24.2. File System Level Backup</a> - list the pros and cons of this.<br /><br /><a href="http://wiki.r1soft.com/display/TP/MySQL+Volume+Snapshot+for+Backup"> MySQL Volume Snapshot for Backup </a> also shows the similar information on this topic.<br /><br />In short, if you want to use this feature, all files must be in the same filesystem/logical volume.<br />And this may take a long time to complete the job.k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0tag:blogger.com,1999:blog-5505301707644051200.post-8102589271445561142009-10-23T16:20:00.003+08:002009-10-23T16:34:55.947+08:00google map<a href="http://briian.com/?p=6390">google map for local search</a> - interesting.<br />It create a really large map.<br /><br /><br /><a href="http://googlegeodevelopers.blogspot.com/"> Google Geo Developers Blog</a> - list many use cases.<br /><br /><a href="http://www.mobile01.com/topicdetail.php?f=300&t=838981&last=15191241">[採訪]Google地圖新增5大縣市大眾交通工具路線規劃 - Mobile01 討論群組</a>k2http://www.blogger.com/profile/12236881468925631538noreply@blogger.com0