- 22. Chaos Communication Congress 2005
Achim ‘ahzf’ Friedland / Daniel ‘btk’ Kirstenpfad
<22C3@ahzf.de> / <btk@technology-ninja.com>
3G Investigations
http://www.ahzf.de/itstuff/VoE/22C3_3GInvestigations.pdf
- 29. December 2005
3G Investigations Achim ahzf Friedland / Daniel btk Kirstenpfad - - PowerPoint PPT Presentation
22. Chaos Communication Congress 2005 3G Investigations Achim ahzf Friedland / Daniel btk Kirstenpfad <22C3@ahzf.de> / <btk@technology-ninja.com> http://www.ahzf.de/itstuff/VoE/22C3_3GInvestigations.pdf 29. December 2005
<22C3@ahzf.de> / <btk@technology-ninja.com>
http://www.ahzf.de/itstuff/VoE/22C3_3GInvestigations.pdf
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.de>
page 2
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.de>
page 3
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.de>
page 4
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.de>
page 5
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.de>
page 6
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.de>
page 7
page 8
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
UMTS network topology PDP context for mobility and QoS Quality of service within UMTS Charging user data within UMTS
Different UMTS network realisations Some basic measurements Some more advanced measurements
An example: OpenSYN
page 9
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 10
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
IUB I PS
U (n:m)
ip based core network
Node B
Gi
Internet
GGSN
R N C adio etwork ontroler
IP Multimedia Subsystem
RNC
utran
SGSN
TS 23.002 Network Architecture
page 11
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
Node B
IUB I PS
U (n:m)
ip based core network
RNC
utran Gi
Internet
SGSN GGSN
R N C adio etwork ontroler
IP Multimedia Subsystem
TS 23.060 General Packet Radio Service
page 12
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
User Equipment Node B
IUB I PS
U (n:m)
ip based core network R N C adio etwork ontroler
RNC
utran Gi
Internet
SGSN GGSN
IP Multimedia Subsystem
TS 23.060 General Packet Radio Service
page 13
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
IUB I PS
U (n:m)
ip based core network R N C adio etwork ontroler
RNC
utran Gi
Internet
SGSN GGSN
IP Multimedia Subsystem
Node B
(packet switched domain, user plane)
page 14
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
Node B
IUB I PS
U (n:m)
ip based core network R N C adio etwork ontroler
RNC
utran Gi
Internet
SGSN GGSN
IP Multimedia Subsystem
(packet switched domain, user plane)
e.g. IPv4/6 address or a ::/64 IPv6 Prefix CISCO supports a “network-behind-mobile” feature
e.g. web.vodafone.de, internet.t-d1.de
page 15
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
e.g. voice, video conference guaranteed bit rate and delay (80ms++), sender statistics (e.g. speech)
e.g. unidirectional video streaming guaranteed bit rate and delay (250ms++) , sender statistics (e.g. speech)
e.g. www, internet games, ssh, news no guaranties but lower bit-error-rate than classes 1&2, no statistics
e.g. background-services like FTP, e-mail no guaranties but lower bit-error-rate than classes 1&2, no statistics (R6, 3GPP TS 23.107 V6.1.0, 2004-03)
page 16
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
(R6, 3GPP TS 23.107 V6.1.0, 2004-03)
page 17
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
http://www.lucent.com/products/solution/0,,C TID+2019-STID+10488-SO ID+1277- LO C L+1,00.html
page 18
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
e.g. URLs, protocols (http, sip, …), port numbers, …
e.g. P2P, Internet games, H.323 ;)
( But in the EU they have to keep the records anyway… )
page 19
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 20
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 21
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 22
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 23
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 24
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 25
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 26
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 27
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 28
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
In both networks is at least one computer under your control…
page 29
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 30
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
> echo 201 OpenSYN >> /etc/iproute2/rt_tables
> ip rule add fwmark 2 table OpenSYN > ip route add default via TUNNELENDPOINT table OpenSYN
> iptables –t mangle -A OUTPUT -d NET_B -p tcp --syn -j MARK --set-mark 2
( The solution is suboptimal if you have to deal with return path filtering! )
page 31
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
> iptables -t mangle -d DESTINATION -A POSTROUTING -p tcp --tcp-flags SYN SYN \
> -m state --state NEW –j QUEUE
> iptables -t mangle -s SOURCE -A PREROUTING -p tcp --tcp-flags SYN,ACK
SYN,ACK \ > -m state --state NEW –j QUEUE
> $msg = $queue->get_message(); > $queue->set_verdict($msg->packet_id, NF_ACCEPT, …);
( idea by ambanus )
page 32
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
page 33
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
Mailinglist: projekt-voe@fem.tu-ilmenau.de Subscribe: majordomo@fem.tu-ilmenau.de?subject=subscribe%20projekt-voe
page 34
22C3 – 3G Investigations
<22c3@ahzf.de, btk@technology-ninja.com>
> tc qdisc add dev eth0 root handle 1: prio > tc qdisc add dev eth0 parent 1:3 handle 30: netem delay 300ms
> tc filter add dev eth0 protocol ip parent 1:0 prio 3 handle 6 fw flowid 1:3
> iptables -t mangle -A POSTROUTING -p tcp --dport 23 -j MARK --set-mark 6