diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index f1b7f41d354e..b4762db53d18 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -1,141 +1,142 @@ # $FreeBSD$ # COMMENT = Network management tools SUBDIR += NeTraMet SUBDIR += TkTopNetFlows SUBDIR += aggregate SUBDIR += aguri SUBDIR += airport SUBDIR += angst SUBDIR += annextools SUBDIR += ap-utils SUBDIR += apan SUBDIR += argus SUBDIR += arpscan SUBDIR += arpwatch SUBDIR += arpwatch-devel SUBDIR += arts++ SUBDIR += aspathtree SUBDIR += bandwidthd SUBDIR += bgpq SUBDIR += bigsister SUBDIR += bpft SUBDIR += braa SUBDIR += bsd-airtools SUBDIR += cdpd SUBDIR += cdpr SUBDIR += cfgstoragemk SUBDIR += cflowd SUBDIR += choparp SUBDIR += cidr SUBDIR += cisco_conf SUBDIR += ciscoconf SUBDIR += clog SUBDIR += confregdecode SUBDIR += cricket SUBDIR += darkstat SUBDIR += dhcpconf SUBDIR += disco SUBDIR += docsis SUBDIR += driftnet SUBDIR += echolot SUBDIR += ehnt SUBDIR += etherape SUBDIR += ettercap SUBDIR += flow-extract SUBDIR += flow-tools SUBDIR += flowscan SUBDIR += fprobe SUBDIR += gps SUBDIR += icmpmonitor SUBDIR += icmpquery SUBDIR += ifgraph SUBDIR += iftop SUBDIR += iog SUBDIR += ipacctd SUBDIR += ipaudit SUBDIR += ipcad SUBDIR += ipcalc SUBDIR += ipfm SUBDIR += ipv6calc SUBDIR += irrtoolset SUBDIR += isic SUBDIR += junipoll + SUBDIR += kismet SUBDIR += knowlan SUBDIR += libsmi SUBDIR += mbrowse SUBDIR += mrtg SUBDIR += nagios SUBDIR += nagios-plugins SUBDIR += nat SUBDIR += nbtscan SUBDIR += nefu SUBDIR += net-snmp SUBDIR += net-snmp-tkmib SUBDIR += net-snmp4 SUBDIR += netams SUBDIR += netmask SUBDIR += netqc SUBDIR += netsaint SUBDIR += netsaint-plugins SUBDIR += netspoc SUBDIR += nitpicker SUBDIR += nocol SUBDIR += nrpe SUBDIR += nrpep SUBDIR += nsc SUBDIR += nsca SUBDIR += nstreams SUBDIR += openvmps SUBDIR += oproute SUBDIR += p0f SUBDIR += p5-Altoids SUBDIR += p5-Cflow SUBDIR += p5-JUNOScript SUBDIR += p5-Mon SUBDIR += p5-Net-CIDR SUBDIR += p5-Net-IP SUBDIR += p5-Net-IPv4Addr SUBDIR += p5-Net-IPv6Addr SUBDIR += p5-Net-Netmask SUBDIR += p5-Net-SNMP SUBDIR += p5-Net-SNMP3 SUBDIR += p5-NetAddr-IP SUBDIR += p5-SNMP SUBDIR += p5-SNMP-MIB-Compiler SUBDIR += p5-SNMP-Util SUBDIR += p5-SNMP_Session SUBDIR += p5-Telnet-Cisco SUBDIR += p5-Tie-NetAddr-IP SUBDIR += packit SUBDIR += pancho SUBDIR += pixilate SUBDIR += pmacct SUBDIR += portmon SUBDIR += py-ipy SUBDIR += py-snmp SUBDIR += rancid SUBDIR += rate SUBDIR += remarp SUBDIR += ruby-snmp SUBDIR += satellite SUBDIR += scdp SUBDIR += scli SUBDIR += scotty3 SUBDIR += sdig SUBDIR += sendip SUBDIR += sing SUBDIR += sipcalc SUBDIR += sting SUBDIR += subcalc SUBDIR += sysmon SUBDIR += tas SUBDIR += tcpreplay SUBDIR += trafd SUBDIR += whatmask SUBDIR += wide-dhcp SUBDIR += zabbix .include diff --git a/net-mgmt/kismet/Makefile b/net-mgmt/kismet/Makefile new file mode 100644 index 000000000000..d3c5b288e0fc --- /dev/null +++ b/net-mgmt/kismet/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: kismet +# Date created: 3 May 2004 +# Whom: Thomas Spreng +# +# $FreeBSD$ +# + +PORTNAME= kismet +PORTVERSION= 200404.r1 +CATEGORIES= net-mgmt +MASTER_SITES= http://www.kismetwireless.net/code/ +DISTNAME= kismet-2004-04-R1 + +MAINTAINER= spreng@socket.ch +COMMENT= 802.11 layer2 wireless network detector, sniffer, and IDS + +GNU_CONFIGURE= yes +USE_GMAKE= yes + +CONFIGURE_ARGS+= --enable-syspcap + +.ifdef DISABLE_CURSES +CONFIGURE_ARGS+= --disable-curses +.endif + +.ifdef DISABLE_PANEL +CONFIGURE_ARGS+= --disable-panel +.endif + +.ifdef DISABLE_SETUID +CONFIGURE_ARGS+= --disable-setuid +.endif + +MAN1= kismet.1 kismet_drone.1 +MAN5= kismet.conf.5 kismet_drone.conf.5 kismet_ui.conf.5 + +.include + +.if ${OSVERSION} < 502000 +BROKEN= "Does not compile on FreeBSD ${OSVERSION}" +.endif + +pre-fetch: + @${ECHO_MSG} "" +.ifndef DISABLE_CURSES + @${ECHO_MSG} " define DISABLE_CURSES to build without ncurses interface" +.endif +.ifndef DISABLE_PANEL + @${ECHO_MSG} " define DISABLE_PANEL to build without libpanel interface" +.endif +.ifndef DISABLE_SETUID + @${ECHO_MSG} " define DISABLE_SETUID to disable setuid/privdrop ability (not reccomended)" +.endif + @${ECHO_MSG} "" + @${TRUE} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/conf/kismet.conf ${PREFIX}/etc/kismet.conf.sample + ${INSTALL_DATA} ${WRKSRC}/conf/kismet_drone.conf ${PREFIX}/etc/kismet_drone.conf.sample + ${INSTALL_DATA} ${WRKSRC}/conf/kismet_ui.conf ${PREFIX}/etc/kismet_ui.conf.sample + +.include diff --git a/net-mgmt/kismet/distinfo b/net-mgmt/kismet/distinfo new file mode 100644 index 000000000000..f4bbf4457b40 --- /dev/null +++ b/net-mgmt/kismet/distinfo @@ -0,0 +1,2 @@ +MD5 (kismet-2004-04-R1.tar.gz) = bd9fad469b3d9ca35c51734e58e406d0 +SIZE (kismet-2004-04-R1.tar.gz) = 757689 diff --git a/net-mgmt/kismet/pkg-descr b/net-mgmt/kismet/pkg-descr new file mode 100644 index 000000000000..26bb47643f17 --- /dev/null +++ b/net-mgmt/kismet/pkg-descr @@ -0,0 +1,13 @@ +Kismet is an 802.11 layer2 wireless network detector, sniffer, and intrusion +detection system. Kismet will work with any wireless card which supports raw +monitoring (rfmon) mode, and can sniff 802.11b, 802.11a, and 802.11g traffic. + +Kismet identifies networks by passively collecting packets and detecting +standard named networks, detecting (and given time, decloaking) hidden +networks, and infering the presence of nonbeaconing networks via data traffic. + +Known supported cards: Atheros, Prism2, WSP100, Drone, wtapfile, pcapfile. +Kismet also supports the radiotap headers and should work with current FreeBSD +systems. + +WWW: http://www.kismetwireless.net/ diff --git a/net-mgmt/kismet/pkg-plist b/net-mgmt/kismet/pkg-plist new file mode 100644 index 000000000000..42a87d895888 --- /dev/null +++ b/net-mgmt/kismet/pkg-plist @@ -0,0 +1,18 @@ +bin/kismet +bin/kismet_client +bin/kismet_drone +bin/kismet_server +etc/ap_manuf +etc/client_manuf +@unexec if cmp -s %D/etc/kismet.conf %D/etc/kismet.conf.sample; then rm -f %D/etc/kismet.conf; fi +etc/kismet.conf.sample +@unexec if cmp -s %D/etc/kismet_drone.conf %D/etc/kismet_drone.conf.sample; then rm -f %D/etc/kismet_drone.conf; fi +etc/kismet_drone.conf.sample +@unexec if cmp -s %D/etc/kismet_ui.conf %D/etc/kismet_ui.conf.sample; then rm -f %D/etc/kismet_ui.conf; fi +etc/kismet_ui.conf.sample +share/kismet/wav/alert.wav +share/kismet/wav/junk_traffic.wav +share/kismet/wav/new_network.wav +share/kismet/wav/traffic.wav +@dirrm share/kismet/wav +@dirrm share/kismet