SlideShare a Scribd company logo
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
CASPUR WI-FI
OPEN SOURCE
GARR Conference 2011
Authors: A.Ferraresi, M.Goretti, D.Guerri, M.Latini (CASPUR)
Speaker: Davide Guerri (CASPUR)
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Summary
CASPUR and Wi-Fi
Free Italia Wi-Fi
Open Source WISP project
Further activities and work in progress
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
CASPUR and Wi-Fi
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
CASPUR and Wi-Fi
CASPUR at a glance
Is an Inter-University computing
consortium founded in 1992 and based in
Rome
it includes eleven italian universities
Hosts a wide range of national and
international carriers (all the major carriers
operating in Italy)
Hosts the NaMeX Internet eXchange Point
one of the main IXPs in Italy
Has been collaborating with many italian
Public Administrations since its foundation
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
CASPUR and Wi-Fi
With its openWiFi project, CASPUR has build and has been
maintaining some of the main Italian free Wi-Fi networks
Provinciawifi, Province of Rome
Surfinsardinia, Sardinia Region
Freewifigenova, Genova municipality
Pratowifi, Province of Prato
Maremmawifi, Province of Grosseto
ProvinciaGoriziaWiFi, Province of Gorizia
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
CASPUR and Wi-Fi
Many other Public Administrations have been showing interest in the
CASPUR openWiFi service
Friuli Venezia Giulia Region
Province of Siena
Province of Pistoia (*)
Province of Bari
Napoli municipality
Umbria region
Torino municipality
Pescara chamber of commerce
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
A few numbers for Provinciawifi
One of the most wide centralized free Wi-Fi network
> 800 access points
> 150.000 registered user
> 500 registrations per day
> 6.000 accesses per day
CASPUR and Wi-Fi
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Free Italia Wi-Fi
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Free Italia Wi-Fi
Free Italia Wi-Fi has been officially launched
on 9 september 2011 in Venice by its promoting
Public Administrations
Province of Rome
Sardinia Region
Venice municipality
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Free Italia Wi-Fi
Aims to create a national federation of free public Wi-Fi
network
Users sign-up only once and then they can use any
network within the federation
Federation rules also assure users will have
A minimal amount of free traffic/time for each
federated network
A neutral network access (e.g. without filtering and
shaping)
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Free Italia Wi-Fi
Genova municipality
Province of Gorizia
Province of Grosseto
Province of Prato
Torino municipality
Bra municipality
Cesena municipality
Province of Cosenza
Montevago municipality
Province of Pesaro and Urbino
Province of Pistoia
Province of Potenza
Saronno municipality
Tortorici municipality
Province of Trapani
Besides its promoters, at the time of writing Free Italia
Wi-Fi has the following members
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
From a technical point of view, Free
Italia WiFi is implemented by the IX-
WiFi, that is:
A RADIUS hierarchy (i.e. proxies)
and...
...a bunch of dedicated (and secure)
links between each federated entity
and a central “dispatching” point.
A pretty simple setup that can assure a
very good robustness and a wide
compatibility
Free Italia Wi-Fi
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Free Italia Wi-Fi
CASPUR has a central role in Free Italia WiFi:
Is responsible for the technical regulations of
the IX-WiFi;
Holds and runs the IX-WiFi in its data center.
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open Source WISP
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open Source WISP
Since the beginning of 2010 CASPUR has been developing the
OpenWISP project, that is
A software suite that can be used to run a Wireless Internet
Service Provider (WISP)
An open source project. It can be downloaded and used free of
charge
http://openwisp.it/
Technological base on which CASPUR runs its OpenWiFi service
(following the open-source software business model)
http://openwifi.caspur.it/
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open Source Project
OpenWISP includes the following software
OpenWISP User Management System (aka OWUMS)
OpenWISP Manager + OpenWISP Firmware (OWM
and OWF)
OpenWISP Geographic Monitoring (OWGM)
OpenWISP Captive Portals Manager (OWCPM)
OpenWISP MiddleWare (OWMW)
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open WISP User
Management System
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open WISP User Management System
From the users’ perspective
Fast and easy sign-up to the Wi-Fi service
Account management and password recovery
Accesses and traffic stats history browsing
Gorgeous Web UI
Wonderful mobile version (iOS, Android, Symbian, etc...)
Fancy and animated (javascript) graphs for various
statistics
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open WISP User Management System
From the perspective of a Wireless ISP
A powerful Ruby on Rails application that allows a reliable
identification of users with one of the following methods
Mobile phone account
Paypal/credit card
ID card digitalized copy acquisition (requires an operator)
Easy yet powerful users base management
Everything an help-desk operator may need and much
more...
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open WISP manager +
firmware
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open WISP manager
A Ruby on Rails web application for centralized management of
several hundred access points
Template-based access point modeling. Among others the following
access point’s components can be managed
802.11a/bg/n Wi-Fi interfaces (Madwifi-ng and mac80211 driver
support)
Ethernet interfaces
Bridges and 802.1Q VLAN
Layer 2 VPN
Instantaneous configuration changes deploy
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open WISP firmware
Is a bunch of shell (ash) scripts that sit on top of openWRT
Support any device supported by openWRT with an Atheros WiFi
Radio interface (i.e. mac80211 or Madwifi-ng drivers)
Permits a simple installation of devices with an easy-to-use web based
UI
Has native support for multiple connectivity backhaul with automatic
failover
OLSR mesh over a WPA WiFi ad-hoc network (i.e. IBSS WPA-None)
UMTS/HSDPA connectivity for a limited number of UMTS USB
modem
Beta
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open WISP firmware
The OpenWISP Firmware works behind a firewall,
even if NAT is used
1. At boot time every OWF access point creates a
setup VPN (openVPN) with the OWM server
2. OWF access point requests and downloads its
configuration inside this setup VPN
3. The new configuration is deployed. For
instance another VPN is created for WiFi users
traffic encapsulation
The setup VPN remains up, so it is possible the
monitoring and the administration of the access
point (even if it’s behind a firewall/NAT).
4. Periodically the access point asks the OWM
server if its configuration is changed and, if so,
restarts form the point number 2.
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open WISP Geographic
Monitoring
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Open WISP Geographic Monitoring
WiFi network status with many different levels of detail
Access point status on google maps with street view
(v3 API)
Detailed reports and statistics with browsable graphs
Access points can be annotated to keep track of their
history
GeoRSS feed for public maps and for third party
applications
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
OpenWISP Captive
Portal Manager
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
OpenWISP Captive Portal Manager
Written from scratch with Ruby on Rails
multiple captive portal support: one per physical/virtual interface
RADIUS / Local authentication
per-user traffic shaping
multiple OS support
IPv4/GNU-Linux (iptables/tc) already implemented
other OS support can be implemented within the proper
subclass
IPv6 support can be easily implemented
Beta
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
OpenWISP MiddleWare
A Ruby/Sinatra application that implements a
RESTful web service
Provides user/access point-localization-related
informations
Used for OpenWISP applications integration
Permits integration of 3rd party applications
with an OpenWISP WiFi infrastructure
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
How do OpenWISP applications
interact?
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Further activities and
work in progress
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Further activities and work in
progress
EDUROAM experimentation in collaboration with
GARR
EDUROAM (EDUcation ROAMing) is the secure,
world-wide roaming access service developed for
the international research and education community.
Uses the state-of-the-art technology for network
security
WPA/WPA2 Enterprise (i.e. 802.1x) with EAP-
TTLS
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Further activities and work in
progress
Our setup for EDUROAM
We use two 802.1Q VLAN
incapsulated into a single (layer
2) openVPN tunnel
One VLAN for auth’ed user
traffic
One VLAN for RADIUS traffic
(i.e. between authenticator and
authentication server)
The authentication server (hosted
by GARR) uses the EDUROAM
proxy server hierarchy for end-
user credential verification
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Further activities and work in
progress
During the experimentation we had the opportunity to fix a couple
of bugs in the openWISP firmware
We would like to thank Claudio Allocchio for his help in fixing a
memory leak
A small set of Provinciawifi’s hotspots are now in production with
this fixed firmware and they are broadcasting EDUROAM eSSID
We’re waiting for the opportunity to spread EDUROAM along
with a Public Administration WiFi networks
We’re technically ready, but...
...high level agreements are WiP and so the resources :)
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
Further activities and work in
progress
We also contributed (and we are still contributing), in various ways, to some
open source projects
during the implementation of our software we had developed, tested and
than we released some patches and wrote some documentation
OpenVPN
BackgrounDRB (a Ruby/Rails job server and scheduler)
Rails 3 Italian i18n
RADIUStar (a RADIUS Ruby gem)
Libarchive-ruby (a Ruby gem for various archive formats support)
OpenWRT wiki pages and scripts for some routers re-flashing
procedure
CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR
CASPUR WI-FI
OPEN SOURCE
Q&A
Authors: A.Ferraresi, M.Goretti, D.Guerri, M.Latini (CASPUR)
Speaker: Davide Guerri (CASPUR)
Links and further informations
http://openwisp.it/
http://www.freeitaliawifi.it/
http://openwifi.caspur.it/
--
mailto:wifi@caspur.it

