Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11591 (closed)

Opened 10 years ago

Closed 10 years ago

adding client IP adress to session table

Reported by: atarkowska Owned by: atarkowska
Priority: critical Milestone: 5.1.0
Component: Services Version: 5.0.0-beta1
Keywords: n.a. Cc: omero-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

It has been a while we have teaching tool up and running. Existing statistics base only on how many times user logged in and how long time session last. It was also possible to tell about popularity of images but we are unable to connect image and user.

It became critical to monitor usage of the service as we are promoting online teaching tool and expanding it among institutions and universities.

Client IP address collected while omero session is created would be a big asset to professional monitoring of the service

Change History (8)

comment:1 Changed 10 years ago by atarkowska

  • Cc mtbcarroll added
  • Owner set to jamoore

comment:2 Changed 10 years ago by atarkowska

  • Cc omero-team@… added; ux@… mtbcarroll removed

comment:3 Changed 10 years ago by mtbcarroll

Perhaps it helps to collect both the IP address as viewed by the client machine (e.g., could be an RFC1918 address, but which interface is actually used for the connection presumably depends on the local routing table) and the IP address as seen by the server (e.g., could be NATing gateway machine from client's institution), just as my Mac's interfaces here at work seem to have addresses from 10.0.0.0/8 but it appears on the Internet as if from in 134.36.64/24 (I think the university has the whole /16). Perhaps we can easily get the latter from Ice; I don't know if the process of Insight's connection checking includes discovery of the former.

comment:4 Changed 10 years ago by atarkowska

This functionality is not available in Ice. That gives us only possibility to add setIP() to client object and set it directly from client application.
In web we might look for the solution like http://stackoverflow.com/questions/4581789/how-do-i-get-user-ip-address-in-django and Insight could just use the client IP/hostname. Then we need to add the clientIP column to the table, but that's the easiest bit.

Last edited 10 years ago by atarkowska (previous) (diff)

comment:5 Changed 10 years ago by mtbcarroll

If Ice won't give it to us, maybe we could run a STUN server! (-:

comment:6 Changed 10 years ago by jamoore

  • Owner changed from jamoore to atarkowska
  • Version changed from 4.4.9 to 5.0.0-beta1

Passing to Ola who was currently looking into this. After initial evaluation, we should probably evaluate how much effort this is going to take, since it may involve a larger group of people.

comment:7 Changed 10 years ago by jburel

  • Milestone changed from 5.0.0-beta2 to 5.0.0-beta3

Discussed with Ola, moving to Beta3, no more DB changes.

comment:8 Changed 10 years ago by atarkowska

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66437 sec.)

We're Hiring!