As discussed earlier, you can add extra packages from the FreeBSD repository to pfSense.
One of the most useful applications for any firewall is a packet sniffer. pfSense comes with tcpdump but Wireshark has more features, one of which is parsing application level protocols to give an easier understanding of traffic.
You can install tshark using pkg_add
, however pfSense is missing some key libraries,
/libexec/ld-elf.so.1: Shared object "libkrb5.so.10" not found, required by "tshark"
I have tar’d the required libraries which you can download here,
Libraries required by tshark on pfSense 2.0.1 (447.6 KiB, 1,557 hits)
You can also quickly install these libraries directly with the following commands,
cd /root && fetch http://www.nooblet.org/blog/download/libtshark-pfsense.tar.gz && tar xfvz libtshark-pfsense.tar.gz && mv /root/libtshark-pfsense/* /usr/local/lib/ && rm -rf root/libtshark-pfsense/
pkg_add does not seem to be working anymore in recent versions of pfsense do you know anything about that and how I can still install tshark.
PfSense 2.2+ uses a new package manager that comes with FreeBSD 10.1. Try running “pkg” on its own to set it up, then use “pkg install iftop”.
See more info at https://doc.pfsense.org/index.php/Installing_FreeBSD_Packages