bugutil-vserver - Bugs: bug #27027, Unexpected network behaviour if...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #27027: Unexpected network behaviour if prefix not provided

Submitted by:  Dave O'Neill <dave0>
Submitted on:  Tue 14 Jul 2009 07:46:02 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Feature RequestStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenComponent Version: alpha
Release: SVN

Tue 14 Jul 2009 07:46:02 PM UTC, original submission:

If /etc/vservers/<servername>/interfaces/0/prefix doesn't exist, the created vserver does not use a local 127.0.0.1 mapped to/from the generated 127.x.y.1 lback address. Instead, all 127.0.0.1 traffic is rewritten to the IP configured in interfaces/0/ip.

This may or may not be a bug, but it's certainly surprising.

Possible fixes/workarounds:

1) in the absence of a prefix or broadcast, default the prefix
to an explicit /32 instead of whatever is occurring now.

2) in the absence of a prefix or broadcast, warn loudly that a
prefix should be defined.

Given that 'ip address add' should default to a /32 if no prefix is added, I'm not sure how the lack of an explicit prefix is clobbering lback -- perhaps someone more familiar with the code can
determine this.

Tested on 2.6.29-vserver-1 from Debian Lenny and 2.6.30.1 with vs2.3.0.36.14-pre4, using util-vserver 0.30.216-pre2772 from Debian Lenny, and util-vserver from SVN trunk (r2842).

Dave O'Neill <dave0>

 

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 dave0 (Submitted the item)
  • -unavailable- added by dave0
  •  

    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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 14 Jul 2009 07:46:02 PM UTCdave0Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1