[
https://issues.apache.org/jira/browse/METRON-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shane Ardell updated METRON-1712:
---------------------------------
Description:
The following fields need input validation:
IP Source Address: should accept valid IPv4 address formats (v6 is not yet
supported)
IP Source Port: should accept integers from 0 to 65535
IP Source Address: should accept valid IPv4 address formats (v6 is not yet
supported)
IP Dest Port: should accept integers from 0 to 65535
Leave unvalidated:
Protocol: number of valid protocols is around 150 and it could change in the
future, validation possible makes more sense on the backend or by a separated
endpoint
Free text filtering: binary regular expression
Broken inputs should be recognized by the UI and not submitted, with
user-facing feedback. The REST API should also fail on queries outside
reasonable parameters.
was:The PCAP panel currently has input validation on the date, ip address and
port number fields. What validation requirements are left for the remaining
fields?
> PCAP UI - Input validation
> --------------------------
>
> Key: METRON-1712
> URL: https://issues.apache.org/jira/browse/METRON-1712
> Project: Metron
> Issue Type: Sub-task
> Reporter: Shane Ardell
> Priority: Major
>
> The following fields need input validation:
> IP Source Address: should accept valid IPv4 address formats (v6 is not yet
> supported)
> IP Source Port: should accept integers from 0 to 65535
> IP Source Address: should accept valid IPv4 address formats (v6 is not yet
> supported)
> IP Dest Port: should accept integers from 0 to 65535
> Leave unvalidated:
> Protocol: number of valid protocols is around 150 and it could change in the
> future, validation possible makes more sense on the backend or by a separated
> endpoint
> Free text filtering: binary regular expression
> Broken inputs should be recognized by the UI and not submitted, with
> user-facing feedback. The REST API should also fail on queries outside
> reasonable parameters.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)