Issue Details (XML | Word | Printable)

Key: CORE-5816
Type: Improvement Improvement
Status: Open Open
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Pavel Zotov
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Provide ability to filter activity IPv4/v6 mask(s)

Created: 05/May/18 10:04 AM   Updated: 07/May/18 05:49 AM
Component/s: TRACEMGR
Affects Version/s: None
Fix Version/s: None

QA Status: No test


 Description  « Hide
It will be *extremely* useful (for real practice purpuces) to have ability catch via TRACE all kinds of actions that are done on one or many hosts if weknow their IP addresses.
This can be implemented just as already existing filters, i.e. by adding parameters like "include_ip_filter" and "exclude_ip_filter".

For example, if one need to log activity for all machines that are included in sub-networks with IP masks:
1) 172.16.*, 172.15.*,
2) 192.168.21.* and
3) 192.168.22.*.
- we can use following pattern:

include_ip_filter = '(172.((16)|(15)).%)|(192.168.((21)|(22)).%)'


2 hvlad: PLEASE, consider to add this ability in FB 3.x. This is need that really often occurs in practice.



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michal Kubeček added a comment - 07/May/18 05:49 AM
From networking point of view, string pattern matching is not natural for IP addresses. IP addresses are numbers, 32- or 128-bit, and are organized in hierarchical way. I would therefore rather suggest to use a list of network ranges, e.g. "172.16.0.0/15,192.168.22/23".