Provide event-based interface, which allow get information about DNS, HTTP, HTTPS, POP/SMTP requests and responses
npm install net_events
const Logger = require('net_events');
const events = Logger.events;
const logger = Logger.logger('wlan0');
logger.events.on(events.CONNECT_EVENT, (event) => {
...
});
- Track start and end session
- Track dns request and response
- HTTPS events
- Fix src and dst format
- Add reset event
- Unify data format for all events
- Fix dst and src for connect and disconnect events
- Fix folder to download
- Download Maxmind db when module starting first time
- Add ip to DNS
- Add Ready event
- Complete POP/SMTP/IMAP
- Fix double HTTP response
- Add fields to HTTP events data
- Add id to DNS request/response
- Ready handlers for HTTP, DNS, start and end of TCP session
- Just skeleton for module. Start watcher in separate process and send events in main process