DreamSocks

开发背景

6月,一个事件多发的月。
受各种政治事件影响,国际互联网的连接变得非常敏感。
大量IP被封锁,联网工具无法使用,连SSH都无法连接,查资料变得异常困难,严重影响到开发。

工作流程

为了保证兼容性,跟某知名联网工具基本一致。
本地客户端支持HTTP/Socks4/Socks5网络连接,支持Pac模式。

连接合并

与某工具最大的不一样,项目使用的是单一连接。
所有的资源请求在客户端与服务端之间,都会转变为单一连接。
简单地说,就是相当于项目内建了HTTP/2的多路复用加速功能。
在流量干扰严重的情况下,连建立连接都是困难的,浏览器的多个请求的连接建立会变得非常缓慢,甚至失敗。
通过单一连接,不需要多次新建连接,减免了连接握手的时间,可以维持一个相对稳定的网络,也增加了隐匿性。

乱序发送

在服务端与客户端的数据传输上,数据被分拆成多个数据包,乱序发送,再由客户端多线程下载、组装、还原原始数据。
一方面是方便多线程加速下载,另一方面,因为原始数据被打乱了,大量穿插其他数据,所以更难检测出原始数据,增加隐匿性。
因为流量加密,数据分拆乱序,以及TCP分界等的原因,从ISP的角度来看,即使是复制所有连接数据,也无法获得正常的原始文件/加密文件。

白名单

客户端支持白名单功能,结合Pac模式实现黑白名单。
白名单不进行流量加密,直接走本地流量,加速访问。

双向认证

服务端与客户端之间采用证书双向认证。
一方面减少网络攻击,另一方面也可以伪装成普通的SSL/TLS流量。

运行效果

在这个政治事件多发的月份,某工具连接30秒就断开,完全无法使用的情况下,通过DreamSocks可以稳定地浏览国际互联网。

