Hi, On 2015年03月25日 18:43, [email protected] wrote: > Hello. I'm trying to insert a rule for denying all ICMP traffic to an > specific host but I can't. So far, I've done this: > > 1) First, I allowed in all switches all ICMP traffic and It worked just fine. > > *curl -X POST -d ’{"nw_proto":"ICMP"}’ > http://localhost:8080/firewall/rules/0000000000000001* > > 2) Then, I tried to deny the ICMP traffic to a host with an IP address: > 10.0.0.9 > > *curl -X POST -d ’{"nw_dst": "10.0.0.9/8", "nw_proto": "ICMP", "actions": > "DENY", "priority": "10"}’ > http://localhost:8080/firewall/rules/0000000000000001* > > but It appears this line:*Invalid rule parameter* > > What am I doing wrong???
It seems rest_firewall.py has bugs and passes malformed match fields to ofctl_v1_*.py. I will make patches. Thanks > Untitled Document > > 50 Aniversario de la Cujae. Inaugurada por Fidel el 2 de diciembre de 1964 > http://cujae.edu.cu <http://cujae.edu.cu> > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
