当前位置:首页 » 专业资讯
开发技术指南» 文章正文
    引言: $ cat /etc/pf.conf#  &
 

 

 ·《机械工程材料》征稿简则    »显示摘要«
    摘要:《机械工程材料》征稿简则   ●   来稿要求 1.     来稿要求做好保密审查;保密单位应署公开的名称,不用代号。 2.     来稿必须寄原稿和复印稿各一份,并写清作者、地址、邮编、电话等。 3.     请勿一稿两投;本刊收到稿件后即函告作者,三个月内告知稿件处理意见;一......
 ·dns傻瓜书    »显示摘要«
    摘要:dns傻瓜书dns傻瓜书作者: rainren 版本: 01版系统: freebsd5.2, 自制一个example.com的本地解析基础知识:域名系统dns是将域名转换成相应ip地址的因特网服务. 目前使用的dns服务器软件是bind (berkeley internet name domain ). bind名字服务器守护进程的名字是: named, 可以使用bind提供的ndc工具来启动, 终止, 重新启动名字服务器. 配置文件是/etc/named......


pf.conf

$ cat /etc/pf.conf 【相关文章:让你的SERV-U看起来专业点吧

【扩展阅读:FTP协议的分析和扩展

#       $freebsd: src/etc/pf.conf,v 1.1.2.1 2004/09/17 18:27:14 mlaier exp $ 【扩展信息:寻寻觅觅—揭开FTP无法访问网络之谜

#       $openbsd: pf.conf,v 1.21 2003/09/02 20:38:44 david exp $

#

# see pf.conf(5) and /usr/share/examples/pf for syntax and examples.

# required order: options, normalization, queueing, translation, filtering.

# macros and tables may be defined and used anywhere.

# note that translation rules are first match while filter rules are last match.

# macros: define common values, so they can be referenced and changed easily.

#ext_if="vr0"   # replace with actual external interface name i.e., dc0

ext_if="tun0"

int_if="nv0"    # replace with actual internal interface name i.e., dc1

#internal_net="10.1.1.1/8"

#external_addr="192.168.1.1"

# tables: similar to macros, but more flexible for many addresses.

table <private> const { 10/8, 172.16/12, 192.168/16, 127/8, 255.255.255.255/32 }

table <foo> { 10.0.0.0/8, !10.1.0.0/16, 192.168.0.0/24, 192.168.1.18 }

# options: tune the behavior of pf, default values are given.

#set timeout { interval 10, frag 30 }

#set timeout { tcp.first 120, tcp.opening 30, tcp.established 86400 }

#set timeout { tcp.closing 900, tcp.finwait 45, tcp.closed 90 }

#set timeout { udp.first 60, udp.single 30, udp.multiple 60 }

#set timeout { icmp.first 20, icmp.error 10 }

#set timeout { other.first 60, other.single 30, other.multiple 60 }

#set timeout { adaptive.start 0, adaptive.end 0 }

#set limit { states 10000, frags 5000 }

#set loginterface none


...   下一页
 ·unix数据镜像及备份    »显示摘要«
    摘要:rsync是linux,unix系统下的数据镜像及备份工具,具有可使本地和远程两台主机的文件,目录之间,快速同步镜像,远程数据备份等功能.在同步过程中,可根据远程服务器上的数据变动,相应的删除或者更新本地机的数据,同步数据不用全部传送,大大提高同步及备份文件的速度.同时在网络安全方面,也可以设置为ssh传输模式. 远程主机(rsync server)可为rsync daemon模式,开启之后将开放tcp4 873 port,等待本地主机(rsync cli......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE