On Wed, 2014-07-30 at 11:05 +0800, ?? wrote: > It looks like that the MTU is just 1337 and the vpnc-script-win.js had success. > > > - int len = vpninfo->ip_info.mtu; > > + int len = 1500; > > I had tried this patch ,but it seems that the MTU Is still 1337. The details is in the files. > That's expected. The MTU should still be 1337, but now OpenConnect should be prepared to accept a larger buffer from the tun device. It looks like the tun device is sending packets larger than the configured MTU. > I have try it again, when the errors occur,It will continue to work until I stop it by manual(Ctrl+C). > The mylog_After.txt and mylog_Before.txt show the result with "-v". I don't see any packets being transferred in those logs, and I don't see any of the errors. Did you need to run it for longer? Or perhaps you need '-v -v' on the command line; sorry, that changed recently. > I use one screen capture of error_after.jpg because that the > result with "-v" in the log file does not show the same error prompt > as the end of the error_after.jpg Do you need to redirect stderr to the file as well as stdout? -- dwmw2 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5745 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20140730/bb53c8e6/attachment.bin>