2013年6月21日 星期五
change the property of a css rule
It is interesting to change the CSS property of a rule not just an element.
By Totally Pwn CSS with Javascript, It is possible to do it by javascript.
The entry point is document.styleSheets.
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.
To add a rule, docuemnt.styleSheets[].addRule(ruleName, null, 0).
To remove a rule, document.styleSheets[].deleteRule(index);
For IE user, one can iterate the document.styleSheets[].rules[].
To add a rule, docuemnt.styleSheets[].insertRule(ruleName +'{ }', 0).
To remove a rule, document.styleSheets[].removeRule(index);
2011年11月24日 星期四
2011年7月28日 星期四
2011年2月9日 星期三
rx multi-queue issue survey
NAPI - ("New API") is a modification to the device driver packet processing framework, which is designed to improve the performance of high-speed networking.
Enabling Linux* Network Support of Hardware Multiqueue Devices
Linux Multiqueue Networking, David S. Miller, 2008
Linux Multiqueue Networking, David S. Miller, 2009
High Speed Network Traffic Analysis with Commodity Multi-core Systems
Linux multi-core scalability, 2009
[PATCH RFC] ethtool: add multiple queue support to {get,set}_ringparams
TNAPI (Threaded NAPI) for packet capturing
RE: Can I limit number of rx queues for igb (and other Intel drivers)?
Enabling Linux* Network Support of Hardware Multiqueue Devices
Linux Multiqueue Networking, David S. Miller, 2008
Linux Multiqueue Networking, David S. Miller, 2009
High Speed Network Traffic Analysis with Commodity Multi-core Systems
Linux multi-core scalability, 2009
[PATCH RFC] ethtool: add multiple queue support to {get,set}_ringparams
TNAPI (Threaded NAPI) for packet capturing
RE: Can I limit number of rx queues for igb (and other Intel drivers)?
2011年1月25日 星期二
2010年4月22日 星期四
get the version information of SQL server
Microsoft support has a web page for this.
In short,
1. run 'select @@version'.
if the version number string is started with "8.", "9." or later, then run
"SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')"
The following table lists the Sqlservr.exe version number.
The following table lists the Sqlservr.exe version number.
In short,
1. run 'select @@version'.
| Version Number | Service Pack |
|---|---|
| 6.50.479 | SQL Server 6.5 Service Pack 5a (SP5a) Update |
| 6.50.416 | SQL Server 6.5 Service Pack 5a (SP5a) |
| 6.50.415 | SQL Server 6.5 Service Pack 5 (SP5) |
| 6.50.281 | SQL Server 6.5 Service Pack 4 (SP4) |
| 6.50.258 | SQL Server 6.5 Service Pack 3 (SP3) |
| 6.50.240 | SQL Server 6.5 Service Pack 2 (SP2) |
| 6.50.213 | SQL Server 6.5 Service Pack 1 (SP1) |
| 6.50.201 | SQL Server 6.5 RTM |
| Version Number | Service Pack |
|---|---|
| 7.00.1063 | SQL Server 7.0 Service Pack 4 (SP4) |
| 7.00.961 | SQL Server 7.0 Service Pack 3 (SP3) |
| 7.00.842 | SQL Server 7.0 Service Pack 2 (SP2) |
| 7.00.699 | SQL Server 7.0 Service Pack 1 (SP1) |
| 7.00.623 | SQL Server 7.0 RTM (Release To Manufacturing) |
if the version number string is started with "8.", "9." or later, then run
"SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')"
The following results are returned:
- The product version (for example, 8.00.534)
- The product level (for example, "RTM" or "SP2")
- The edition (for example, "Standard Edition"). For example, the results resemble the following:
8.00.534 SP2 Standard Edition
| Release | Sqlservr.exe |
|---|---|
| RTM | 2000.80.194.0 |
| SQL Server 2000 SP1 | 2000.80.384.0 |
| SQL Server 2000 SP2 | 2000.80.534.0 |
| SQL Server 2000 SP3 | 2000.80.760.0 |
| SQL Server 2000 SP3a | 2000.80.760.0 |
| SQL Server 2000 SP4 | 2000.8.00.2039 |
| 9.00.1399.06 | RTM | Enterprise Edition |
| Release | Sqlservr.exe |
| RTM | 2005.90.1399 |
| SQL Server 2005 Service Pack 1 | 2005.90.2047 |
| SQL Server 2005 Service Pack 2 | 2005.90.3042 |
| SQL Server 2005 Service Pack 3 | 2005.90.4035 |
| 10.0.1600.22 | RTM | Enterprise Edition |
Collapse this tableExpand this table
| Release | Sqlservr.exe |
| RTM | 2007.100.1600.0 |
| SQL Server 2008 Service Pack 1 | 2007.100.2531.0 |
2010年4月21日 星期三
TPM and Linux
Trusted Computing in IBM Research
The H Open Source - Linux and TPM
Trusted Computing, IBM resources page on TPM and Linux
TPM EmulatorTalk.pdf
Use TPM on Linux
How to use a TPM with Linux @GrouNation
[lINUX]TPM and eCryptfs
TPM Emulator
SoftTPM is located, but no files could be downloaded.
Microsoft TechNet – Windows Trusted Platform Module Management Step-by-Step Guide, Microsoft's guide to the use of TPM with Windows.
The H Open Source - Linux and TPM
Trusted Computing, IBM resources page on TPM and Linux
TPM EmulatorTalk.pdf
Use TPM on Linux
How to use a TPM with Linux @GrouNation
[lINUX]TPM and eCryptfs
TPM Emulator
SoftTPM is located, but no files could be downloaded.
Microsoft TechNet – Windows Trusted Platform Module Management Step-by-Step Guide, Microsoft's guide to the use of TPM with Windows.
full disk encryption and filesystem encryption
eCryptfs seems support TPM. in its README,
...Future versions of eCryptfs will allow hardware token devices, such as a TPM chip, to protect your secret keys....
But there is a file named ecryptfs-utils-83/src/utils/ecryptfs_generate_tpm_key.c.
It is necessary to look into further.
eCryptfs: An Enterprise-class Cryptographic Filesystem for Linux introduce the eCryptfs in detail.
MetFS (FUSE) doesn't support TPM by observing its source.
EncFS (FUSE), no clue now.
CryptoFS (FUSE) doesn't support TPM by observing its source.
TrueCrypt (On-The-Fly Disk encryption) doesn't support TPM explicitly.
Full disk Encryption in wikipedia is a good start for information of this kind.
Fedora Core 4 support disk encryption. (dm-crypt ?)
Fedora's Release note: FeatureEncryptedFilesystems outline something on this topic.
Comparison of disk encryption software - BestCrypt, Bloombase Keyparc, Check Point Full Disk Encryption, cryptoloop, dm-crypt, eCryptfs, FREE CompuSec, loop-AES, Scramdisk, SecureDoc, TrueCrypt
...Future versions of eCryptfs will allow hardware token devices, such as a TPM chip, to protect your secret keys....
But there is a file named ecryptfs-utils-83/src/utils/ecryptfs_generate_tpm_key.c.
It is necessary to look into further.
eCryptfs: An Enterprise-class Cryptographic Filesystem for Linux introduce the eCryptfs in detail.
MetFS (FUSE) doesn't support TPM by observing its source.
EncFS (FUSE), no clue now.
CryptoFS (FUSE) doesn't support TPM by observing its source.
TrueCrypt (On-The-Fly Disk encryption) doesn't support TPM explicitly.
Full disk Encryption in wikipedia is a good start for information of this kind.
Fedora Core 4 support disk encryption. (dm-crypt ?)
Fedora's Release note: FeatureEncryptedFilesystems outline something on this topic.
Comparison of disk encryption software - BestCrypt, Bloombase Keyparc, Check Point Full Disk Encryption, cryptoloop, dm-crypt, eCryptfs, FREE CompuSec, loop-AES, Scramdisk, SecureDoc, TrueCrypt
2010年4月16日 星期五
RSA and SSL weak keys ?
ssl weak key generation (supposed to effect only debian). 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.
script to check for weak SSH hostkeys -
SSL keys
script to check for weak SSH hostkeys -
SSL keys
accelerometer
Orientation in Firefox and beyond shows how to handle "MozOrientation" event in FF 3.6.
Safari Reference Library shows the API.
PhoneCap 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.
iPhone Tutorial - Reading the Accelerometer
Safari Reference Library shows the API.
PhoneCap 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.
iPhone Tutorial - Reading the Accelerometer
Geolocation
Geolocation API Specification in W3C
Geolocation API - Gears API
Google Gears also provide this feature for Android 1.x device or emulator, Windows Mobile, Windows, Mac OS Tiger/Leopard/Snow Leopard, Linux.
Google Gears Portable for FF 3.6
gears' source code
Learn how to perform GeoLocation with Google Gears
Geolocation API - Gears API
Google Gears also provide this feature for Android 1.x device or emulator, Windows Mobile, Windows, Mac OS Tiger/Leopard/Snow Leopard, Linux.
Google Gears Portable for FF 3.6
gears' source code
Learn how to perform GeoLocation with Google Gears
Android
The Developer's Guide
Android 中文論壇, G3 Hero
[Android]HTC Hero[台灣版]取得Root權限方法
market下載的遊戲與程式能直接安裝在記憶卡嗎?
Android in Wikipedia
Nexus One到貨第二話:來看Android 2.1好體驗
Dalvik: how Google routed around Sun’s IP-based licensing restrictions on Java ME
Android and the Linux kernel community
Linux 2.6.33 Boosts Graphics, Dumps Android
Android 中文論壇, G3 Hero
[Android]HTC Hero[台灣版]取得Root權限方法
market下載的遊戲與程式能直接安裝在記憶卡嗎?
Android in Wikipedia
Nexus One到貨第二話:來看Android 2.1好體驗
Dalvik: how Google routed around Sun’s IP-based licensing restrictions on Java ME
Android and the Linux kernel community
Linux 2.6.33 Boosts Graphics, Dumps Android
FIPS-140 and HSM
FIPS 140
it is necessary to meet the requirement of FIPS 140-2 level 3
SafeNet HSM Implementation
HSM reseller in Taiwan
Thalesgroup's HSM: nShield Solo
Tutorial: nCipher NetHSM and OpenSSL
it is necessary to meet the requirement of FIPS 140-2 level 3
SafeNet HSM Implementation
HSM reseller in Taiwan
Thalesgroup's HSM: nShield Solo
Tutorial: nCipher NetHSM and OpenSSL
2010年1月18日 星期一
2009年11月18日 星期三
mitm and ssl
The Secure Goose: TLS renegotiation vulnerability and Frequency X Blog: IBM Internet Security Systems show this vulnerability. or one kind of CSRF.
2009年11月16日 星期一
core dump analysis
In Getting a backtrace from a coredump, it shows the tools for getting backtraces from coredumps.
Recently, my stuff asks me what is the procedure to get the reason that a program generates coredump in an AIX 5.3 machine.
# dbx <program generates="" the="" coredump=""> <coredump file="">
then the reason will be shown and which function/line generates the coredump.
Here is another post that show similar information.
It is interesting for me.
So I get involved to study whether to get such information in various platform.
btw, is there any tool to show such information in various platform ?
Recently, my stuff asks me what is the procedure to get the reason that a program generates coredump in an AIX 5.3 machine.
# dbx <program generates="" the="" coredump=""> <coredump file="">
then the reason will be shown and which function/line generates the coredump.
Here is another post that show similar information.
It is interesting for me.
So I get involved to study whether to get such information in various platform.
btw, is there any tool to show such information in various platform ?
2009年10月30日 星期五
訂閱:
文章 (Atom)