i386 and amd64 architectures are available from the following location: https://dl.farsightsecurity.com/dist/sie-dns-sensor/0.7.3-1/. These packages are compatible with Debian 7 and newer releases, as well as Ubuntu systems. After downloading the appropriate binary package, it may be installed with the package manager. For example on Debian (amd64) systems and clones:
dpkg -i sie-dns-sensor_0.7.3-1_amd64.deb
i386 and amd64 architectures and compiled separately for the EL5 and EL6 releases available from the following location: https://dl.farsightsecurity.com/dist/sie-dns-sensor/0.7.3-1/. These packages are compatible with RHEL clones such as Scientific Linux and CentOS. After downloading the appropriate binary package, it may be installed with the package manager. For example on Red Hat EL6 (x86_64) systems and clones:
rpm -i sie-dns-sensor-0.7.3-1.el6.x86_64.rpm
pkg install nmsg wrapsrv bash rsync
sie-scripts tarball from the following location: https://dl.farsightsecurity.com/dist/sie-scripts/. Extract the tarball and change into the top-level directory of the extracted tarball and then perform the following steps:
make -f Makefile.freebsd installcp examples/dns-cache /usr/local/etc/sie/dns-cachecp initscripts/freebsd/sie_dns_sensor.sh /usr/local/etc/rc.d/sie_dns_sensorchmod +x /usr/local/etc/rc.d/sie_dns_sensorsie_dns_sensor_enable="YES" to the /etc/rc.conf filesie-dns-sensor requires further configuration after installation.
/etc/default/sie-dns-sensor file (/usr/local/etc/sie/dns-cache on FreeBSD). If necessary, edit the interface variable, which specifies the network interface on which to monitor DNS traffic. By default the "promiscuous" capture mode is not enabled. Append a "+" character to the interface name to enable promiscuous mode. Promiscuous mode is required when monitoring a network tap.
DNSQR_RES_ADDRS variable must also be set to a list of one or more comma-separated IP addresses or network prefixes to be monitored. Some example values for this variable are:
DNSQR_RES_ADDRS="192.0.2.53"
DNSQR_RES_ADDRS="192.0.2.53, 198.51.100.53"
DNSQR_RES_ADDRS="192.0.2.53, 2001:db8::53"
DNSQR_RES_ADDRS="203.0.113.0/24"
DNSQR_RES_ADDRS="203.0.113.0/24, 2001:db8::/64"
DNSQR_RES_ADDRS variable is new in sie-dns-sensor 0.6.16 and later and replaces the dnstype, bpfpat_src, and bpfpat_dst variables in previous versions. The config file must be updated to use the new syntax when upgrading from a previous version.
sie-dns-sensor package has a built-in uploader that will send captured data to the Farsight Passive DNS project. The uploader uses an SSH encrypted connection on port 49222 to transfer data. Make sure that no firewall rules prevent outbound connections on this port to Farsight's servers. The upload keypair is stored in the /var/spool/sie/keys directory in the files upload (private key) and upload.pub (public key). Run the sie-gen-key command to generate a keypair. If sie-dns-sensor is installed on multiple servers, please copy the same keypair to each server instead of creating a separate keypair for each server.
/var/spool/sie/keys/upload.pub file) as an attachment to passivedns@farsightsecurity.com and include the IPv4 and/or IPv6 addresses that your sensor(s) will inititiate data uploads from. A username will be assigned and the login variable in the /etc/default/sie-dns-sensor config file must be set to this value.
upload="no" in the /etc/default/sie-dns-sensor config file. Additionally, data files can be saved to disk by setting archive="yes", in which case the rotated data files will be saved to the /var/spool/sie/archive directory.
sie: prefix upon upload success or failure. The syslog priority can be configured by setting the syslog_priority config variable.
sie-dns-sensor uses the standard init system on Linux and FreeBSD, and will be configured automatically to start at boot and stop at shutdown.
service sie-dns-sensor start
service sie-dns-sensor stop
service sie-dns-sensor restart
sie-dns-sensor package:
dpkg -P sie-dns-sensor
sie-dns-sensor package:
rpm -e sie-dns-sensor
rm -f /etc/default/sie-dns-sensor.rpmsave
pkg delete to remove any of the prerequisite packages that were installed and which are not needed for other purposes on the machine.
rm -r /usr/local/etc/sie
rm /usr/local/etc/rc.d/sie_dns_sensor
rm -r /usr/local/lib/sie
/var/spool/sie directory will need to be removed manually.
sie-dns-sensor binary package contains components from nmsg and other open source projects. The build scripts and artifacts used to produce the sie-dns-sensor binary package are available from the sie-dns-sensor repository.
sie-dns-sensor binary packages for Debian and Red Hat include a stripped down version of the libnmsg library and nmsgtool utility specially tailored for the passive DNS sensor software role. As of sie-dns-sensor version 0.7.3-1, these components are installed in a dedicated path, either /usr/lib/sie-dns-sensor or /usr/lib64/sie-dns-sensor depending on platform, and will not conflict with an installation of nmsg on the same system.
libnmsg, nmsgtool, and related components, see the SIE Software Installation Debian, SIE Software Installation EL, and SIE Software Installation FreeBSD pages.
Email: sales@farsightsecurity.com Phone: +1-650-489-7919