ports/net/kismet/patches/patch-conf_kismet_conf_in

44 lines
1.5 KiB
Text

Index: conf/kismet.conf.in
--- conf/kismet.conf.in.orig
+++ conf/kismet.conf.in
@@ -11,7 +11,7 @@ version=2009-newcore
# servername=Kismet Server
# Prefix of where we log (as used in the logtemplate later)
-# logprefix=/some/path/to/logs
+logprefix=${LOCALSTATEDIR}/log/kismet
# Do we process the contents of data frames? If this is enabled, data
# frames will be truncated to the headers only immediately after frame type
@@ -30,6 +30,8 @@ allowplugins=true
# ncsource=wlan0
# ncsource=wifi0:type=madwifi
# ncsource=wlan0:name=intel,hop=false,channel=11
+# Generic OpenBSD example
+# ncsource=rum0:type=radiotap_bsd
# Comma-separated list of sources to enable. This is only needed if you defined
# multiple sources and only want to enable some of them. By default, all defined
@@ -122,10 +124,7 @@ maxbacklog=5000
# OUI file, expected format 00:11:22<tab>manufname
# IEEE OUI file used to look up manufacturer info. We default to the
# wireshark one since most people have that.
-ouifile=/etc/manuf
-ouifile=/usr/share/wireshark/wireshark/manuf
-ouifile=/usr/share/wireshark/manuf
-ouifile=/Applications/Wireshark.app/Contents/Resources/share/wireshark/manuf
+ouifile=${LOCALBASE}/share/wireshark/manuf
# Do we have a GPS?
gps=true
@@ -278,8 +277,8 @@ alertbacklog=50
logtypes=pcapdump,gpsxml,netxml,nettxt,alert
# Format of the pcap dump (PPI or 80211)
-pcapdumpformat=ppi
-# pcapdumpformat=80211
+# pcapdumpformat=ppi
+pcapdumpformat=80211
# Default log title
logdefault=Kismet