erikng / Cacher

A python script for extracting macOS Caching Server data
Apache License 2.0
134 stars 40 forks source link

show me the IP addresses #45

Open adolfunk opened 7 years ago

adolfunk commented 7 years ago

I was wondering if it is possible that the script show me the IP addresses of clients who downloaded files from my server?

Answer: It can but it would need to be written.

I'll try to write it, but I don't know much about python if you want do this with me I'll appreciate.

adolfunk commented 7 years ago

I did this with the line:

finalOutput.append('\n'.join(map(str,set(IPLog))))

screen shot 2017-07-21 at 4 47 42 pm

erikng commented 7 years ago

Oh right, I forgot I already did the work on IP logging. Given that I think most people won't want this, my suggestion is for you to keep that line in your version.

grahamr commented 7 years ago

Thanks for the share - wonder if it could be a command line switch? I know when we are spinning up new caching servers for a few days its useful to see if the right devices we expect are hitting the right servers (and even long term it could be used to spot a device you wouldn't expect to connect i suppose)

kylehakala commented 7 years ago

I’m working on a verbose flag with a few accoutrements to become enabled with it. This would be a good fit for that. I haven’t been working on it as of late, nor have I reached out for anyone’s opinion on rolling this into the public version of Cacher yet, but I could push up a slimmed down version of tried and true bits if nobody is opposed.

On Jul 31, 2017, at 07:03, grahamr notifications@github.com wrote:

Thanks for the share - wonder if it could be a command line switch? I know when we are spinning up new caching servers for a few days its useful to see if the right devices we expect are hitting the right servers (and even long term it could be used to spot a device you wouldn't expect to connect i suppose)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

erikng commented 7 years ago

Sure. I wouldn't mind looking.

Thanks, Erik Gomez


From: kylehakala notifications@github.com Sent: Monday, July 31, 2017 5:13:43 AM To: erikng/Cacher Cc: Erik Gomez; Comment Subject: Re: [erikng/Cacher] show me the IP addresses (#45)

I’m working on a verbose flag with a few accoutrements to become enabled with it. This would be a good fit for that. I haven’t been working on it as of late, nor have I reached out for anyone’s opinion on rolling this into the public version of Cacher yet, but I could push up a slimmed down version of tried and true bits if nobody is opposed.

On Jul 31, 2017, at 07:03, grahamr notifications@github.com wrote:

Thanks for the share - wonder if it could be a command line switch? I know when we are spinning up new caching servers for a few days its useful to see if the right devices we expect are hitting the right servers (and even long term it could be used to spot a device you wouldn't expect to connect i suppose)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/erikng/Cacher/issues/45#issuecomment-319049997, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFa_GCA5FxfVfYntlC8QWbOm-hob94oBks5sTcT3gaJpZM4Oflsc.