El día Saturday, March 24, 2012 a las 08:15:53AM +0100, Matthias Apitz escribió:
> now I did some phone call (in/out) and always ciphering was shown and > enabled: > > fsogsmd.log:2012-03-23T14:47:03.324784Z [INFO] libfsotransport <0710:3>: > URC: [ "%CPRI: 1,2" ] > fsogsmd.log:2012-03-23T14:48:33.408969Z [INFO] libfsotransport <0710:3>: > URC: [ "%CPRI: 1,2" ] > fsogsmd.log:2012-03-23T14:50:24.799359Z [INFO] libfsotransport <0710:3>: > URC: [ "%CPRI: 1,2" ] > > now I let the FR suspending and waked it up again; and during the > re-init of the modem it is set to "do not show encryption" on call, i.e. > is is switched of with "%CPRI=0": > > fsogsmd.log:2012-03-23T14:52:13.633599Z [INFO] libfsotransport <0710:3>: > SRC: "%CPRI=0" -> [ "OK" ] > fsogsmd.log:2012-03-23T14:54:09.952246Z [INFO] libfsotransport <0710:3>: > SRC: "%CPRI=0" -> [ "OK" ] > > Why is this? I searched with fgrep(1) in the installed binaries where this "%CPRI=0" is located; it is in /usr/lib/cornucopia/modules/fsogsm/modem_ti_calypso.so: root@om-gta02 /usr/lib/cornucopia/modules/fsogsm # fgrep '%CPRI=' * modem_ti_calypso.so:%CPRI=1 modem_ti_calypso.so:%CPRI=0 I changed this with a hex editor and now also after suspend/wakeup the modem is initialized correctly to show the encryption state during calls; This should be fixed in the sources; and I will file a bug report in Trac; as a change request remains that the encryption state should be visible in the desktop while making a call, maybe even as a pop-up message when the call is not done encrypted, like: Call is NOT encrypted! Perhaps man-in-the-middle-attack, do you really want to continue the call? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <g...@unixarea.de> - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 _______________________________________________ Shr-devel mailing list Shr-devel@lists.shr-project.org http://lists.shr-project.org/mailman/listinfo/shr-devel