Подготовка на ерик за събитието #67
Labels
No Label
Communications
Electricity
Miscellaneous configuration
Monitoring
Organisational
Planning
Routing
Streaming
Switching
Wireless
рriority 1
рriority 2
рriority 3
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Network/2016#67
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ерик да бъде почистен преди събитието
root@eric:/etc # wall
Ima li oshte neshto za konfene?
kiliev
Broadcast message from root@eric (pts/2) (Tue Oct 25 12:31:02 2016):
Тъй като гледам са запалени services :
root@eric:/var/tmp # for service in
cat servicechecker.sh | cut -d \- -f 1
; do systemctl | grep ${service} ; donenagios3.service loaded active running LSB: nagios host/service/network monitoring and management system
collectd.service loaded active running Statistics collection and monitoring daemon
carbon-aggregator@top.service loaded active running carbon-aggregator instance top (graphite)
carbon-cache@a.service loaded active running carbon-cache instance a (graphite)
system-carbon\x2daggregator.slice loaded active active system-carbon\x2daggregator.slice
system-carbon\x2dcache.slice loaded active active system-carbon\x2dcache.slice
carbon-aggregator@top.service loaded active running carbon-aggregator instance top (graphite)
carbon-cache@a.service loaded active running carbon-cache instance a (graphite)
system-carbon\x2daggregator.slice loaded active active system-carbon\x2daggregator.slice
system-carbon\x2dcache.slice loaded active active system-carbon\x2dcache.slice
uwsgi.service loaded active running LSB: Start/stop uWSGI server instance(s)
nginx.service loaded active running LSB: starts the nginx web server
php5-fpm.service loaded active running The PHP FastCGI Process Manager
grafana-server.service loaded active running Starts and stops a single grafana instance on this system
rsyslog.service loaded active running System Logging Service
nagios3.service loaded active running LSB: nagios host/service/network monitoring and management system
root@eric:/var/tmp #
@robotpanic този тикет си е за самия ден за последна проверка и почистване. Ще се прави в петък.
Сложих фейлтубан, че китайците полазиха
[1]+ Stopped less /var/log/auth.log
root@eric:/etc/fail2ban # !vim
vim jail.local
root@eric:/etc/fail2ban # /etc/init.d/fail2ban restart
[ ok ] Restarting fail2ban (via systemctl): fail2ban.service.
root@eric:/etc/fail2ban # iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-ssh tcp -- anywhere anywhere tcp dpt:ssh
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain fail2ban-ssh (1 references)
target prot opt source destination
REJECT all -- 116.31.116.14 anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
root@eric:/etc/fail2ban #