Re: [Ekiga-devel-list] [Opalvoip-devel] [PATCH] Opal: SRTP: No AVP/UDPTL "formats" mentioned in RFC but introduced in rtp.h ? build errors



Robert Jongbloed wrote:
I actually do not know of any publicly available phone that uses it. Please
talk to the Ekiga people about incorporating it into the application,
sometime. Maybe you can help?

tom1:~# apt-cache rdepends libopal-2.2
libopal-2.2
Reverse Depends:
 libspeex1
|ekiga-gtkonly
|ekiga
|simpleopal	<------ ?
 libspeex1
|libopal-dev
 libopal-dbg
 libopal-2.2-develop
|ekiga-gtkonly
|ekiga

not much in debian.
well, i will request a requirements analysis meeting for the weekend ;)
if the SRTP abstraction level of opal is high enough and the interfaces support non-complex inclusion to ekiga i will try my luck.
remember, press is bashing at SIP these times claiming RTP and other SIP security issues :[


P.S.  Re mail bounce: only thing I can think of is mailing lists are
sensitive to the "From" address and if you are subscribed as googlemail.com
but sending as gmail.com it won't work.


thx. maybe.


Robert Jongbloed
OPAL/OpenH323 Architect and Co-founder.


-----Original Message-----
From: thomas schorpp [mailto:thomas schorpp googlemail com]
Sent: Thursday, 5 June 2008 1:23 PM
To: opalvoip-devel lists sourceforge net
Cc: Ekiga development mailing list
Subject: Re: [Opalvoip-devel] [PATCH] Opal: SRTP: No AVP/UDPTL
"formats" mentioned in RFC but introduced in rtp.h ? build errors

me. which opal based phone supports it? ekiga svn seems not.

schorpp tom1:/usr/local/src/ekiga$ grep -ir srtp src
Übereinstimmungen in Binärdatei src/sip.o.
Übereinstimmungen in Binärdatei src/ekiga.
Übereinstimmungen in Binärdatei src/manager.o.
Übereinstimmungen in Binärdatei src/h323.o.
schorpp tom1:/usr/local/src/ekiga$

or does it? nothing in src.

y
tom


Robert Jongbloed wrote:
The trunk version of OPAL will now compile correctly when libSRTP
is
installed on your system. I have no idea if it actually works
though.
Anyone out there willing to test it?


Robert Jongbloed
OPAL/OpenH323 Architect and Co-founder.


-----Original Message-----
From: opalvoip-devel-bounces lists sourceforge net
[mailto:opalvoip-
devel-bounces lists sourceforge net] On Behalf Of thomas schorpp
Sent: Tuesday, 3 June 2008 10:46 AM
To: opalvoip-devel lists sourceforge net
Subject: [Opalvoip-devel] [PATCH] Opal: SRTP: No AVP/UDPTL
"formats"
mentioned in RFC but introduced in rtp.h ? build errors

hi, pls check this out:

schorpp tom1:/usr/local/src/opal$ dpkg -l *srtp*
Desired=Unknown/Install/Remove/Purge/Hold
|
|Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-
aWait/Trig
|-pend / Err?=(none)/Hold/Reinst-required/X=both-problems
(Status,Err:
|uppercase=bad)
||/ Name                     Version                  Beschreibung
+++-========================-========================-
==================
+++==============================================
un  libsrtp-dev              <keine>                  (keine
Beschreibung vorhanden)
ii  libsrtp1-dev             1.4.4~dfsg-2             Secure RTP
(SRTP) and UST Reference Implementations - developmen
ii  srtp-docs                1.4.4~dfsg-2             Secure RTP
(SRTP) and UST Reference Implementations - documentat
ii  srtp-utils               1.4.4~dfsg-2             Secure RTP
(SRTP) and UST Reference Implementations - utilities

g++ -DPTRACING=1 -D_REENTRANT -fno-exceptions  -Wall  -DP_64BIT -
fPIC
-DPIC -DNDEBUG -I/usr/local/src/opal/include  -
I/usr/local/src/opal/../ptlib/include -Os    -c
/usr/local/src/opal/src/rtp/srtp.cxx -o
/usr/local/src/opal/lib/obj_linux_x86_64_r/srtp.o
/usr/local/src/opal/src/rtp/srtp.cxx: In constructor
'OpalSRTP_UDP::OpalSRTP_UDP(unsigned int, PBoolean)':
/usr/local/src/opal/src/rtp/srtp.cxx:67: error: no matching
function
for call to 'SecureRTP_UDP::SecureRTP_UDP(unsigned int&,
PBoolean&)'
/usr/local/src/opal/include/rtp/rtp.h:1128: note: candidates are:
SecureRTP_UDP::SecureRTP_UDP(const PString&, unsigned int,
PBoolean)
/usr/local/src/opal/include/rtp/rtp.h:1114: note:
SecureRTP_UDP::SecureRTP_UDP(const SecureRTP_UDP&)
make[1]: *** [/usr/local/src/opal/lib/obj_linux_x86_64_r/srtp.o]
Fehler 1
make[1]: Leaving directory `/usr/local/src/opal'
make: *** [optshared] Fehler 2
schorpp tom1:/usr/local/src/opal$

    SecureRTP_UDP(const PString & format, <----

cannot see the need or even a encapsulation spec for such formats
in
http://www.packetizer.com/rfc/rfc3711/

adding overload to Type SecureRTP_UDP in header, patch attached,
compiles now (but will that run?)

but opal .so will not link libsrtp.a from debian (license
conflict?):
-lsrtp -lldap -llber -lldap_r  -lpthread -lssl -lcrypto -lexpat -
lSDL
-lresolv -ldl
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-
gnu/4.2.4/../../../../lib/libsrtp.a(srtp.o): relocation
R_X86_64_32
against `mod_srtp' can not be used when making a shared object;
recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libsrtp.a:
could
not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: ***
[/usr/local/src/opal/lib/libopal_linux_x86_64_d.so.3.3-
beta0]

srtp.o is build right:

g++ -DPTRACING=1 -D_REENTRANT -fno-exceptions  -Wall  -DP_64BIT -
fPIC
-DPIC -g -D_DEBUG -I/usr/local/src/opal/include  -
I/usr/local/src/opal/../ptlib/include    -c
/usr/local/src/opal/src/rtp/srtp.cxx -o
/usr/local/src/opal/lib/obj_linux_x86_64_d/srtp.o

seems not to be build with -fPIC, reporting bug.

y
tom








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]