delphij's Chaos

Useful sed(1) regular expressions

• Cheatsheets

Source code cleanup:

sed -i '' -E s/\ \	/\	/g *.c *.h
sed -i '' -E s/^\ \ \ \ \ \ \ \ /\	/g *.c *.h
sed -i '' -E s/\	\ \ \ \ \ \ \ \ /\	\	/g *.c *.h
sed -i '' -E s/\ +\$//g *.c *.h
阅读全文… ( 本文约 76 字,阅读大致需要 1 分钟 )

FreeBSD 5.2-delphij to release third iso

• Development

I will release third (more or less unstable) release ISO if nothing will prevent me from doing that :-) The latest delphijfork includes several new features, which is tend to exhibit new technologies and possiblities of FreeBSD:

  • An implementation of RFC 3522 ported from DragonFlyBSD
  • An implementation of Early Retransmission ported from DragonFlyBSD

Also, FreeBSD-CURRENT has several new features, including:

  • In progress import of binutils 2.15
  • pf 3.5. Including several new features and works better with spamd.
  • better ACPI support
阅读全文… ( 本文约 199 字,阅读大致需要 1 分钟 )

一位台湾校长的讲话

• Shared Chaos

From ChinaUnix.

台湾有这么一所学校,学生年龄在15-18之间,每年三千多学生中,因违反校规校纪被校方开除的二、三百人。学校没有工人,没有保卫,没有大师傅,一切必要工种都由学生自己去做。学校实行学长制,三年级学生带一年级学生。全校集合只需3分钟。学生见到老师七米外要敬礼。学生没有寒署假作业,没有一个考不上大学的。这就是台湾享誉30年以道德教育为本的忠信高级工商学校。在台湾各大报纸招聘广告上,经常出现"只招忠信毕业生」字样。

阅读全文… ( 本文约 4532 字,阅读大致需要 10 分钟 )

Shall we patch a (possibly) non-exploitable heap overflow?

• Security

While I believe that proactive security practice is necessary for every consumers, the most conversave ones should argue that even a security update will possibly break compablity.

Now I am in trouble. With rsync 2.5.5 installed on a FreeBSD system, we know that it is possible to overflow its heap, however, shall we patch it, or just let it as-is because it is not exploitable on FreeBSD, unlike Linux’s silly brk(9) implementation?

阅读全文… ( 本文约 136 字,阅读大致需要 1 分钟 )

beastie.frontfree.net under SYNFLOOD attack!

• Security

I have watched spurious SYN messages and apparantly this has affected beastie.frontfree.net’s networking subsystem, namely, its mail system. The attack is from 203.81.27.11.

Whois indicates 203.81.27.11 is:

阅读全文… ( 本文约 229 字,阅读大致需要 1 分钟 )