0
|
1 ** client.exe の機能 ************************************************************
|
|
2 * 手動によりバージョンアップ
|
|
3 * verup.bat をダブルクリック
|
|
4 # verup.bat
|
|
5 client -r 192.168.0.1:3910
|
4
|
6 # GET /release/grsearcher.exe, /release/crypto.exe, /release/client1.exe
|
0
|
7 copy client1.exe client.exe
|
|
8
|
|
9 * 毎回 clientで auth.db と hhs.db を取得
|
|
10 > client -u 192.168.0.1:3910
|
2
|
11 # GET /db/auth.db, /db/hhs.db, /db/index.db (10day)
|
|
12 + GUI(grsearcher) 終了時に auth.db と hhs.db は削除
|
0
|
13 * auth.db は任意の、hhs.db は月一のアップデートだが、漏洩防止のため毎回削除
|
4
|
14 * 毎月14日と28日に index.db を取得
|
0
|
15
|
|
16 * client で画像取得
|
|
17 > client.exe 192.168.0.1:3910 0800012345 20170105
|
|
18 # date:00000000 で最新審査会を取得する構想は廃止
|
|
19
|
4
|
20 * client でアップロード
|
|
21 > client.exe -a 192.168.0.1:3910 localfile
|
|
22
|
|
23 * バージョンアップ
|
|
24 + パスワード機能を追加 ( ver1.11 )
|
|
25 + ヘッダ拒否機能を追加 ( ver1.2 )
|
|
26
|
0
|
27 ** crypto/crypto.exe の機能 *****************************************************
|
|
28 * crypto.go 作成
|
|
29 + auth 用 ( ハッシュ化 )
|
3
|
30 * -a で plaintext を暗号化 # server/client
|
|
31 > crypto.exe -a plaintext -s salt
|
|
32 * -b で auth.csv を暗号化 # server
|
0
|
33 > crypto.exe -b auth.csv -s salt > auth.db
|
3
|
34 * -c で 認証チェック # gui
|
0
|
35 > crypto.exe -c auth.db -s salt user passwd
|
4
|
36 + user/passwd が一致したら "valid user" を表示し、"39" を返す
|
0
|
37 + 認証なしのテストのときは user/passwd: test/test
|
|
38 + auth.db のための salt は gui に内蔵する
|
|
39 + hhs 用 ( 双方向、キーは crypto.go と gui に内蔵 )
|
3
|
40 * -d で復号化、-e で暗号化 # server
|
|
41 > crypto.exe -d hhs.db key > hhs.csv
|
|
42 > crypto.exe -e hhs.csv key > hhs.db
|
|
43 * -f で 認証チェック # gui
|
2
|
44 > crypto.exe -f hhs.db hhs key
|
3
|
45 + hhs/key が一致したら hhs の情報を返す
|
0
|
46
|
|
47 ** imgtgz の機能 ****************************************************************
|
|
48 * jpeg を 1.jpg, ..., 5.jpg とリネームし tgz にする.
|
|
49
|
|
50 ** server の機能 ****************************************************************
|
|
51 * 単なる web-server
|
4
|
52 * バージョンアップ
|
|
53 + ヘッダ拒否機能を追加 ( ver1.2 )
|
|
54 + log 機能を追加 ( ver1.3 )
|
|
55 + log 機能を強化(user-id) ( ver1.4 )
|
2
|
56
|
|
57 ** grsearcher の機能 ****************************************************************
|
4
|
58 * バージョンアップ
|
|
59 + client に pw
|
|
60 + 10分間 Idle なら password
|
|
61 + dark-mode の搭載
|
|
62 + プライベートフォルダに写真 userid/startup.jpg, default.jpg, avatar.jpg
|
0
|
63
|
|
64 ** その他 ***********************************************************************
|
|
65 * IP Address
|
|
66 Seibu kai-cl11 192.168.31.202 75-1130
|
|
67 Rokugo kai-cl26 192.168.14.201 88-8404
|
2
|
68 Nishiki kai-cl?? 192.168.16.203 49-6210
|
0
|
69 #Nishiki kai-cl25 192.168.16.201
|
2
|
70 Isono 192.168.21.151 # nginx:3910
|
|
71 Fuguta 192.168.21.153 # server:3910
|
0
|
72
|
|
73 * server ( FreeBSD )
|
|
74 server_root/server, crypto, imgtgz
|
|
75 + db/auth.db, hhs.db, index.db
|
2
|
76 + release/grsearcher.exe, client.exe
|
0
|
77 + images/20180707/0800012345.tgz, ...
|
|
78
|
|
79 * client ( Windows )
|
|
80 rsearcher_root/grsearcher.exe, client.exe, crypto.exe
|
|
81 auth.db, hhs.db, index.db
|
4
|
82 + .cache/20180707_1, ...
|
2
|
83 + image/*.png, *.jpg
|
0
|
84
|
|
85 __DONE__
|
|
86
|
|
87 * server は rc で起動する(cron は電源入れ忘れがあるからダメ)
|
|
88 + Handbook の 11.2
|
|
89
|