CN103338155A - 一种数据包的高效过滤方法 - Google Patents
一种数据包的高效过滤方法 Download PDFInfo
- Publication number
- CN103338155A CN103338155A CN2013102704245A CN201310270424A CN103338155A CN 103338155 A CN103338155 A CN 103338155A CN 2013102704245 A CN2013102704245 A CN 2013102704245A CN 201310270424 A CN201310270424 A CN 201310270424A CN 103338155 A CN103338155 A CN 103338155A
- Authority
- CN
- China
- Prior art keywords
- interval
- filtering rule
- filtered fields
- filtering
- packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001914 filtration Methods 0.000 title claims abstract description 115
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000013507 mapping Methods 0.000 claims abstract description 13
- 230000008878 coupling Effects 0.000 claims description 17
- 238000010168 coupling process Methods 0.000 claims description 17
- 238000005859 coupling reaction Methods 0.000 claims description 17
- 230000006399 behavior Effects 0.000 claims description 9
- 230000006870 function Effects 0.000 claims description 3
- 238000002203 pretreatment Methods 0.000 claims description 3
- 229910002056 binary alloy Inorganic materials 0.000 claims description 2
- 238000007781 pre-processing Methods 0.000 abstract 1
- 238000010845 search algorithm Methods 0.000 abstract 1
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 3
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000002349 favourable effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
CPU内核 | 数据包长度 | 源IP地址 | 目的IP地址 | 源端口 | 目的端口 |
1 | 1280 | 10.0.0.55 | 61.191.206.172 | 3000 | 22 |
2 | 900 | 192.168.1.99 | 61.191.206.172 | 5000 | 80 |
规则序号 | 数据包长度 | 源IP地址 | 目的IP地址 | 源端口 | 目的端口 | 处理动作 |
1 | 0-500 | 172.16.12.1-172.16.12.255 | Nlll | 0-1000 | 80 | 放行 |
2 | 64 | 192.168.1.1-192.168.1.255 | Null | Null | Null | 禁止 |
3 | 1000-1480 | 10.0.0.1-10.0.0.255 | 61.191.206.172-61.191.206.172 | 2000-65535 | 22 | 放行 |
4 | 600-800 | Null | Null | 0-65535 | 0-65535 | 禁止 |
5 | 600-1480 | 192.168.1.99-192.168.1.99 | Null | Null | Null | 禁止 |
有效区间编号 | 过滤字段数据 | 对应规则 |
0 | 0-63 | 规则1 |
1 | 64 | 规则1、2 |
2 | 65-500 | 规则1 |
3 | 600-800 | 规则4、5 |
4 | 801-999 | 规则5 |
5 | 1000-1480 | 规则3、5 |
有效区间编号 | 过滤字段数据 | 对应规则 |
0 | 10.0.0.1-10.0.0.255 | 规则3 |
1 | 172.16.12.1-172.16.12.255 | 规则1 |
2 | 192.168.1.1-192.168.1.98 | 规则2 |
3 | 192.168.1.99-192.168.1.99 | 规则5 |
4 | 192.168.1.100-192.168.1.255 | 规则2 |
有效区间编号 | 过滤字段数据 | 对应规则 |
0 | 60.191.206.172-60.191.206.172 | 规则3 |
有效区间编号 | 过滤字段数据 | 对应规则 |
0 | 0-1000 | 规则1、4 |
1 | 1001-1999 | 规则4 |
2 | 2000-65535 | 规则3、4 |
有效区间编号 | 过滤字段数据 | 对应规则 |
0 | 0-21 | 规则4 |
1 | 22-22 | 规则3、4 |
2 | 23-79 | 规则4 |
3 | 80-80 | 规则1、4 |
4 | 81-65535 | 规则4 |
过滤字段类型 | 数据包长度 | 源IP地址 | 目的IP地址 | 源端口 | 目的端口 |
右位移操作次数 | 3 | 24 | 22 | 8 | 8 |
元区间编号 | 元区间数值范围 |
0 | 0-7 |
1 | 8-15 |
2 | 16-23 |
… | … |
184 | 1472-1479 |
185 | 1480 |
元区间编号 | 元区间数值范围 |
0 | 0-16777215 |
1 | 16777216-33554431 |
… | … |
10 | 167772160-184549375 |
… | … |
28 | 469762048-486539263 |
… | … |
192 | 3221225472-3238002687 |
元区间编号 | 元区间数值范围 |
0 | 0-255 |
1 | 256-511 |
2 | 512-767 |
… | … |
254 | 65024-65279 |
255 | 65280-65535 |
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310270424.5A CN103338155B (zh) | 2013-07-01 | 2013-07-01 | 一种数据包的高效过滤方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310270424.5A CN103338155B (zh) | 2013-07-01 | 2013-07-01 | 一种数据包的高效过滤方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103338155A true CN103338155A (zh) | 2013-10-02 |
CN103338155B CN103338155B (zh) | 2016-02-24 |
Family
ID=49246255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310270424.5A Active CN103338155B (zh) | 2013-07-01 | 2013-07-01 | 一种数据包的高效过滤方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103338155B (zh) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933437A (zh) * | 2016-06-15 | 2016-09-07 | 乐视控股(北京)有限公司 | 服务器推荐方法及装置 |
CN106100998A (zh) * | 2016-08-23 | 2016-11-09 | 杭州迪普科技有限公司 | 一种路由过滤规则的组织方法和装置 |
CN106230791A (zh) * | 2016-07-20 | 2016-12-14 | 杭州迪普科技有限公司 | 一种单业务多策略快速匹配的方法和装置 |
CN106873484A (zh) * | 2017-02-27 | 2017-06-20 | 今创科技有限公司 | 一种轨道交通气象监控方法、装置以及系统 |
CN107038161A (zh) * | 2015-07-13 | 2017-08-11 | 阿里巴巴集团控股有限公司 | 一种用于过滤数据的设备及方法 |
CN107682300A (zh) * | 2016-08-02 | 2018-02-09 | 华为技术有限公司 | 确定安全组规则链的方法和装置 |
CN109672623A (zh) * | 2018-12-28 | 2019-04-23 | 大唐软件技术股份有限公司 | 一种报文处理方法和装置 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545254A (zh) * | 2003-11-13 | 2004-11-10 | 中兴通讯股份有限公司 | 一种快速数据包过滤方法 |
CN101783786A (zh) * | 2009-01-19 | 2010-07-21 | 中兴通讯股份有限公司 | 数据包过滤方法和装置 |
-
2013
- 2013-07-01 CN CN201310270424.5A patent/CN103338155B/zh active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545254A (zh) * | 2003-11-13 | 2004-11-10 | 中兴通讯股份有限公司 | 一种快速数据包过滤方法 |
CN101783786A (zh) * | 2009-01-19 | 2010-07-21 | 中兴通讯股份有限公司 | 数据包过滤方法和装置 |
Non-Patent Citations (1)
Title |
---|
顾瑞春: ""基于Linux的高效包过滤技术研究——包捕获技术匹配算法改进"", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107038161A (zh) * | 2015-07-13 | 2017-08-11 | 阿里巴巴集团控股有限公司 | 一种用于过滤数据的设备及方法 |
CN107038161B (zh) * | 2015-07-13 | 2021-03-26 | 阿里巴巴集团控股有限公司 | 一种用于过滤数据的设备及方法 |
CN105933437A (zh) * | 2016-06-15 | 2016-09-07 | 乐视控股(北京)有限公司 | 服务器推荐方法及装置 |
CN106230791A (zh) * | 2016-07-20 | 2016-12-14 | 杭州迪普科技有限公司 | 一种单业务多策略快速匹配的方法和装置 |
US10491636B2 (en) | 2016-07-20 | 2019-11-26 | Hangzhou Dptech Technologies Co., Ltd. | Managing security policy |
CN107682300A (zh) * | 2016-08-02 | 2018-02-09 | 华为技术有限公司 | 确定安全组规则链的方法和装置 |
CN106100998A (zh) * | 2016-08-23 | 2016-11-09 | 杭州迪普科技有限公司 | 一种路由过滤规则的组织方法和装置 |
CN106100998B (zh) * | 2016-08-23 | 2019-07-09 | 杭州迪普科技股份有限公司 | 一种路由过滤规则的组织方法和装置 |
CN106873484A (zh) * | 2017-02-27 | 2017-06-20 | 今创科技有限公司 | 一种轨道交通气象监控方法、装置以及系统 |
CN109672623A (zh) * | 2018-12-28 | 2019-04-23 | 大唐软件技术股份有限公司 | 一种报文处理方法和装置 |
CN109672623B (zh) * | 2018-12-28 | 2020-12-25 | 大唐软件技术股份有限公司 | 一种报文处理方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN103338155B (zh) | 2016-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103338155A (zh) | 一种数据包的高效过滤方法 | |
US10387397B2 (en) | Parallel build of non-partitioned join hash tables and non-enforced n:1 join hash tables | |
CN102656580B (zh) | 结构化数据的方法、预编译的异常列表引擎和网络设备 | |
US10572442B2 (en) | Systems and methods for providing distributed tree traversal using hardware-based processing | |
CN101345694A (zh) | 一种快速查找定位和匹配访问控制列表的方法 | |
CN103514201B (zh) | 一种非关系型数据库的数据查询方法和装置 | |
CN108769111A (zh) | 一种服务器连接方法、计算机可读存储介质及终端设备 | |
CN109408681B (zh) | 一种字符串匹配方法、装置、设备及可读存储介质 | |
CN103838770A (zh) | 一种数据逻辑分区的方法和系统 | |
CN104111936B (zh) | 数据查询方法和系统 | |
CN101753445A (zh) | 基于关键字分解Hash算法的快速流分类方法 | |
US9813490B2 (en) | Scheduled network communication for efficient re-partitioning of data | |
CN104834484B (zh) | 基于嵌入式可编程逻辑阵列的数据处理系统及处理方法 | |
CN101694672A (zh) | 一种分布式安全检索系统 | |
CN101848248A (zh) | 一种规则查找方法和装置 | |
CN105740405B (zh) | 存储数据的方法和装置 | |
CN106598743A (zh) | 一种基于mpi并行求信息系统属性约简的方法 | |
CN111723298A (zh) | 基于改进标签传播的社交网络社团发现方法、装置及介质 | |
Von der Weth et al. | Multiterm keyword search in NoSQL systems | |
CN107330094A (zh) | 动态存储键值对的布鲁姆过滤器树结构及键值对存储方法 | |
Li et al. | Efficient subspace skyline query based on user preference using MapReduce | |
CN105574076B (zh) | 一种基于Bloom Filter的键值对存储结构及方法 | |
CN106802927A (zh) | 一种数据存储方法及查询方法 | |
US9239852B1 (en) | Item collections | |
CN105550220B (zh) | 一种异构系统的取数的方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C56 | Change in the name or address of the patentee | ||
CP03 | Change of name, title or address |
Address after: High tech Zone in Hefei city of Anhui province Magnolia Avenue 230000 No. 767 Anhui software industry development center Patentee after: China Network Information Security Limited by Share Ltd Address before: The new industrial development building No. 767 high tech Zone Magnolia Road in Hefei city in Anhui province 230000 Patentee before: Anhui ZhongXin Software Co., Ltd. |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: High-efficiency filtering method for data packets Effective date of registration: 20170929 Granted publication date: 20160224 Pledgee: Hefei high tech Company limited by guarantee Pledgor: China Network Information Security Limited by Share Ltd Registration number: 2017340000259 |
|
PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Date of cancellation: 20181212 Granted publication date: 20160224 Pledgee: Hefei high tech Company limited by guarantee Pledgor: China Network Information Security Limited by Share Ltd Registration number: 2017340000259 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: High-efficiency filtering method for data packets Effective date of registration: 20190103 Granted publication date: 20160224 Pledgee: Hefei SME financing Company limited by guarantee Pledgor: China Network Information Security Limited by Share Ltd Registration number: 2019340000004 |
|
PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Date of cancellation: 20200415 Granted publication date: 20160224 Pledgee: Hefei SME financing Company limited by guarantee Pledgor: ZHONGXIN NETWORK INFORMATION SECURITY Co.,Ltd. Registration number: 2019340000004 |