bugZoneCheck - Bugs: bug #31415, Test mail_hostmaster_mx_cname uses...

 
 

bug #31415: Test mail_hostmaster_mx_cname uses wrong domain name

Submitted by:  Kim Minh Kaplan <kmkaplan>
Submitted on:  Fri 22 Oct 2010 02:13:24 PM UTC  
 
Category: testsSeverity: Ordinary
Priority: 5 - NormalItem Group: Crash/Error
Status: FixedPrivacy: Public
Assigned to: Stephane Bortzmeyer <bortzmeyer>Open/Closed: Accepted

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 22 Oct 2010 02:22:25 PM UTC, comment #2:

Revision 1.40 of test/mail.rb should fix the bug.

% zonecheck --ns 'ns10.az.pl;ns11.az.pl;ns12.az.pl' appartements-patio.fr
ZONE : appartements-patio.fr
NS <= : ns10.az.pl [62.146.113.3]
NS : ns11.az.pl [85.232.252.194]
NS : ns12.az.pl [89.171.29.77]

==> SUCCESS

Stephane Bortzmeyer <bortzmeyer>
Project AdministratorIn charge of this item.
Fri 22 Oct 2010 02:18:48 PM UTC, comment #1:

Here is an example:

% dig +short @ns10.az.pl SOA appartements-patio.fr
ns10.az.pl. admin.az.pl. 2010102101 10800 3600 604800 3600

% zonecheck -T mail_hostmaster_mx_cname --ns 'ns10.az.pl;ns11.az.pl;ns12.az.pl' appartements-patio.fr

And, with tcpdump, we see:

16:02:25.887990 IP6 (hlim 64, next-header UDP (17) payload length: 37) ::1.53 > ::1.59484: [udp sum ok] 62101 ServFail q: MX? admin.az.pl. 0/0/0 (29)

The query should be for az.pl, not admin.az.pl.

Stephane Bortzmeyer <bortzmeyer>
Project AdministratorIn charge of this item.
Fri 22 Oct 2010 02:13:24 PM UTC, original submission:

The function chk_mail_hostmaster_mx_cname does not remove the local part from the RNAME and uses it all as a domain name.

For example if the RNAME is foo.example.com., it does the check on foo.example.com. instead of example.com.

Kim Minh Kaplan <kmkaplan>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bortzmeyer (Posted a comment)
  • -unavailable- added by kmkaplan (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 22 Oct 2010 02:22:25 PM UTCbortzmeyerStatusConfirmed=>Fixed
      Open/ClosedOpen=>Accepted
    Fri 22 Oct 2010 02:18:48 PM UTCbortzmeyerSeverityHigh=>Ordinary
      StatusNone=>Confirmed
      Assigned toNone=>bortzmeyer

    Back to the top


    Powered by Savane 3.1-cleanup1