Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Iptables-m extension

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

-m state

-- state {NEW,ESTATBLISHED,INVALID,RELATED} specifies which state to detect

Iptables-An INPUT-p tcp-m state-- state NEW,ESTABLISHED-j ACCEPT

Iptables-An OUTPUT-p tcp-m state-- state NEW,ESTABLISHED-j ACCEPT

-m multiport specifies multiple port numbers

-- sport

-- dport

-- ports

Iptables-An INPUT-p tcp-m multiport-- dport 22Magol 80pct 8080-j ACCEPT

Iptables-An OUTPUT-p tcp-m multiport-- sport 22Magol 80pct 8080-j ACCEPT

-m iprange specifies the IP segment

-- src-range ip-ip

-- dst-range ip-ip

Iptables-An INPUT-p tcp-m iprange-- src-range 100.0.0.0Universe 24-- dport 80-j ACCEPT

Iptables-An OUTPUT

-m connlimit connection qualification

-- comlimit-above # limit the number of Dalian connections

-m limit now has a connection rate, that is, limiting the number of matching packets

-- limit specified rate

-- limit-burst # Peak rate, maximum limit

-m string is qualified by string

-- algo bm | kmp specifies the algorithm bm or kmp

-- string "STRING" specifies the string itself

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report