var socks = require('socksv5');
var srv = socks.createServer(function(info, accept, deny) {
console.log('request', info);
deny();
});
srv.listen(1080, 'localhost', function() {
console.log('SOCKS server listening on port 1080');
});
srv.useAuth(socks.auth.None());
When using this example, it leads to CPU 100% of the WebKit network process. For Firefox and Chromium it's fine, they will say to me that the Socket connection could not be established.
When using this example, it leads to CPU 100% of the WebKit network process. For Firefox and Chromium it's fine, they will say to me that the Socket connection could not be established.
Upstream issue: https://gitlab.gnome.org/GNOME/glib/-/issues/2411