This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basic_auth_realm": "Basic realm=\"Mozilla Corporation - LDAP Login\"", | |
"browserid_server": "https://login.persona.org", | |
"client_sessions": { | |
"cookie_name": "session_state", | |
"secret": "REDACTED", | |
"duration": 86400000 | |
}, | |
"default_lang": "en-US", | |
"debug_lang": "it-CH", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var httpProxy = require('http-proxy'), | |
path = require('path'), | |
fs = require('fs'); | |
httpProxy.createServer(443, 'login.persona.org', { | |
https: { | |
key: fs.readFileSync(path.join(process.env['HOME'], 'key.pem'), 'utf8'), | |
cert: fs.readFileSync(path.join(process.env['HOME'], 'cert.pem'), 'utf8') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(a[d])); | |
b && b.length && (c = b.join("&")); | |
return c | |
} | |
function d(a, b) { | |
try { | |
a.readyState == 4 && (a.onreadystatechange = c, b && b(a.responseText, a.status)) | |
} catch (d) {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[lloyd@clover ~]$ dig -t a login.persona.org | |
;; ANSWER SECTION: | |
login.persona.org. 3433 IN CNAME persona.org. | |
persona.org. 30 IN A 63.245.217.134 | |
[lloyd@clover ~]$ dig -t a static.login.persona.org | |
;; ANSWER SECTION: | |
static.login.persona.org. 2209 IN CNAME persona.org. | |
persona.org. 30 IN A 63.245.209.241 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
toobusy: https://travis-ci.org/mozilla/browserid/builds/4330324 | |
legitimate: https://travis-ci.org/mozilla/browserid/jobs/4306703 | |
toobusy: https://travis-ci.org/mozilla/browserid/builds/4306122 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOADING BCRYPT: | |
lstat("/home/lloyd/dev/browserid/node_modules/bcrypt/build/Release/bcrypt_lib.node", {st_mode=S_IFREG|0755, st_size=40622, ...}) = 0 | |
futex(0x7f07719680c8, FUTEX_WAKE_PRIVATE, 2147483647) = 0 | |
open("/home/lloyd/dev/browserid/node_modules/bcrypt/build/Release/bcrypt_lib.node", O_RDONLY|O_CLOEXEC) = 7 | |
read(7, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260!\0\0\0\0\0\0"..., 832) = 832 | |
fstat(7, {st_mode=S_IFREG|0755, st_size=40622, ...}) = 0 | |
mmap(NULL, 2127256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0x7f077035b000 | |
mprotect(0x7f0770362000, 2097152, PROT_NONE) = 0 | |
mmap(0x7f0770562000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x7000) = 0x7f0770562000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ find . -name "*.node" | |
./node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/encoding/node_modules/iconv/build/Release/obj.target/iconv.node | |
./node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib/node_modules/encoding/node_modules/iconv/build/Release/iconv.node | |
./node_modules/htmlparser/libxmljs.node | |
./node_modules/toobusy/build/Release/obj.target/toobusy.node | |
./node_modules/toobusy/build/Release/toobusy.node | |
./node_modules/bcrypt/build/Release/obj.target/bcrypt_lib.node | |
./node_modules/bcrypt/build/Release/bcrypt_lib.node | |
./node_modules/node-inspector/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build/Release/hiredis.node | |
./node_modules/node-inspector/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/bufferutil.node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN CERTIFICATE----- | |
MIID2TCCAsGgAwIBAgIDAjbQMA0GCSqGSIb3DQEBBQUAMEIxCzAJBgNVBAYTAlVT | |
MRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMRswGQYDVQQDExJHZW9UcnVzdCBHbG9i | |
YWwgQ0EwHhcNMTAwMjE5MjIzOTI2WhcNMjAwMjE4MjIzOTI2WjBAMQswCQYDVQQG | |
EwJVUzEXMBUGA1UEChMOR2VvVHJ1c3QsIEluYy4xGDAWBgNVBAMTD0dlb1RydXN0 | |
IFNTTCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJCzgMHk5Uat | |
cGA9uuUU3Z6KXot1WubKbUGlI+g5hSZ6p1V3mkihkn46HhrxJ6ujTDnMyz1Hr4Gu | |
FmpcN+9FQf37mpc8oEOdxt8XIdGKolbCA0mEEoE+yQpUYGa5jFTk+eb5lPHgX3UR | |
8im55IaisYmtph6DKWOy8FQchQt65+EuDa+kvc3nsVrXjAVaDktzKIt1XTTYdwvh | |
dGLicTBi2LyKBeUxY0pUiWozeKdOVSQdl+8a5BLGDzAYtDRN4dgjOyFbLTAZJQ50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'), | |
toobusy = require('toobusy'); | |
console.log("Maximum allowed event loop lag: " + toobusy.maxLag(50) + "ms"); | |
function processRequest(res, num, startTime) { | |
if (!startTime) startTime = new Date(); | |
if (num === undefined) { | |
return process.nextTick(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
function processRequest(res, num, startTime) { | |
if (!startTime) startTime = new Date(); | |
if (num === undefined) { | |
return process.nextTick(function() { | |
processRequest(res, 0); | |
}); | |
} |