{"id":23,"date":"2006-09-15T12:11:47","date_gmt":"2006-09-15T19:11:47","guid":{"rendered":"http:\/\/www.dreness.com\/blog\/archives\/23"},"modified":"2019-12-07T17:10:12","modified_gmt":"2019-12-08T00:10:12","slug":"decrypting-afp-mount-strings","status":"publish","type":"post","link":"https:\/\/dreness.com\/blog\/archives\/23","title":{"rendered":"Decrypting afp mount strings"},"content":{"rendered":"<pre>{10} andre@werk [~] % mount | grep \/Volumes\/andre\r\nafp_006Af01nOUmc001Eic06SdO0-1.2c0000ae on \/Volumes\/andre (nodev, nosuid, mounted by andre)<\/pre>\n<p>Huh? how helpful is that! How can I tell what server it came from? Yeah, I could netstat, but what if there&#8217;s a bunch of AFP sessions open?<\/p>\n<p><a href=\"https:\/\/developer.apple.com\/library\/archive\/samplecode\/DisplayURL\/index.html\">DisplayURL<\/a> to the rescue!<\/p>\n<pre>{12} andre@werk [~] % ~dre\/bin\/DisplayURL \/Volumes\/andre \r\nurl: \"afp:\/\/idio.dreness.com\/andre\"\r\nkCFURLComponentScheme: \"afp\" including separators: \"afp:\/\/\"\r\nkCFURLComponentNetLocation: \"idio.dreness.com\" including separators: \":\/\/idio.dreness.com\"\r\nkCFURLComponentPath: \"\/andre\" including separators: \"\/andre\"\r\nkCFURLComponentResourceSpecifier not found\r\nkCFURLComponentUser not found\r\nkCFURLComponentPassword not found\r\nkCFURLComponentUserInfo not found\r\nkCFURLComponentHost: \"idio.dreness.com\" including separators: \":\/\/idio.dreness.com\"\r\nkCFURLComponentPort not found\r\nkCFURLComponentParameterString not found\r\nkCFURLComponentQuery not found\r\nkCFURLComponentFragment not found<\/pre>\n<p>fancy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{10} andre@werk [~] % mount | grep \/Volumes\/andre afp_006Af01nOUmc001Eic06SdO0-1.2c0000ae on \/Volumes\/andre (nodev, nosuid, mounted by andre) Huh? how helpful is that! How can I tell what server it came from? Yeah, I could netstat, but what if there&#8217;s a bunch &hellip; <a href=\"https:\/\/dreness.com\/blog\/archives\/23\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-23","post","type-post","status-publish","format-standard","hentry","category-os-x","category-os-x-server"],"_links":{"self":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/23","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":1,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":979,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/23\/revisions\/979"}],"wp:attachment":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/categories?post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/tags?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}