Skip to content

Displays logins from radsecproxy (via Eduroam) using Google Maps

Notifications You must be signed in to change notification settings

heipei/google-eduroam-logins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Eduroam Logins

Author: Johannes Gilger heipei@hackvalue.de

Description

This is a simple project meant to extract logins from radsecproxy-logs in order to display login-counts from different institutions on a map.

Installation

In order to use this you'll need the following:

  • ruby installed
  • geoip ruby gem installed
  • geopiplookup libraries installed system-wide (optional)
  • a valid Google Maps API key

Usage

Start by downloading an up-to-date version of GeoLiteCity.dat (using the update_db.sh script). Or use the commercial version if you've got that ;)

generate.sh then gets the relevant information from the MySQL server (make sure that .passwd with your SQL-pw exists) and returns it in two columns:

The institutions.rb script tries to resolve the domain and then looks up the IP using the GeoIP libs. It directly returns snippets of JavaScript-code which are included in the html and used to fill out the corresponding divs.

Development

Outstanding bugs and problems are documented in the TODO. Patches to general problems (i.e. not special to your local setup) are gladly accepted at heipei@hackvalue.de. If possible use git to manage the source and generate commits as patches (see git format-patch).

License

Licensed as Open Source under the GPLv2. Have fun ;)

About

Displays logins from radsecproxy (via Eduroam) using Google Maps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published