{"_id":"404project","_rev":"33-26c454592c38038e72ca343c31a4a83e","name":"404project","description":"Report 404 errors to http://www.dshield.org/tools/404project.html","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.1":{"name":"404project","version":"0.0.1","description":"Report 404 errors to http://www.dshield.org/tools/404project.html","keywords":["connect","security"],"repository":{"type":"git","url":"git@github.com:jolira/node-404project.git"},"author":{"name":"Joachim Kainz","email":"jfk@jolira.com","url":"http://www.jolira.com"},"bugs":{"email":"dev@jolira.com","url":"http://github.com/jolira/node-404project/issues"},"bin":{"404reporter":"./bin/404reporter"},"scripts":{"prepublish":"npm prune"},"main":"index","engines":{"node":">= 0.4.0 < 0.7.0"},"_npmUser":{"name":"jfk","email":"jfk@jolira.com"},"_id":"404project@0.0.1","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-beta-4","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"65ef46c5eb092734343623ee9d870cf58c53fe55","tarball":"https://registry.npmjs.org/404project/-/404project-0.0.1.tgz","integrity":"sha512-BG3MCH/8ZFLadap496tKDKmhMhV3EVyNYR8WhCwHVrnv0CZBU1ZvU4peTFFIl8wLOgkOI6Saeuc7+7YdkA2r9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFbbxexIxxctiTkm50WntGpiq2nkfGmidHIfqSRxXKcgAiBkdEEzcJMEbzQ+Y6A8o+ubti+zN0Hcqa6z0jnMvT7HXg=="}]},"maintainers":[{"name":"jfk","email":"jfk@jolira.com"}],"directories":{}},"0.0.2":{"name":"404project","version":"0.0.2","description":"Report 404 errors to http://www.dshield.org/tools/404project.html","keywords":["connect","security"],"repository":{"type":"git","url":"git@github.com:jolira/node-404project.git"},"author":{"name":"Joachim Kainz","email":"jfk@jolira.com","url":"http://www.jolira.com"},"bugs":{"email":"dev@jolira.com","url":"http://github.com/jolira/node-404project/issues"},"bin":{"404reporter":"./bin/404reporter"},"scripts":{"prepublish":"npm prune"},"main":"index","engines":{"node":">= 0.4.0 < 0.7.0"},"_npmUser":{"name":"jfk","email":"jfk@jolira.com"},"_id":"404project@0.0.2","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-beta-4","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"84d98f08ddb691e4f590cde51bb8e0013b14e8f6","tarball":"https://registry.npmjs.org/404project/-/404project-0.0.2.tgz","integrity":"sha512-y578UNT3jRutzoxgmaPHWPjsAl7d29jQ9ZuylsGZGoGM+sE1mryxclJ23qs/Cn9UjRsZYipKB5n4r4xhJ5P/jQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVSDlHbje8VZ6b9NPCSes94O9u4oK+mBrPOT5II/FMJgIhAPsz3wf35QDePTX1d6aC0ye2FhLSua3A+cK7vn6RG6rx"}]},"maintainers":[{"name":"jfk","email":"jfk@jolira.com"}],"directories":{}},"0.0.4":{"name":"404project","version":"0.0.4","description":"Report 404 errors to http://www.dshield.org/tools/404project.html","keywords":["security","http","https","connect","express"],"repository":{"type":"git","url":"git@github.com:jolira/node-404project.git"},"author":{"name":"Joachim Kainz","email":"jfk@jolira.com","url":"http://www.jolira.com"},"bugs":{"email":"dev@jolira.com","url":"http://github.com/jolira/node-404project/issues"},"bin":{"404reporter":"./bin/404reporter"},"devDependencies":{"express":">= 2.5.3"},"scripts":{"prepublish":"npm prune"},"main":"index","engines":{"node":">= 0.4.0 < 0.7.0"},"_npmUser":{"name":"jfk","email":"jfk@jolira.com"},"_id":"404project@0.0.4","dependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-beta-4","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"099b8e456b4b512231e8fef93545e19bf81ade79","tarball":"https://registry.npmjs.org/404project/-/404project-0.0.4.tgz","integrity":"sha512-v76NnDypebQIqLH/pnLVUG4AAitAYRnDh/qs0UVNQa7wUpr25gMiffKRCU6ogr8rGNP2bnLYsFmJiu36s41oew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvRhsYPbtDlPEb5LIh/6Hjg495Fq9HVFbmzwsE09qTUwIhANIcmM9vm+W8Hi13Bv8tqA1smsRqw7YSORr30yEh2hGk"}]},"maintainers":[{"name":"jfk","email":"jfk@jolira.com"}],"directories":{}},"0.0.5":{"name":"404project","version":"0.0.5","description":"Report 404 errors to http://www.dshield.org/tools/404project.html","keywords":["security","http","https","connect","express"],"repository":{"type":"git","url":"git@github.com:jolira/node-404project.git"},"author":{"name":"Joachim Kainz","email":"jfk@jolira.com","url":"http://www.jolira.com"},"bugs":{"email":"dev@jolira.com","url":"http://github.com/jolira/node-404project/issues"},"bin":{"404reporter":"./bin/404reporter"},"devDependencies":{"express":">= 2.5.3"},"scripts":{"prepublish":"npm prune"},"main":"index","engines":{"node":">= 0.4.0 < 0.7.0"},"_npmUser":{"name":"jfk","email":"jfk@jolira.com"},"_id":"404project@0.0.5","dependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-beta-4","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"c5a73038e6fa13513d74ed23a84e7a122ce073e6","tarball":"https://registry.npmjs.org/404project/-/404project-0.0.5.tgz","integrity":"sha512-6Xrw563A863PmBGq4XV6VyvzYAt/ediUU0xvIx0B9CSGcGh+mFYYTnYhxti3AO0twJMZHk3h1PmaRrLrsCuIbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQKGdLEwQH86TVlDAxKRIRD4jXBFXQEppec48uDW4H7wIhAPyXXPWCQlQOuSCa3lODyrIJmzzH+qxf1PQmmTeuV1K2"}]},"maintainers":[{"name":"jfk","email":"jfk@jolira.com"}],"directories":{}},"0.0.6":{"name":"404project","version":"0.0.6","description":"Report 404 errors to http://www.dshield.org/tools/404project.html","keywords":["security","http","https","connect","express"],"author":{"name":"Joachim Kainz","email":"jfk@jolira.com","url":"http://www.jolira.com"},"repository":{"url":"git://github.com/jolira/node-404project.git","type":"git"},"bugs":{"email":"dev@jolira.com","url":"http://github.com/jolira/node-404project/issues"},"bin":{"404reporter":"./bin/404reporter"},"devDependencies":{"express":">= 2.5.3"},"scripts":{"prepublish":"npm prune"},"main":"index","engines":{"node":">= 0.4.0 < 0.7.0"},"_npmUser":{"name":"jfk","email":"jfk@jolira.com"},"_id":"404project@0.0.6","dependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-beta-4","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"d41bacacc88b7736f9691935e617aad8a32f5dc4","tarball":"https://registry.npmjs.org/404project/-/404project-0.0.6.tgz","integrity":"sha512-QGYHDXXahgiuY7a5TyVoQwFKIENgkqX18lCZz99Q3TIwxtOg5xj4IcUwupY/t6A5KVJKERPI7t/3tJAF6ph+dQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs5Fpx03rx7CcETVKJ0cw472jtGIku4Sn2PDB87mF1yQIhAL1XsPvlEK8NBgpAKqfA2soJ4kXsIZ8Ly2ZGnyxkJfNC"}]},"maintainers":[{"name":"jfk","email":"jfk@jolira.com"}],"directories":{}},"0.1.0":{"name":"404project","version":"0.1.0","description":"Report 404 errors to http://www.dshield.org/tools/404project.html","keywords":["security","http","https","connect","express"],"author":{"name":"Joachim Kainz","email":"jfk@jolira.com","url":"http://www.jolira.com"},"repository":{"url":"git://github.com/jolira/node-404project.git","type":"git"},"bugs":{"email":"dev@jolira.com","url":"http://github.com/jolira/node-404project/issues"},"bin":{"404reporter":"./bin/404reporter"},"devDependencies":{"express":">= 2.5.3"},"scripts":{"prepublish":"npm prune"},"main":"index","engines":{"node":">= 0.4.0 < 0.7.0"},"_npmUser":{"name":"jfk","email":"jfk@jolira.com"},"_id":"404project@0.1.0","dependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"826c79f88d182716ead9c1b45c2126072821c2c3","tarball":"https://registry.npmjs.org/404project/-/404project-0.1.0.tgz","integrity":"sha512-oqh5q395RuQ/jK9etI5mTdzrebCn1L1LNEaiE265LfMQpSQXWxiYEnppRNfAHGgGdew6sWO3+TF113yO0Z9N1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEvQPMWbgh8ao/LPqzBJt3PEdkJ3BoGBET2w4xDPilvxAiEAoLU92gSwpeU2ci/FaOvh4wyMJg0EO7+uAosvDBpUYc4="}]},"maintainers":[{"name":"jfk","email":"jfk@jolira.com"}]},"0.1.1":{"name":"404project","version":"0.1.1","description":"Report 404 errors to http://www.dshield.org/tools/404project.html","keywords":["security","http","https","connect","express"],"author":{"name":"Joachim Kainz","email":"jfk@jolira.com","url":"http://www.jolira.com"},"repository":{"url":"https://github.com/jolira/node-404project.git","type":"git"},"bugs":{"mail":"dev@jolira.com","url":"http://github.com/jolira/node-404project/issues"},"bin":{"404reporter":"./bin/404reporter"},"devDependencies":{"express":">= 2.5.3"},"scripts":{"prepublish":"npm prune"},"main":"index","engines":{"node":">= 0.4.0 < 0.9.0"},"readme":"node-404project\n=====================\n\nA simple client for reporting 404 server errors to the \"404 project\" at http://www.dshield.org/tools/404project.html.\n\nPlease see the instructions at http://www.dshield.org/tools/404project.html for creating an ISC account retrieving\nthe ISC ID and the Authentication key.\n\nInstallation\n---------------------\n\n```\nnpm install 404project\n```\n\nUsage\n---------------------\n\n### Express.js\n\nUsing as a plugin for express.js:\n\n```\nvar express = require(\"express\");\nvar reporter = require(\"404project\");\nvar myUserID = process.argv[2] || \"[Your ISC ID]\";\nvar myKey = process.argv[3] || \"[Your Authentication Key]\";\nvar app = express.createServer();\n\napp.use(reporter(myUserID, myKey));\napp.listen(3000);\n```\n\n### Connect.js\n\nThe same code also works for connect.js. Just replace\n\n```\nvar express = require(\"express\");\n```\n\nwith\n\n```\nvar express = require(\"connect\");\n```\n\n### Other Frameworks\n\nUsers of different frameworks can call the functionreturned by ``reporter(myUserID, myKey)`` directly using:\n\n```\n// ...\nvar report = reporter(myUserID, myKey);\n\nreport(request, response);\n// ...\n```\n\nor\n\n```\n// ...\nvar report = reporter(myUserID, myKey);\n\nreport(url, ip, ua, timestamp);\n// ...\n```\n\n### Command-Line Support\n\nThere is also a command-line tool:\n\n```\nbin/404reporter 036742670 aaaaaaaaaaaabbcccccccccccceeeeeeeeffffff \"http://www.jolira.com/__phpamdin\" 125.64.23.180 jakarta\n```\n\nDebugging\n---------------------\n\nIn case of error, dshield does not provide a terrific amount of debugging support, but an message is produced\nif the value ``404project`` is part of the ``NODE_DEBUG`` environment variable.\n\n```\nexport NODE_DEBUG=\"404project\"\n```\n\nThe library prints ``404project: OK`` if the data was submitted correctly and ``404project: ERROR`` if it did not.\nPlease double-check you ISC ID and the Authentication key in case you encounter problems.\n","_id":"404project@0.1.1","dist":{"shasum":"d7b057058c0999c1d4009860e57780933c9c659b","tarball":"https://registry.npmjs.org/404project/-/404project-0.1.1.tgz","integrity":"sha512-5Z9RFxU03b/glmuDiiZSvrGaTYfdkRYz/4tywEI4jTQp5tUtgu430bHL7L1aG7oHBGqYV2ASXoTvIGcedII+gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQaKp/AgBnMNUuop87vc6tHU4KRnTLqmHMqsndNDwvmQIgb54B5bCpJmFuj1pGZNwQICNz/POvTv5FJfvmPF/tjt0="}]},"maintainers":[{"name":"jfk","email":"jfk@jolira.com"}]}},"readme":"node-404project\n=====================\n\nA simple client for reporting 404 server errors to the \"404 project\" at http://www.dshield.org/tools/404project.html.\n\nInstallation\n---------------------\n\n```\nnpm install 404project\n```\n\nUsage\n---------------------\n\n```\nvar express = require('express');\n\n// the user id is usually a number, like 1234567\nvar myUserID='[Your ISC ID]';\nvar myKey='[Your Authentication Key]';\nvar reporter = require('404project').create(myUserID, myKey);\nvar app = module.exports = express.createServer();\n\napp.get(function(request, response) {\n    response.statusCode = 404;\n    response.end(\"<h1>not found</h1>\");\n    reporter.report404(request);\n});\n\napp.listen(3000);\n```\n","maintainers":[{"name":"jfk","email":"jfk@jolira.com"}],"time":{"modified":"2022-06-12T14:07:37.334Z","created":"2011-12-31T09:13:00.008Z","0.0.1":"2011-12-31T09:13:01.664Z","0.0.2":"2011-12-31T17:58:00.668Z","0.0.4":"2012-01-02T09:24:19.508Z","0.0.5":"2012-01-02T22:19:51.147Z","0.0.6":"2012-01-03T21:24:48.632Z","0.1.0":"2012-02-19T01:06:58.447Z","0.1.1":"2012-06-28T07:10:56.180Z"},"author":{"name":"Joachim Kainz","email":"jfk@jolira.com","url":"http://www.jolira.com"},"repository":{"url":"https://github.com/jolira/node-404project.git","type":"git"}}