Project

General

Profile

Bug #6511

In some circumstances the HAProxy clone front-end button can add blank list entries to the front end being cloned resulting in a config that cannot be applied.

Added by Steve Wheeler about 3 years ago. Updated 9 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
haproxy
Target version:
-
Start date:
06/21/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
Affected Architecture:

Description

1. The blank entries shouldn't be created.
2. The blank entries should be ignored on the backend.

See: RPL-94792

History

#1 Updated by Kill Bill about 3 years ago

It's not just that - the clone/duplicate/whatnot button is borked in general. E.g., when you "duplicate" an ACL, the original entry gets screwed with nonsense, and the new entry does not contain the edits. Seen some whacky behaviour with backend as well.

#2 Updated by Pi Ba about 3 years ago

@Steve, the first issue of empty items being added when duplicating should be fixed in next version..
https://github.com/pfsense/FreeBSD-ports/pull/165/commits/786d3767108ef1c40c96a5fc135a0c22197c02f4

As for ignoring blank entries, i don't think should be needed..

@Kill Bill, i'm not sure what you mean here exactly.? Can you describe the steps to reproduce the exact.?. Are you duplicating acl's or frontends.?. The frontend issue should be fixed when above pullrequest 165 is commited.

#3 Updated by Steve Wheeler about 3 years ago

@Pi Ba
I agree that it should not be possible to end up with empty entries in the config but in the case that somehow happens the backend should just ignore them rather than trying and failing to interpret that.

#4 Updated by Kill Bill over 2 years ago

Works fine here with pfSense-pkg-haproxy-0.52_4.

#5 Updated by Jim Pingle 9 days ago

  • Status changed from New to Resolved

Also available in: Atom PDF