Giter VIP home page Giter VIP logo

Comments (8)

Nutomic avatar Nutomic commented on July 20, 2024

Does this mean I have to add my music again every time I start torrenttunes? Or is it a one time thing for the update only?

Also, storing IPs doesn't seem like a good idea from a privacy perspective. And what if multiple people are seeding the same song?

from torrenttunes-client.

dessalines avatar dessalines commented on July 20, 2024

Not every time. Its a one time thing for this upcoming update. I've written most of the code and will probably be making the change within the next day or two, so people(me included) will have to click the clear clear database button, and rescan their libraries.

Also, storing IPs doesn't seem like a good idea from a privacy perspective.

I just did some thinking about this, and you're right. But I still need a way to uniquely link an uploader's computer to the songs they've chosen to share though.

I think I'm going to go with the uploader's MAC Address. That'd uniquely identify the uploader, without compromising their network location.

And what if multiple people are seeding the same song?

That's not an issue here; The original uploader is the person who creates the .torrent file, no one else can, because song's are unique. When another person clicks play, they're just grabbing the torrent file that the original uploader made.

from torrenttunes-client.

dessalines avatar dessalines commented on July 20, 2024

Looks like I can't get mac address, because that requires root..

from torrenttunes-client.

dessalines avatar dessalines commented on July 20, 2024

Thought of a way to do this. I'll hash the IP address with the users home directory location string(which I cannot know). This will make a unique computer identifier that could be stored on the server, that couldn't be decoded. I'll call the column IP_HASH

from torrenttunes-client.

dessalines avatar dessalines commented on July 20, 2024

This cleanup should be done by tomorrow morning.

from torrenttunes-client.

 avatar commented on July 20, 2024

This feature is only for admins info? Respectfully I think that ip hash could be dangerous to the uploaders, could compromise their work...

from torrenttunes-client.

 avatar commented on July 20, 2024

Another question, if user use VPN, how the app resolve the presence of two or more IPs?

from torrenttunes-client.

dessalines avatar dessalines commented on July 20, 2024

This will make a unique computer identifier that could be stored on the server, that couldn't be decoded. I'll call the column IP_HASH

I can't decode that column, its an anonymous unique identifier for an uploader though. Read above for why this is necessary.

If you use a VPN, it should still be fine, because the hash is made from a combination of the IP address and the user.home Dir. As long as two computers aren't using the same VPN with the same user name, they should be unique.

Even if some peoples ips change, I should still at least have groups of uploads, that I can view their timeout counts and remove their songs if necessary.

Here's the function for future reference:

https://github.com/tchoulihan/torrenttunes-client/blob/master/src/main/java/com/torrenttunes/client/tools/Tools.java#L978

from torrenttunes-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.