-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: read: Input/output error #154
Comments
Right now openfortivpn depends on Does it help if you install package |
netstat is available and installed, via net-tools:
|
Caution: the parsing code around |
Yes
|
I believe this looks like the read thread runs into an error:
maybe with more verbosity ( |
last section of the output of -vv:
|
interesting is that the last two packets (25 bytes each) are exactly the same - and if we decode the hex sequence it results in the string |
In my case the solution was : |
I am having the same behavior, however it only happens when I try to rsync over ssh through the forticlient. It works fine if I just ssh over the vpn. When I run rsync, I get the same ERROR: read: Input/output error and the "�!Peer not responding" I am running ubuntu 16.04.3 64 bit. openfortivpn is compiled from source. As a note, I tried the openforticlientgui for ubuntu 64 bit and it has the same behavior. Please let me know if I should open a new ticket or if you believe this is the same issue. |
@robmukai Running About your last question, it's hard to tell whether the error is caused by the client, the server, or perhaps related to broken networks in between. As a mere example I have been unable to use not only |
@DimitriPapadopoulos Thanks for the response. I do have a bit of a slow connection (microwave based). However, I can run rsync over forticlient in windows 10. I would love to put the windows box down, and just use linux, however, if I can't get rsync running over openfortivpn, I might not be able to. I know it is a little like finding a needle in a haystack, but I am happy to do some testing if you can point me to things to try. |
@robmukai I suspect the cause of the problems you're experiencing is different from the initial poster's. Therefore I would suggest opening a new ticket. Then maybe a maintainer might have a look at it - probably not me because I'm not acquainted enough with openfortivpn internals or networking. |
@DimitriPapadopoulos Thanks for the response. I have opened #184 Hopefully we can get this figured out. |
This synopsis was in error. |
Hi, I'm not sure what are the security and portability implication of calling Maybe it would be better to check Finally, if you're able to call
why not calling |
Well, thats totally valid, but if you call netstat directly, you should
make sure it is installed.
Or an installer script could simply symlink.
Thanks,
Jonathan
…On Feb 7, 2018 4:19 AM, "Adrien Vergé" ***@***.***> wrote:
Hi,
I'm not sure what are the security and portability implication of calling
which, but it doesn't feel right to me to call a UNIX command from C.
Maybe it would be better to check $PATH in the "classical" way, like
there?
https://www.linuxquestions.org/questions/programming-9/
get-full-path-of-a-command-in-c-117965/#post611028
Finally, if you're able to call which without a full path:
wnst = popen("which netstat");
why not calling netstat directly like this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#154 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXieCbRyo278TwR_N5pQeqvRaYhteWXwks5tSWqDgaJpZM4OiTOK>
.
|
@jon2kx
I'm not certain these patches are helpful. |
I was playing with openfortivpn on my raspberry pi3 (This 1.4.0 on Raspbian GNU/Linux 8 (jessie)) and noticed this error after connecting:
When applying the workaround mentioned in #56 about setting a route before starting the vpn, the connection builds up fine. I do need to add routes manually after having the vpn up, to make sure I can reach the other side through the vpn.
The text was updated successfully, but these errors were encountered: