1.iptables基本管理关闭firewalld,开启iptables服务查看防火墙规则追加、插入防火墙规则删除、清空防火墙规则 1.1 关闭firewalld,启动iptables服务1)关闭firewalld服务器]# systemctl stop firewalld.service ]# s ...
分类:
其他好文 时间:
2020-02-26 15:34:04
阅读次数:
87
问题:查看防火墙状态时报错service iptables status 解决方案 在CentOS 7或RHEL 7或Fedora中防火墙由firewalld来管理,当然你可以还原传统的管理方式,或则使用新的命令进行管理。本文中将还原传统的管理方式。 cd /etc/sysconfig ls -l ...
分类:
其他好文 时间:
2020-02-25 23:16:35
阅读次数:
101
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>案例:炫酷的字体效果</title> </head> <style type="text/css"> .{ padding: 0; margin: 0; } body { widt ...
分类:
其他好文 时间:
2020-02-25 23:08:32
阅读次数:
79
1 """ 2 Given an array of strings, group anagrams together. 3 Example: 4 Input: ["eat", "tea", "tan", "ate", "nat", "bat"], 5 Output: 6 [ 7 ["ate","ea ...
分类:
其他好文 时间:
2020-02-25 23:04:37
阅读次数:
68
问题:关闭防火墙时报错service iptables status Redirecting to /bin/systemctl status iptables.serviceUnit iptables.service could not be found. 解决方案: cd /etc/syscon ...
分类:
其他好文 时间:
2020-02-25 13:09:48
阅读次数:
89
本文概述了各种Spring配置样式,并帮助你了解配置Spring应用程序的复杂性。抽丝剥茧 细说架构那些事——【优锐课】 Spring是一个非常流行的基于Java的框架,用于构建Web和企业应用程序。与许多其他框架仅关注一个领域不同,Spring框架通过其投资组合项目提供了广泛的功能来满足现代业务需 ...
分类:
编程语言 时间:
2020-02-25 12:29:11
阅读次数:
67
1 """ 2 Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. 3 Example 1: 4 Inp ...
分类:
其他好文 时间:
2020-02-25 00:00:16
阅读次数:
59
最近在另一台电脑上更换了个虚拟机VirtualBox,这个虚拟机与Vmware使用上有很大的区别,首先这个虚拟机是免费的,其次网络配置会很简单,但习惯了Vmware的网络配置在VirtualBox中配置ssh远程操作上就遇到了不知道怎样连接了,下面就说下在virtualBox中NAT网络模式下的ss ...
分类:
其他好文 时间:
2020-02-24 16:57:24
阅读次数:
73
[TOC] 概述 五链指的是五个关卡,这五个关卡正好处在数据流量的必经之路上,我们就是通过这五个关卡来控制报文。这五个关卡就处在tcp/ip协议栈里面,而tcp/ip协议线处在内核里面,所以软件防火墙是属于内核空间的功能而不是用户空间的功能。 引申: 软防火墙通过关卡来控制报文的流动,硬件防火墙通过 ...
分类:
其他好文 时间:
2020-02-24 14:42:26
阅读次数:
85
1 概述 ___ netfilter/iptables: IP 信息包过滤系统,实际由两个组件netfilter和iptable组成。 1.1 netfiler/iptables关系: 1. netfilter组件也称为内核空间(kernelspace),是内核的一部分,由一些信息包和过滤表组成,这 ...
分类:
其他好文 时间:
2020-02-24 14:42:04
阅读次数:
72