Created
November 14, 2015 13:56
-
-
Save bodgix/f1c85204fe76fab865a4 to your computer and use it in GitHub Desktop.
tcpdump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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