W dniu 2012-01-13 20:24, Christof Meerwald pisze:
On Fri, Jan 13, 2012 at 05:14:59PM +0100, Marcin Mirosław wrote:
I've found information i should set local/ip to :: (double colon), done.

What's the setting of net.ipv6.bindv6only (sysctl
net.ipv6.bindv6only)?

Hi Christof,
# cat /proc/sys/net/ipv6/bindv6only
0
# netstat -lptun|grep s2s
tcp6 0 0 :::5269 :::* LISTEN 47761/s2s
$ telnet 127.0.0.1 5269
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
asd
<stream:stream xmlns:stream='http://etherx.jabber.org/streams' version='1.0'><stream:error xmlns:stream='http://etherx.jabber.org/streams'><xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>syntax error</text></stream:error></stream:stream>Connection closed by foreign host.

$ telnet :: 5269
Trying ::...
Connected to ::.
Escape character is '^]'.
asd
<stream:stream xmlns:stream='http://etherx.jabber.org/streams' version='1.0'><stream:error xmlns:stream='http://etherx.jabber.org/streams'><xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>syntax error</text></stream:error></stream:stream>Connection closed by foreign host.
S2s is accepting connetcion on both ipv4 and ipv6 protos.
Regards.


Reply via email to