Skip to content

Instantly share code, notes, and snippets.

@bodgix
Created November 14, 2015 13:56
Show Gist options
  • Save bodgix/f1c85204fe76fab865a4 to your computer and use it in GitHub Desktop.
Save bodgix/f1c85204fe76fab865a4 to your computer and use it in GitHub Desktop.
tcpdump
FROM centos:6
MAINTAINER Bogdan Katyński
RUN yum -y install tcpdump
ENTRYPOINT /usr/sbin/tcpdump -i eth0 -s0 -w \
/tcpdump/ldap_$(date '+%F_%T').pcap \
port 389 -p -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment