include openssl library in OMNeT++

753 views
Skip to first unread message

nagendra prasad

unread,
Jan 19, 2013, 12:20:13 AM1/19/13
to omn...@googlegroups.com
Hi
         I am implementing security functionality of LTE in OMNeT++. I need to integrate openssl library in OMNeT++ and use its functionalities. I need help in doing this. Any help would be grateful.
                Thank you in advance.

Mohamad Sbeiti

unread,
Aug 14, 2013, 2:38:39 AM8/14/13
to omn...@googlegroups.com

Hi  Nagendra,
right click on your project -> properties -> OMNeT++ -> Makemake -> Options ->
                                                                                                                      In case you are using Linux, include under "Additional libraries:" ssl, crypto
                                                                                                                      In case you are using Windows, include under "Additional objects:" <opensslpath>/openssl/lib/*.* and copy the libeay32.dll, libssl32.dll and ssleay32.dll files or the corresponding ones in the top directory of your project.

Regards
Mohamad

Chibueze Ogah

unread,
Jan 24, 2014, 1:31:00 PM1/24/14
to omn...@googlegroups.com
Hi,

Could you please say more on this this option doesnt seem to be working for me. I guess I have to download openssl into my folder. I am using Linux 13.10.

Thanks
Message has been deleted

Vineeta Jain

unread,
Jul 10, 2020, 8:25:21 AM7/10/20
to OMNeT++ Users
Hii Mohamed.
This approach works well when we integrate OpenSSL with normal projects. However, I want to integrate OpenSSL in the mgmt layer of ieee80211 in INET. When I try to follow the same steps it creates problems as INET creates a shared library libINET.dll. Please help me as I want to integrate ECC based authentication on the mgmt layer of IEEE80211. It's really important for my work. Thanks in advance.

Eng algebory

unread,
Jul 10, 2020, 8:28:14 AM7/10/20
to omn...@googlegroups.com
Hello everyone I need a description of the attack algorithms against the Wireless Sensor Network

Who can help me

Thanks 

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/fcdeb422-ccbd-4aa5-ba87-0723825ad8e3o%40googlegroups.com.

Rudolf Hornig

unread,
Jul 11, 2020, 5:53:33 AM7/11/20
to OMNeT++ Users
This really depends on a lot of factors. OMNeT++ comes with a pre-packaged mingw toolchain, so the best approach is to use openSSL also from the MinGW distribution (mingw has a different ABI than the normal viusal C compiled libraries (however pure C functions should be compatible). In short, you need the header and lib file for the openSSL libarary. You need to place them somewhere in your project and add the include file path and the library path in your makefile or in 'src/makefrags' (probably a better option as other thrid-party libs are also added there. You can check how). In short:

For example NSC is added like this:

INCLUDE_PATH += -I../3rdparty/nsc-$(NSC_VERSION)/sim
LIBS += -Wl,-rpath,$(abspath ../3rdparty/nsc-$(NSC_VERSION))

As a side note, I'm not sure actual cryptography is needed ina simulation library. Why not just simulate the overhead added to the protocol and have a bit signalling, that "this is encrypted data, you cannot read". Unless you want to make network emulation. and communicate with external devices, I see no point of actual encryption.

Vineeta Jain

unread,
Jul 13, 2020, 4:40:01 AM7/13/20
to omn...@googlegroups.com
Thank you Rudolf. It worked.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages