OneSwarm Forum » Feature Requests

Very useful : Webui : fast info about friend !!!

(17 posts)
  • Started 8 months ago by cronborg
  • Latest reply from cronborg
  1. cronborg
    Member
    Login to Send PM

    Azureus has inner ability from a IP list to find the country of the connected friend.
    I don't think the 1S servers may give away the IP, the country, to make things simple when you try to connect. However, once you connect to a friend it would be very usefull to have some fast information instead of trying to find out.
    From the IP, you can have the country of origin, and Azureus/Vuze is already able to do that. You can also know from the SPAM lists used by free anti-spam software where it belongs to, as what kind of company : ISP, SPAM company, evil company, other kind company including media company people filter out in p2p networks etc etc.

    The great thing would be to have this implemented not at the server level, who must keep the list of IP safe, but next to each friend connected on the "Online Friends list".
    Then the same, when looking at "Friends" from the last connection IP.
    It could be implemented as an icon of the country flag, and another icon of a sympol of the kind of company connecting, next to the friend connected.

    Posted 8 months ago #
  2. cronborg
    Member
    Login to Send PM

    Of course the same will also be great about the community servers. You never know.

    Posted 8 months ago #
  3. cronborg
    Member
    Login to Send PM

    All the details may be a bit harder to implement but the country flag thingy would be an easy one and I insist VERY USEFUL information.

    Posted 8 months ago #
  4. cronborg
    Member
    Login to Send PM

    Also instead of an icon for the connection company, it may be be enough to have letters with a meaning, like I for ISP (most of them are individuals), S for p2p spies (those that p2p filter), E for evil (like fishing websites etc -those could try to hack your system), M for military, G for governments and administrations, U for universities, etc etc. Each of them would be linked to a list you could download from some website or actually use a file in your system. You could say what very letter to apply to every list.
    You could then have multiple letters for a connection if it applies.

    So in your "Online friends" "Community servers" and "Friends" list you would have a column with the flag and a column with other details by characters you could configure to look like this :
    (Type of friend of server Icon) (New:Flag) (New:list of letters) (friend of c. server name).

    Posted 8 months ago #
  5. cronborg
    Member
    Login to Send PM

    Sad. Nobody cares. :(

    Posted 8 months ago #
  6. piatek
    Administrator
    Login to Send PM

    We care 8). Sorry for the lack of response, we've been trying to focus on fixing bugs for the past week or so (less new features). Country flags are something a few people have requested, and so it's something we've been thinking of adding. Honestly, a big obstacle is finding a freely available set of flags icons. Know of any?

    Posted 8 months ago #
  7. Rafa
    Member
    Login to Send PM

    Piatek:
    Here you will find nice (and free !) country flags : http://www.iconspedia.com/pack/country-flags-set-5-201-/

    As you are in the cosmetic stage (i hope ! :), should be smart to have more document icons for the swarm files as :

    * PDF : http://www.iconspedia.com/icon/file-pdf-8-20.html
    * ISO : http://www.iconspedia.com/icon/iso-doc-1772.html
    * TXT : http://www.iconspedia.com/icon/txt-file-3538.html
    * Archive (for the most commons : .zip, .7z, .rar, .gz ) : http://www.iconspedia.com/icon/archive-10445.html
    * EXE : http://www.iconspedia.com/icon/danger-12848.html

    All of them are : "Free for non-commercial use."

    Regards,
    Rafa

    (Thanks to FxBeSwarming ! ;)

    Posted 8 months ago #
  8. isdal
    Administrator
    Login to Send PM

    The country thing seems easy enough, "geolite country" it small, good, free and comes with a java API. it will add ~400KB to the install which is fine.

    Do you guys know of any good database for classifying IPs into ISP/corp/mil/edu/gov?
    cronborg: Have you seen the ip classification in any other p2p software? In that case I can look at how they did it.

    // Tomas

    Posted 8 months ago #
  9. airship
    Member
    Login to Send PM

    I know I have seen this in other p2p-software but my search was unsuccesful ..probably to many years have passed, and presenting "geolocation" has become big business (e.g. http://www.maxmind.com/)

    But good old sourceforge brought this program up:
    http://sourceforge.net/projects/javainetlocator/

    Seem small enough to browse through... and seem to use whois, which hopefully is not dependent on buying subscriptions.

    Flags are so retro-cool... bringing up old memories from the old p2p-days...

    Posted 8 months ago #
  10. Rafa
    Member
    Login to Send PM

    If flags are still needed FAMFAMFAM icons : http://www.famfamfam.com/lab/icons/flags/
    Free, 16x11p, gif, png, iso3166, ...

    (Thanks Modjo)

    Posted 8 months ago #
  11. cronborg
    Member
    Login to Send PM

    There used to be a Flag column with an icon for each connected peer on Azureus/Vuze on the classic UI on each torrent/swarm tab (you must double click on each under "My Torrents" tab to show another tab), and then under "Peers" tab. I supposed it's in the Azureus/Vuze source. Since Oneswarm uses them, why not using the flags. It seems they have disappeared even under the Show Classic UI TorrentName Tab>Peers Tab. There is no option left to show the Flag.

    Using that deleted or unused code from Azureus/Vuze you could manage, easily I suppose, to make a transposition into showing it on the web interface. Maybe exporting icons from Windows exe UI to Web UI is not easy. I can't say.

    Posted 8 months ago #
  12. cronborg
    Member
    Login to Send PM

    Also, I'm hoping that the IP Filter isn't deactivated since I am still using it. Does it apply to the friends to filter them out or in, as it should ?

    Posted 8 months ago #
  13. cronborg
    Member
    Login to Send PM

    @isdal:
    About ISP/corp/mil/edu/gov I'm watching into the free SPAM databases, the shallalist.de database (free for non commercial) also or ripe et all, and whois.net web queries. Nothing is complete or documented and suits. Sad.

    Anything that has been used in p2p software including Azureus/Vuze is an IP filter list. It gives Ip and the name of the holder but not always.

    However whois.net and other such services provide web queries for data about an IP.
    They ask in fact the right regional internet registries data about the IP.
    But any such service will try to avoid any automatic web query. So we may have to do all this by hand.

    To make all this simple I suggest :
    Keeping the filter list as it works in Azureus/Vuze and add additional information lists, apart from the geo-ip and flag. This means, for instance that there are very hard filter lists that filter out about 2/3 of internet. It's kind of too much for p2p. Those lists as far as I saw have every IP range detailed by the holder, company, ISP or governement etc. This information if the IP is in the database of one or more lists would appear next to the flag when asking to choose a friend. Also the lighter database used as IP filter would also be used to inform a friend will be filtered out if chosen.

    This would be the easiest and most stable way to inform the users about their friends.

    Here are the extensive lists used :
    http://blocklistpro.com/download-center/

    Bluetack/Bliss makes also some software regarding this.

    Posted 8 months ago #
  14. Mac
    Member
    Login to Send PM

    There is no russian flag))
    http://www.iconspedia.com/pack/country-flags-set-5-201-/

    If it will be a query to outside server (for country detection), I'm afraid, it's not a good idea... Also displaying countries harms security.
    Anyway, this feature should be optional and disabled by default.

    Posted 8 months ago #
  15. cronborg
    Member
    Login to Send PM

    @Mac : ok for the query to an outside server. But there are plenty of global IP data lists for countries and some other information, and updated on day basis or every week. It's just to get information about a friend quickly. There is no harm in updating that list. You give no information and get none specific to your friend IP. It's global.

    In fact you're safer and your friends are safer if you get all the data you need for every friend.

    Actually I already do that and I also get some kind of location data (the NRA in some cases) which points out the area of the location at some hundred meters in towns and some kilometers in the country land. If I would be willing to go any further I would be able to ping to get the specific lag from that IP and maybe suppose its distance from the NRA. But there is no need for such a precision only if I am willing to search on a map to try to find who I would not want to be connected with in that area.

    For instance, supposing I would be willing to avoid spam, evil and companies spying on Oneswarm, I'd rather expect my friends to be among people connected at home. If I find an area of offices, like a district with plenty of skyscraper or an area full of companies, I may block that friend. However there's big trouble getting that info and plenty of time to spend, which I explained is possible, but rather sick.

    But, if I could get the information of that IP, on the IP data list with those companies, I would use that info and it would bring quite a good safety. Of course you can imagine other reasons to play safe and the IP of your friend is all you get easily.

    I am not expecting for all that data I wrote about, from Oneswarm, but I rather think country and country flag is something very useful and easy to get and maybe applying filters based on data lists of IP or giving out the information from detailed filters that are frequently updated is very easy to implement is something harmless for privacy but very useful for safety which maybe is also a way to protect your privacy.
    This is already somehow implemented in original Azureus/Vuze.

    Also thinking about the name and the principle of that software, friend to friend, is also about trust between people. After all, even limited friends can see some of what goes and comes from your IP and whatever you do, even if it's encrypted and you don't know what's inside you still pass them. So it's rather better to have trustful fiends however well you may protect the data.

    Posted 7 months ago #
  16. cronborg
    Member
    Login to Send PM

    Also when we are talking about safety, you must know that Oneswarm is Open Source so it can be modified by an evil pear who would want to spy on others, by implementing all those features . So better have minimal information implemented for every body. The IP of the friends is given to you, whatever you do. It's the protocol who needs them and Oneswarm network doesn't work without using the protocol the way it is meant. The IP list is something you can get without giving out who you are looking for. So all you get from those is something minimal that the evil peer would use on your behalf. No need to avoid to put them into the code so the good wouldn't get the info and the evil would modify the program to get them by using the protocol.

    Posted 7 months ago #
  17. cronborg
    Member
    Login to Send PM

    My bet is that it is very secured and good for security to have at connection level (not community server) the flag of the friend (aka the country) displayed.
    I am already doing that and it's a pain.
    Further more I am looking deeply into it's connection and may get the company or provider.
    I have all the specs of every friend. When I don't like the specs of one of them, including his vague localization, he's blocked.
    But I have to spend up to 5 minutes for each new friend to have all the data I need.
    Half of that work would be automated by the features I explained.
    And yes, what I am doing is good for the security, and so it's good for the network.

    Posted 7 months ago #

RSS feed for this topic

Reply

You must log in to post.