dos with bad srv record
Domrachev Ivan
domrachev.ivan at gmail.com
Thu Nov 20 09:32:58 UTC 2008
if srv record is bad formed then djabberd crashes. debug logs:
---
33 DEBUG DJabberd.Connection.ServerIn Got a dialback result, orig: first.tester.com, recv: conference.second.tester.com
833 DEBUG DJabberd.DNS pkt = Net::DNS::Packet=HASH(0x1190a78)
833 DEBUG DJabberd.DNS sock = IO::Socket::INET=GLOB(0x1842668)
833 DEBUG DJabberd.DNS DNS socket IO::Socket::INET=GLOB(0x1842668) became readable for 'srv'
833 DEBUG DJabberd.DNS DNS socket IO::Socket::INET=GLOB(0x1842668) for 'srv' found stuff, now doing hostname look
up on 192.168.0.216.tester.com
833 DEBUG DJabberd.DNS Skipping lookup for '192.168.0.216.tester.com', it is already the IP
833 DEBUG DJabberd.Connection.DialbackVerify Attempting to connect to '192.168.0.216.tester.com'
Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/local/lib/perl5/5.8.8/mach/Socket.pm line 373.
---
srv record looks like:
_xmpp-server._tcp.conference.first.tester.com 192.168.0.216.tester.com.
More information about the Djabberd
mailing list