We have an EX8200 series chassis.
I have a SLAX script to add a firewall rule, something like
<firewall> { <family> { <inet> { <filter> { <name> "block"; <term> { <name> "badhosts"; <from> {
<source-address> $host; } <then> { <reject>; }
..... <interfaces> { <interface> { <name>fe-0/0/2 ; <unit> { <name> "0"; <family> { <inet> { <filter> { <input> {
<filter-name> "block"; ........
It works, but it's very slow indeed - between 6 and 40 seconds.
Why is this so slow ? Is there some way to speed it up, or another method that would be faster ?
We need to trigger this action using an SSH command from a remote machine.