
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Most linux distributions have by defualt a very low open files limit. In order to sustain more than 1024 ( default ) connections, you need to apply the following changes to your system:
Add to /etc/sysctl.conf
:
fs.file-max = 50000
Add to /etc/security/limits.conf
:
* hard nofile 50000
* soft nofile 50000
* hard nproc 50000
* soft nproc 50000
$ kalerbr-pusher --app_key 765ec374ae0a69f4ce44 --secret your-pusher-secret
If all went to plan you should see the following output to STDOUT
kalebr-pusher API server listening on port 4567 kalebr-pusher WebSocket server listening on port 8080
...
Pusher.host = 'kalebr.example.com'
Pusher.port = 4567
You will also need to do the same to the Pusher JavaScript client in your client side JavaScript, e.g
<script type="text/javascript">
var pusher = new Pusher('#{Pusher.key}', {
wsHost: "0.0.0.0",
wsPort: "8080",
wssPort: "8080",
enabledTransports: ['ws', 'flash']
});
</script>
Of course you could proxy all requests to ws.example.com
to port 8080 of your kalerbr-pusher node and api.example.com
to port 4567 of your kalerbr-pusher node for example, that way you would only need to set the host property of the Pusher client.
© 2016
FAQs
Unknown package
We found that kalebr-pusher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.