当前位置:网站首页>Iptables prevent nmap scanning and binlog
Iptables prevent nmap scanning and binlog
2022-07-23 23:34:00 【Confused classmate Z】
iptables prevent nmap scanning
nmap Application :
(1) Detect whether a group of hosts are online
(2) Scan host port , The network services provided by sniffer
(3) Infer the operating system used by the host
The configuration command is as follows :
#iptables -F
#iptables -A INPUT -p tcp --tcp-flags ALL FIN,URG,PSH -j Drop
#iptables -A INPUT -p tcp --tcp-flags SYN,RST SYN,RST -j Drop
#iptables -A INPUT -p tcp --tcp-flags SYN,FIN SYN,FIN -j Drop
#iptables -A INPUT -p tcp --tcp-flags SYN,SYN --dport 80 -j Drop
binlog Implementation steps of incremental backup :
binlog:
1. Turn on binary log
log_bin
server_id=50
#max_binlog_size= The number # The default is 1G, Super 1G Just create a new binlog journal
2. restart MySQL service
systemctl restart mysqld
3. Check whether logging is enabled
1) Access to database ,show master status; # View the native binlog Log files
position —> Offset —> Record the number of the command
2) see /var/lib/mysql You can see binlog Log file and log index file
Configuration command :
1. Manually generate a new log file # Every binlog The offset of the log is from 154 Start
-flush logs or mysql -uroot -p123456 -e ‘flush logs’
-systemctl restart mysqld
-mysqldump
2. Clean up the log
1. Delete all logs before the specified log file purge master logs to “binlog file name ”
2. Delete all reset master;
3. Custom storage name
1. Configure in profile ,
bin_log=/mylog/rzc
2. Just restart the service
边栏推荐
- [computer three-level information security] access control model
- This article will show you what typescript is
- Basic operations of AutoCAD
- Leetcode: palindrome number
- 【Error】TypeError: expected str, bytes or os. PathLike object, not int
- Grey prediction (matlab)
- Tap series article 9 | application development accelerator
- 1000 okaleido tiger launched binance NFT, triggering a rush to buy
- Intel英特尔RealSense实感深度摄像头 自校准(Self-Calibration)操作步骤讲解 D400系列适用
- jarvisoj_ level2
猜你喜欢

AutoCAD advanced operation

The canfd/can interface offline burning operation instructions of h7-tool have been updated (2022-07-12)

jarvisoj_ level2

难怪国内企业ERP应用效果普遍不理想

【音视频技术】视频质量评价 MSU VQMT & Netflix vmaf

Smart IOT source code with configuration IOT source code industrial IOT source code: support sensor analysis services, real-time data collection and remote control

Lin Zhiying's injury is relatively stable

How does the easynvr platform turn off anonymous login?
![[OGeek2019]babyrop](/img/7a/18e8b985629488346e596cdf2a215c.png)
[OGeek2019]babyrop

jarvisoj_ level0
随机推荐
Arrayslist and sequence table -- Simulation Implementation
ubtun 更新源
cmake 编译工具小记
Mongodb database + graphical tools download, installation and use
Mobile, telecom and Unicom: fancy solution of 5g to B
Principal component analysis (matlab)
Interviewer: if the order is not paid within 30 minutes after it is generated, it will be automatically cancelled. How to realize it?
48: Chapter 5: develop admin management service: 1: create sub project [imooc news dev Service Admin], management service module;
FreeRTOS personal notes - suspend / unhook tasks
Analysis of mobile semantics and perfect forwarding
Use of pairwise
Navicat15 download and installation
Entropy weight method to optimize TOPSIS (matlab)
Redis管道技术/分区
PHP(2)
STM32F4查看系统各部分频率
二,数字逻辑功能单元
SecureCRT garbled
Lin Zhiying's injury is relatively stable
虚拟机导入iso后 Operating System not found 解决方法