Hi,
I try to explain my problem.
We´ve got 3 Mikrotiks running. These where conneted with IP-SEC.
Same times there is an Error with the encription.
When the error comes, i get the following Linies in the Log:
00:40:36 ipsec,warning incoming packet with unknown SPI
00:41:37 ipsec,info ipsec no sa found: proto=esp spi=645817353 src=87.xxx.xxx.xxx dst=217.xxx.xxx.xxx
Now we´re running this
ip ipsec installed-sa flush sa-type=all
I want use Netwatch to ping an internal IP. When the ping is´t responding the Mikrotik should run a Scrip that look in the Log for the upper lines. When they exist the Script have to reset the IP-SEC for this connection.
Now the question.
How can I read/filter the new lines out of the log.
Or is there an other way it to control?
Please help me.
Thanks a lot.
KMialki