More Related Content

PDF
”モノ”のインターネットへのつながり方:L3より下層について
PDF
IoT時代のインターネット技術動向 インフラプロトコル編
PDF
IoT関連技術の動向@IETF87
PDF
M2M関連状況 roll&core WG meeting in IETF86
PPT
NAv6TF I Pv6 State Of Union Jan 2008
PDF
Idate digi world 2015 - lora alliance - v(0.2)
PDF
Trend of the ICT Standardization
PDF
LoRa Alliance at MWC 2016
”モノ”のインターネットへのつながり方:L3より下層について
IoT時代のインターネット技術動向 インフラプロトコル編
IoT関連技術の動向@IETF87
M2M関連状況 roll&core WG meeting in IETF86
NAv6TF I Pv6 State Of Union Jan 2008
Idate digi world 2015 - lora alliance - v(0.2)
Trend of the ICT Standardization
LoRa Alliance at MWC 2016

What's hot (20)

PPT
IPv6: Early Mover Advantage?
PPTX
Nuage Networks Technology Program Partners Overview 2016
PDF
Deploying IPv6 Technology
PPT
Jan zorz procurement-ripe-501
PDF
Io t loraalliance-lpwan_conf_paris_22032017_v2
PDF
5G and IoT Security
PDF
Low Power Wireless Sensor Network Technologies and Standards for the Internet...
PDF
5G ngn-architecture
PPTX
Take Most Advanced "5G Training" From Tonex Training
DOCX
Wi gig abstract
PDF
5 g observatory sagemcom - 09032016 - vfinal
PPTX
spiad presentation
PDF
33rd TWNIC IP OPM: RIRs in the future (and past) of Internet governance
PDF
IPv6 Adoption --- Acceleration
PDF
Cameron - TMO IPv6 Norway Meeting
PDF
TechWiseTV Workshop: Q&A Digital Building Switches
PDF
Cisco Connect Toronto 2018 network-slicing
PPTX
An Open Source Project for the IoT
PDF
Tried to Provide IPv6 Only Network Stealthily at CEDEC 2015
PDF
Media Streams in IOT via WebRTC
IPv6: Early Mover Advantage?
Nuage Networks Technology Program Partners Overview 2016
Deploying IPv6 Technology
Jan zorz procurement-ripe-501
Io t loraalliance-lpwan_conf_paris_22032017_v2
5G and IoT Security
Low Power Wireless Sensor Network Technologies and Standards for the Internet...
5G ngn-architecture
Take Most Advanced "5G Training" From Tonex Training
Wi gig abstract
5 g observatory sagemcom - 09032016 - vfinal
spiad presentation
33rd TWNIC IP OPM: RIRs in the future (and past) of Internet governance
IPv6 Adoption --- Acceleration
Cameron - TMO IPv6 Norway Meeting
TechWiseTV Workshop: Q&A Digital Building Switches
Cisco Connect Toronto 2018 network-slicing
An Open Source Project for the IoT
Tried to Provide IPv6 Only Network Stealthily at CEDEC 2015
Media Streams in IOT via WebRTC
Ad

