FreeBSD
共692篇文章。
根据协议栈特征判断操作系统
传统上判断操作系统是通过扫描进行的,例如,发一个SYN+FIN的包,看对方如何回应,由于各式各样的原因,包括性能考虑,或编程上的疏忽,这些包会留有一些特征。这类典型的应用
这类方法有它的作用,对于尝试攻击的人来说,这些特征能够给他们相当多的信息,这些信息甚至足以让攻击者找到一击毙命的攻击方法(例如,发现那是一台没有打过补丁、没有防火墙的Windows)。然而,它也有一些不可避免的局限:
- 并不是所有地区的法律都允许网络扫描行为。除此之外,这种行为通常也是不受欢迎的,至少它不是一种友好的行为(事实上,发生在互联网上的扫描行为几乎都不是友善的)。
- 对于NAT后的服务器,它只能判断出NAT网关所用的操作系统,而无法判断其后的系统所用的操作系统。
- 事后的「反击」或「报复」性扫描往往于事无补,在第一击的时候遏制攻击,对于安全相当重要。
看来还是按操作系统封比较有效
之前一直有些头疼的SSH蠕虫问题,很令人吃惊地找到了一个解决方法。在扫描感染IP的TCP特征之后,发现这些机器的共同特征——他们都用的是Linux。
很幸运地,我不使用Linux,FreeBSD附带pf提供了一项非常有意思的强大能力(这项能力源于OpenBSD的pf),即按操作系统来控制访问。其它用法还包括例如,禁止没有打补丁的Windows访问,让不同用的操作系统访问得到不同的内容等等。
考虑到Linux如此容易感染SSH蠕虫,我决定采用下pf策略:
block in quick proto tcp from any os "Linux" to any port ssh纽约州立布法罗(水牛城)大学遭到雪暴
网站上的消息。这可能对FreeBSD 6.2-RELEASE造成一定的影响(re@的负责人Ken Smith在水牛城大学计算科学与工程系),不过,re@的其它committer将继续此项责任。
GNOME 2.16 committed
没想到这么快……不过已经装了桌面的同学们,hia hia hia
Python 2.5的默认地位惨遭否定
今天终于尘埃落定了
When you can use a different license?
To quote M. Warner Losh (with permission):
So long as there’s old code, you can’t replace the copyright,unlessthe old code that remains is not protectable by copyright any more(eg, if it is just { and } lines).If you add your own implementation of the 50 lines in question, or move them to a separate file, then you can put your own copyright/license statement on the code you wrote.
FreeBSD基金会募捐
FreeBSD基金会又一次面临501(c)(3)资格问题。建议有此财力的人适当捐一些来帮助基金会达到募捐的要求。详情请参见首页。
Andre's optimization to the FreeBSD socket send path
For those who does not track FreeBSD-CURRENT -current@, Andre Opperamann(andre@) has just posted a new progress for his TCP/IP optimization:
ULE returned to its "experimental" state
An internal discussion happened in -developers@ has finally decided that we put ULE scheduler back to the “experimental” state, in order to reduce the number of reports about crashes and other bad things for it.
Currently the fact that ULE is not being actively maintained is the cause of this change. We hope that we can find someone who has interest on it. Additionally, it is worthy to have a look at David Xu’s new “CORE” scheduler (a ULE fork, using Linux’s algorithm).