<?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-23021255.post116133795468537980..comments</id><updated>2008-08-05T15:49:27.778+02:00</updated><title type='text'>Comments on Cisco IOS hints and tricks: Running syslog over TCP</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.ioshints.info/feeds/116133795468537980/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23021255/116133795468537980/comments/default'/><link rel='alternate' type='text/html' href='http://blog.ioshints.info/2006/10/running-syslog-over-tcp.html'/><author><name>Ivan Pepelnjak</name><uri>http://www.blogger.com/profile/13457151406311272386</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-23021255.post-794881829747192978</id><published>2008-08-05T15:49:27.778+02:00</published><updated>2008-08-05T15:49:27.778+02:00</updated><title type='text'>Hum, ok, thanks for the useful info!</title><content type='html'>Hum, ok, thanks for the useful info!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23021255/116133795468537980/comments/default/794881829747192978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23021255/116133795468537980/comments/default/794881829747192978'/><link rel='alternate' type='text/html' href='http://blog.ioshints.info/2006/10/running-syslog-over-tcp.html?showComment=1217944167778#c794881829747192978' title=''/><author><name>hank</name><uri>http://www.blogger.com/profile/10549137709414981912</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.ioshints.info/2006/10/running-syslog-over-tcp.html' ref='tag:blogger.com,1999:blog-23021255.post-116133795468537980' source='http://www.blogger.com/feeds/23021255/posts/default/116133795468537980' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-23021255.post-8334149148441375232</id><published>2007-10-31T16:52:05.410+01:00</published><updated>2007-10-31T16:52:05.410+01:00</updated><title type='text'>While it's commonly believed that TCP is a pure st...</title><content type='html'>While it's commonly believed that TCP is a pure stream service, it's usually true that a single socket &lt;I&gt;write&lt;/I&gt; results in all the data being returned from a single socket &lt;I&gt;read&lt;/I&gt; call on the other side of the TCP session (assuming the application's receive buffer is big enough). That's the "mechanism" IOS is using. Each &lt;I&gt;syslog&lt;/I&gt; message is sent in a separate TCP packet (there are no extra separators), so the recipient (usually) gets them one-by-one. Of course this mechanism is not 100% reliable.&lt;BR/&gt;&lt;BR/&gt;The &lt;I&gt;syslog&lt;/I&gt; daemon like Kiwi can split the stream into messages based on what gets returned from a single &lt;I&gt;read&lt;/I&gt; call (that's how Kiwi works). Additionally, Kiwi can recognize various separators (CR, CRLF, LF, NULL). In theory, you could also identify the start of a properly formatted &lt;I&gt;syslog&lt;/I&gt; message, as they all have to start with &amp;lt;digit digit digit&amp;gt; sequence, but this method is not reliable either. If you want a completely reliable solution, you should use BEEP (but I don't think there are too many syslog daemons out there supporting it).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23021255/116133795468537980/comments/default/8334149148441375232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23021255/116133795468537980/comments/default/8334149148441375232'/><link rel='alternate' type='text/html' href='http://blog.ioshints.info/2006/10/running-syslog-over-tcp.html?showComment=1193845925410#c8334149148441375232' title=''/><author><name>Ivan Pepelnjak</name><uri>http://www.blogger.com/profile/13457151406311272386</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15208754866265736101'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.ioshints.info/2006/10/running-syslog-over-tcp.html' ref='tag:blogger.com,1999:blog-23021255.post-116133795468537980' source='http://www.blogger.com/feeds/23021255/posts/default/116133795468537980' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-23021255.post-5886161593455227075</id><published>2007-10-31T10:21:38.747+01:00</published><updated>2007-10-31T10:21:38.747+01:00</updated><title type='text'>Also Cisco IOS Software Releases 12.4 T implements...</title><content type='html'>Also Cisco IOS Software Releases 12.4 T implements "Reliable Delivery and Filtering for Syslog"&lt;BR/&gt;http://www.cisco.com/en/US/products/ps6441/products_feature_guide09186a00807883c3.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23021255/116133795468537980/comments/default/5886161593455227075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23021255/116133795468537980/comments/default/5886161593455227075'/><link rel='alternate' type='text/html' href='http://blog.ioshints.info/2006/10/running-syslog-over-tcp.html?showComment=1193822498747#c5886161593455227075' title=''/><author><name>hank</name><uri>http://www.blogger.com/profile/10549137709414981912</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.ioshints.info/2006/10/running-syslog-over-tcp.html' ref='tag:blogger.com,1999:blog-23021255.post-116133795468537980' source='http://www.blogger.com/feeds/23021255/posts/default/116133795468537980' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-23021255.post-7476589279206696452</id><published>2007-10-25T17:37:13.074+02:00</published><updated>2007-10-25T17:37:13.074+02:00</updated><title type='text'>Hi,So IOS implements standard syslog stream over T...</title><content type='html'>Hi,&lt;BR/&gt;So IOS implements standard syslog stream over TCP but do you happen to know how the syslog server receiving the messages knows where a message stops and one another starts? Because with UDP you know that when you receive something, you only have one message. As for TCP you could have several messages next to each other. Is there for example an EOL character between 2 messages or something else?&lt;BR/&gt;Cheers,&lt;BR/&gt;  Hank</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23021255/116133795468537980/comments/default/7476589279206696452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23021255/116133795468537980/comments/default/7476589279206696452'/><link rel='alternate' type='text/html' href='http://blog.ioshints.info/2006/10/running-syslog-over-tcp.html?showComment=1193326633074#c7476589279206696452' title=''/><author><name>hank</name><uri>http://www.blogger.com/profile/10549137709414981912</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.ioshints.info/2006/10/running-syslog-over-tcp.html' ref='tag:blogger.com,1999:blog-23021255.post-116133795468537980' source='http://www.blogger.com/feeds/23021255/posts/default/116133795468537980' type='text/html'/></entry></feed>