[ZBX-25404] trapper item fails on a few IPs listed on "Allowed hosts" field, if space character is used Created: 2024 Oct 16  Updated: 2024 Dec 10  Resolved: 2024 Nov 26

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 7.0.5rc1
Fix Version/s: 6.0.37rc1, 7.0.7rc1, 7.2.0rc1

Type: Problem report Priority: Major
Reporter: Oleksii Zagorskyi Assignee: Michael Veksler
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: 0h
Time Spent: 11h
Original Estimate: 8h

Attachments: GIF File long_sender_request_2.gif    
Issue Links:
Duplicate
Team: Team B
Sprint: S24-W44/45, S24-W46/47, S24-W48/49
Story Points: 1

 Description   

This value is fine for "Allowed hosts":

6.6.6.6,127.0.0.1

but this is not (note a space after comma, which is allowed):

6.6.6.6, 127.0.0.1

it fails with error:

cannot process item "test.item" trap: connection from "127.0.0.1" rejected, allowed hosts: "6.6.6.6, 127.0.0.1"

https://www.zabbix.com/documentation/current/en/manual/config/items/itemtypes/trapper

Reproduced on recent 7.0. Not reproduced on recent 6.0
Other branches were not tested.



 Comments   
Comment by Michael Veksler [ 2024 Nov 20 ]

Available in:

Generated at Fri May 09 05:33:47 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.