Similar to Caspur wi fi open source garr conf 2011 (20)

PDF
Huawei CloudCampus Network Wi-Fi 7 Technology White Paper.pdf
PPT
Provinciawifi IEEE Networks 2012
PDF
Wireless Standards Wi Fi 6 Evolution and Wi Fi 7
PPTX
3° Fiware Overview-Chile- Track
PPT
June 2004 IPv6 – Hands on
PDF
wifi6 standards wifi standards wifi standards
PPTX
3° Fiware Overview-Chile
PDF
Automation, Agility and NFV
PDF
presentation_ryu_controller_for mininet.pdf
PPTX
XIFI: how we did federate different FI infrastructures
PPTX
Fiware, the future internet
PPTX
Fi ware, fi-lab e il trentino
PPT
IPv6 for the Enterprise
PDF
jt2019-jt--a26b6c1.pdf
PDF
Evolving Mobile Data Application Services With SDN
PDF
20th TWNIC OPM IPv6 Support by SDN & NFV
PPTX
Netflow Protocol
PDF
Berlin OpenStack Summit'18
PDF
FIWARE at LeWeb - Agenda
PPT
Enterprise Preparation for IPv6
Huawei CloudCampus Network Wi-Fi 7 Technology White Paper.pdf
Provinciawifi IEEE Networks 2012
Wireless Standards Wi Fi 6 Evolution and Wi Fi 7
3° Fiware Overview-Chile- Track
June 2004 IPv6 – Hands on
wifi6 standards wifi standards wifi standards
3° Fiware Overview-Chile
Automation, Agility and NFV
presentation_ryu_controller_for mininet.pdf
XIFI: how we did federate different FI infrastructures
Fiware, the future internet
Fi ware, fi-lab e il trentino
IPv6 for the Enterprise
jt2019-jt--a26b6c1.pdf
Evolving Mobile Data Application Services With SDN
20th TWNIC OPM IPv6 Support by SDN & NFV
Netflow Protocol
Berlin OpenStack Summit'18
FIWARE at LeWeb - Agenda
Enterprise Preparation for IPv6
Ad

