FakeTlsTunnel icon indicating copy to clipboard operation
FakeTlsTunnel copied to clipboard

Some packet loss or EOF !

Open hawshemi opened this issue 1 year ago • 7 comments

First of all, good job.

I ran it and connected successfully on Iran and EU VPSs.

But I noticed sometimes I get EOF (1 out of 5 times when I tcping), especially on MCI and MTN ISPs. It's like packet-loss-ish or something! Is it for SNI which has disruption on those ISPs? or is it the nature of the FTT?

Also, this happens when I first connect to the server and make the first ping. after one or two pings, the tunnel is connected. (it's like it has some delay for starting up?)

I run the FTT with nohup and exit the SSH.

hawshemi avatar Jun 24 '23 14:06 hawshemi

ببینید این بحث EOF رو من ایفون دارم و اونجا مثل v2rayng هند شیک تایم نمیده ولی به هرحال یه اندروید اوردم و تست کردیم هم ایرانسل و هم همراه اول با حدودا ۲۰ بار هرکودوم هند شیک گرفتم و یک بار هم EOF فایل مشاهده نکردم ؛ در ستاپتون اول sni های مختلف رو تست کنید و احتمالا مشکل رفع میشه ولی اگه مشکل رفع نشد یا ایپی سرور خارج کامل تمیز نیست یا اینکه کیفیت اینترنت دیتا سنتر ایران مناسب نیست هردوش ممکنه

روی v2rayng ؛ tcp ping هم تست کردم و مشکل یا اختلالی ندیدم

روی سرور هاتون بهتره که bbr اتسفاده کنید

radkesvat avatar Jun 24 '23 15:06 radkesvat

So it can be for v2rayng application? I tested with v2rayng v1.8.5 xray-core 1.8.1 on Android 12 and saw these EOFs on that. (more on MCI). But they are not in high amounts. the connection and experience are like a normal VPN without tunnelling. I was just curious about what those EOFs are.

SNI: data.services.jetbrains.com IR VPS: Arvancloud

hawshemi avatar Jun 24 '23 15:06 hawshemi

Try these sni's and see if they can improve the results:

superuser.com

alexa.com

i.stack.imgur.com

radkesvat avatar Jun 24 '23 16:06 radkesvat

Tried those SNIs and some other SNIs with the ISPs I have.

No matter the ISP and SNI, all of the First pings are almost always EOF. It's like the tunnel goes into some sort of sleep after no data transmission and when the first data is requested it returns EOF and then the tunnel is transmitting the data after the second request. Or it could be just the nature of the Arvancloud to the foreign VPS TLS connection...

hawshemi avatar Jun 24 '23 18:06 hawshemi

اینو میشه بیشتر برسی کرد شاید از تونل باشه که اولین کانکشن fail بشه شایدم نباشه ؛‌ بعدا دقیق تر توضیح میدم اگه چیزی پیدا کنم

radkesvat avatar Jun 24 '23 18:06 radkesvat

من هم مشکل مشابهی رو در اولین نصب داشتم با نصب مجدد پنل سرور خارج + نصب مجدد فایل تونل روی سرور داخل مشکل برطرف شد و الان پینگ EOF نمیده ولی با این حال اولین اتصال بعد از مدتی استفاده نکردن حداقل 10-20 ثانیه طول میکشه که ببینیم واقعا کانکت میشه یا خیر

danyalfa79 avatar Jun 24 '23 20:06 danyalfa79

روی دو تا دیتا سنتر مختلف ایران تست کردم . سرور های خارج آی پی کاملا تمیز بوده . ترکیه ، آلمان ، فرانسه . در همه حالات EOF گرفتم .

behroozaez avatar Jun 28 '23 08:06 behroozaez