This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

IPSec VPN Log entry understanding

Hi Folks,

Yesterday I tried to set up an IPSec tunnel. At the end the tunnel was established and packets gone through it.

But the log file shows a line [1] returning everytime we enabled the tunnel. And once two lines about "fgets" [2] ...

[1]
route-client output: /usr/libexec/ipsec/updown: line 91:


[2]
fgets failed on output of down-client command. Errno 4: Interrupted system call


Can someone explain the messages? Like said the tunnel works fine... The other side used an ASG v7.507. I used my v7.504.
-- 
So long, Steffen


This thread was automatically locked due to age.
  • fgets failed on output of down-client command. Errno 4: Interrupted system call


    "Interrupted system call" normally is no error, but rather a condition that requires to repeat the system call because it could not be finished. However, pluto does not repeat the fgets() call, thus failing to read the output of the updown script (if there was any). While this does not break anything, it could make debugging harder because errors within the updown script will not make it into ipsec.log. So, if everything's working smoothly for you you don't have to worry.

  • route-client output: /usr/libexec/ipsec/updown: line 91:


    Is there no output from updown in the line after that one?!
  • Hi,

    Is there no output from updown in the line after that one?!
    Here is the whole line: 
    route-client output: /usr/libexec/ipsec/updown: line 91: (8149
    Is the content in the brackets related to the nets on both sides?

    Maybe it's a bug?
    -- 
    So long, Steffen
  • syntax error: operand expected (error token is " ")
    Is the content in the brackets related to the nets on both sides?
    Maybe it's a bug?


    Yes, there was a bug like that in the updown script a while ago. Please update the latest V7.5 version and let me know if it's gone.