geliの速度2015/05/06

条件

FreeBSD 10.1-RELEASE-p9 #0: Tue Apr  7 01:07:33 UTC 2015
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (1816.21-MHz 686-class CPU)
real memory  = 1073741824 (1024 MB)
avail memory = 1025581056 (978 MB)
iozone21-2.01で測定
$ iozone 512

測定結果

  • geliなし
32,491,478 bytes/second for writing the file
70,917,932 bytes/second for reading the file
  • EncryptionAlgorithm: NULL
23421771 bytes/second for writing the file
70481514 bytes/second for reading the file
  • EncryptionAlgorithm: AES-CBC
14376459 bytes/second for writing the file
70844821 bytes/second for reading the file
  • EncryptionAlgorithm: CAMELLIA-CBC
13346179 bytes/second for writing the file
70771860 bytes/second for reading the file
  • EncryptionAlgorithm: AES-XTS
12773136 bytes/second for writing the file
71138174 bytes/second for reading the file
  • EncryptionAlgorithm: 3DES-CBC
 6004847 bytes/second for writing the file
70409299 bytes/second for reading the file
  • EncryptionAlgorithm: Blowfish-CBC
 4650120 bytes/second for writing the file
70265313 bytes/second for reading the file

古いCPUだとこんな感じでした、Blowfishは軽いと思っていたのに

FreeBSD 8/9でunbound(2)2015/05/12

FreeBSD 8/9でunboundの続き

  • root.key移動
# cd /var/unbound/
# mkdir anchor
# chown unbound anchor
# mv root.key anchor
  • unbound.conf変更
auto-trust-anchor-file: /var/unbound/anchor/root.key
  • /etc/rc.conf追加
local_unbound_anchor="/var/unbound/anchor/root.key"

FreeBSDのatacontrolとgraid2015/05/17

FreeBSD 8.4でatacontrolで使用していたDISK

FreeBSDではgraidとして認識されていた

atacontrolの設定解除に困ったらgraidだった

arpwatchのethercodes.datを更新2015/05/18

  • 取得
fetch http://standards.ieee.org/regauth/oui/oui.txt
  • 変換
grep ' (base 16)' oui.txt \
	| expand \
	| sed 's/(base 16)//' \
	| sed -e 's/  */ /g' \
	| cut -c2- \
	| sed -e 's/ /#/' \
	| awk -F\# 'BEGIN {CONVFMT="%x"} \
		 {a=tolower(sprintf("0x%s",$1)); \
		h0=a/65536;h1=(a/256)%256;h2=a%256; \
		printf("%x:%x:%x\t%s\n",h0,h1,h2,$2)}'\
	| sort > ethercodes.dat.new

無駄な所もありそうですが、これで変換できます

FreeBSD 10.1でsendmailとjail2015/05/22

  • 環境
parent.example.jp   lo0|127.0.0.1,fxp0|192.168.1.1
jail.example.jp   lo1|127.0.0.2,fxp0|192.168.1.2
  • parentの/etc/rc.conf
ifconfig_fxp0="inet 192.168.1.1 netmask 0xffff00"
cloned_interfaces="${cloned_interfaces} lo1”
  • parentでのsendmail設定
cd /etc/mail
make
echo define\(\`confDONT_PROBE_INTERFACES\',true\) \
	>> parent.example.jp.mc
make install
service  sendmail restart
  • jail内の/etc/hosts
127.0.0.2 localhost
  • jail内のsendmail設定
cd /etc/mail
make
sed -I .org -e 's/127.0.0.1\]/127.0.0.2\]/' \
	/etc/mail/jail.example.jp.submit.mc
make install
service  sendmail restart

BNSViewer 00.05.02 軽くて高速なニコニコ用コメビュ内蔵ブラウザ2015/05/28

BNSViewerのテスト部屋(co2470859)にコミュ参加をお願いします

変更点

  • コンテキストメニューに”新しいウインドウで開く”を追加
    • コミュニティプロフィール内のURLを開く時などに
    • 選択した文章中のニコニコのID(co??,lv???,ch???等)やURLを認識
  • 自動ログイン時のみ、ログインのための軽量化を行うように変更
  • ライトモード時の修正
    • ニコニコニュース等で外部ブラウザで広告を開く時の問題を修正
    • 掲載記事を外部で開くように修正
    • ニコニコ動画でライトモードを有効に変更
  • キーボードショートカットで逆のコメビュが開く問題を修正
  • ウインドウクローズ時のクラッシュを改善
  • 自動バージョンチェックを通知に対応

起動後にシステム環境設定->通知->BNSViewerがパネルになっている事を確認してください

BNSViewer 配布先

Google Analytics使用