This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var winston = require('winston'); | |
require('winston-daily-rotate-file'); | |
var logger = new (winston.Logger)({ | |
transports: [ | |
new (winston.transports.Console)({ | |
level: 'verbose', | |
colorize: false, | |
json: false | |
}), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flush | |
iptables -F | |
drop all input (note this will end an ssh session, further commands need to be run as root from console) | |
iptables -P INPUT DROP | |
block null packets | |