{"id":47,"date":"2005-07-12T06:33:42","date_gmt":"2005-07-12T14:33:42","guid":{"rendered":"http:\/\/zachfine.com\/blog\/2005\/07\/12\/hark-who-accesses-my-shared-itunes-or-iphoto-libraries\/"},"modified":"2007-04-24T01:56:46","modified_gmt":"2007-04-24T09:56:46","slug":"hark-who-accesses-my-shared-itunes-or-iphoto-libraries","status":"publish","type":"post","link":"https:\/\/zachfine.com\/blog\/2005\/07\/12\/hark-who-accesses-my-shared-itunes-or-iphoto-libraries\/","title":{"rendered":"hark, who accesses my shared iTunes or iPhoto libraries?"},"content":{"rendered":"<p>Earlier today I tried to quit iPhoto, only to have it inform me that there was a user browsing my shared photos and would I really want to cut off their access by quitting. I was intrigued, as I had no idea that anyone would bother accessing my shared photos (excellent as they are).<\/p>\n<p>The best way to deal with a voyeur is to voyeur back, so I decided to try and figure out who was looking at my share.<\/p>\n<p>Benjamin Han, at his <a href=\"http:\/\/www-2.cs.cmu.edu\/~benhdj\/Mac\/unix.html#iTunesMonitor\">Unix Tips for Mac OS X<\/a> page, kindly points out a way to see who is listening to one&#8217;s iTunes share:<\/p>\n<p><tt>lsof -r 2 -n -P -F n -c iTunes -a -i TCP@`hostname`:3689<\/tt><\/p>\n<p>So I modified that line to instead check for iPhoto (8770 is the port iPhoto uses for sharing):<\/p>\n<p><tt>lsof -r 2 -n -P -F n -c iPhoto -a -i TCP@`hostname`:8770<\/tt><\/p>\n<p>And that gave me the IP address of the person browsing my photos. Once I had this IP address, I did not seek out the user behind the address, but instead promptly lost enthusiasm for the whole enterprise. Ah well, I hope they enjoyed the photos.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Earlier today I tried to quit iPhoto, only to have it inform me that there was a user browsing my shared photos and would I really want to cut off their access by quitting. I was intrigued, as I had no idea that anyone would bother accessing my shared photos (excellent as they are). The [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[14,21,13],"tags":[],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-apple","category-audio","category-geeky"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/ptNpF-L","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":0,"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"wp:attachment":[{"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zachfine.com\/blog\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}