summaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2014-03-25 15:53:47 -0500
committerepoch <epoch@hacking.allowed.org>2014-03-25 15:53:47 -0500
commit7bfe791fa77d7b9adf430bd24266d9837230cade (patch)
treee2c7379347538543ee74ef9154f89c2c316142a5 /debug
parentfe808525acbc71410e22bbb6b5cfa5266b2dd30f (diff)
downloadsegfault-7bfe791fa77d7b9adf430bd24266d9837230cade.tar.gz
segfault-7bfe791fa77d7b9adf430bd24266d9837230cade.zip
fixed it *really*
Diffstat (limited to 'debug')
-rwxr-xr-xdebug/tcpdump3
1 files changed, 3 insertions, 0 deletions
diff --git a/debug/tcpdump b/debug/tcpdump
new file mode 100755
index 0000000..6a8aa9f
--- /dev/null
+++ b/debug/tcpdump
@@ -0,0 +1,3 @@
+#!/bin/bash
+PORT=$(sockstat -n | grep segfault | tr -s ' ' | cut -d. -f5 | cut '-d ' -f1)
+tcpdump -q -s0 -nXXi lo0 port $PORT