Giter Site home page Giter Site logo

encryptsocks's People

Contributors

oyyd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

encryptsocks's Issues

Can't bind local port!!!!!

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.

seems not working in ubuntu 14.04

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)

unsupported method:

使用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里的例子传入参数

您的sslocal与ssServer 通讯中,分包处理过么

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?

为什么将BND ADDR 和 BND PROT 设为0x00

VER REP RSV ATYP BND ADDR BND PROT
1 1 0x00 1 动态 2
我看socks5协议的BND ADDR/BND PROT 是服务器绑定的地址和端口,在这里为什么要设置成0x00呢?

server关闭速度很慢

我在运行时用
let ssLocal = require('encryptsocks').createClient(config, true)
开启本地代理客户端,之后用
ssLocal.closeAll()
关闭代理并等待ssLocal.server和ssLocal.pacServer的close事件回调
pacServer回调很快,但是server的回调很慢,这是什么原因呢?
或者有没有更好的方法来解决我的需求呢~谢谢

ADPMatcher是做什么用的

这个东西应该是Adblock Plus里的东西吧,这个东西在这个项目中应用是做什么用的,难道是为了过滤广告?

发现node 不支持rc4-md5

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_modules 引入么

可以作为node模块引入作为程序的一部分使用么,我正在做一个node开源程序,想借助一下这个程序,想通过npm install --save 安装为内部模块使用,而不用全局

gfwlistUtils是在server端使用么?

用惯了shadowsocks-window,觉得pacserver应该是本地运行啊,为什么会在server端
在gfwlistUtils.js 的顶部注释// NOTE: do not use these in local server,是说pac放在服务端用么?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.