Hello,In the previous week I was working on TLS SNI extension, I have successfully fetched the server name from the domain name and created pull request on this work.I have also done some work on the header file for converting error codes into error string. I have updated Errdes.hxx file and created one new file Errdes.cxx that has function definition inside it. Also configured rutil/makefile.am file for compiling and linking Errdes.cxx.In this week I will work on enabling server support for TLS SNI extension.=https://github.com/
resiprocate/resiprocate/pull/ 54=https://github.com/ udit043/resiprocate/commit/ 17514985e0369ce8b46eb30e6a77b5 abbc27d3fc#diff- c8d6dff51be74f84d5492124f47943 06On 28 July 2016 at 01:03, Udit Raikwar <firstname.lastname@example.org> wrote:Hello,In the previous week after modifying some codes I have successfully tested my work of supporting TLS SNI extension in client side. I have checked the server name in 'client hello' using wireshark. Currently I am manually giving the server name but in this week I will try to fetch the server name from the domain name.Here are the screenshots:Client Hello without SNI supported: https://i.imgsafe. org/54bf8257b4.pngClient Hello with SNI supported: https://i.imgsafe. org/54c253a037.pngI have also modified the header file for converting error codes into error string, some more work are required in the header file which I will do in this week.=https://github.com/ udit043/resiprocate/blob/ 7a951c82397b0fb6c4a77bfe36af74 1632502c89/rutil/Errdes.hxx--Thanks,Udit RaikwarOn 19 July 2016 at 22:42, Udit Raikwar <email@example.com> wrote:In the previous week I did some work on supporting TLS SNI extension for client and server side. I have not tested it yet as it needs more work to be done on it. Working on server side is little complicated and in the coming week I will work on the same task and will try to refine it and will test it using wireshark or openssl commands.: https://github.com/ udit043/resiprocate/commit/ d0edf8b640baeebea9c1c31ef2ccc4 5baf2d4915On 13 July 2016 at 22:44, Udit Raikwar <firstname.lastname@example.org> wrote:Hello,In the last week I was working on libjingle but integrating libjingle was a big task so therefore I paused it for a while and moved to the next task which involved supporting TLS SNI (Server Name Indication) for the client and server connection. I have started working on the task and will explain more in upcoming week.This week I will work on sslconnection and implement TLS SNI on both the side (client and server).On 5 July 2016 at 23:57, Udit Raikwar <email@example.com> wrote:Hello,Last week I was reading and finding the sipX api used in the project and the equivalent libjingle api that can be used in the project. I have made relation among the sipX api and libjingle and post it on my wiki page (https://wiki.debian.org/ SummerOfCode2016/). I am trying to implement libjingle in the project. StudentApplications/ UditRaikwarLibjingle builds a STUN server which implements the STUN protocol for simple traversal of UDP over NAT. In the coming week I will work on integrating libjingle with the reflow.On 28 June 2016 at 12:50, Udit Raikwar <firstname.lastname@example.org> wrote:Hello,
The bug: https://project.freertc.org/
issues/28which I have to solve depends on one other bug: https://project.freertc.org/ issues/27. My task is to enable webRTC client support which includes the conference call feature and for implementing this I need to introduce libjingle in resiprocate project.
Currently the resiprocate uses sipX API for connection. This api lacks in providing many codecs and protocols for the webrtc interoperability. More information about this is given here: https://www.resiprocate.org/
Downloading libjingle source code was not easy because libjingle has been moved from stand alone project and merged to the webrtc. On googling I got some libjingle version from http://www.antepedia.com/
I have downloaded two versions 0.4.0 and 0.6.14 and tried to compile them. On compiling both the version I got too many errors, many files didn't include the header file and many files contains c++11 features. To compile the c++11 features I need to pass the flag 'std=c++11' to the compiler. Also third party application scons(www.scons.org) was used for compiling and making the object and executable file of the libjingle. Linking library in scons was time taking task.
After modifying more than 20 files, I successfully compiled both the versions and both are ready to use. I have uploaded all the files to github:
libjingle version 0.4.0: https://github.com/udit043/
libjingle version 0.6.14: https://github.com/udit043/
I have to implement the libjingle in the branch 'b-counterpath-recon-20130424'
: https://github.com/ resiprocate/resiprocate/tree/ b-counterpath-recon-20130424
I have created one branch 'udit-webrtc': https://github.com/udit043/
This branch was created with branch 'b-counterpath-recon-20130424' and then merged with the master. But on merging there were some Merge Conflicts mainly inside the 'reflow' directory.
In next week I will try to solve merge conflicts and integrate libjingle with resiprocate.On 20 June 2016 at 17:46, Udit Raikwar <email@example.com> wrote:Hello,Last week I had updated all the files inside resiprocate project, there were 32 files that needed to be updated. Also I had created a Pull Request: 32 files updated, 1 file created and configure.ac file updated for successful build in Travis-CI, For quick view of all the files that I have updated please visit.During fourth week I have updated Errdes.hxx header file for printing the error message with the error number.E.g. If error number is 22 then log error message will be,“socket error EINVAL (Invalid argument) 22”If error number is negative or unknown error occur then log message will be,“socket error Unknown error errno” (e.g. “socket error Unknown error -48”)I have also made documentation of the bug that I have solved. I have started working on next bug which I have to solve.On 14 June 2016 at 12:28, Udit Raikwar <firstname.lastname@example.org> wrote:During third week I have updated all the files inside resiprocate project that contains numeric error codes, there were 32 files that needed to be updated, 32 files which I have updated are as follow:-> resiprocate/resip/stack-> resiprocate/resip/stack/
test-> resiprocate/resip/stack/ ssl-> resiprocate/resip/recon/ MOHParkServer-> resiprocate/rutil-> resiprocate/tfm-> resiprocate/repro-> resiprocate/apps/ clicktocall-> resiprocate/apps/ichat-gwOne new header file created in directory:-> resiprocate/rutil- Created Pull Request:On 7 June 2016 at 00:56, Udit Raikwar <email@example.com> wrote:Hello,I have done following things in past two weeks :Week 1:- Successfully installed and configured resiprocate.- Read codes and discuss with mentor about the format of logging message.- Define new functions for converting error codes into string.- (eg “socket error 22” into “socket error EINVAL (Invalid argument)”)- Successfully test it on TlsConnection.cxx fileWeek 2:- Update header file with new functions.- Update files inside-> Resip/Stack-> Resip/Stack/Test-> Resip/Stack/SSL-> Resip/Stack/Recon- Created Pull RequestIn the next week i will update all other files inside resiprocate project and commit it to the repository and update the pull request.------------