毒自学习

暂无签名

  • 博客访问: 35735
  • 博文数量: 58
  • 用 户 组: 普通用户
  • 注册时间: 1970-01-01 08:00
个人简介

鏆傛棤浠嬬粛

ITPUB论坛APP

ITPUB论坛APP



APP发帖 享双倍积分

文章分类

全部博文(58)

文章存档

2006年(54)

2005年(4)

我的朋友
微信关注

IT168企业级官微



微信号:IT168qiye



系统架构师大会



微信号:SACC2013

发布时间:2006-02-16 15:07:50

Default sysctl's for a dual-use webhosting/shell server[@more@]代码## sysctl.conf## Default sysctl's for a dual-use webhosting/shell server## Developed and used on FreeBSD 4.x server(s)## Zoidial, Inc.# Eric Thern eric@zoidial.com## v0.1 06/03/2001 - initial release# v0.2 01/02/2002 - added more net.inet options# v0.3 01/03/2002 - added kern.ipc and kern.randompid stuff# v0.4 01/08/2003 - added some more nonsense and such.# v0.5 06/03/2003 - kern.maxfiles# AU/UK date scheme change, I think. oops......【阅读全文】

阅读(8130) | 评论(0) | 转发(0)

发布时间:2006-02-16 15:05:37

loader.conf优化[@more@]autoboot_delay="2" ## 设置启动等待时间为2秒。 kern.ipc.nmbclusters="32768" ##设置系统的mbuf大小,系统的缓冲区 kern.ipc.maxsockets="16384" ## 增大线程间套接数量 net.inet.tcp.tcbhashsize="10240" ## 增大TCP控制块数量 beastie_disable="YES" ## 关闭小恶魔图像启动菜单......【阅读全文】

阅读(539) | 评论(0) | 转发(0)

发布时间:2006-02-16 15:05:20

IPFW:check-state/keep-state advanced stateful rules. By Joe Barbish 07/22/2002 All rights reserved.[@more@]As most new ipfw users, I had a typical ipfw rules file built from the simple stateful rules in rc.firewall. I had originally been using user ppp with it's internal Nat function, but went to natd as the simple stateful type in rc.firewall showed. Since the sample rc.firewall (simple) was pretty much just what I wanted to do, I just assumed this was the correct and proper way, so I cut out t......【阅读全文】

阅读(1032) | 评论(0) | 转发(0)

发布时间:2006-02-16 15:04:37

sysctl.conf系统优化[@more@]net.inet.tcp.rfc1323=1 net.inet.tcp.rfc1644=1 net.inet.tcp.rfc3042=1 net.inet.tcp.rfc3390=1 #### 某些加快网络性能的协议,请参考RFC文章。 net.inet.ip.forwarding=1 ##作路由必须打开 net.inet.ip.sourceroute=0 net.inet.ip.accept_sourceroute=0 ##安全方面的参数 kern.ipc.maxsockbuf=8388608 ##最大的套接字缓冲区 kern.ipc.somaxconn=8192 ##最大的等待连接完成的套接字队列大小,高负载服务器和受到分布式服务阻塞攻击的系统也许 会因为这个队列被塞满而不能提供正常服务。默认仅为128,根据机器......【阅读全文】

阅读(2496) | 评论(0) | 转发(0)

发布时间:2006-02-16 15:00:16

Notes This howto is written for IPFW2. If you are use IPFW1 then the ipfw firewall rules may need to be rewritten. FreeBSD 5.0 and above use IPFW2 by default. The lower versions use IPFW1 either as a default or because IPFW2 isn't supported.[@more@]Summary The FreeBSD firewall and the natd daemon are loaded by adding the following lines to /etc/rc.conf: firewall_enable="YES"firewall_quiet="NO"firewall_type="/etc/firewall.conf"firewall_flags="-p /usr/bin/cpp&quo......【阅读全文】

阅读(895) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册