I went through the README.plugins procedure and this is what I got:
1) Rename the plugins directory
- Custom.m4.example to Custom.m4
- Custom.make.example for Custom.make
- Custom.nmake.example to Custom.nmake
2) Rename all occurrences of foo in these files to your protocol name
3) Go to the wirehark top level directory and run autogen and configure it as root
./autogen.sh
./configure
. , . , gryphon
- ChangeLog
- CMakeLists.txt
- Makefile.am
- Makefile.common
- Makefile.in
- Makefile.nmake
- moduleinfo.h
- moduleinfo.nmake
- plugin.c
- plugin.rc.in
4) , . make install
make -C plugins
make install
5) , , Wireshark
WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 ./wireshark
6) , , " ", "". . #include "config.h" :
#include "moduleinfo.h"
source
share