[ewg] SDP problem

Yury Serdyuk Yury at serdyuk.botik.ru
Mon Apr 12 02:47:45 PDT 2010


Amir Vadai wrote:

>Hi Yuri,
>  
>
Hi, Amir !

>Turn logs on by setting in libsdp.conf:
>log min-level 1 destination stderr
>  
>
Yes, at firsr I have turned on debug messages:

> -bash-3.2$ ssh 10.63.223.243
> Mon Apr 12 13:31:40 2010 ssh[18169] libsdp CONFIG: use tcp client * 
> 10.63.223.243/244:22
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp CONFIG: use sdp client * 
> 10.63.223.243/244:*
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp CONFIG: use sdp server * 
> 10.63.223.243/244:*
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp CONFIG: use tcp server * *:*
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp CONFIG: use tcp client * *:*
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp Max file descriptors:1024
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp CLOSE: <ssh:4:-1>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp CLOSE: <ssh:4:-1> result <0>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp CLOSE: <ssh:4:-1>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp CLOSE: <ssh:4:-1> result <0>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp POLL: <ssh:1>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp POLL: invoking poll nfds=<1>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp POLL: <ssh:1> return <1>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp CLOSE: <ssh:4:-1>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp CLOSE: <ssh:4:-1> result <0>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp FCNTL: <ssh:4:-1> command 
> <1> argument <0>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp FCNTL: <ssh:4:-1> result <0:0>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp FCNTL: <ssh:4:-1> command 
> <2> argument <0>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp FCNTL: <ssh:4:-1> result <0:0>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp SOCKET: <ssh> domain <2> 
> type <1> protocol <6>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp MATCH PROGRAM: => both
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp SOCKET: making TCP socket
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp SOCKET: making SDP shadow 
> socket type:1 proto:6
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp Error socket: <97> calling 
> socket for SDP socket
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp SOCKET: closing TCP socket:<4>
>  Mon Apr 12 13:31:40 2010 ssh[18169] libsdp SOCKET: <ssh:-1:-1>
>  socket: Address family not supported by protocol
> ssh: connect to host 10.63.223.243 port 22: Address family not 
> supported by protocol


>just from reading the configuration file - change the /244 into /24 when
>specifying IP's
>  
>
At second, I have tested variants of config file as

> use tcp connect * 10.63.223.243/24:22
> use sdp connect * 10.63.223.243/24:*
> use sdp listen * 10.63.223.243/24:*
> use tcp server * *:*
> use tcp client * *:*

and

> use tcp connect * 10.63.223.0/24:22
> use sdp connect * 10.63.223.0/24:*
> use sdp listen * 10.63.223.0/24:*
> use tcp server * *:*
> use tcp client * *:*

But the result is same:

> -bash-3.2$ ssh 10.63.223.243
> Mon Apr 12 13:35:43 2010 ssh[18487] libsdp CONFIG: use tcp client * 
> 10.63.223.243/24:22
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp CONFIG: use sdp client * 
> 10.63.223.243/24:*
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp CONFIG: use sdp server * 
> 10.63.223.243/24:*
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp CONFIG: use tcp server * *:*
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp CONFIG: use tcp client * *:*
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp Max file descriptors:1024
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp CLOSE: <ssh:4:-1>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp CLOSE: <ssh:4:-1> result <0>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp CLOSE: <ssh:4:-1>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp CLOSE: <ssh:4:-1> result <0>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp POLL: <ssh:1>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp POLL: invoking poll nfds=<1>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp POLL: <ssh:1> return <1>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp CLOSE: <ssh:4:-1>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp CLOSE: <ssh:4:-1> result <0>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp FCNTL: <ssh:4:-1> command 
> <1> argument <0>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp FCNTL: <ssh:4:-1> result <0:0>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp FCNTL: <ssh:4:-1> command 
> <2> argument <0>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp FCNTL: <ssh:4:-1> result <0:0>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp SOCKET: <ssh> domain <2> 
> type <1> protocol <6>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp MATCH PROGRAM: => both
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp SOCKET: making TCP socket
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp SOCKET: making SDP shadow 
> socket type:1 proto:6
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp Error socket: <97> calling 
> socket for SDP socket
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp SOCKET: closing TCP socket:<4>
>  Mon Apr 12 13:35:43 2010 ssh[18487] libsdp SOCKET: <ssh:-1:-1>
>  socket: Address family not supported by protocol
> ssh: connect to host 10.63.223.243 port 22: Address family not 
> supported by protocol

and

> -bash-3.2$ ssh 10.63.223.243
> Mon Apr 12 13:36:36 2010 ssh[18604] libsdp CONFIG: use tcp client * 
> 10.63.223.0/24:22
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp CONFIG: use sdp client * 
> 10.63.223.0/24:*
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp CONFIG: use sdp server * 
> 10.63.223.0/24:*
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp CONFIG: use tcp server * *:*
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp CONFIG: use tcp client * *:*
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp Max file descriptors:1024
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp CLOSE: <ssh:4:-1>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp CLOSE: <ssh:4:-1> result <0>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp CLOSE: <ssh:4:-1>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp CLOSE: <ssh:4:-1> result <0>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp POLL: <ssh:1>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp POLL: invoking poll nfds=<1>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp POLL: <ssh:1> return <1>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp CLOSE: <ssh:4:-1>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp CLOSE: <ssh:4:-1> result <0>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp FCNTL: <ssh:4:-1> command 
> <1> argument <0>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp FCNTL: <ssh:4:-1> result <0:0>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp FCNTL: <ssh:4:-1> command 
> <2> argument <0>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp FCNTL: <ssh:4:-1> result <0:0>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp SOCKET: <ssh> domain <2> 
> type <1> protocol <6>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp MATCH PROGRAM: => both
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp SOCKET: making TCP socket
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp SOCKET: making SDP shadow 
> socket type:1 proto:6
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp Error socket: <97> calling 
> socket for SDP socket
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp SOCKET: closing TCP socket:<4>
>  Mon Apr 12 13:36:36 2010 ssh[18604] libsdp SOCKET: <ssh:-1:-1>
>  socket: Address family not supported by protocol
> ssh: connect to host 10.63.223.243 port 22: Address family not 
> supported by protocol

Any suggestions ?

Yury







More information about the ewg mailing list