Mercurial > mercurial > hgweb_rsearcher.cgi
diff doc/Todo @ 0:d3b8cd5aeb70
make repo.
author | pyon@macmini |
---|---|
date | Sun, 30 Sep 2018 17:27:04 +0900 |
parents | |
children | 7fe3417cefc8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/Todo Sun Sep 30 17:27:04 2018 +0900 @@ -0,0 +1,72 @@ +** client.exe の機能 ************************************************************ +* 手動によりバージョンアップ + * verup.bat をダブルクリック + # verup.bat + client -r 192.168.0.1:3910 + # GET /release/grsearcher.exe, /release/client1.exe + copy client1.exe client.exe + +* 毎回 clientで auth.db と hhs.db を取得 + > client -u 192.168.0.1:3910 + # GET /db/auth.db, /db/hhs.db, /db/index.db (5day) + + GUI(grsearchr) 終了時に auth.db と hhs.db は削除 + * auth.db は任意の、hhs.db は月一のアップデートだが、漏洩防止のため毎回削除 + * 毎月10のつく日に index.db を取得 + +* client で画像取得 + > client.exe 192.168.0.1:3910 0800012345 20170105 + # date:00000000 で最新審査会を取得する構想は廃止 + +** crypto/crypto.exe の機能 ***************************************************** +* crypto.go 作成 + + auth 用 ( ハッシュ化 ) + * -a で plaintext を暗号化 + > crypto.exe -a plaintext -s salt // done. + * -b で auth.csv を暗号化 + > crypto.exe -b auth.csv -s salt > auth.db + * -c で 認証チェック + > crypto.exe -c auth.db -s salt user passwd + + user/passwd が一致したら "39 user" を返す + + 認証なしのテストのときは user/passwd: test/test + + auth.db のための salt は gui に内蔵する + + hhs 用 ( 双方向、キーは crypto.go と gui に内蔵 ) + * -d で復号化、-e で暗号化 + > crypto.exe -d hhs.db key > hhs.csv + > crypto.exe -e hhs.csv > hhs.db + * -f と -g で 認証チェック + > crypto.exe -f hhs.db -g hhs key + + hhs/key が一致したら "39 hhs" を返す + +** imgtgz の機能 **************************************************************** +* jpeg を 1.jpg, ..., 5.jpg とリネームし tgz にする. + +** server の機能 **************************************************************** +* 単なる web-server + + log 機能を追加 ( ver1.1 ) + +** その他 *********************************************************************** +* IP Address + Seibu kai-cl11 192.168.31.202 75-1130 + Rokugo kai-cl26 192.168.14.201 88-8404 + Nishiki kai-cl17 192.168.16.202 49-6210 + #Nishiki kai-cl25 192.168.16.201 + Isono 192.168.21.151 + Fuguta 192.168.21.153 + +* server ( FreeBSD ) + server_root/server, crypto, imgtgz + + db/auth.db, hhs.db, index.db + + release/grsearchr.exe, client.exe + + images/20180707/0800012345.tgz, ... + +* client ( Windows ) + rsearcher_root/grsearcher.exe, client.exe, crypto.exe + auth.db, hhs.db, index.db + + .cache/20180707_1.jpg, ... + + image/*.png + +__DONE__ + +* server は rc で起動する(cron は電源入れ忘れがあるからダメ) + + Handbook の 11.2 +