|
1 -- The jabberd14/jabberd2 split is a complete mess. There are |
|
2 -- servers that report as jabberd14 that return the same fingerprint |
|
3 -- as jabberd2 servers. A jabberd14 1.6.1.1 server on Debian was |
|
4 -- more similar to jabberd14 1.4.x, so I am assuming it to be the |
|
5 -- correct one, even though I can't find another one like it... |
|
6 |
1 function testers.jabberd14() |
7 function testers.jabberd14() |
2 if test(q_invalid_xml, literal "<stream:error>Invalid XML</stream:error>") then |
8 if test(q_invalid_xml, literal ">Invalid XML<") then |
3 server_name = "jabberd14"; |
9 server_name = "jabberd14"; |
|
10 |
|
11 if test(q_invalid_xml, "^<%?xml") |
|
12 and test(q_empty_message_tag, literal ">Did not specify a valid to argument<") then |
|
13 server_min_version = "1.6.0"; |
|
14 server_comment "Likely Debian's package, other 1.6.x jabberd's report as jabberd2"; |
|
15 elseif test(q_invalid_xml, "^<stream:error>") then |
|
16 server_max_version = "1.4.x"; |
|
17 end |
4 end |
18 end |
5 end |
19 end |
6 |
20 |