{"id":662,"date":"2011-08-04T10:12:05","date_gmt":"2011-08-04T10:12:05","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=662"},"modified":"2012-09-27T15:11:01","modified_gmt":"2012-09-27T15:11:01","slug":"mac-10-7-server-syslogd-listen-to-external-connections","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=662","title":{"rendered":"Mac 10.7 Server syslogd listen to external connections"},"content":{"rendered":"<p>First make a backup of the plist, then do the following:<\/p>\n<p>Convert it to XML so it&#8217;s editable:<\/p>\n<pre><tt>sudo plutil -convert xml1 \/System\/Library\/LaunchDaemons\/com.apple.syslogd.plist<\/tt><\/pre>\n<p>Edit the file; I used pico with this command (you can also use TextWrangler, etc.):<\/p>\n<pre><tt>sudo pico \/System\/Library\/LaunchDaemons\/com.apple.syslogd.plist<\/tt><\/pre>\n<p>You need to insert this key:<\/p>\n<div>\n<pre>&lt;key&gt;NetworkListener&lt;\/key&gt;\r\n &lt;dict&gt;\r\n        &lt;key&gt;SockServiceName&lt;\/key&gt;\r\n        &lt;string&gt;syslog&lt;\/string&gt;\r\n        &lt;key&gt;SockType&lt;\/key&gt;\r\n        &lt;string&gt;dgram&lt;\/string&gt;\r\n &lt;\/dict&gt;<\/pre>\n<\/div>\n<p>Convert the plist back to binary format:<\/p>\n<pre><tt>sudo plutil -convert binary1 \/System\/Library\/LaunchDaemons\/com.apple.syslogd.plist<\/tt><\/pre>\n<p>Unload and reload syslogd:<\/p>\n<pre><tt>sudo launchctl unload \/System\/Library\/LaunchDaemons\/com.apple.syslogd.plist sudo launchctl load \/System\/Library\/LaunchDaemons\/com.apple.syslogd.plist<\/tt><\/pre>\n<p>Afterwards check Console.app for incoming logs from your router, etc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First make a backup of the plist, then do the following: Convert it to XML so it&#8217;s editable: sudo plutil -convert xml1 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8,9,7,10,11],"class_list":["post-662","post","type-post","status-publish","format-standard","hentry","category-info-on-tech","tag-10-7","tag-lion","tag-osx","tag-server","tag-syslogd"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=662"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/662\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}