摘要: 【题目】 Maximum Depth of Binary Tree Total Accepted: 5260 Total Submissions: 11532My Submissions Given a binary tree, find its maximum depth. The maximum 阅读全文
posted @ 2016-11-07 16:23 军哥威武 阅读(219) 评论(0) 推荐(0) 编辑
摘要: iptables 深度详解 November 2, 2016 iptables 是 Linux 中比较底层的网络服务,它控制了 Linux 系统中的网络操作,在 CentOS 中的 firewalld 和 Ubuntu 中的 ufw 都是在 iptables 之上构建的,只为了简化 iptables 阅读全文
posted @ 2016-11-02 17:18 军哥威武 阅读(750) 评论(0) 推荐(0) 编辑
摘要: mips小板上有两个网卡eth0、eth1,现在要实现的是将eth0接收到的数据从eth1中转发出去。 iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp -s ! 10.0.0.1 -d 12.0.0.1 --dport 21 -j DNAT - 阅读全文
posted @ 2016-11-02 11:11 军哥威武 阅读(15521) 评论(0) 推荐(0) 编辑