oyyd / encryptsocks Goto Github PK
View Code? Open in Web Editor NEWEncrypt your socks transmission.
License: BSD 3-Clause "New" or "Revised" License
Encrypt your socks transmission.
License: BSD 3-Clause "New" or "Revised" License
root@crazyforcode:/usr/local/bin# localssjs -s 104.224.151.62 -p 9999 -l 127.0.0.1 -b 1080 -k 1234567890 -m aes-256-cfb -t 600
2016-06-16T18:39:49.330Z - error: udp_relay socket err: bind EADDRINUSE :::1080
system: linux ubuntu 14.04
When i config localssjs according to toturial, i meet this error.
可以设置软件代理,有没有办法象lantern一样设置全局代理,所有的软件流量都经过代理呢?
In ubuntu14.04, the server side code has the follow problem, In Centos 6.5, it is working. I suspect due to the createServer function performs different in these two platforms
TypeError: Cannot read property 'level' of undefined
at Object.startServer (/home/ubuntu/shadowsocks-js/lib/ssServer.js:235:54)
at Object. (/home/ubuntu/shadowsocks-js/bin/ssserver:7:28)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Object. (/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js:53:21)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
使用localssjs -c cons.json 时出现unsupported method:错误,其中cons.json的配置如下
{
"serverAddr": "s1.l3l.site",
"serverPort": 31178,
"localAddr": "127.0.0.1",
"localPort": 1080,
"pacServerPort": 8090,
"password": "kingss.pw",
"timeout": 600,
"method": "aes-256-cfb",
"level": "warn",
"localAddrIPv6": "::1",
"serverAddrIPv6": "::1"
}
@oyyd 你好.
当我使用你的shadowsocks-js 在执行localssjs的时候, 按照你的例子填入相关参数.
然后运行后提示:
2016-08-11T06:34:49.418Z - error: udp_relay socket err: bind EADDRINUSE :::1088
经过检查不是端口已经被绑定, 换了很多端口都无法解决。
我clone你的仓库后,
执行npm install
然后到bin目录里 执行localssjs 并且按照README.md里的例子传入参数
只做过http的一点开发
客户端可以实现多服务器负载均衡么,高可用的参数
cent os7 运行serverssjs就报这个错
I wonder how much the high concurrency situation in a proxy tunnel,like shadowsocks?
你好 oyyd.
我看了你的shadowsocks-js项目后, 想写一个GUI工具
如果你不介意的话, 是否可以法邮箱给我一个安心的答复呢?、
我的邮箱:[email protected]
非常感谢你的shadowsocks-js
can you release a new version to npm ?
ssLocal write a big blob to ssServer , it would trigger multiple events for connection.on('data',(trunk)=>{});
and the trunk data would be aligned incorrectly to cause decipher to generate wrong data.
would that happen?
VER REP RSV ATYP BND ADDR BND PROT
1 1 0x00 1 动态 2
我看socks5协议的BND ADDR/BND PROT 是服务器绑定的地址和端口,在这里为什么要设置成0x00呢?
我在运行时用
let ssLocal = require('encryptsocks').createClient(config, true)
开启本地代理客户端,之后用
ssLocal.closeAll()
关闭代理并等待ssLocal.server和ssLocal.pacServer的close事件回调
pacServer回调很快,但是server的回调很慢,这是什么原因呢?
或者有没有更好的方法来解决我的需求呢~谢谢
NOTE: This authetication is dangerous when sniffed. 这句话是什么意思
这个东西应该是Adblock Plus里的东西吧,这个东西在这个项目中应用是做什么用的,难道是为了过滤广告?
我在这个库上做http层代理,发现经常会出现socket hang up问题,程序是如何控制丢包的
var crypto = require('crypto');
console.log(crypto.getCiphers());
[ 'CAST-cbc',
'aes-128-cbc',
'aes-128-cbc-hmac-sha1',
'aes-128-cfb',
'aes-128-cfb1',
'aes-128-cfb8',
'aes-128-ctr',
'aes-128-ecb',
'aes-128-gcm',
'aes-128-ofb',
'aes-128-xts',
'aes-192-cbc',
'aes-192-cfb',
'aes-192-cfb1',
'aes-192-cfb8',
'aes-192-ctr',
'aes-192-ecb',
'aes-192-gcm',
'aes-192-ofb',
'aes-256-cbc',
'aes-256-cbc-hmac-sha1',
'aes-256-cfb',
'aes-256-cfb1',
'aes-256-cfb8',
'aes-256-ctr',
'aes-256-ecb',
'aes-256-gcm',
'aes-256-ofb',
'aes-256-xts',
'aes128',
'aes192',
'aes256',
'bf',
'bf-cbc',
'bf-cfb',
'bf-ecb',
'bf-ofb',
'blowfish',
'camellia-128-cbc',
'camellia-128-cfb',
'camellia-128-cfb1',
'camellia-128-cfb8',
'camellia-128-ecb',
'camellia-128-ofb',
'camellia-192-cbc',
'camellia-192-cfb',
'camellia-192-cfb1',
'camellia-192-cfb8',
'camellia-192-ecb',
'camellia-192-ofb',
'camellia-256-cbc',
'camellia-256-cfb',
'camellia-256-cfb1',
'camellia-256-cfb8',
'camellia-256-ecb',
'camellia-256-ofb',
'camellia128',
'camellia192',
'camellia256',
'cast',
'cast-cbc',
'cast5-cbc',
'cast5-cfb',
'cast5-ecb',
'cast5-ofb',
'des',
'des-cbc',
'des-cfb',
'des-cfb1',
'des-cfb8',
'des-ecb',
'des-ede',
'des-ede-cbc',
'des-ede-cfb',
'des-ede-ofb',
'des-ede3',
'des-ede3-cbc',
'des-ede3-cfb',
'des-ede3-cfb1',
'des-ede3-cfb8',
'des-ede3-ofb',
'des-ofb',
'des3',
'desx',
'desx-cbc',
'id-aes128-GCM',
'id-aes192-GCM',
'id-aes256-GCM',
'idea',
'idea-cbc',
'idea-cfb',
'idea-ecb',
'idea-ofb',
'rc2',
'rc2-40-cbc',
'rc2-64-cbc',
'rc2-cbc',
'rc2-cfb',
'rc2-ecb',
'rc2-ofb',
'rc4',
'rc4-40',
'rc4-hmac-md5',
'seed',
'seed-cbc',
'seed-cfb',
'seed-ecb',
'seed-ofb' ]
可以作为node模块引入作为程序的一部分使用么,我正在做一个node开源程序,想借助一下这个程序,想通过npm install --save 安装为内部模块使用,而不用全局
用惯了shadowsocks-window,觉得pacserver应该是本地运行啊,为什么会在server端
在gfwlistUtils.js 的顶部注释// NOTE: do not use these in local server,是说pac放在服务端用么?
我看到所有的网络请求都经过代理,即使我打开国内网站百度也需要经过代理,有些慢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.