<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2022 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This is the configuration file template for OpenHarmony OSS Audit Tool, please copy it to your project root dir and modify it refer to OpenHarmony/tools_oat/README.
All configurations in this file will be merged to OAT-Default.xml, if you have any questions or concerns, please create issue in OpenHarmony/tools_oat and @jalenchen or chenyaxun.
licensefile:
1.If the project don't have "LICENSE" in root dir, please define all the license files in this project in , OAT will check license files according to this rule.
policylist:
1. policy: If the OAT-Default.xml policies do not meet your requirements, please add policies here.
2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is:
<policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
3. policyitem type:
"compatibility" is used to check license compatibility in the specified path;
"license" is used to check source license header in the specified path;
"copyright" is used to check source copyright header in the specified path;
"import" is used to check source dependency in the specified path, such as import ... ,include ...
"filetype" is used to check file type in the specified path, supported file types: archive, binary
"filename" is used to check whether the specified file exists in the specified path(projectroot means the root dir of the project), supported file names: LICENSE, README, README.OpenSource
4. policyitem name: This field is used for define the license, copyright, "*" means match all, the "!" prefix means could not match this value. For example, "!GPL" means can not use GPL license.
5. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem.
6. policyitem rule and group: These two fields are used together to merge policy results. "may" policyitems in the same group means any one in this group passed, the result will be passed.
7. policyitem filefilter: Used to bind filefilter which define filter rules.
7. policyitem desc: Used to describe the reason of this policy item, committers will check this while merging the code.
8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path.
Note:If the text contains special characters, please escape them according to the following rules:
" == >
& == >
' == >
< == >
> == >
-->
<configuration>
<oatconfig>
<licensefile>
COPYING
</licensefile>
<licensematcherlist>
<licensematcher name="Mike Frantzen" desc="">
<licensetext name='# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.' desc=""/>
</licensematcher>
<licensematcher name="GPL" desc="">
<licensetext name='This program is distributed under the terms of GNU GPL' desc=""/>
</licensematcher>
<licensematcher name="GPLv2" desc="">
<licensetext name='GPLv2 and Artistic Licence 2.0 and ISC' desc=""/>
</licensematcher>
<licensematcher name="libipt_CLUSTERIP.man" desc="">
<licensetext name='This module allows you to configure a simple cluster of nodes that share
a certain IP and MAC address without an explicit load balancer in front of
them. Connections are statically distributed between the nodes in this
cluster.' desc=""/>
</licensematcher>
</licensematcherlist>
<policylist>
<policy name="defaultPolicy" desc="use iptables by independent process">
<policyitem type="compatibility" name="GPL-2.0+" path="include/libipq/libipq.h" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/nft-cmd.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="libipq/libipq.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/xtables-monitor.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/nft-ipv4.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/nft-ipv6.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/iptables-standalone.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/nft-shared.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="include/linux/netfilter/xt_connmark.h" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/arptables-nft-restore.8" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="libipq/ipq_create_handle.3" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/arptables-nft-save.8" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/iptables.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/nft.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/arptables-nft.8" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptables by independent process"/>
<policyitem type="compatibility" name="GPL-2.0+" path="iptables/xtables-standalone.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="use iptab
没有合适的资源?快使用搜索试试~ 我知道了~
iptables 是用于配置 Linux 2.4.x 及更高版本的数据包过滤规则集的用户空间命令行程序 它面向系统管理员
共22个文件
patch:9个
xml:1个
spec:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 151 浏览量
2024-01-18
15:44:31
上传
评论
收藏 460KB ZIP 举报
温馨提示
iptables 是用于配置 Linux 2.4.x 及更高版本的数据包过滤规则集的用户空间命令行程序。它面向系统管理员。由于网络地址转换也是从数据包过滤器规则集配置的,因此 iptables 也用于此目的。iptables 软件包还包括 ip6tables。ip6tables 用于配置 IPv6 数据包过滤器。依赖 iptables 需要一个具有 ip_tables 数据包过滤器的内核。这包括所有 2.4.x 及更高版本的内核版本。
资源推荐
资源详情
资源评论
收起资源包目录
third_party_iptables-master.zip (22个子文件)
third_party_iptables-master
bundle.json 1KB
bugfix-add-check-fw-in-entry.patch 3KB
iptables-config 2KB
backport-libxtables-Register-only-the-highest-revision-extension.patch 2KB
iptables.service 398B
sysconfig_ip6tables 635B
OAT.xml 27KB
sysconfig_iptables 550B
backport-Improve-error-messages-for-unsupported-extensions.patch 3KB
iptables-1.8.7.tar.bz2 424KB
backport-xtables-restore-Extend-failure-error-message.patch 1KB
backport-xshared-Fix-response-to-unprivileged-users.patch 4KB
iptables.spec 13KB
enabled-makecheck-in-extensions.patch 920B
backport-nft-Fix-EPERM-handling-for-extensions-without-rev-0.patch 2KB
install.sh 683B
.gitignore 295B
backport-nft-Expand-extended-error-reporting-to-nft_cmd-too.patch 3KB
tests-extensions-add-some-testcases.patch 21KB
iptables.init 10KB
COPYING 18KB
BUILD.gn 5KB
共 22 条
- 1
资源评论
Java程序员-张凯
- 粉丝: 1w+
- 资源: 6649
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功