[
https://issues.apache.org/jira/browse/METRON-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571844#comment-16571844
]
Tibor Meller commented on METRON-1712:
--------------------------------------
There is a followup ticket on this:
*Date rage validation* https://issues.apache.org/jira/browse/METRON-1724
> 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)