Technology Insights

Sniff All Broadcast Traffic Using tcpdump

Earlier while troubleshooting a possible issue with VMWare Player on Ubuntu Linux I needed to sniff broadcast traffic. The goal was to see if there were multiple MAC addresses sending out broadcast traffic after VMWare Player was installed on Ubuntu even without a VM actually running. Below is a quick example of how to sniff…

Technology Insights

View for Version Numbers, Hostnames, IPs, Etc.

Here’s some code (and rendered view) for various version numbers, host names, IPs for Ruby, Rails, PostgreSQL, SMTP. <b>Network</b><br> UNIX hostname: <code><%= `hostname` %></code><br> SERVER_ADDR: <code><%= request.env[“SERVER_ADDR”].to_s %></code> <br> HOST_NAME : <code><%= request.host %></code> <br> REMOTE_ADDR: <code><%= request.env[“REMOTE_ADDR”].to_s %></code> <br> <br> <b>Software</b><br> Database: <code><%= ActiveRecord::Base.connection.select_value(“SELECT  VERSION()”) %></code><br> Email delivery method: <code><%= ActionMailer::Base.delivery_method %></code><br> SMTP server:…