Gozargah / Marzban

Unified GUI Censorship Resistant Solution Powered by Xray
https://t.me/gozargah_marzban
GNU Affero General Public License v3.0
2.72k stars 396 forks source link

Policy #975

Open xmohammad1 opened 2 months ago

xmohammad1 commented 2 months ago

سلام وقت بخیر لطفا امکان تغییر Policy رو به قسمت xray core بیارید https://github.com/Gozargah/Marzban/blob/master/app/xray/config.py#L70 الان توسط این فایل ساخته میشه ضاهرا

M03ED commented 2 months ago

سلام وقت بخیر لطفا امکان تغییر Policy رو به قسمت xray core بیارید https://github.com/Gozargah/Marzban/blob/master/app/xray/config.py#L70 الان توسط این فایل ساخته میشه ضاهرا

تغییر اشتباه در policy میتونه باعث اختلال در مرزبان بشه چه نیازی به این تغییر دارید ؟

xmohammad1 commented 2 months ago

https://xtls.github.io/en/config/policy.html#policyobject بر حسب این لینک میخواستم کمی تغییرات ایجاد کنم مثلا نوشته برای اچ تی تی پی بروزینک این تغییر رو ایجاد کنید میتونه باعث بهبود کارایی در بسته شدن اتصال بشه In the scenario of HTTP browsing, you can set uplinkOnly and downlinkOnly to 0 to improve the efficiency of connection closing. یا یه سری از این موارد

fodhelper commented 1 month ago

Good idea, I also like to play with handshake, connIdle and bufferSize options