[LON-CAPA-users] IP address of student submission

SIMIN, GRIGORY SIMIN at engr.sc.edu
Mon Aug 19 18:08:07 EDT 2019

Any advice on using $env ?
I tried including it in my script as follows


However it did not work. 
Timestamp and local time are displayed correctly
$IP was not assigned any value.

-----Original Message-----
From: LON-CAPA-users [mailto:lon-capa-users-bounces at mail.lon-capa.org] On Behalf Of Raeburn, Stuart
Sent: Monday, August 19, 2019 17:49
To: Discussion list for LON-CAPA users <lon-capa-users at mail.lon-capa.org>
Subject: Re: [LON-CAPA-users] IP address of student submission


Currently the IP address shown in LON-CAPA in grade details is the stored IP address of the remote client from which the submission was made.  The IP address recorded in the submission transaction for each student is the value of: $ENV{'REMOTE_ADDR'}.  Note: a situation where that IP address will be a LON-CAPA server's own IP address is when you are viewing grade details for transactions resulting from bubblesheet grading (of a printed exam), by a Course Coordinator.

The IP address might also be different from a student's actual IP address if students at your institution use an institutional VPN,  or a proxy for web access to your LON-CAPA instance.

Stuart Raeburn
LON-CAPA Academic Consortium
From: LON-CAPA-users <lon-capa-users-bounces at mail.lon-capa.org> on behalf of SIMIN, GRIGORY <SIMIN at engr.sc.edu>
Sent: Monday, August 19, 2019 5:13 PM
To: Discussion list for LON-CAPA users
Subject: [LON-CAPA-users] IP address of student submission

Is there a way to check the IP address of a machine that student submitted the answer from?
In the grade details I can see the host name and the IP address, which is not the user IP address but the IP address of the LON-CAPA server.
Being able to track the student IP address would be very helpful to prevent cheating. Some students these days simply allow paid "ghosts" to login and solve the problems for them.

Thank you all,
LON-CAPA-users mailing list
LON-CAPA-users at mail.lon-capa.org
LON-CAPA-users mailing list
LON-CAPA-users at mail.lon-capa.org

More information about the LON-CAPA-users mailing list