👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
2 58❤🔥27 21👌7🗿1
[fix] tcp channel improvement
[fix] increase timeout / tcp
[fix] increase timeout ws/wss
[fix] discard connections w/o timeout
[fix] accept channel
[fix] support v6 for ws/wss
[fix] logger+sniffer
[chore] set default buffer-size for ws/wss
[chore] increase panel refresh to 3 seconds
تغییرات مینور جهت بهبود عملکرد کلی برنامه.
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release v0.2.2 · Musixal/Backhaul
Changelog
[fix] tcp channel improvement
[fix] increase timeout / tcp
[fix] increase timeout ws/wss
[fix] discard connections w/o timeout
[fix] accept channel
[fix] support v6 for ws/wss
[fix] logg...
[fix] tcp channel improvement
[fix] increase timeout / tcp
[fix] increase timeout ws/wss
[fix] discard connections w/o timeout
[fix] accept channel
[fix] support v6 for ws/wss
[fix] logg...
5❤🔥35 24 18👌9🗿3
ترکیب وب سوکت و ماکس برای دور زدن محدودیت Rate Limiter کلادفلر و دیتاسنترهای ایران.
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
3❤🔥38 21 10👌5
[feat] new transport: wsmux, wssmux
[chore] increase port sniffer ticker to 15sec
[chore] add version to title / webpage
معرفی ۲ ترنسپورت جدید wsmux, wssmux. در گیت هاب پروژه میتونید نحوه کانفیگ رو یاد بگیرید.
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release v0.3.0 · Musixal/Backhaul
Changelog
1b7e2bb [feat] new transport: wsmux, wssmux
1b7e2bb [feat] new transport: wsmux, wssmux
5❤🔥25 13 7👌4🗿1
[fix] ws and tcp channel stability
[fix] fix restart issue for all transports
[fix] tcp stability
طبق لاگ هایی که فرستادید اکثر مشکلات TCP و WS که عمدتا مربوط به ریستارت بود رو حل کردم. بنابراین اگر باگی حین استفاده مشاهده کردید، حتما با ذکر لاگ و کانفیگ عنوان کنید که برطرف بشه. خطای connection timeout هم مربوط به تانل نیست و به دیتاسنتر بستگی داره.
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release v0.3.1 · Musixal/Backhaul
Changelog
597e51b bump version to v0.3.1
[fix] ws and tcp channel stability
[fix] fix restart issue for all transports
[fix] tcp stability
597e51b bump version to v0.3.1
[fix] ws and tcp channel stability
[fix] fix restart issue for all transports
[fix] tcp stability
3❤🔥31 14 11👌5
[fix] tcp/ws optimization
[feat] add workers for tcp tunnel listener
[fix] TCP_NODELAY
در این ورژن TCP_NODELAY رو اگر در کانفیگ ذکر نکنید به صورت دیفالت خاموش هست. پس اگر میخواید فعال بشه در کانفیگ مقدار زیر رو وارد کنید:
nodelay = true
حدود 200ms ممکنه اختلاف Latency پیش بیاد اگر خاموش باشه.
برای چک ورژن بکهال دستور زیر رو بزنید:
./backhaul -v
یا در صفحه ی وب هم میتونید از طریق Title متوجه بشید کدوم ورژن رو نصب کردید.
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release v0.3.2 · Musixal/Backhaul
Changelog
[fix] tcp/ws optimization
[feat] add workers for tcp tunnel listener
[fix] TCP_NODELAY
[fix] tcp/ws optimization
[feat] add workers for tcp tunnel listener
[fix] TCP_NODELAY
7❤🔥33 16👌8🗿5 3
Removal of Windows operating system support
[feat] Add SO_REUSEPORT and SO_REUSEADDR socket option to WS and TCP
[fix] Transferring pool connection management from server to client
Remove the port forwarder
[feat] New format of the port section
Changing the default values of some options
تغییرات این ورژن برای ترنسپورت ws و tcp هست. بهبود پروتکل های mux در صورت ریپورت باگ در ریلیز بعدی انجام میشه.
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
❤🔥29 8 7🗿3👌2
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
🎉۳۰۰۰ نفری شدیم! 🎉
این موفقیت بزرگ رو مدیون پدر و مادرم هستم که همیشه میگفتن: "پاشو از پای گوشیت!" و منم با تمام قدرت پا شدم... رفتم کانال رو چک کردم! 😬😂
این موفقیت بزرگ رو مدیون پدر و مادرم هستم که همیشه میگفتن: "پاشو از پای گوشیت!" و منم با تمام قدرت پا شدم... رفتم کانال رو چک کردم! 😬😂
15 111 50👌17❤🔥16🗿3
فکر کنم هدف موشکها خطوط ارتباطی کشور بود . باز نت نابود شد.🤣
Please open Telegram to view this post
VIEW IN TELEGRAM
* [Feat] Refactored MUX Transports.
* [Feat] Hot-Reloadable Configuration. Added support for hot-reloading the configuration file, allowing dynamic updates without restarting the application.
* Performance improvements across all transpors.
* Use io.copy for better performance.
* TCP control channel enhacement.
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release v0.4.0 · Musixal/Backhaul
Changelog
[Feat] Refactored MUX Transports.
[Feat] Hot-Reloadable Configuration. Added support for hot-reloading the configuration file, allowing dynamic updates without restarting the application...
[Feat] Refactored MUX Transports.
[Feat] Hot-Reloadable Configuration. Added support for hot-reloading the configuration file, allowing dynamic updates without restarting the application...
5❤🔥24👌2 2 2
فرض کنید میخواید ۸ تا کانکشن رو داخل یه استریم منتقل کنید. برای این کار عدد mux_con = 8 رو در کانفیگ ایران وارد میکنید. مخصوصا برای wsmux روی کلادفلر خیلی خوبه چون تعداد کانکشن های تانل رو کم میکنه. طبق تستهایی که انجام دادم ترنسپورتهای ماکس الان از tcp/ws بهتر عمل میکنند. عدد خیلی بالایی وارد نکنید. تا ۶۴ به نظرم معقوله.
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
1❤🔥26 7 2
* mux transports enhacement
* fix memory leak in mux transports
* using direct Read and Write for transferring data instead of io.copy
* fix panic on closed channels
* fix buges in mux transports
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release v0.4.1 · Musixal/Backhaul
Changelog
16a823d fix mutex unlock
db1b045 mux transports enhacement
83eace4 fix memory leak in mux transports
6fab7c0 using direct Read and Write for transferring data instead of io.copy
df8d5cb ...
16a823d fix mutex unlock
db1b045 mux transports enhacement
83eace4 fix memory leak in mux transports
6fab7c0 using direct Read and Write for transferring data instead of io.copy
df8d5cb ...
❤🔥25👌1🗿1
⭐️ increase channel handler capacity⭐️ Apply temporary TCP optimizations for Linux⭐️ change default dial timeout to 10 seconds⭐️ Implement retry logic for TCP/WS dialer to mitigate timeouts⭐️ fix: close connection after failed handshake⭐️ Fixed server-side panic by ensuring valid tunnel connections⭐️ fix mux transport better error handling⭐️ Introduce 1ms delay after opening SMUX stream to prevent header misinterpretation in WebSocket mode
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release v0.4.4 · Musixal/Backhaul
Changelog
7f96e7b Introduce 1ms delay after opening SMUX stream to prevent header misinterpretation in WebSocket mode
e1d6bf6 increase channel handler capacity
04f4526 Apply temporary TCP optimiza...
7f96e7b Introduce 1ms delay after opening SMUX stream to prevent header misinterpretation in WebSocket mode
e1d6bf6 increase channel handler capacity
04f4526 Apply temporary TCP optimiza...
3❤🔥25👌7 5🗿3
connection_pool=8 قرار بدید، بکهال به صورت دینامیک طبق تعداد کانکشن هایی که هندل میکنه این سایز رو افزایش میده و اگر نیاز بود مجددا به مقدار پایه یعنی ۸ که تعیین کردید کاهش میده. دینامیک بودن سایز pool باعث میشه که کیفیت تانل با افزایش کانکشن ها کاهش چشمگیری پیدا نکنه. در صورتی که فیدبک بدید میشه این قابلیت رو به مرور بهبود داد.👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release v0.4.5 · Musixal/Backhaul
Changelog
e991cc2 fix: remove data handler when sniffer is off
41b4826 Fix: feat(poolMaintainer): introduce dynamic pool size adjustment and better connection pool management
39a4d32 feat(poolMain...
e991cc2 fix: remove data handler when sniffer is off
41b4826 Fix: feat(poolMaintainer): introduce dynamic pool size adjustment and better connection pool management
39a4d32 feat(poolMain...
2❤🔥45🗿7 7
Fixed + Control Flow implemented🤖
به نظرم سختترین قسمت بکهال تا الان قسمت PoolMaintainer بوده. چون توی محیط لوکال نمیشد تستش کرد و این که خیلی فاکتورها روش تاثیر داشت مثل Latency بین دو سرور، لود متغیر کانکشن های سرور ایران، تایم اوت شدن بعضی کانکشن ها و ... . ولی خب تو این ورژن میشه گفت به یه راه حل خوب ولی پیچیده برای حل این مشکل رسیدم. دینامیک شدن Pool باعث میشد با توجه به لود کانکشن های سرور ایران مقدار Pool تعیین بشه. نتیجه اش حفظ Latency در پایین ترین مقدار و بالا نرفتن کانکشن های تانل میشه.
🔗 https://github.com/Musixal/Backhaul/tree/v0.4.5
👁@Gozar_Xray
به نظرم سختترین قسمت بکهال تا الان قسمت PoolMaintainer بوده. چون توی محیط لوکال نمیشد تستش کرد و این که خیلی فاکتورها روش تاثیر داشت مثل Latency بین دو سرور، لود متغیر کانکشن های سرور ایران، تایم اوت شدن بعضی کانکشن ها و ... . ولی خب تو این ورژن میشه گفت به یه راه حل خوب ولی پیچیده برای حل این مشکل رسیدم. دینامیک شدن Pool باعث میشد با توجه به لود کانکشن های سرور ایران مقدار Pool تعیین بشه. نتیجه اش حفظ Latency در پایین ترین مقدار و بالا نرفتن کانکشن های تانل میشه.
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
2❤🔥52👌9 7
نمیدونم روی بهینه سازیش کار کنم یا کلا کنارش بذارم، چون پیاده سازی UDP مشکلات خودش رو داره
👁️@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
4👌79❤🔥22🗿6 5
* Feat: Fully support UDP over TCP with congestion control
* Increase TCP read/write buffer memory for better UDP support
* Feat: Add workers based on CPU threads
* Fix: add new signal func for udp support
* add accept_udp options to server side
* minor log and channelHandler enhancement
مهم ترین ویژگی این ریلیز اینه که UDP ساپورت میشه و در حالت عادی غیرفعال هست. برای استفاده از UDP اول ترنسپورت TCP رو انتخاب کنید و بعد آپشن
accept_udp=true رو به کانفیگ ایران اضافه کنید. طبق تست هایی که با وایرگارد انجام دادم اوکی بود و قابل استفاده است. البته قسمت congestion control جای بهتر شدن داره اگر فرصتی بود. تغییر دیگه هم اضافه شدن ورکر به تمام ترنسپورت ها هست که پرفورمنس و Latency رو در کانکشن های بالا، بهبود میده.
کانکشن پول هم کامل تر لاگ میندازه که برای دیباگ مناسبه. فعلا سطح لاگ Info هست.
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release v0.5.0 · Musixal/Backhaul
Changelog
7a30fef Increase TCP read/write buffer memory for better UDP support
0675482 Feat: Add workers based on CPU threads
abff19f Fix: add new signal func for udp support
e41897e add accept_ud...
7a30fef Increase TCP read/write buffer memory for better UDP support
0675482 Feat: Add workers based on CPU threads
abff19f Fix: add new signal func for udp support
e41897e add accept_ud...
21👌36❤🔥15🗿9
* Fix bugs related to tcp/tcpmux channel handler
* Reduced number of retries to 2 for ws/tcp dialer
* Fix bugs related to ws/wsmux channel handler
* Decrease poolMaintainer interval to 30 seconds
* Fix: Decrease time overhead from 8 bytes to 4 bytes for timestamp storage in UDP
* Feat: RTT measurement over control channel
لطفا آپدیت کنید. مخصوصا افرادی که ws/wsmux استفاده میکنند.
👁@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release v0.5.1 · Musixal/Backhaul
Changelog
445b717 Fix bugs related to tcp/tcpmux channel handler
ca9f0d0 Reduced number of retries to 2 for ws/tcp dialer
1fdc49c Fix bugs related to ws/wsmux channel handler
97f897c Decrease po...
445b717 Fix bugs related to tcp/tcpmux channel handler
ca9f0d0 Reduced number of retries to 2 for ws/tcp dialer
1fdc49c Fix bugs related to ws/wsmux channel handler
97f897c Decrease po...
❤🔥23 6👌4🗿2
تستهای اولیه UDP رو انجام دادم. در حال حاضر بکهال هم UDP over TCP رو پشتیبانی میکنه و هم Reverse UDP رو که مورد آخر ریورس خوب براش خیلی کم پیدا میشه، اگر پیدا بشه!🦦
👁️@Gozar_Xray
Please open Telegram to view this post
VIEW IN TELEGRAM
5❤🔥42 13👌9