Project

General

Profile

Bug #1794

support random IV for GEA (via XID)

Added by msuraev over 2 years ago. Updated 10 months ago.

Status:
Stalled
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/09/2016
Due date:
% Done:

10%

Spec Reference:

Description

Current implementation of GPRS encryption uses hardcoded IV = 0 while according to spec it should be random. This random value is communicated to client as part of XID negotiation.


Related issues

Related to libosmocore - Feature #1910: add v4 encryption supportStalled2017-01-11

Related to OsmocomBB - Feature #1672: add gprs decoding utilityClosed2016-03-24

Related to OsmoGGSN (former OpenGGSN) - Bug #2843: crash by icmpv6 messageResolved2018-01-19

Blocked by OsmoSGSN - Feature #1580: IP header compressionClosed2016-02-23

Blocks OsmoSGSN - Bug #1582: GEA Encryption is missingResolved2016-02-23

History

#1 Updated by msuraev over 2 years ago

#2 Updated by msuraev over 2 years ago

  • Blocks Bug #1582: GEA Encryption is missing added

#3 Updated by laforge over 2 years ago

The LLC XID related patch was just merged, so this should be possible to
implement now.
--
- Harald Welte <> http://laforge.gnumonks.org/ ============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)

#4 Updated by laforge about 2 years ago

  • Assignee set to msuraev

#5 Updated by laforge about 2 years ago

  • Priority changed from Low to High

#6 Updated by msuraev about 2 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

#7 Updated by msuraev about 2 years ago

  • Status changed from In Progress to Stalled

#8 Updated by laforge almost 2 years ago

  • Priority changed from High to Normal

#9 Updated by laforge over 1 year ago

ping?

#10 Updated by laforge about 1 year ago

another ping, 5 months later. This is not acceptable.

#11 Updated by msuraev about 1 year ago

Sorry, completely slipped of my mind - I was sure I've updated it. There's incomplete implementation in gerrit 1462 which is not working unfortunately: we send IV to the phone, we got encrypted traffic back but we fail to decrypt it (using IV we've sent or IV=0). Which means that the phone interprets it somehow differently. To debug this we've got to somehow get phone's baseband logs. Unfortunately xgoldmon and osmocom-bb do not support gprs yet. Not sure if there's better way to see what goes wrong.

#12 Updated by msuraev 11 months ago

  • Status changed from Stalled to In Progress

The patch is ported to OsmoSGSN and available in gerrit 5788. It still requires further testing and adjustements before in can be merged though.

#13 Updated by msuraev 11 months ago

#14 Updated by msuraev 11 months ago

#15 Updated by msuraev 11 months ago

  • Related to Bug #2843: crash by icmpv6 message added

#16 Updated by msuraev 11 months ago

  • Status changed from In Progress to Stalled

#17 Updated by laforge 10 months ago

  • Assignee deleted (msuraev)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)