-
Problem report
-
Resolution: Won't fix
-
Trivial
-
None
-
4.0.0alpha5
-
None
API allow to fill trapper_hosts (Item), proxy_address (Proxy) fields with ip range interval.
Steps to reproduce:
- Find item with type 2(ITEM_TYPE_TRAPPER) or 19(ITEM_TYPE_HTTPAGENT)
- Set trapper_hosts to 127.0.0.1-127.0.0.127
Result: Item is updated
Expected: Item is not updated, error is shown.
8815:20180404:121022.011 trapper got '{"request":"sender data","data":[{"host":"DEV-800","key":"C","value":"444"}]}' 8815:20180404:121022.011 In recv_senderhistory() 8815:20180404:121022.011 In process_client_history_data() 8815:20180404:121022.011 In parse_history_data() 8815:20180404:121022.011 End of parse_history_data():SUCCEED processed:1/1 8815:20180404:121022.011 In substitute_simple_macros() data:'127.0.0.0-127.0.0.127' 8815:20180404:121022.013 cannot process item "C" trap: connection from "127.0.0.1" rejected, allowed hosts: "127.0.0.0-127.0.0.127"