1,148 评论

  1. ayurvedu ayurvedic doctor jobs in delhi http://pw.cp68.net/home.php?mod=space&uid=823024

    The dye in the eclipta alba plant might be formed into an oil and massaged in to the greying hair.

    This is achieved by diet, lifestyle, Marma (Ayurvedic Acupressure) massage with
    herbal oils, utilization of herbal poultices, Nadi Svedan (herbal
    steam treatments), herbal oil dhara (oil dripping) treatment
    around the affected areas of the body, herbal formulations and Panchakarma
    (detoxification and rejuvenation therapies). Asparagus Racemosus
    (Shatavari) and Tribulus Terrestris (Tribulus) – in case you are taking medications for hormonal imbalances, use caution.

  2. I will right away snatch your rss as I can’t to find your email subscription hyperlink or e-newsletter service. Do you have any? Please permit me realize so that I could subscribe. Thanks.

  3. Pingback: Kobe Bryant Jersey
  4. Nice read, I just passed this onto a colleague who was doing some research on that. And he just bought me lunch as I found it for him smile Therefore let me rephrase that: Thanks for lunch! “We steal if we touch tomorrow. It is God’s.” by Henry Ward Beecher.

  5. Pingback: Yeezy Mafia
  6. Pingback: Human Race Shoes
  7. Pingback: Yeezy 380
  8. Pingback: Air Max 97
  9. Pingback: Yeezy 380
  10. Pingback: Air Max 270
  11. Pingback: Adidas Yeezy
  12. [url=http://vardenafil20.com/]vardenafil professional[/url] [url=http://indocinonline.com/]indocin sr 75 mg[/url] [url=http://sildenafilx.com/]sildenafil[/url] [url=http://acyclovir400.com/]valacyclovir valtrex[/url]

  13. [url=http://advair250.com/]advair diskus online[/url] [url=http://tadaciponline.com/]tadacip cipla[/url] [url=http://albendazoletablets.com/]albendazole 400 mg[/url] [url=http://propecia8.com/]propecia hair growth[/url] [url=http://viagraforwomen.com/]pink viagra for women[/url]

  14. [url=https://indocinonline.com/]indomethacin indocin[/url] [url=https://lasix0.com/]where to buy lasix water pill[/url] [url=https://prednisolonetablets.com/]prednisolone 10 mg[/url] [url=https://20tadalafil.com/]tadalafil[/url] [url=https://zoloft50.com/]zoloft[/url] [url=https://dapoxetineonline.com/]dapoxetine[/url] [url=https://prednisone5.com/]prednisone[/url] [url=https://sildenafil360.com/]sildenafil online[/url] [url=https://cafergotbuy.com/]buy cafergot[/url] [url=https://lipitor20.com/]lipitor 20mg[/url] [url=https://seroquel50.com/]seroquel for sleeping[/url] [url=https://sildenafilx.com/]sildenafil citrate 100mg tab[/url] [url=https://clomidforwomen.com/]buy clomid online[/url] [url=https://albuterol100.com/]albuterol sulfate inhaler[/url] [url=https://tadalafil20tab.com/]buy tadalafil[/url] [url=https://doxycycline1.com/]doxycycline[/url] [url=https://motilium5.com/]motilium[/url] [url=https://doxycycline200.com/]where to get doxycycline[/url] [url=https://tadalafil365.com/]tadalafil generic cialis[/url] [url=https://vardenafil20.com/]vardenafil[/url]

  15. [url=http://propecia8.com/]buy propecia online cheap[/url] [url=http://synthroid75.com/]synthroid 150 mcg[/url] [url=http://cialis5.com/]5 mg cialis[/url] [url=http://dapoxetineonline.com/]buy dapoxetine online[/url] [url=http://motilium5.com/]generic motilium[/url]

  16. Pingback: Nike Outlet
  17. fantastic issues altogether, you simply received a logo new
    reader. What might you suggest about your post that you
    simply made some days in the past? Any positive?

    P.S. If you have a minute, would love your feedback
    on my new website
    re-design. You can find it by searching for «royal cbd»
    — no sweat if you can’t.

    Keep up the good work!

  18. [url=https://retinacrm.com/]buy retin-a gel[/url] [url=https://wellbutrin911.com/]buy wellbutrin[/url] [url=https://citalopram24.com/]citalopram hbr 20[/url] [url=https://hydroxychloroquine4.com/]hydroxychloroquine over the counter[/url] [url=https://lexepro.com/]lexapro generic 2019[/url] [url=https://bupropion911.com/]150 bupropion[/url] [url=https://amoxicillinrem.com/]amoxicillin 500[/url] [url=https://ciprorx.com/]cipro xr[/url] [url=https://acyclovirv.com/]zovirax pill[/url] [url=https://metforminmed.com/]metformin 500mg[/url]

  19. Pingback: Kobe Bryant Jersey 24
  20. Pingback: MLB Jerseys
  21. Pingback: Pandora Canada
  22. [url=https://bectrim.com/]bactrim 800 mg[/url] [url=https://buspar365.com/]buy buspar[/url] [url=https://bupropion911.com/]bupropion xl[/url] [url=https://dapoxetine20.com/]buy dapoxetine[/url] [url=https://kamagrabest.com/]kamagra eu[/url]

  23. Pingback: NBA Jerseys
  24. Pingback: Nike Outlet Store
  25. [url=https://toradolrx.com/]toradol over the counter[/url] [url=https://synthroidsale.com/]synthroid buy[/url] [url=https://tadalafilrem.com/]tadalafil 5 mg[/url] [url=https://sildenafilv.com/]sildenafil pills sale[/url] [url=https://femalepinkviagra.com/]female viagra sildenafil[/url] [url=https://indocinrx.com/]indocin 75 mg[/url] [url=https://baclofenonline.com/]buy baclofen[/url] [url=https://levitrav.com/]levitra online canada[/url] [url=https://advairdisk.com/]cheapest price for advair[/url] [url=https://cymbaltarx.com/]cymbalta rx coupon[/url]

  26. [url=https://baclofenonline.com/]baclofen medication[/url] [url=https://kamagraed.com/]where to buy kamagra[/url] [url=https://sildenafilv.com/]where to buy sildenafil online with paypal[/url] [url=https://prednisonesr.com/]prednisone 20mg[/url] [url=https://benicar24.com/]generic for benicar[/url] [url=https://cialissr.com/]generic cialis[/url] [url=https://trazodonemed.com/]trazodone purchase online[/url] [url=https://toradolrx.com/]toradol discount[/url] [url=https://synthroidsale.com/]buy synthroid over the counter[/url] [url=https://levitrav.com/]cheapest levitra 20mg[/url] [url=https://ampicillin24.com/]where to buy ampicillin[/url] [url=https://amoxicillinzt.com/]amoxicillin 875mg[/url] [url=https://seroquel365.com/]seroquel 50mg coupon[/url] [url=https://prednisonestrd.com/]where can i buy prednisone[/url] [url=https://amoxicillinlab.com/]amoxicillin buy australia[/url] [url=https://indocinrx.com/]generic for indocin[/url] [url=https://tadalafilrem.com/]generic tadalafil without prescription[/url] [url=https://tadalafilm.com/]tadalafil 20[/url] [url=https://tadalafilcls.com/]tadalafil 20mg price generic[/url] [url=https://cymbaltarx.com/]cymbalta generic[/url]

  27. [url=https://cymbaltarx.com/]cymbalta generic[/url] [url=https://propeciaph.com/]propecia 5mg buy[/url] [url=https://robaxinmed.com/]buy robaxin[/url] [url=https://prednisonestrd.com/]where to buy prednisone without a prescription[/url] [url=https://indocinrx.com/]indomethacin[/url]

  28. [url=https://amoxicillintz.com/]amoxicillin 875mg[/url] [url=https://erythromycin24.com/]erythromycin online[/url] [url=https://metforminglc.com/]metformin er 500 mg[/url] [url=https://proscar.us.org/]buy proscar online[/url] [url=https://sumycin365.com/]buy sumycin online[/url] [url=https://ciproflxn.com/]cipro 500 mg tablet[/url] [url=https://triamterene.us.com/]prescription drug triamterene[/url] [url=https://kamagra360.com/]kamagra 100[/url] [url=https://inderal.us.com/]generic inderal 10mg[/url] [url=https://glucophagge.com/]can you buy glucophage online[/url]

  29. [url=https://proscar.us.org/]proscar 1mg[/url] [url=https://fluconazole.us.com/]buy fluconazole online[/url] [url=https://valacyclovir.us.com/]zovirax pill[/url] [url=https://inderal.us.com/]buy inderal[/url] [url=https://baclofenp.com/]baclofen generic[/url]

  30. [url=https://effexor24.com/]buy effexor[/url] [url=https://metforminglc.com/]metformin 500[/url] [url=https://celebrex.us.com/]celebrex 2018[/url] [url=https://triamterene.us.com/]triamterene medication[/url] [url=https://zoviraxav.com/]cheapest zovirax cream[/url] [url=https://lisinoprilm.com/]lisinopril 10mg[/url] [url=https://furosemide.us.org/]furosemide 50 mg[/url] [url=https://prozac.us.com/]buy prozac[/url] [url=https://glucophagge.com/]glucophage xr generic[/url] [url=https://amoxiltabs.com/]amoxil cost uk[/url]