LoginSignup
0
0

More than 1 year has passed since last update.

Wi-Fi(無線網) Antenna(空中線)(39)kismet raspberry PI

Last updated at Posted at 2019-02-18
$ sudo apt install kismet
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下の追加パッケージがインストールされます:
  libpcap0.8
提案パッケージ:
  kismet-plugins festival gpsd
以下のパッケージが新たにインストールされます:
  kismet libpcap0.8
アップグレード: 0 個、新規インストール: 2 個、削除: 0 個、保留: 0 個。
1,149 kB のアーカイブを取得する必要があります。
この操作後に追加で 4,180 kB のディスク容量が消費されます。
続行しますか? [Y/n] y
取得:1 http://ftp.jaist.ac.jp/pub/Linux/raspbian-archive/raspbian stretch/main armhf libpcap0.8 armhf 1.8.1-3 [123 kB]
取得:2 http://ftp.jaist.ac.jp/pub/Linux/raspbian-archive/raspbian stretch/main armhf kismet armhf 2016.07.R1-1 [1,026 kB]
1,149 kB を 1秒 で取得しました (600 kB/s)
パッケージを事前設定しています ...

以前に未選択のパッケージ libpcap0.8:armhf を選択しています。
(データベースを読み込んでいます ... 現在 134495 個のファイルとディレクトリがインストールされています。)
.../libpcap0.8_1.8.1-3_armhf.deb を展開する準備をしています ...
libpcap0.8:armhf (1.8.1-3) を展開しています...
以前に未選択のパッケージ kismet を選択しています。
.../kismet_2016.07.R1-1_armhf.deb を展開する準備をしています ...
kismet (2016.07.R1-1) を展開しています...
mime-support (3.60) のトリガを処理しています ...
desktop-file-utils (0.23-1) のトリガを処理しています ...
libc-bin (2.24-11+deb9u4) のトリガを処理しています ...
man-db (2.7.6.1-2) のトリガを処理しています ...
gnome-menus (3.13.3-9) のトリガを処理しています ...
libpcap0.8:armhf (1.8.1-3) を設定しています ...
kismet (2016.07.R1-1) を設定しています ...
Installing Kismet with suid-root capture helper ...
libc-bin (2.24-11+deb9u4) のトリガを処理しています ...

Kismet は一部の機能に root 権限を必要とします。しかし、全コードを昇格した権限で実行するとバグがシステム全体にダメージを与える危険性が増すため、root で実行 (「sudo kismet」) することは勧めません。代わりに「setuid」ビ

ットをセットして Kismet をインストールすることで、それが必要なプロセスに

自動的に権限を与え、ユーザインターフェイスやパケット解読の部分を除外する

ことができます。

この機能を有効にすると「kismet」グループのユーザは Kismet (およびパケッ

トのキャプチャやワイヤレスカードの状態変更など) を実行できるようになるた

め、全面的に信頼できるユーザだけにこのグループ権を与えるようにしてくださ

い。

もっと詳細な情報については、/usr/share/doc/kismet/README または

http://www.kismetwireless.net/README」にある Kismet README の第 4 節

<了解>

Kismet を「setuid root」で実行しますか?

<はい> <いいえ>

付録

 git clone --recursive https://www.kismetwireless.net/git/kismet.git
Cloning into 'kismet'...
remote: Counting objects: 41964, done.
remote: Compressing objects: 100% (11808/11808), done.
remote: Total 41964 (delta 29028), reused 40584 (delta 27828)
Receiving objects: 100% (41964/41964), 16.66 MiB | 814.00 KiB/s, done.
Resolving deltas: 100% (29028/29028), done.
Submodule 'docs' (https://www.kismetwireless.net/git/kismet-docs.git) registered for path 'docs'
Submodule 'python_modules/KismetDatabase' (https://www.kismetwireless.net/git/python-kismet-db.git) registered for path 'python_modules/KismetDatabase'
Cloning into '/home/pi/kismet/docs'...
remote: Counting objects: 482, done.        
remote: Compressing objects: 100% (481/481), done.        
remote: Total 482 (delta 244), reused 0 (delta 0)        
Receiving objects: 100% (482/482), 183.12 KiB | 0 bytes/s, done.
Resolving deltas: 100% (244/244), done.
Cloning into '/home/pi/kismet/python_modules/KismetDatabase'...
remote: Counting objects: 282, done.        
remote: Compressing objects: 100% (191/191), done.        
remote: Total 282 (delta 160), reused 153 (delta 84)        
Receiving objects: 100% (282/282), 85.28 KiB | 0 bytes/s, done.
Resolving deltas: 100% (160/160), done.
Submodule path 'docs': checked out 'fb3d44390ad5fd876f9af473bd6ba9cfae63febd'
Submodule path 'python_modules/KismetDatabase': checked out '5e6345f12221575d58486b41f31db0a5e26db56a'
$ ./configure
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for platform-specific compiler flags... none needed
checking gcc version... 6.3.0
checking whether g++ supports C++17 features with -std=gnu++17... no
checking whether g++ supports C++17 features with -std=gnu++1z... no
checking whether g++ supports C++17 features with -std=c++17... no
checking whether g++ supports C++17 features with +std=c++17... no
checking whether g++ supports C++17 features with -h std=c++17... no
checking whether g++ supports C++17 features with -std=c++1z... no
checking whether g++ supports C++17 features with +std=c++1z... no
checking whether g++ supports C++17 features with -h std=c++1z... no
configure: No compiler with C++17 support was found
checking whether g++ supports C++14 features with -std=gnu++14... yes
checking how to run the C++ preprocessor... g++ -std=gnu++14 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking python module: setuptools... yes
checking for dwarf_begin in -ldw... no
checking for bfd_alloc in -lbfd... no
checking unwind.h usability... yes
checking unwind.h presence... yes
checking for unwind.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for stdint.h... (cached) yes
checking for accept() addrlen type... socklen_t
checking for pipe2... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for dlopen in -ldl... yes
checking for deflate in -lz... yes
checking for pthread_mutex_timedlock... no
checking for __gnu_parallel extensions... yes
checking for libm math function in std libs... yes
checking for main in -lstdc++... yes
checking for group 'root'... yes
checking for MHD_start_daemon in -lmicrohttpd... no
configure: error: libmicrohttpd is needed and is not available

参考資料(reference)

kismetの使い方
https://qiita.com/yamori813/items/a34860f0bb7c5a344fe4

kismet 悪戦苦闘
https://qiita.com/kaizen_nagoya/items/ad2143a35f0a265ac0c4

kismet raspberry PI
https://qiita.com/kaizen_nagoya/items/da2d741c9d35cda181ff

文書履歴(document history)

ver. 0.01 初稿 20190218
ver. 0.02 参考資料追記 20190221
ver. 0.03 表題統一・参考資料追記 20190312

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0