<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-7652481.post8803772427154600264..comments</id><updated>2009-06-08T08:05:42.892-04:00</updated><title type='text'>Comments on Infosec Potpourri: Detecting outgoing connections from sensitive netw...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.vorant.com/feeds/8803772427154600264/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7652481/8803772427154600264/comments/default'/><link rel='alternate' type='text/html' href='http://blog.vorant.com/2008/11/detecting-outgoing-connections-from.html'/><author><name>David Bianco</name><uri>http://www.blogger.com/profile/09760835714791462863</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7652481.post-517132325753712481</id><published>2008-11-06T14:42:51.898-05:00</published><updated>2008-11-06T14:42:51.898-05:00</updated><title type='text'>Seth, thanks for the great tips!  I took all your ...</title><content type='html'>Seth, thanks for the great tips!  I took all your suggestions, and have uploaded a new, more concise, version.  As a bonus, I hooked into just a single event this time, the new_connection event, so the script now works for ICMP and anything else Bro detects.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7652481/8803772427154600264/comments/default/517132325753712481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7652481/8803772427154600264/comments/default/517132325753712481'/><link rel='alternate' type='text/html' href='http://blog.vorant.com/2008/11/detecting-outgoing-connections-from.html?showComment=1226000571898#c517132325753712481' title=''/><author><name>David Bianco</name><uri>http://www.blogger.com/profile/09760835714791462863</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05754280779690385398'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vorant.com/2008/11/detecting-outgoing-connections-from.html' ref='tag:blogger.com,1999:blog-7652481.post-8803772427154600264' source='http://www.blogger.com/feeds/7652481/posts/default/8803772427154600264' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-7652481.post-7821387766329488645</id><published>2008-11-03T23:14:36.301-05:00</published><updated>2008-11-03T23:14:36.301-05:00</updated><title type='text'>Hi David, thanks for writing this script.  I've fo...</title><content type='html'>Hi David, thanks for writing this script.  I've found that some of the small scripts like will tend to be some of the most incredibly useful scripts you use.&lt;BR/&gt;&lt;BR/&gt;To make the script a little nicer, you could change it to only throw a single notice: "UnexpectedOutgoingConnection".  You could reduce the check_restricted_outgoing_tcp and check_restricted_outgoing_udp functions into just check_restricted_outgoing since the code for those two is almost completely duplicate and the protocol information would still be contained when you throw the notice because you're attaching the actual connection record.  If you're still interesting in including the protocol type in the message of the notice, you can get the protocol type with the &lt;BR/&gt;get_conn_transport_proto function (e.g. get_conn_transport_proto(c$id) )&lt;BR/&gt;&lt;BR/&gt;It looks like you could probably remove the "const CONN_ATTEMPTED", etc. definitions from the beginning too, those don't seem to be used for anything.  Other than those little things, I don't see anything else worth pointing out.  &lt;BR/&gt;&lt;BR/&gt;It's a nice script, I might start down this path too.  In my environment it's somewhat difficult to determine what hosts should and shouldn't be doing certain activities but that's no reason not to give it a try.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7652481/8803772427154600264/comments/default/7821387766329488645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7652481/8803772427154600264/comments/default/7821387766329488645'/><link rel='alternate' type='text/html' href='http://blog.vorant.com/2008/11/detecting-outgoing-connections-from.html?showComment=1225772076301#c7821387766329488645' title=''/><author><name>Seth Hall</name><uri>http://www.blogger.com/profile/12496449784833418201</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vorant.com/2008/11/detecting-outgoing-connections-from.html' ref='tag:blogger.com,1999:blog-7652481.post-8803772427154600264' source='http://www.blogger.com/feeds/7652481/posts/default/8803772427154600264' type='text/html'/></entry></feed>