说一个笑话,大家一乐
起初,他们只是不支持FreeBSD/Linux,我有Windows远程桌面,我没投诉;
到后来,他们不允许Windows远程桌面,我可以本地访问一台64位的Windows 2003 Server,勉强投诉两句,暂时也忍了;
再后来,他们又写了不支持64位Windows 2003 Server的所谓「安全」驱动,我拼命投诉,可是他们不理我了,更有人说,我是「小众系统」,正如一开始人们说FreeBSD/Linux两种系统一样。
共 37 篇文章。
起初,他们只是不支持FreeBSD/Linux,我有Windows远程桌面,我没投诉;
到后来,他们不允许Windows远程桌面,我可以本地访问一台64位的Windows 2003 Server,勉强投诉两句,暂时也忍了;
再后来,他们又写了不支持64位Windows 2003 Server的所谓「安全」驱动,我拼命投诉,可是他们不理我了,更有人说,我是「小众系统」,正如一开始人们说FreeBSD/Linux两种系统一样。
有点想骂人了,您讲讲您做过的项目,跟大家讨论自己的经验一下不很好吗?干吗非得拔高,懂的跟不懂的一起讲?
与许多混迹于各大论坛、吹牛不上税的Linux咨询顾问类似,这位仁兄的惊人之语还有:
The Register报道,在过去两个月中,垃圾邮件呈现了爆炸性的增长,一些机构得到的数据是,垃圾邮件的数量增加了4.5倍。作者并推测,这种现象与近来流行的新型攻击方式——botnet有关。
当然,绝对不仅仅是botnet。近来,垃圾邮件的发送者也改进了他们的发送技术。通过摘取邮件列表内的信息加以随机混合拼装,并透过可变的图片背景色来掩盖真实的图片,垃圾邮件发送者已经能够有效地绕过反垃圾邮件的Bayesian分析等新兴(2002年左右开始大量投入应用)技术了。
之前一直有些头疼的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
软件测试开发工程师(1人,工作地点:北京)
职责描述:
职位要求:
在 FreeBSD 开发手册 中,有一部分内容介绍了关于系统调用。里面有这样一段话:
Linux is a UNIX like system. However, its kernel uses the same system-call convention of passing parameters in registers MS-DOS does. As with the UNIX convention, the function number is placed in EAX. The parameters, however, are not passed on the stack but in EBX, ECX, EDX, ESI, EDI, EBP:
open:
mov eax, 5
mov ebx, path
mov ecx, flags
mov edx, mode
int 80h
This convention has a great disadvantage over the UNIX way, at least as far as assembly language programming is concerned: Every time you make a kernel call you must push the registers, then pop them later. This makes your code bulkier and slower. Nevertheless, FreeBSD gives you a choice.
可能有人会问了,为什么说 UNIX way (将参数压栈) 更好呢?
The F5 gateway has became incredibly errornous after they migrated from FreeBSD to Linux, so I call this a bad move.
In the Good Old Time(TM), they run FreeBSD on their boxes, and I have never encounted a single problem when doing everyday work. After they migrate to Linux, they start to inject error packets into your connection and therefore, SSH is broken. This is critical for development, IMHO, and prevented us from being able to work.
A collegue of mine has reported a FreeBSD “bug” that, when the main thread exits, the whole process is terminated. He complained that pthread_detach() would not cause the thread to run without the main thread, while Linux did.
With some experiments we have figured out that this is actually a Linux bug, which violates POSIX. Interestingly, Solaris has the same behavior that FreeBSD have.
The POSIX pthread_create() said:
Note that the thread in which
main()was originally invokeddiffers from this. When it returns frommain(), the effectshall be as if there was an implicit call toexit()usingthe return value ofmain()as the exit status."
摘录一些。bsddiy是国内非常著名的BSD Hacker,你可能听说过他的另外一个名字(此处不便透露)。
有很多人问我「BSD是独立的一蹴,我们有自己的圈子,我们不以商业驱动,追求完美是我们的源动力,任何不好的代码都不能在这里存活」这一句的出处——当然是bsddiy老大,他的原话是:
多数人并不关注如何把*nix做好,相反,他们更关注如何把微软搞垮。一个微软前副总裁过去几年的收入,竟可以成为Unix社区所关注的新闻,实在令人感到荒谬和可笑。醒醒吧,微软不是这个世界的全部,更重要的是,你们要做实际的工作,而不是去骂微软,因为恐怕没有一家商业公司会因为这种无谓的指控而被口水淹死的。