Skip to main content

Posts

Showing posts from March, 2015

tail command

tail コマンド説明 参照リンク http://kazmax.zpp.jp/cmd/t/tail.1.html # tail -f -n N /var/log/message tail -f "-f" is used when the file is increasing. ファイルの内容がどんどん増え続けているものと仮定し、 ファイルの最終部分の文字を読み続けようと無限にループする。 パイプから読み込んでいる場合は無視される。 2 つ以上のファイルが指定された場合は、 tail  は異なったファイルの追加分を受け付けるごとにヘッダを表示し、 出力がどのファイルに由来するものかがわかるようにする。 ファイルの追跡方法を指定することもできる。  [root@ale ~]# tail -f /opt/ale/var/log/ls.py/current ##Building fetch failed, try fetching again in 2 mins 11:42:31.096 037409.096082 T:7f2c75219700:location:ERROR* *** "/var/arubaobjs/ls_campus/ls_campus.ser" needs to be generated first, will sleep and wait here... 11:42:41.097 037419.097359 T:7f2c75219700:location:ERROR* *** "/var/arubaobjs/ls_campus/ls_campus.ser" needs to be generated first, will sleep and wait here... <snip> Archive already exists Fetching https://10.215.1.103/visualrf/campus.xml?buildings=1&sites=1&images=1 Removing cookie file Generating cookie Successfully

Tool: ciphersuite check for server side

Cipherscan: SSL Ciphersuiteの調査ツール Android API: Install Cipherscan Cipherscan is useful to check support of SSL ciphersuite of server side. # yum install git #git clone https://github.com/jvehent/cipherscan.git [root@cent opt]# cd cipherscan/ [root@cent cipherscan]# ls analyze.py  ca-bundle.crt  cipherscan  openssl  openssl-darwin64  OpenSSL-LICENSE  README.md  top1m # openssl ciphers -v | sort #./cipherscan -o ./openssl-mine 10.215.200.192:4343 Scanning AOS6.1.3, 6.3 and IAP.4.1. Scanning AOS6.1.3 [root@cent cipherscan]# ./cipherscan -o ./openssl-mine 10.215.103.207:4343 custom openssl not executable, falling back to system one from /usr/bin/openssl ..... Target: 10.215.103.207:4343 prio  ciphersuite           protocols              pfs_keysize 1     DES-CBC3-SHA          TLSv1,TLSv1.1,TLSv1.2 2     AES256-SHA            TLSv1,TLSv1.1,TLSv1.2 3     AES128-SHA            TLSv1,TLSv1.1,TLSv1.2 4     EDH-RSA-DES-CBC3-SHA  TLSv1,TLSv1.1,TLSv1.2  DH,1024bits C