Claudio Cardinali - GNU/Linux User Group Perugia

Transcript

Claudio Cardinali - GNU/Linux User Group Perugia
GNU/Linux User Group
di Perugia
www.perugiagnulug.org
Hacking di un Access
Point
relatore:
Claudio Cardinali
socio AIP
Perugia, 24 febbraio 2010
www.akabit.it
www.csolution.it
www.accordance.it
Linux Night
Cos'è il Linux Night
http://www.perugiagnulug.org/linux-night
Il Linux Night è un evento mensile durante il quale
si parlerà di Linux e Software Libero davanti ad
una pizza ed una birra.
In pratica, prenderemo accordi con un locale,
tipicamente un pub proponendo di "invadere" in
quella serata il locare per bere, chiacchierare,
presentare, installare, configurare ecc.
La formula non prevede "talk" come al Linux Day
ma chi vuole può proporsi per parlare di un
argomento, sia come relatore che per richiedere
informazioni ai presenti.
Tutti possono partecipare al Linux Night: Soci del
GNU/LINUX User Group Perugia e delle altre
associazioni, appassionati, curiosi, tecnici, geek,
smanettoni, hacker, etc.
www.csolution.it
Wifi area
www.csolution.it
Linksys WRT54x
●
Linksys WRT54G
●
Linksys WRT54GL
●
Linksys WRT54GS
●
Linksys WRTSL54GS
Storia dei linksys:
http://en.wikipedia.org/wiki/Linksys_WRT54G_series
http://wiki.openwrt.org/oldwiki/hardware/linksys
www.csolution.it
Hardware info WRT54GL
●
Vendor: Broadcom
●
Bootloader: CFE
●
System-On-Chip: Broadcom 5352EKPB
●
CPU Speed: 200 Mhz
●
Flash size: 4 MiB
●
RAM: 16 MiB
●
Wireless: Broadcom BCM43xx 802.11b/g
(integrated)
●
Ethernet: Switch in CPU
●
Serial: Yes
●
JTAG: Yes
www.csolution.it
Linksys Web GUI originale
www.csolution.it
Linksys Web GUI
www.csolution.it
Linksys Web GUI
www.csolution.it
Installazione OpenWRT
www.csolution.it
Firmware
www.csolution.it
ATTENZIONE !!!!
La procedura di flashing del firmware originale farà
decadere la garanzia concessa dal fornitore, oltre
alla reale possibilità di danneggiare (“brickare”)
permanentemente il vostro hardware.
Siete avvisati!!!
www.csolution.it
DD-WRT v24
DD-WRT e` un firmware assolutamente libero nato in principio per i router wireless Linksys
WRT54G/GS che funzionano su una versione minimalista di Linux.
La prima versione di DD-WRT era bastata su Firmware Alchemy di Sveasoft Inc, a sua volta
basato sul progetto di firmware GPL originale di Linksys ed un buon numero di altri progetti
open source.
DD-WRT offre svariate funzionalità` non presenti nel firmware originale Linksys, ne` nel
firmware a pagamento di Sveasoft. Inoltre non utilizza codici di attivazione o tracciamento
presenti nel firmware Sveasoft.
www.csolution.it
Funzionalità DD-WRT
* 13 languages
* 802.1x Extensible
Authentication Protocol (EAP)
* Access Restrictions
* Ad hoc
* Afterburner
* Client Isolation Mode
* Client Mode (supports
multiple connected clients)
* DHCP Forwarder (udhcp)
* DHCP Server (udhcp or
Dnsmasq)
* DNS Forwarder
(Dnsmasq)
* DMZ
# Dynamic DNS (DynDNS,
easyDNS, FreeDNS, No-IP,
TZO, ZoneEdit, custom, and
others)
# Hotspot Portal (Sputnik
Agent ,Chillispot)
# IPv6
# JFFS2 (JFFS2)
# MMC/SD Card Support
(hardware modification required)
# NTP
# ntop Remote Statistic (ntop)
# OpenVPN Client & Server (only in
-vpn build of the firmware)
# Port Triggering
# Port Forwarding
# PPTP VPN Server & Client
# QoS Bandwidth Management
# QoS L7 Packet Classifier (l7-filter)
# RFlow
# Routing (BIRD)
# Samba FS Automount
# Syslog
# Rx Antenna
# Tx Antenna
# Show Status of Wireless Clients and
WDS with System Uptime/Processor
Utilization
# Site Survey
# SNMP
# SSH server & client (dropbear)
# Startup, Firewall, and Shutdown
scripts (startup script)
# Static DHCP
# Telnet server & client
# Transmit Power Adjustment (0251mW, default is 28mW, 100mW is
safe)
# UPnP
www.csolution.it
# USB
# VLAN
# WOL (Wake On Lan) (WOL)
# WDS Connection Watchdog
# WDS Repeater Mode
# Wireless MAC Address Cloning
# Wireless MAC Filter
# WMM (Wi-Fi MultiMedia)
# WPA over WDS
# WPA/TKIP with AES
# WPA2
# Xbox Kaid (Kai Engine)
DD-WRT GUI
www.csolution.it
OpenWRT Kamikaze
OpenWrt è un firmware basato su GNU/Linux specifico per dispositivi
embedded basati su chipset Broadcom come i router Wi-Fi prodotti, ad
esempio, da Asus, Belkin, Dell, Linksys, US Robotics e Viewsonic ecc..
http://wiki.openwrt.org/oldwiki/tableofhardware
www.csolution.it
Caratteristiche di OpenWRT
OpenWrt is described as a Linux distribution for embedded devices.
Instead of trying to create a single, static firmware, OpenWrt provides a fully
writable filesystem with package management. This frees you from the application
selection and configuration provided by the vendor and allows you to customize
the device through the use of packages to suit any application. For developer,
OpenWrt is the framework to build an application without having to build a
complete firmware around it; for users this means the ability for full customization,
to use the device in ways never envisioned.
www.csolution.it
Potenzialità
Con un WRT “flashato” si può ottenere un sistema
completo capace, tra le altre cose di lavorare come:
AP, Repeater, Bridge, AP client, WDS, ecc...
● Server DHCP, DNS, VPN, Proxy/Firewall
● Asterisk Server
● Gestire QoS
● Lavorare come nodo di una rete Mesh
● Hot Spot
● Altro...
●
www.csolution.it
opkg
●
●
●
●
●
●
●
●
●
opkg
opkg
opkg
opkg
opkg
opkg
opkg
opkg
opkg
update
upgrade
list
search
install
list_installed
remove
info
–-help
http://wiki.openwrt.org/oldwiki/openwrtdocs/packages
www.csolution.it
LuCI - Lua Configuration Interface
www.csolution.it
Demo
Demo
www.csolution.it
Grazie dell'attenzione
Claudio Cardinali
[email protected]
http://www.csolution.it
www.csolution.it
Licenza d'uso
Questo lavoro viene distribuito sotto licenza
Creative Commons 3.0
Sei libero di copiare, distribuire, trasmettere quest'opera e di modificarla a
condizione di: attribuirne la paternità all'autore originale, non usare
quest'opera per fini commerciali, condividerla allo stesso modo.
www.csolution.it