enabling ipv6 support broke ipv4 CIDR access list

Bug #1900747 reported by dann frazier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
conserver (Debian)
Fix Released
Unknown
conserver (Ubuntu)
Fix Released
Undecided
dann frazier
Focal
Fix Released
Undecided
dann frazier
Groovy
Fix Released
Undecided
dann frazier

Bug Description

[Impact]
IPs allowed via an IPv4 access list are denied after upgrading from bionic to focal.

[Test Case]
Define an access list, e.g.:

access * {
       trusted 127.0.0.1,10.2.3.4,10.5.6.0/18,10.6.7.0/18;
       allowed 127.0.0.1,10.2.3.4,10.5.6.0/18,10.6.7.0/18;
}

Then try to access a console from a system in the allowed range. It currently fails with:

$ console myhost
10.2.3.4: access from your host refused

[Fix]
https://github.com/bstansell/conserver/commit/0d64aad81233ba021e677d7e8b9a5a7db4d369ea

[Regression Risk]
Currently, since all IPv4 access lists are busted, the only potential regression that comes to mind is if the new code has a bug in parsing certain CIDRs that leads to a crash.

dann frazier (dannf)
Changed in conserver (Ubuntu Groovy):
assignee: nobody → dann frazier (dannf)
Changed in conserver (Ubuntu Focal):
assignee: nobody → dann frazier (dannf)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package conserver - 8.2.4-2ubuntu1

---------------
conserver (8.2.4-2ubuntu1) groovy; urgency=medium

  * Fix IPv4 CIDR-based access lists. LP: #1900747

 -- dann frazier <email address hidden> Tue, 20 Oct 2020 11:48:00 -0600

Changed in conserver (Ubuntu Groovy):
status: New → Fix Released
dann frazier (dannf)
Changed in conserver (Ubuntu Focal):
status: New → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello dann, or anyone else affected,

Accepted conserver into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/conserver/8.2.4-2ubuntu0.20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in conserver (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
dann frazier (dannf) wrote :

I upgraded to the version in -proposed and verified that my IPv4 allow config works.

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package conserver - 8.2.4-2ubuntu0.20.04.1

---------------
conserver (8.2.4-2ubuntu0.20.04.1) focal; urgency=medium

  * Fix IPv4 CIDR-based access lists. LP: #1900747

 -- dann frazier <email address hidden> Tue, 20 Oct 2020 12:19:19 -0600

Changed in conserver (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for conserver has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in conserver (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.