establish communication between two machines using IPSec


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu establish communication between two machines using IPSec
# 1  
Old 02-05-2012
Data establish communication between two machines using IPSec

How can i establish communication between two machines using IPSec in linux?? Do you have any materials or regarding links? or any materials of udp socket programming?
# 2  
Old 02-05-2012
Richard Stevens wrote a wonderful book on UNIX network programming; well worth the money. When I bought my copy there was only one volume, now there are two:

Amazon.com: Unix Network Programming, Volume 1: The Sockets Networking API (3rd Edition) (0076092025917): W. Richard Stevens, Bill Fenner, Andrew M. Rudoff: Books

I don't know if he covers IPSEC in the latest editions, but they certainly cover UDP socket programming.
This User Gave Thanks to agama For This Post:
# 3  
Old 02-05-2012
thanks.
you think is there any tools instead of programming?
# 4  
Old 02-05-2012
I guess it depends on what your goal is. When someone says 'UDP or socket programming' I take that to mean that they are writing code and that process will need to communicate with one or more other processes using UDP or TCP over IP. If this is the case, then you might look at Zero MQ (0MQ) as it is a library that can make some things easier. I don't use it, but a coworker of mine has made extensive use of it and swears by it. You'll still need to understand scoket and UDP programming.

The Intelligent Transport Layer - zeromq


If you're looking to do something else (other than writing programmes which need to communicate), then please post what it is -- it's difficult to make suggestions without any information on what you are trying to actually do.
# 5  
Old 02-05-2012
Actually I want to do the project by title of " security in the internet compare with DMP" . Regarding this , I need to establish communication between two machines using IPSec.
I don't have any more idea of UDPsocket and IPsec in details. I think first of all I have to be introduce: regarding resources and then method or tools to perform them Smilie
//sorry for my bad english //

thank u
Elina

---------- Post updated at 06:03 PM ---------- Previous update was at 05:56 PM ----------

Actally I wanna do my project "security in the internet compare with DMP" that regarding this topic I need to establish communication between two machines using IPsec. So i need to config and implementing UDP socket.
I think because i dont have any more idea about Sockets and IPsec in details , first of all I have to be introduce of regarding resources ,then available tools or software to implement instead of programming.

thanks
(sorry for my bad english) Smilie
# 6  
Old 02-05-2012
You might have a look at this page for some general information:

IPsec protocols

Setting up a tunnel between two hosts with ssh might be all you need. Have a read over the man page for ssh too.
This User Gave Thanks to agama For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Unable to establish connection over TLS 1.2 on AIX 7.1/7.2

Hello Team, I would need your help to enable communication over TLS1.2 on AIX 7.1 or 7.2 with IBM JDK 1.8 latest update. By default, the request is trying to establish a connection over TLSv1 even though TLS 1.2 is explicitly enabled on server as well as on Java 8. The openssl command throws... (4 Replies)
Discussion started by: Naina2019
4 Replies

2. BSD

Can't establish outbound ssh connection on an OpenBSD system

I am getting the below error when I try to make outbound ssh from an OpenBSD system. I can't ssh to any host except the localhost. I can ping the hosts which I can't ssh, though.~ uname -rs OpenBSD 6.1 ~ ssh -V OpenSSH_7.5, LibreSSL 2.5.2 ~ ssh hostname ssh: connect to host hostname... (11 Replies)
Discussion started by: milhan
11 Replies

3. Red Hat

Proxy tunneling failed: ForbiddenUnable to establish SSL connection.

Tryied both ways curl and wget wget --no-check-certificate https://mysitet.it:61617 --2017-05-05 17:29:02-- https://mysitet.it:61617/ Connecting to myproxy:8080... connected. Proxy tunneling failed: ForbiddenUnable to establish SSL connection. curl https://mysite.it:61617 curl: (56)... (3 Replies)
Discussion started by: charli1
3 Replies

4. Red Hat

Connection establish two server

How do make connection between two linux server.Such as SSH,rsync,ftp (3 Replies)
Discussion started by: Mani T
3 Replies

5. Shell Programming and Scripting

Establish ODBC connection from Linux

Hi All, I want to establish a ODBC connection to a database from linux and query the tables of a database. Please let me know how I can achieve this. Thanks and Regards Nagaraja Akkivalli. (0 Replies)
Discussion started by: Nagaraja Akkiva
0 Replies

6. IP Networking

OSI model, communication between same layers but on different machines

Hi friends, I hope everyone is doing fine. I have this confusion regarding the OSI model. I have been reading a book on datacommunication and networking which discusses the OSI model in great detail. One thing that I can't figure out is the OSI daigram in this book. It shows communication between... (1 Reply)
Discussion started by: gabam
1 Replies

7. Cybersecurity

IPSEC

hello, after configuration ipsec in ip4 I can not ping between client and server whereas I had success ping before configuration! I also generate different key for AH and ESP as i have shown below. what is my problem and what should i do to have ping and test the configuration? code: ... (0 Replies)
Discussion started by: elinaz
0 Replies

8. Ubuntu

Does anyone establish to lock the laptop mouse pad

Hi, I just wondering if someone in the linux specifically ubuntu community accomplish on locking the mouse pad built in in the laptop just like in the windows where you can Fn+lock if im not using it and using a usb mouse instead. mine is an asus laptop. Thanks for any reply.. (2 Replies)
Discussion started by: jao_madn
2 Replies

9. Solaris

How do I establish a remote CDE or JDS session on Solaris 10?

As stated above in the title "How do I establish a remote CDE or JDS session on Solaris 10?" What I would like to do is be able to login to and use the machine remotely using either the CDE or JDS, preferably with out having to use a VNC, and be able to use the pretty GUI, instead of exclusively... (11 Replies)
Discussion started by: ultra0384
11 Replies
Login or Register to Ask a Question