<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.iwillfearnoevil.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Bash-timers</id>
	<title>Bash-timers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Bash-timers"/>
	<link rel="alternate" type="text/html" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Bash-timers&amp;action=history"/>
	<updated>2026-05-08T15:50:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Bash-timers&amp;diff=126&amp;oldid=prev</id>
		<title>Chubbard: Created page with &quot;Simplest way to get a timer on something that does not have a builtin timeout system  [https://serverfault.com/questions/361464/is-it-possible-to-set-a-timeout-on-openssls-s-c...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Bash-timers&amp;diff=126&amp;oldid=prev"/>
		<updated>2022-01-12T18:02:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Simplest way to get a timer on something that does not have a builtin timeout system  [https://serverfault.com/questions/361464/is-it-possible-to-set-a-timeout-on-openssls-s-c...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Simplest way to get a timer on something that does not have a builtin timeout system&lt;br /&gt;
&lt;br /&gt;
[https://serverfault.com/questions/361464/is-it-possible-to-set-a-timeout-on-openssls-s-client-command| Origional source]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
timeout 5 bash -c &amp;quot;echo '' | ${OPENSSL} s_client -connect ${1}:${2} -servername ${CLN} ${TLSFLAG} 2&amp;gt; ${ERROR_TMP} 1&amp;gt; ${CERT_TMP}&amp;quot; || echo &amp;quot;ssl connection timeout&amp;quot; &amp;gt; ${ERROR_TMP}&lt;br /&gt;
&lt;br /&gt;
Exit code is non-zero on timeout&lt;br /&gt;
&lt;br /&gt;
Using a || will allow for the timeout itself to leave a message&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:bash]]&lt;/div&gt;</summary>
		<author><name>Chubbard</name></author>
	</entry>
</feed>