From: Harvie Date: Fri, 6 Aug 2010 03:02:12 +0000 (+0200) Subject: chromium extension dnssec-drill ( inspired by firefox drill extension: http://www... X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=aaa3f953bbbdb1e03003c99da35e6580e32f2c6f;p=mirrors%2FPrograms.git chromium extension dnssec-drill ( inspired by firefox drill extension: nlnetlabs.nl/projects/drill/drill_extension.html ) should validate DNSSEC records using external binary launched using NPAPI plugin. nowadays it's unreliable and i will probably discontinue it, because i can add DNSSEC support to chromium using libval_shim.so in LD_PRELOAD (BTW can we make LD_PRELOAD extension for chromium?). --- diff --git a/plugins/chrome-extensions/dnssec-drill/README.md b/plugins/chrome-extensions/dnssec-drill/README.md new file mode 100644 index 0000000..0c0478c --- /dev/null +++ b/plugins/chrome-extensions/dnssec-drill/README.md @@ -0,0 +1,9 @@ +Simple DNSSEC validator plugin for chromium, but it's in early stage of development but it works somehow. Only thing it does is showing red icon on fraudent sites and yellow on every other site (trusted and non-signed). it uses external binary of program called drill (from ldns or libldns package), which is launched with npexec plugin (NPAPI which enables you to call system() call from javascript) right now it's synchronous and therefore very slow. i want to implement following things in future (if i will found it usefull): + +TODO: +* multiple DNSSEC lookups at the time (asynchronous or multithreaded NPAPI plugin). +* block user from using sites with fraudent DNS records (not only showing icons) +* distinguish between non-signed and secure domains (parse drill output or patch drill) +* compile NPAPI plugin for Windows, Linux64 and MacOS. Currently i have only .so for 32bit Linux, but it should build as it is without any code changes. +* pack static drill binary and root-zone key to plugin +* plugin configuration page (change drill binary path or root-zone certificate, whitelist domains) diff --git a/plugins/chrome-extensions/dnssec-drill/application-certificate.png b/plugins/chrome-extensions/dnssec-drill/application-certificate.png new file mode 100644 index 0000000..565af99 Binary files /dev/null and b/plugins/chrome-extensions/dnssec-drill/application-certificate.png differ diff --git a/plugins/chrome-extensions/dnssec-drill/background.html b/plugins/chrome-extensions/dnssec-drill/background.html new file mode 100644 index 0000000..a79545f --- /dev/null +++ b/plugins/chrome-extensions/dnssec-drill/background.html @@ -0,0 +1,40 @@ + + + + + Plugin FAILED to load + + + + diff --git a/plugins/chrome-extensions/dnssec-drill/gtk-dialog-question.png b/plugins/chrome-extensions/dnssec-drill/gtk-dialog-question.png new file mode 100644 index 0000000..c7a3968 Binary files /dev/null and b/plugins/chrome-extensions/dnssec-drill/gtk-dialog-question.png differ diff --git a/plugins/chrome-extensions/dnssec-drill/ico-big.png b/plugins/chrome-extensions/dnssec-drill/ico-big.png new file mode 100644 index 0000000..d198f0a Binary files /dev/null and b/plugins/chrome-extensions/dnssec-drill/ico-big.png differ diff --git a/plugins/chrome-extensions/dnssec-drill/manifest.json b/plugins/chrome-extensions/dnssec-drill/manifest.json new file mode 100644 index 0000000..4db5644 --- /dev/null +++ b/plugins/chrome-extensions/dnssec-drill/manifest.json @@ -0,0 +1,26 @@ +{ + "name": "Drill DNSSEC Validator. Using NPAPI plugin to launch Drill utility available in ldns package.", + "version": "0.1", + "description": "", + "icons": { + "128": "security-high.png", + "16": "security-high.png", + "32": "security-high.png", + "48": "security-high.png" + }, + "background_page": "background.html", + "options_page": "options.html", + "page_action": { + "default_icon": "gtk-dialog-question.png", // required + "default_title": "DNSSEC Validator" // optional; shown in tooltip + //,"default_popup": "popup.html" // optional + }, + "plugins": [ + { "path": "npexec.so", "public": false } + /*{ "path": "npexec64.so" }, + { "path": "npexec.dll" }*/ + ], + "permissions": [ + "tabs" + ] +} diff --git a/plugins/chrome-extensions/dnssec-drill/options.html b/plugins/chrome-extensions/dnssec-drill/options.html new file mode 100644 index 0000000..8d136ad --- /dev/null +++ b/plugins/chrome-extensions/dnssec-drill/options.html @@ -0,0 +1,62 @@ + +Kyberia Notificator Options + + + + + + +
+

Kyberia.sk Mail Notificator

+name: +pass: +type: +secs: +
+
+ +
+  ___ ___                          __         
+ /   |   \ _____   _______ ___  __|__|  ____  
+/    ~    \\__  \  \_  __ \\  \/ /|  |_/ __ \ 
+\    Y    / / __ \_ |  | \/ \   / |  |\  ___/ 
+ \___|_  / (____  / |__|     \_/  |__| \___  >
+       \/       \/                         \/ 
+
+Brought to you by Harvie 2o1o (blog).
+
+ + + + + diff --git a/plugins/chrome-extensions/dnssec-drill/security-high.png b/plugins/chrome-extensions/dnssec-drill/security-high.png new file mode 100644 index 0000000..34ac983 Binary files /dev/null and b/plugins/chrome-extensions/dnssec-drill/security-high.png differ diff --git a/plugins/chrome-extensions/dnssec-drill/security-low.png b/plugins/chrome-extensions/dnssec-drill/security-low.png new file mode 100644 index 0000000..7ba8312 Binary files /dev/null and b/plugins/chrome-extensions/dnssec-drill/security-low.png differ diff --git a/plugins/chrome-extensions/dnssec-drill/security-medium.png b/plugins/chrome-extensions/dnssec-drill/security-medium.png new file mode 100644 index 0000000..0ebe638 Binary files /dev/null and b/plugins/chrome-extensions/dnssec-drill/security-medium.png differ