Commit 2dbbb23d authored by Raphaël Hertzog's avatar Raphaël Hertzog

Imported Upstream version 2013.03.R1b

parent 95ca250d
*.o
# vim session
.*.swp
# generated by configure
.depend
Makefile
Makefile.inc
config.*
conf/kismet.conf
scripts/kismet
aclocal.m4
autom4te.cache/
# built binaries
kismet_capture
kismet_client
kismet_drone
kismet_server
# Plugin stuff
plugin-*/*.so
......@@ -18,7 +18,7 @@ PSO = util.o cygwin_utils.o globalregistry.o ringbuf.o \
netframework.o clinetframework.o tcpserver.o tcpclient.o \
unixdomainserver.o serialclient.o packetsourcetracker.o $(CAPSOURCES) \
kis_netframe.o kis_droneframe.o \
gpswrapper.o gpscore.o gpsdclient.o gpsserial.o gpsdlibgps.o \
gpswrapper.o gpscore.o gpsdclient.o gpsserial.o gpsfixed.o \
packetchain.o \
plugintracker.o alertracker.o timetracker.o \
packetdissectors.o devicetracker.o netracker.o channeltracker.o \
......@@ -37,7 +37,7 @@ DRONEO = util.o cygwin_utils.o globalregistry.o ringbuf.o \
psutils.o ipc_remote.o soundcontrol.o kismet_json.o \
netframework.o clinetframework.o tcpserver.o tcpclient.o serialclient.o \
drone_kisnetframe.o kis_droneframe.o \
gpswrapper.o gpscore.o gpsdclient.o gpsserial.o gpsdlibgps.o \
gpswrapper.o gpscore.o gpsdclient.o gpsserial.o gpsfixed.o \
packetchain.o \
$(CAPSOURCES) \
plugintracker.o packetsourcetracker.o timetracker.o \
......@@ -90,7 +90,7 @@ $(PS): $(PSO) $(CS)
$(LD) $(LDFLAGS) -o $(PS) $(PSO) $(LIBS) $(CXXLIBS) $(PCAPLNK) $(KSLIBS)
$(CS): $(CSO)
$(LD) $(LDFLAGS) -o $(CS) $(CSO) $(LIBS) $(CXXLIBS) $(PCAPLNK) $(CAPLIBS)
$(LD) $(LDFLAGS) -o $(CS) $(CSO) $(LIBS) $(CXXLIBS) $(PCAPLNK) $(CAPLIBS) $(KSLIBS)
$(DRONE): $(DRONEO) $(CS)
$(LD) $(LDFLAGS) -o $(DRONE) $(DRONEO) $(LIBS) $(CXXLIBS) $(PCAPLNK) $(KSLIBS)
......@@ -211,6 +211,7 @@ rpm:
clean:
@-rm -f *.o *.mo
@-$(MAKE) all-plugins-clean
@-rm -f $(PS)
@-rm -f $(CS)
@-rm -f $(DRONE)
......@@ -218,6 +219,7 @@ clean:
distclean:
@-$(MAKE) clean
@-$(MAKE) all-plugins-clean
@-rm -f *~
@-rm -f $(DEPEND)
@-rm -f config.status
......@@ -227,12 +229,8 @@ distclean:
@-rm -rf packaging/pak
@-rm -rf *.ipk
@-rm -f scripts/kismet
@-( cd extra/; $(MAKE) distclean )
@-rm -f Makefile
arm: $(PS) $(NC) $(ZBUILD)
@echo "ARM toolset built."
ipkg: $(PS) $(NC)
@if test "`whoami`" != "root"; then echo "Warning: You are not root. The ipkg will probably not be what you want."; fi
@mkdir -p packaging/ipkg/$(ETC)
......@@ -273,15 +271,43 @@ $(DEPEND): Makefile
plugins: Makefile
@( export KIS_SRC_DIR=`pwd`; for x in plugin-*/; do echo "PLUGIN: $$x"; ( cd "$$x"; make; ); done )
plugins-clean: Makefile
restricted-plugins: Makefile
@( export KIS_SRC_DIR=`pwd`; for x in restricted-plugin-*/; do echo "PLUGIN: $$x"; ( cd "$$x"; make; ); done )
plugins-clean:
@( export KIS_SRC_DIR=`pwd`; for x in plugin-*/; do echo "PLUGIN-CLEAN: $$x"; ( cd "$$x"; make clean; ); done )
restricted-plugins-clean:
@( export KIS_SRC_DIR=`pwd`; for x in restricted-plugin-*/; do echo "PLUGIN-CLEAN: $$x"; ( cd "$$x"; make clean; ); done )
plugins-install: Makefile
@( export KIS_SRC_DIR=`pwd`; for x in plugin-*/; do echo "PLUGIN-INSTALL: $$x"; ( cd "$$x"; make install; ); done )
restricted-plugins-install: Makefile
@( export KIS_SRC_DIR=`pwd`; for x in restricted-plugin-*/; do echo "PLUGIN-INSTALL: $$x"; ( cd "$$x"; make install; ); done )
plugins-userinstall: Makefile
@( export KIS_SRC_DIR=`pwd`; for x in plugin-*/; do echo "PLUGIN-USERINSTALL: $$x"; ( cd "$$x"; make userinstall; ); done )
restricted-plugins-userinstall: Makefile
@( export KIS_SRC_DIR=`pwd`; for x in restricted-plugin-*/; do echo "PLUGIN-USERINSTALL: $$x"; ( cd "$$x"; make userinstall; ); done )
all-plugins: Makefile
@$(MAKE) plugins
@$(MAKE) restricted-plugins
all-plugins-install: Makefile
@$(MAKE) plugins-install
@$(MAKE) restricted-plugins-install
all-plugins-userinstall: Makefile
@$(MAKE) plugins-userinstall
@$(MAKE) restricted-plugins-userinstall
all-plugins-clean: Makefile
@$(MAKE) plugins-clean
@$(MAKE) restricted-plugins-clean
include $(DEPEND)
.c.o: $(DEPEND)
......@@ -293,5 +319,11 @@ include $(DEPEND)
.m.mo: $(DEPEND)
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $*.m -o $@
check-libpcap-nl:
@$(REALLD) -lpcap -o check-libpcap-nl.so 2>/dev/null
@ldd check-libpcap-nl.so | grep libnl.so | awk '{ print $$1 }' > $@
@rm check-libpcap-nl.so
@test "`cat $@`" = "" || \
(echo "It looks like your libpcap links libnl"; rm $@; exit 1)
.SUFFIXES: .c .cc .o .m .mo
......@@ -12,6 +12,7 @@ BLDHOME = @srcdir@
CXX = @CXX@
CC = @CC@
LD = @CXX@
REALLD = @LD@
LDFLAGS = @LDFLAGS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
......@@ -32,11 +33,13 @@ SUIDGROUP = @suidgroup@
prefix = @prefix@
exec_prefix = @exec_prefix@
plugindir = @libdir@/kismet
ETC = ${DESTDIR}@sysconfdir@
BIN = ${DESTDIR}@bindir@
SHARE = ${DESTDIR}@datadir@/kismet/
MAN = ${DESTDIR}@mandir@
WAV = ${SHARE}/wav/
LIB = ${DESTDIR}@libdir@
WAV = ${DESTDIR}@datadir@/kismet/wav/
PLUGINLDFLAGS = @PLUGINLDFLAGS@
PLUGINLDFLAGS = @PLUGINLDFLAGS@ @LDFLAGS@
Kismet 2011-03-R2
Kismet 2013-03-R1
Mike Kershaw <dragorn@kismetwireless.net>
http://www.kismetwireless.net
......@@ -341,6 +341,10 @@ http://www.kismetwireless.net
interface). The same warnings and conditions as
'fcsfail' apply. This option is for specific,
expert use only, when in doubt, leave it alone.
ignoreprimary=t Ignore the state of the primary interface on
mac80211. Normally, Kismet will shut down the
main interface (ie wlan0, wlan1) to prevent wpasupp
or NetworkManager from changing the channel, etc.
Example sources (these are given as config file parameters, however they
will work equally well as command-line options, ie "-c wlan0"):
......@@ -660,7 +664,7 @@ http://www.kismetwireless.net
Plugins need access to the Kismet source (and configuration
information) to compile, and should ALWAYS be recompiled when the
Kismet version changes (for those using Kismet-SVN development code,
Kismet version changes (for those using Kismet Git development code,
this may require rebuilding plugins every time a checkout is done).
Plugins bundled with Kismet (and third-party plugins extracted into the
......@@ -673,6 +677,14 @@ http://www.kismetwireless.net
the README for the plugin you are trying to compile for more
information).
"Restricted" plugins, which provide potentially invasive behavior such
as auto-guessing WEP based by the SSID or automatically running the PTW
WEP attack against captured data can be compiled and installed with:
make restricted-plugins
make restricted-plugins-install
-or-
make restricted-plugins-userinstall
Plugins for the Kismet server (capture and logging process) are loaded
from the system-wide plugin directory (/usr/local/lib/kismet/ by
default) or from the users Kismet settings directory
......
......@@ -73,11 +73,11 @@ int NetworkClient::MergeSet(int in_max_fd, fd_set *out_rset, fd_set *out_wset) {
int NetworkClient::Poll(fd_set& in_rset, fd_set& in_wset) {
int ret = 0;
// fprintf(stderr, "debug - %d connect complete %d\n", cli_fd, connect_complete);
if (cli_fd < 0)
return 0;
// fprintf(stderr, "debug - %d connect complete %d\n", cli_fd, connect_complete);
if (connect_complete == 0) {
// printf("debug - poll query %d\n", cli_fd);
if (FD_ISSET(cli_fd, &in_wset)) {
......@@ -96,6 +96,7 @@ int NetworkClient::Poll(fd_set& in_rset, fd_set& in_wset) {
if (connect_cb != NULL)
(*connect_cb)(globalreg, e, connect_aux);
// fprintf(stderr, "debug - calling killconnection\n");
KillConnection();
} else {
......@@ -194,8 +195,11 @@ int NetworkClient::FlushRings() {
}
void NetworkClient::KillConnection() {
// fprintf(stderr, "debug - nc killcon\n");
connect_complete = -1;
// fprintf(stderr, "debug - clearing buffers %p %p\n", read_buf, write_buf);
if (read_buf != NULL)
delete read_buf;
if (write_buf != NULL)
......@@ -203,6 +207,7 @@ void NetworkClient::KillConnection() {
read_buf = NULL;
write_buf = NULL;
// fprintf(stderr, "debug - closing fd %d\n", cli_fd);
if (cli_fd >= 0)
close(cli_fd);
......@@ -210,6 +215,8 @@ void NetworkClient::KillConnection() {
cl_valid = 0;
// fprintf(stderr, "debug - clienetframework kill %p\n", cliframework);
if (cliframework != NULL)
cliframework->KillConnection();
......
......@@ -7,7 +7,8 @@
version=2009-newcore
# Name of server (Purely for organizational purposes)
servername=Kismet_2009
# If commented out, defaults to host name of system
# servername=Kismet Server
# Prefix of where we log (as used in the logtemplate later)
# logprefix=/some/path/to/logs
......@@ -124,17 +125,26 @@ maxbacklog=5000
ouifile=/etc/manuf
ouifile=/usr/share/wireshark/wireshark/manuf
ouifile=/usr/share/wireshark/manuf
ouifile=/Applications/Wireshark.app/Contents/Resources/share/wireshark/manuf
# Do we have a GPS?
gps=true
# Do we use a locally serial attached GPS, or use a gpsd server?
# Do we use a locally serial attached GPS, or use a gpsd server, or
# use a fixed virtual gps?
# (Pick only one)
gpstype=gpsd
# gpstype=serial
# What serial device do we look for the GPS on?
gpsdevice=/dev/rfcomm0
# Host:port that GPSD is running on. This can be localhost OR remote!
gpshost=localhost:2947
# gpstype=serial
# What serial device do we look for the GPS on?
# gpsdevice=/dev/rfcomm0
# gpstype=virtual
# gpsposition=100,-50
# gpsaltitude=1234
# Do we lock the mode? This overrides coordinates of lock "0", which will
# generate some bad information until you get a GPS lock, but it will
# fix problems with GPS units with broken NMEA that report lock 0
......
This diff is collapsed.
......@@ -12,9 +12,6 @@
/* libairpcap header */
#undef HAVE_AIRPCAP_H
/* Define to 1 if you have the <asm/types.h> header file. */
#undef HAVE_ASM_TYPES_H
/* BSD radiotap packet headers */
#undef HAVE_BSD_SYS_RADIOTAP
......@@ -57,6 +54,9 @@
/* libnl-2.0 netlink library */
#undef HAVE_LIBNL20
/* libnl-3.0 netlink library */
#undef HAVE_LIBNL30
/* Panel terminal lib */
#undef HAVE_LIBPANEL
......@@ -69,24 +69,15 @@
/* Define to 1 if you have the <libutil.h> header file. */
#undef HAVE_LIBUTIL_H
/* Define to 1 if you have the <linux/if_arp.h> header file. */
#undef HAVE_LINUX_IF_ARP_H
/* Linux wireless iwfreq.flag */
#undef HAVE_LINUX_IWFREQFLAG
/* Netlink works */
#undef HAVE_LINUX_NETLINK
/* Define to 1 if you have the <linux/nl80211.h> header file. */
#undef HAVE_LINUX_NL80211_H
/* Linux wireless extentions present */
#undef HAVE_LINUX_WIRELESS
/* Define to 1 if you have the <linux/wireless.h> header file. */
#undef HAVE_LINUX_WIRELESS_H
/* local radiotap packet headers */
#undef HAVE_LOCAL_RADIOTAP
......@@ -99,24 +90,6 @@
/* Define to 1 if you have the <netdb.h> header file. */
#undef HAVE_NETDB_H
/* Netlink headers are there */
#undef HAVE_NETLINKHEADERS
/* Define to 1 if you have the <netlink/attr.h> header file. */
#undef HAVE_NETLINK_ATTR_H
/* Define to 1 if you have the <netlink/genl/ctrl.h> header file. */
#undef HAVE_NETLINK_GENL_CTRL_H
/* Define to 1 if you have the <netlink/genl/family.h> header file. */
#undef HAVE_NETLINK_GENL_FAMILY_H
/* Define to 1 if you have the <netlink/genl/genl.h> header file. */
#undef HAVE_NETLINK_GENL_GENL_H
/* Define to 1 if you have the <netlink/msg.h> header file. */
#undef HAVE_NETLINK_MSG_H
/* pcap/pcap.h */
#undef HAVE_PCAPPCAP_H
......@@ -284,6 +257,11 @@
# endif
#endif
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
......
This diff is collapsed.
......@@ -128,6 +128,18 @@ vector<string> ConfigFile::FetchOptVec(string in_key) {
return cmitr->second;
}
int ConfigFile::FetchOptBoolean(string in_key, int dvalue) {
string v = StrLower(FetchOpt(in_key));
int r;
r = StringToBool(v);
if (r == -1)
return dvalue;
return r;
}
int ConfigFile::FetchOptDirty(string in_key) {
if (config_map_dirty.find(StrLower(in_key)) == config_map_dirty.end())
return 0;
......
......@@ -45,6 +45,10 @@ public:
string FetchOpt(string in_key);
vector<string> FetchOptVec(string in_key);
// Fetch a true/false t/f value with a default (ie value returned if not
// equal to true, or missing.)
int FetchOptBoolean(string in_key, int dvalue);
int FetchOptDirty(string in_key);
void SetOptDirty(string in_key, int in_dirty);
......
This diff is collapsed.
......@@ -844,14 +844,14 @@ if test "$bsdradiotap" = "yes"; then
radiotaploc="system (BSD)"
fi
havenetlink=no
# havenetlink=no
if test "$linux" = "yes"; then
# havenetlink=yes
# AC_CHECK_HEADERS([asm/types.h netlink/genl/genl.h netlink/genl/family.h netlink/genl/ctrl.h netlink/msg.h netlink/attr.h linux/nl80211.h linux/if_arp.h linux/wireless.h],
# AC_DEFINE(HAVE_NETLINKHEADERS, 1, Netlink headers are there),
# havenetlink=no,
# [#include <sys/socket.h>])
havenetlink=yes
AC_CHECK_HEADERS([asm/types.h netlink/genl/genl.h netlink/genl/family.h netlink/genl/ctrl.h netlink/msg.h netlink/attr.h linux/nl80211.h linux/if_arp.h linux/wireless.h],
AC_DEFINE(HAVE_NETLINKHEADERS, 1, Netlink headers are there),
havenetlink=no,
[#include <sys/socket.h>])
#if test "$havenetlink" = "yes"; then
# AC_CHECK_LIB([nl], [nl_handle_alloc],
......@@ -860,24 +860,72 @@ havenetlink=yes
# AC_MSG_WARN(Missing libnl or libnl too old support will not be able to control mac80211 vaps)
#fi
netlink_force=no
AC_ARG_WITH(netlink-version,
[ --with-netlink-version[=1|2|3] Force using libnl1, libnl2, or libnl-3 ],
[
netlink_force=$withval
])
AC_CHECK_PROG(havepkgconfig, [pkg-config], yes, no)
if test "$havepkgconfig" = "no"; then
AC_MSG_WARN(Missing pkg-config will lead to multiple other checks failing)
fi
NLLIBS=""
NLCFLAGS=""
nlname=""
if test "$havenetlink" = "yes"; then
PKG_CHECK_MODULES(libnl30, [libnl-3.0], libnl30=yes, libnl30=no)
PKG_CHECK_MODULES(libnlgenl30, [libnl-genl-3.0], libnlgenl30=yes, libnlgenl30=no)
PKG_CHECK_MODULES(libnl20, [libnl-2.0], libnl20=yes, libnl20=no)
PKG_CHECK_MODULES(libnl1, [libnl-1], libnl1=yes, libnl1=no)
if test "$libnl20" = "yes"; then
AC_DEFINE(HAVE_LIBNL, 1, libnl netlink library)
AC_DEFINE(HAVE_LIBNL20, 1, libnl-2.0 netlink library)
NLLIBS="-lnl-genl -lnl"
elif test "$libnl1" = "yes"; then
AC_DEFINE(HAVE_LIBNL, 1, libnl netlink library)
NLLIBS="-lnl"
else
picked_nl=no
if test $picked_nl = "no" -a "$libnl30" = "yes" -a "$libnlgenl30" = "yes"; then
if test $netlink_force = "no" -o $netlink_force = "3"; then
picked_nl=3
AC_DEFINE(HAVE_LIBNL, 1, libnl netlink library)
AC_DEFINE(HAVE_LIBNL30, 1, libnl-3.0 netlink library)
nlname="libnl-3.0 libnl-genl-3.0"
fi
fi
if test $picked_nl = "no" -a "$libnl20" = "yes"; then
if test $netlink_force = "no" -o $netlink_force = "2"; then
picked_nl=2
AC_DEFINE(HAVE_LIBNL, 1, libnl netlink library)
AC_DEFINE(HAVE_LIBNL20, 1, libnl-2.0 netlink library)
nlname="libnl-2.0"
fi
fi
if test $picked_nl = "no" -a "$libnl1" = "yes"; then
if test $netlink_force = "no" -o $netlink_force = "1"; then
picked_nl=1
AC_DEFINE(HAVE_LIBNL, 1, libnl netlink library)
nlname="libnl-1"
fi
fi
if test $picked_nl = "no"; then
havenetlink="no"
fi
if test "$nlname" != ""; then
NLLIBS=`pkg-config --libs $nlname`
NLCFLAGS=`pkg-config --cflags $nlname`
fi
fi
if test "$havenetlink" = "yes"; then
OLIBS="$LIBS"
LIBS="$LIBS $NLLIBS"
OCFL="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $NLCFLAGS"
AC_MSG_CHECKING(For mac80211 support in netlink library)
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <stdio.h>
......@@ -894,7 +942,9 @@ if test "$havenetlink" = "yes"; then
NL80211_IFTYPE_MONITOR;
NL80211_CMD_NEW_INTERFACE;
return 0;
]])],[havenetlink=yes],[havenetlink=no LIBS="$OLIBS"])
]])],[havenetlink=yes KSLIBS="$KSLIBS $NLLIBS"],[havenetlink=no])
LIBS="$OLIBS"
else
AC_MSG_WARN(Missing libnl netlink library will not be able to control mac80211 vaps)
havenetlink=no
......@@ -903,8 +953,6 @@ fi
if test "$havenetlink" = "yes"; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_LINUX_NETLINK, 1, Netlink works)
else
AC_MSG_RESULT(libnl detected but no support for mac80211 your kernel is probably too old for mac80211 or nl80211 upgrade your kernel then reinstall the latest netlink to get mac80211 support.)
fi
fi
......@@ -1034,7 +1082,7 @@ fi
printf " Linux Netlink: "
if test "$havenetlink" = "yes"; then
echo "yes (mac80211 VAP creation)";
echo "yes (mac80211 VAP creation) - $nlname";
elif test "$linux" != "yes"; then
echo "n/a (only Linux)"
else
......@@ -1049,10 +1097,34 @@ fi
# echo "no (Using Kismet GPSD interface for GPSD <= 2.90)";
# fi
if test "$havepkgconfig" = "no"; then
echo
echo "pkg-config was missing. Without it, configure cannot detect "
echo "several libraries Kismet needs. Install pkg-config and re-run"
echo "configure."
fi
if test "`echo $host_os | grep linux`" = ""; then
echo
echo "Configuration complete. You are not running a linux-based system,"
echo "you will likely need to use 'gmake' instead of 'make'."
echo "Run 'gmake dep' to generate dependencies and 'gmake' followed by"
echo "'gmake install' to compile and install Kismet"
else
verminor=`uname -r | cut -d '.' -f 2`
# Stupid redhat
vertiny=`uname -r | cut -d '.' -f 3 | cut -f 1 -d-`
echo
echo "Configuration complete. Run 'make dep' to generate dependencies"
echo "and 'make' followed by 'make install' to compile and install."
fi
if test "$linux_wireless" != "yes" -a "$linux" = "yes"; then
echo
echo "*** WARNING ***"
echo "Linux Wireless Extensions were disabled. Compiling without wext on a "
echo "Linux system is certianly possible, however nearly all of the packet "
echo "Linux system is certainly possible, however nearly all of the packet "
echo "sources will be disabled (including capture sources for Cisco, Madwifi, "
echo "Orinoco, Prism, and just about every other live capture method). Make "
echo "sure this is what you want to do."
......@@ -1060,9 +1132,9 @@ if test "$linux_wireless" != "yes" -a "$linux" = "yes"; then
fi
if test "$pcap" != "yes" -a "$linux" = "yes"; then
echo
echo "*** WARNING ***"
echo "LibPCAP was not found. Kismet previously included a local copy of this"
echo "library, however it now expects libpcap to be provided by the system."
echo "LibPCAP was not found."
echo "Kismet on Linux without LibPcap cannot capture data locally and will "
echo "almost certainly NOT BE WHAT YOU WANT."
echo "You need both the libpcap libraries and development headers (called "
......@@ -1070,6 +1142,7 @@ if test "$pcap" != "yes" -a "$linux" = "yes"; then
fi
if test "$havenetlink" != "yes" -a "$linux" = "yes"; then
echo
echo "*** WARNING ***"
echo "LibNL/nl80211 support was not found. Kismet uses libnl to control "
echo "mac80211 based wireless interfaces, which comprise the vast majority of"
......@@ -1077,25 +1150,27 @@ if test "$havenetlink" != "yes" -a "$linux" = "yes"; then
echo "older drivers, you need libnl."
echo "You need both the libnl libraries and development headers (called "
echo "libnl-dev or libnl-devel by most distributions)."
fi
if test "`echo $host_os | grep linux`" = ""; then
echo
echo "Configuration complete. You are not running a linux-based system,"
echo "you will likely need to use 'gmake' instead of 'make'."
echo "Run 'gmake dep' to generate dependencies and 'gmake' followed by"
echo "'gmake install' to compile and install Kismet"
else
verminor=`uname -r | cut -d '.' -f 2`
# Stupid redhat
vertiny=`uname -r | cut -d '.' -f 3 | cut -f 1 -d-`
if test "$verminor" = "4" -a "$vertiny" -lt 16 ; then
AC_MSG_WARN(There have been a number of major improvements in the linux-wireless extentions and in the aironet drivers in recent versions. It is recomended that you run at least kernel version 2.4.16, otherwise you may experience difficulties.)
if test "$havepkgconfig" = "no"; then
echo "You do not have the pkg-config utility installed. Kismet needs "
echo "this to find the options libnl uses. If libnl is installed but "
echo "pkg-config is not, Kismet will not detect libnl!"
fi
fi
if test "$havenetlink" = "yes" -a "$pcap" = "yes"; then
echo
echo "*** WARNING ***"
echo "In some situations, libpcap links to libnl. If Kismet finds a newer "
echo "libbl, it can cause an immediate segfault when starting Kismet. "
echo
echo "It is very hard to test at compile time (and run-time changes can "
echo "cause it to break). If you experience immediate segfaults when "
echo "trying to start kismet_server, check your libpcap.so with 'ldd'"
echo "and either install a libpcap which does not link libnl1, or "
echo "force Kismet to compile with a degraded libnl via "
echo "./configure --with-netlink-version=1"
echo
echo "Configuration complete. Run 'make dep' to generate dependencies"
echo "and 'make' followed by 'make install' to compile and install."
fi
The Debian Package kismet
----------------------------
Comments regarding the Package
-- Mike Kershaw/Dragorn <dragorn@kismetwireless.net> Mon, 31 Dec 2012 19:29:12 +0100
kismet for Debian
-----------------
<possible notes regarding this package - if none, delete this file>
-- Mike Kershaw/Dragorn <dragorn@kismetwireless.net> Mon, 31 Dec 2012 19:29:12 +0100
kismet for Debian
-----------------
<this file describes information about the source package, see Debian policy
manual section 4.14. You WILL either need to modify or delete this file>
kismet (2013.03.1) unstable; urgency=low
* 2013.03.R1 release
-- Kismet Release <kismet-release@kismetwireless.net> Mon, 18 Mar 2013 19:00:00 -0500
kismet (2013.0.0) unstable; urgency=low
* Git build.
-- Kismet Release <kismet-release@kismetwireless.net> Mon, 31 Dec 2012 19:29:12 +0100
Source: kismet
Section: net
Priority: optional
Maintainer: Mike Kershaw/Dragorn <dragorn@kismetwireless.net>
Build-Depends: debhelper (>= 8.0.0), autotools-dev, libncurses5-dev, libpcap0.8-dev (>= 1.0.0), libpcre3-dev, libcap-dev (>= 2.10), libssl-dev, libbluetooth-dev, pkg-config, libnl-3-dev | libnl-dev, libnl-genl-3-dev | libnl-dev
Standards-Version: 3.9.3
Homepage: http://www.kismetwireless.net
Vcs-Git: https://www.kismetwireless.net/kismet.git
Package: kismet
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libcap2-bin
Description: Kismet wireless sniffer and IDS
Kismet is an 802.11 and other wireless sniffer, logger, and IDS.
.
This package provides the most recent version, based on the 'newcore'
code branch.
Package: kismet-plugins-restricted
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Kismet wireless sniffer and IDS, restricted plugins
Kismet is an 802.11 and other wireless sniffer, logger, and IDS.
.
This package contains the 'restricted' plugins, which primarily deal with
breaking WEP and other 'aggressive' actions.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: kismet
Source: <url://example.com>
Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: GPL-2.0+
Files: debian/*
Copyright: 2012 Mike Kershaw/Dragorn <dragorn@kismetwireless.net>
License: GPL-2.0+
License: GPL-2.0+
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
......
README
README.appletv
README.win32
RELEASENOTES.txt
/usr/lib/kismet/aircrack-kismet.so
/usr/lib/kismet/autowep-kismet.so
/usr/bin/kismet
/usr/bin/kismet_capture
/usr/bin/kismet_client
/usr/bin/kismet_drone
/usr/bin/kismet_server