More from Davide Guerri (6)

PDF
EuroCloud - Cloud Communities Day - OpenStack
PDF
OpenStack 3rd bday - OUSG meeting intro
PDF
OpenStack monitoring - Unidata S.p.A. Case Report
PDF
Multicast introduzione
PPT
OpenStack User Group Italia
PPT
ProvinciaWiFi Offline Map - App contest openRoma
EuroCloud - Cloud Communities Day - OpenStack
OpenStack 3rd bday - OUSG meeting intro
OpenStack monitoring - Unidata S.p.A. Case Report
Multicast introduzione
OpenStack User Group Italia
ProvinciaWiFi Offline Map - App contest openRoma

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Machine learning based COVID-19 study performance prediction
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Empathic Computing: Creating Shared Understanding
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Cloud computing and distributed systems.
PDF
Electronic commerce courselecture one. Pdf
PPTX
A Presentation on Artificial Intelligence
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
sap open course for s4hana steps from ECC to s4
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Machine learning based COVID-19 study performance prediction
Mobile App Security Testing_ A Comprehensive Guide.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Empathic Computing: Creating Shared Understanding
MYSQL Presentation for SQL database connectivity
Cloud computing and distributed systems.
Electronic commerce courselecture one. Pdf
A Presentation on Artificial Intelligence
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The AUB Centre for AI in Media Proposal.docx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Spectroscopy.pptx food analysis technology
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Programs and apps: productivity, graphics, security and other tools
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
sap open course for s4hana steps from ECC to s4

