If you want the capture file to start automatically on connection, you can do this by selecting the Connection Directory entry, click on the Basic Options button, and configure the capture file information you want. You'll then want to take the script below, compile it, and attach it to that Connection Directory entry via the Script listbox on the Basic Options page. The script is necessary due to a bug in Procomm automatically opening capture files in telnet mode.
proc main
when $CARRIER call open_cap
while 1
yield
endwhile
endproc
proc open_cap
if $CARRIER == 0
capture OFF
exit
else
capture ON
endif
endproc
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.