Open danielpoliakov opened 4 years ago
Hey Daniel, I suspect the bugs will be in the String()
functions for the various components.
For Network issues, it's likely to be in [0][1]. The String()
for a Rule
that calls this is at[2]
The error being thrown during parsing of network definitions with spaces is at[3]
[0] https://github.com/google/gonids/blob/197084007ae92b914688f9dd9e6bda5f6525b7e4/rule.go#L665 [1] https://github.com/google/gonids/blob/197084007ae92b914688f9dd9e6bda5f6525b7e4/rule.go#L647 [2] https://github.com/google/gonids/blob/197084007ae92b914688f9dd9e6bda5f6525b7e4/rule.go#L894 [3] https://github.com/google/gonids/blob/197084007ae92b914688f9dd9e6bda5f6525b7e4/parser.go#L420
Hi,
refering to network examples in these sections of docs:
Negated lists
outputs
and
outputs
which is invalid.
Spaces in network components
Gonids outputs error when network components contain spaces. Spaces in list of IPs(ranges)/ports are valid based on the examples in docs and my experiments.
outputs
Same it goes for list of ports.
Can you please give me any hints where in gonids these issues can be addressed?