Re: Binding outgoing SSL connection to certain IP address

2011-04-27 Thread Michael Ionescu | Karlsruhe
Hi all, I've been looking for a way to bind the openssl s_client command line tool to a certain outgoing IP on a multi-IP host and all I've found was a thread on how to do that using the library: http://marc.info/?l=openssl-users&m=127166957110771&w=2 Is there maybe some obscure bind option the l

Re: Binding outgoing SSL connection to certain IP address

2010-04-24 Thread Ondrej Jombik
On Tue, 20 Apr 2010, Ondrej Jombik wrote: Tommorow, I will post here a simple snipet of code, as others may find it also useful, somewhere in the future. Here is simple code snippet for binding local address to socket and passing it to SSL. Save it into file ssltest.c and compile with: gc

Re: Binding outgoing SSL connection to certain IP address

2010-04-20 Thread Ondrej Jombik
On Mon, 19 Apr 2010, Sad Clouds wrote: On Mon, 19 Apr 2010 11:58:51 +0200 (CEST) Ondrej Jombik wrote: I do need this for client side. Machine where connection is originating has several IP addresses and the remote machine will accept connection only from one of those. So I need to choose exact

Re: Binding outgoing SSL connection to certain IP address

2010-04-19 Thread Sad Clouds
On Mon, 19 Apr 2010 11:58:51 +0200 (CEST) Ondrej Jombik wrote: > I do need this for client side. Machine where connection is > originating has several IP addresses and the remote machine will > accept connection only from one of those. So I need to choose exactly > one source IP address when crea

Re: Binding outgoing SSL connection to certain IP address

2010-04-19 Thread Ondrej Jombik
I do need this for client side. Machine where connection is originating has several IP addresses and the remote machine will accept connection only from one of those. So I need to choose exactly one source IP address when creating connection. Can your example be modified for this? Also I noticed

Re: Binding outgoing SSL connection to certain IP address

2010-04-19 Thread Sad Clouds
On Sun, 18 Apr 2010 23:35:16 +0200 (CEST) Ondrej Jombik wrote: > [ Please Cc me in the answer as I'm not in the list. Thank you. ] > > I was googlig for over two days and now I'm stuck. The thing I would > like to accomplish is to bind outgoing SSL connection to certain IP > address. > > Our se