Caspur wi fi open source garr conf 2011

  • 1. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR CASPUR WI-FI OPEN SOURCE GARR Conference 2011 Authors: A.Ferraresi, M.Goretti, D.Guerri, M.Latini (CASPUR) Speaker: Davide Guerri (CASPUR)
  • 2. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Summary CASPUR and Wi-Fi Free Italia Wi-Fi Open Source WISP project Further activities and work in progress
  • 3. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR CASPUR and Wi-Fi
  • 4. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR CASPUR and Wi-Fi CASPUR at a glance Is an Inter-University computing consortium founded in 1992 and based in Rome it includes eleven italian universities Hosts a wide range of national and international carriers (all the major carriers operating in Italy) Hosts the NaMeX Internet eXchange Point one of the main IXPs in Italy Has been collaborating with many italian Public Administrations since its foundation
  • 5. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR CASPUR and Wi-Fi With its openWiFi project, CASPUR has build and has been maintaining some of the main Italian free Wi-Fi networks Provinciawifi, Province of Rome Surfinsardinia, Sardinia Region Freewifigenova, Genova municipality Pratowifi, Province of Prato Maremmawifi, Province of Grosseto ProvinciaGoriziaWiFi, Province of Gorizia
  • 6. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR CASPUR and Wi-Fi Many other Public Administrations have been showing interest in the CASPUR openWiFi service Friuli Venezia Giulia Region Province of Siena Province of Pistoia (*) Province of Bari Napoli municipality Umbria region Torino municipality Pescara chamber of commerce
  • 7. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR A few numbers for Provinciawifi One of the most wide centralized free Wi-Fi network > 800 access points > 150.000 registered user > 500 registrations per day > 6.000 accesses per day CASPUR and Wi-Fi
  • 8. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Free Italia Wi-Fi
  • 9. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Free Italia Wi-Fi Free Italia Wi-Fi has been officially launched on 9 september 2011 in Venice by its promoting Public Administrations Province of Rome Sardinia Region Venice municipality
  • 10. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Free Italia Wi-Fi Aims to create a national federation of free public Wi-Fi network Users sign-up only once and then they can use any network within the federation Federation rules also assure users will have A minimal amount of free traffic/time for each federated network A neutral network access (e.g. without filtering and shaping)
  • 11. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Free Italia Wi-Fi Genova municipality Province of Gorizia Province of Grosseto Province of Prato Torino municipality Bra municipality Cesena municipality Province of Cosenza Montevago municipality Province of Pesaro and Urbino Province of Pistoia Province of Potenza Saronno municipality Tortorici municipality Province of Trapani Besides its promoters, at the time of writing Free Italia Wi-Fi has the following members
  • 12. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR From a technical point of view, Free Italia WiFi is implemented by the IX- WiFi, that is: A RADIUS hierarchy (i.e. proxies) and... ...a bunch of dedicated (and secure) links between each federated entity and a central “dispatching” point. A pretty simple setup that can assure a very good robustness and a wide compatibility Free Italia Wi-Fi
  • 13. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Free Italia Wi-Fi CASPUR has a central role in Free Italia WiFi: Is responsible for the technical regulations of the IX-WiFi; Holds and runs the IX-WiFi in its data center.
  • 14. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open Source WISP
  • 15. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open Source WISP Since the beginning of 2010 CASPUR has been developing the OpenWISP project, that is A software suite that can be used to run a Wireless Internet Service Provider (WISP) An open source project. It can be downloaded and used free of charge http://openwisp.it/ Technological base on which CASPUR runs its OpenWiFi service (following the open-source software business model) http://openwifi.caspur.it/
  • 16. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open Source Project OpenWISP includes the following software OpenWISP User Management System (aka OWUMS) OpenWISP Manager + OpenWISP Firmware (OWM and OWF) OpenWISP Geographic Monitoring (OWGM) OpenWISP Captive Portals Manager (OWCPM) OpenWISP MiddleWare (OWMW)
  • 17. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open WISP User Management System
  • 18. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open WISP User Management System From the users’ perspective Fast and easy sign-up to the Wi-Fi service Account management and password recovery Accesses and traffic stats history browsing Gorgeous Web UI Wonderful mobile version (iOS, Android, Symbian, etc...) Fancy and animated (javascript) graphs for various statistics
  • 19. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open WISP User Management System From the perspective of a Wireless ISP A powerful Ruby on Rails application that allows a reliable identification of users with one of the following methods Mobile phone account Paypal/credit card ID card digitalized copy acquisition (requires an operator) Easy yet powerful users base management Everything an help-desk operator may need and much more...
  • 20. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open WISP manager + firmware
  • 21. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open WISP manager A Ruby on Rails web application for centralized management of several hundred access points Template-based access point modeling. Among others the following access point’s components can be managed 802.11a/bg/n Wi-Fi interfaces (Madwifi-ng and mac80211 driver support) Ethernet interfaces Bridges and 802.1Q VLAN Layer 2 VPN Instantaneous configuration changes deploy
  • 22. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open WISP firmware Is a bunch of shell (ash) scripts that sit on top of openWRT Support any device supported by openWRT with an Atheros WiFi Radio interface (i.e. mac80211 or Madwifi-ng drivers) Permits a simple installation of devices with an easy-to-use web based UI Has native support for multiple connectivity backhaul with automatic failover OLSR mesh over a WPA WiFi ad-hoc network (i.e. IBSS WPA-None) UMTS/HSDPA connectivity for a limited number of UMTS USB modem Beta
  • 23. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open WISP firmware The OpenWISP Firmware works behind a firewall, even if NAT is used 1. At boot time every OWF access point creates a setup VPN (openVPN) with the OWM server 2. OWF access point requests and downloads its configuration inside this setup VPN 3. The new configuration is deployed. For instance another VPN is created for WiFi users traffic encapsulation The setup VPN remains up, so it is possible the monitoring and the administration of the access point (even if it’s behind a firewall/NAT). 4. Periodically the access point asks the OWM server if its configuration is changed and, if so, restarts form the point number 2.
  • 24. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open WISP Geographic Monitoring
  • 25. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Open WISP Geographic Monitoring WiFi network status with many different levels of detail Access point status on google maps with street view (v3 API) Detailed reports and statistics with browsable graphs Access points can be annotated to keep track of their history GeoRSS feed for public maps and for third party applications
  • 26. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR OpenWISP Captive Portal Manager
  • 27. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR OpenWISP Captive Portal Manager Written from scratch with Ruby on Rails multiple captive portal support: one per physical/virtual interface RADIUS / Local authentication per-user traffic shaping multiple OS support IPv4/GNU-Linux (iptables/tc) already implemented other OS support can be implemented within the proper subclass IPv6 support can be easily implemented Beta
  • 28. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR OpenWISP MiddleWare A Ruby/Sinatra application that implements a RESTful web service Provides user/access point-localization-related informations Used for OpenWISP applications integration Permits integration of 3rd party applications with an OpenWISP WiFi infrastructure
  • 29. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR How do OpenWISP applications interact?
  • 30. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Further activities and work in progress
  • 31. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Further activities and work in progress EDUROAM experimentation in collaboration with GARR EDUROAM (EDUcation ROAMing) is the secure, world-wide roaming access service developed for the international research and education community. Uses the state-of-the-art technology for network security WPA/WPA2 Enterprise (i.e. 802.1x) with EAP- TTLS
  • 32. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Further activities and work in progress Our setup for EDUROAM We use two 802.1Q VLAN incapsulated into a single (layer 2) openVPN tunnel One VLAN for auth’ed user traffic One VLAN for RADIUS traffic (i.e. between authenticator and authentication server) The authentication server (hosted by GARR) uses the EDUROAM proxy server hierarchy for end- user credential verification
  • 33. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Further activities and work in progress During the experimentation we had the opportunity to fix a couple of bugs in the openWISP firmware We would like to thank Claudio Allocchio for his help in fixing a memory leak A small set of Provinciawifi’s hotspots are now in production with this fixed firmware and they are broadcasting EDUROAM eSSID We’re waiting for the opportunity to spread EDUROAM along with a Public Administration WiFi networks We’re technically ready, but... ...high level agreements are WiP and so the resources :)
  • 34. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR Further activities and work in progress We also contributed (and we are still contributing), in various ways, to some open source projects during the implementation of our software we had developed, tested and than we released some patches and wrote some documentation OpenVPN BackgrounDRB (a Ruby/Rails job server and scheduler) Rails 3 Italian i18n RADIUStar (a RADIUS Ruby gem) Libarchive-ruby (a Ruby gem for various archive formats support) OpenWRT wiki pages and scripts for some routers re-flashing procedure
  • 35. CASPUR Wi-Fi Open Source 10-nov-2011 - GARR Conference 2011Davide Guerri - CASPUR CASPUR WI-FI OPEN SOURCE Q&A Authors: A.Ferraresi, M.Goretti, D.Guerri, M.Latini (CASPUR) Speaker: Davide Guerri (CASPUR) Links and further informations http://openwisp.it/ http://www.freeitaliawifi.it/ http://openwifi.caspur.it/ -- mailto:wifi@caspur.it