Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ast-monitor
Advanced tools
A simple Asterisk events Monitor through Asterisk Manager Interface. You can monitor Peers Status, T1/E1 boards status, Congestion or Fail Calls and more.
Ast-Monitor is a module to monitor events on Asterisk Manager Interface.
It simplify the task to get certain events link a call and its parts (called and caller channels) and join, clean and re-emit the event with a new object.
const mon = require('ast-monitor')(AMI_PORT, AMI_HOST, AMI_USER, AMI_PASS, ARRAY_ITEMS_TO_MONITOR);
5038
/etc/asterisk/manager.conf
trunks
or peers
peers
, that means Monitor all peers
, or an object with an array list of peer you want monitor like {'peers': ['8020','8021']}
that means Monitor the peers 8020 and 8021
const mon = require('ast-monitor')('5038','192.168.10.252','snep','sneppass',[{'peers':['8029','8014']}]);
mon.events.on('online', function(data){
console.log('Online: %s', JSON.stringify(data));
});
mon.events.on('offline', function(data){
console.log('Offline: %s', JSON.stringify(data));
});
mon.events.on('oncall', function(data){
console.log('OnCall: %s', JSON.stringify(data));
});
mon.events.on('hangup', function(data){
console.log('Hangup: %s', JSON.stringify(data));
});
mon.events.on('state', function(data){
console.log('State: %s', JSON.stringify(data));
});
mon.events.on('connected', function(data){
console.log('Connected:');
console.log(data);
});
mon.events.on('error', function(data){
console.log('error:');
console.log(data);
});
FAQs
A simple Asterisk events Monitor through Asterisk Manager Interface. You can monitor Peers Status, T1/E1 boards status, Congestion or Fail Calls and more.
The npm package ast-monitor receives a total of 1 weekly downloads. As such, ast-monitor popularity was classified as not popular.
We found that ast-monitor 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.