Shadowsocks author clowwindy tea recently and then emptied his entire project code。One week after goagent quietly clear out all of your project's code。Github is a massive DDOS attack。
existIt is time to use the PAC whitelistArticle I introduce an anti-gfwlist road white list PAC,It is different from the former GFWed domain name match,But no match is GFWed domain name ... ... All right,I also very much agree with the ideas of the author – now use whitelisting is the trend。
In short,For the people who want to use your custom PAC,After all, an integrated set of tools is essential--,We are accustomed to graphical user interface。
Quietly disappear GoAgentX
In our recent series of "big events" when panic,OS x is simple and easy to use GoAgentX but have quietly disappeared into the sea。I hand version is 2.3.7 ,Probably this is the last version of it--I don't find the updated version。
Its website has not open,Github project code has also been cleared。But the good news is,This last version is now even 10.11 Also run well on--the only downside may be opened when the firewall prompts networking (signature expired)。
Continue to use the
but,If you are not using the OS x built-in firewall,Then you don't need to deal with this dialog box--I recommend you turn it on。
GoAgentX supports several types of proxy services,Smart opened and switch (if the ports the same switch) services,And these services are in the form of plug-in to join--which means that weUpgrade of service can still used to GoAgentX。so,Before the main program cannot use,We can still continue to use it without having to worry about out of date。
PAC Configuration
On the PAC configuration here will not go into,We use the GoAgentX to the white list,Or more acid to use ShadowsocksX not cool。so,Please refer to It is time to use the PAC whitelist 。
Update Service
No one GoAgentX maintenance,Update button cannot be used anymore,We were unable to upgrade the main program,But you can manually upgrade the plug-in。You only need to access /Applications/GoAgentX.app/Contents/PlugIns You can see the plugin。We also right click with your mouse button to "show package contents"。
Update Shadowsocks
Wen said project file SS before although we have emptied,But either way,This is an open source project,so......
GoAgentX In order to facilitate possible,Default is not the SS project,But an extension project shadowsocks-libev (In fact, there are three versions in plugins directory inside the SS,You can switch advanced configuration in any,Here, we use only in the process of updating and maintenance of SS-libev),We can update it。Its version number is in the GoAgentX 2.3,The major version number and in fact this is the SS ... ...?
Taking into account the compilation is a very troublesome thing,We select from Homebrew Extract, brew Is similar to Linux in OS x apt-get or yum The package management system,If you don't know what it is,--HereLook。
We use the following command to install the brew。
1 |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
note
To install the BREW,You have to first install Xcode。--Even if you choose to download the source code to compile,Also need Xcode。
Use the command brew install shadowsocks-libev To install it,Then you can go to /usr/local/Cellar/shadowsocks-libev/2.3.0/bin Next copy SS-local replace /Applications/GoAgentX.app/Contents/PlugIns/shadowsocks.gxbundle/Contents/Resources/bin/libev/ss-local La!
Another way to update
Here,Thanks xsharp Students,He updates us SS client provides a new way of thinking,Due to the SS-libev version is already installed on your system,We can also let g oAgentX use SS instead of its plug-in installed on your system in the SS ,Even top complex replaces the province:
turn up /Applications/GoAgentX.app/Contents/PlugIns/shadowsocks.gxbundle/Contents/Resources/bin/libev/ss-local ,Delete it,Then, use the following command to create an empty document:
1 |
touch /Applications/GoAgentX.app/Contents/PlugIns/shadowsocks.gxbundle/Contents/Resources/bin/libev/ss-local |
Edit this document,Write the following code:
1 2 |
#!/bin/bash ss-local $@ |
And then use the chmod +x /Applications/GoAgentX.app/Contents/PlugIns/shadowsocks.gxbundle/Contents/Resources/bin/libev/ss-local To add executable permissions。
In that case,SS of the GX system is called instead of the SS in the plug-in。Later update,Do not need to be repeated to copy files。
Other,If you want other new performance parameters such as one-time validation,Then write:
1 2 |
#!/bin/bash ss-local $@ -A |
The finishing touches
For GoAgentX plugin page can display the correct version number (if you don't care the details,You don't want to see here),We modify the following files:
1 |
/Applications/GoAgentX.app/Contents/PlugIns/shadowsocks.gxbundle/Contents/Info.plist |
Locate the version number string,Can be modified to correspond to the latest version:
Update the COW
We update the cow,Cow is also aOpen source projects,It automatically based on your visit to determine whether the site is wall,If the wall,Automatically uses the secondary proxy to access,Personal analyticsover time,Cow will be based on your browsing behavior to a variety of wall's website,It's like automatically generated gfwlist。Following was written by the author describes:
COW is a simplified through HTTP proxy server。It can automatically detect the wall website,Only to those using the two-class agent。
I personally do not recommend that you use in the public cow,This I will say。but,For people to use in the GoAgentX COW (GoAgentX really easy! ) With new COW is necessary in。
First of all,We use curl -L git.io/cow | bash To download the latest version of the COW,for Install cow binary to which directory The problem,We directly press ENTER to save it to the current directory;for Start COW upon login? (If yes, download a plist file to ~/Library/LaunchAgents) [Y/n] This should note,We aim to extract cow program files,Instead of installing,So you want to enter nTo cancel the automatic start。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
╰─➤ curl -L git.io/cow | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 134 0 134 0 0 31 0 --:--:-- 0:00:04 --:--:-- 141 100 4072 100 4072 0 0 749 0 0:00:05 0:00:05 --:--:-- 14594 Install cow binary to which directory (absolute path, defaults to current dir): No installation directory given, assuming current directory Start COW upon login? (If yes, download a plist file to ~/Library/LaunchAgents) [Y/n] n Downloading cow binary http://dl.chenyufei.info/cow/0.9.6/cow-mac64-0.9.6.gz to /tmp/cow.Zg0ESL/cow.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1595k 100 1595k 0 0 150k 0 0:00:10 0:00:10 --:--:-- 171k Move /tmp/cow.Zg0ESL/cow to /Users/logcg (will run sudo if no write permission to install directory) Update finished. |
When your directory (default should be /~ ) Program file will have a cow:
We go to the GoAgentX in the plugin directory (access methods, see above),Found COWService.gxbundle,Right click with the mouse button to "show package contents",Specific paths are as follows:
1 |
/Applications/GoAgentX.app/Contents/PlugIns/COWService.gxbundle/Contents/Resources/bin/cow |
We replace this cow for pet cow。
The finishing touches
For GoAgentX plugin page can display the correct version number,We modify the following files:
1 |
/Applications/GoAgentX.app/Contents/PlugIns/COWService.gxbundle/Contents/Info.plist |
Locate the version number string,Can be modified to correspond to the latest version:
Can't find cow version?
1 2 |
╰─➤ ./cow --version cow version 0.9.6 |
Update GoAgent
Goagent the blog owners,so............ New big,Too lazy to figure out the,To recommend a substitute forxx-net
- Integrated GoAgent、GoGoTest automatic scan IP,Save effort
- Web interface,Human interaction,Fool and easy
- Built-in public AppID, Newbie
- User-friendly details、Detail tips
Update Stunnel
Stunnel is also a very good agent options,That came with the GoAgentX version 4.56,And the latest version has 5.22,Before we use it also need to be upgraded。
Go to the official website to download the latest version to compile is a good option,But too much trouble,We extracted from the Homebrew。use brew install stunnel Installing stunnel,After the installation is complete you can /usr/local/Cellar/stunnel/5.22/bin Locate the stunnel program files!
We copy it to /Applications/GoAgentX.app/Contents/PlugIns/StunnelService.gxbundle/Contents/Resources/bin/ .。
The finishing touches
Same edit /Applications/GoAgentX.app/Contents/PlugIns/StunnelService.gxbundle/Contents/Info.plist To modify the version number of the file:
Original article written by LogStudio:R0uter's Blog » GoAgentX subsequent maintenance and use
Reproduced Please keep the source and description link:https://www.logcg.com/archives/1296.html
Sierra where you can use unmodified original GoagentX2.3.7,I am currently is so。Modified version does not use。
BREW install shadowsocks-libev times wrong:Need to install prerequisite,Install to prompt XZ cannot run c compiled programs,This problem has a solution, please?
Please try to install Xcode 7
I have installed。。7.3.1。。。
Probably because I'm using Sierra's relationship。。。?
Exactly,BREW of poor for OSX beta is compatible。
Really crying。。。Sierra GAX SS cannot be used,SS people update it, they can use。。。Results can only be rolled back shadowsocksX。。。
Directly modifying the app content,Would certainly be damaged certificate,Nature will always prompt Internet ... ...
Seeking a 2.3.7 source code,I cannot seem to find on the Internet that,Are older versions of,Thanks
Mailbox:
NDA4NDg3ODMzQHFxLmNvbQ==
2.3.7I don't have the source code,Only a compiled file。The file itself is the certificate expires,Tip network,I'm not using its own certificate to sign。Without is no it,GoagentX does not have the latest online source,It really must go now。Now I use surge Mac,If you're using, I could send you my profile。 :)
Thank you ~
You can use
'codesign -v /Applications/GoAgentX.app’
To check the signature is corrupted,If not then return。
use
'codesign -dvvvv /Applications/GoAgentX.app’
To check the current signature information,My version of open networking does not appear prompting,This prompt appears very likely bundle (malicious? ) Modified the。
I have surge Mac,But it does not have ssh-agent,The ssh agent can use the public network up the ladder into the company intranet,VNC his computer or something very convenient。For me goagentx is no substitute for。
Yes,There is no problem,My version is a beta,Because the Internet now will not find this version。SSH directly with a command or script I do not have the command,Because words will be detected and then over the wall shield。I used SSH is a direct command line configuration:) Surge is designed to scale the wall。and,I also specifically for the maintenance (in fact, now is a reference list of predecessors) have a double wall white list rules,Very good haha。
Because we have a lot of internal Web services,Transfer using SSH SOCKS proxy you can slightly open in browser,And proxychains4g can be used directly from within the command line git pull out,SCP without first git clone to an intermediate server,Save a lot of time,Are actually individual needs。
My pull list from here:
https://github.com/breakwa11/gfw_whitelist
Schedule daily git pull can automatically update,If you define site can join the auto-merge shell script,Don't use their maintenance。
Say your blog is really nice,As a not is too cool for HTML developers。
Then you can look at my list of HTTPS://Github.com/R0uter/gfw_domain_whitelist my blog using Wordpress to build,I can't either,So they installed some plugins to optimize,Background has done a lot of optimization,Haha。
If I were you,I have VPN directly ... ... Hey, Hey。Simple and easy。
Great God! Follow
XD jam,I changed the format is according to God's results。I had to write a crawler,But because they have past I cancelled the reptile project turned to the God of the,List is very comprehensive。The question now is how to find a way to list according to the site's popularity cuts volume。
Load balancing for good ideas,But can reduce the availability of,Even not greatly increases the chances of ... ... You can think about how to improve usability,If periodic automated test agent list and select the packet drop rate as the default PAC would be nice。
Exactly,Eva sauce submitted by saying when she broke,Especially when the line speed is different,Are going to be very ... ... 2. but my JavaScript is not a bad,I think in the future to continue to explore。In fact, I did not ask for this PAC,Just use the white list,When used before then also turn off the load balancing to use hehe。Free try。
Hello there,Do you still have 2.3.7 Source code please?
If there is,I will maintain the,I'm sorry,Current network not found。
Google Code and GitHub now only 1.3 The source code,2.X only DMG and XML files。
Yes ... ... Now use leve4 instead of--Oh,May have to wait a few months to support SS。If over time it does not support,I will consider writing a Manager,After all, I'm using the:)
If you want to support SS-local OTA (-A), And ideas? Create a shell file named SS-local? In the shell with the-a argument,And the other parameters are forwarded to the original SS-local。Like this:
#!/bin/bash
ss-local $@ -A
I'll think about it,It is necessary to use a one-time validation? You say the bogus methods may have to write a binary instead of shell,If there are results,I'll get back to you:)
I think I found a way,Can add all SS support for GX's new features,I hope you contact me:)
Uh,In my reply above method can,Pro test,How simple it。
It can be closed? I wrote that cannot be turned off,I went to try it your way ... ... Should in theory not Ah ~ ~ ~
Haha,You should be able to shut down by the GoAgentX,But directly calling the SS system installed in the client rather than the GX plugin ... ... Or,Save to copy it again every time you upgrade it!
--It seems my services now support a one-time validation。
=。= OK,Advanced function templates cannot be used to do,I swift wrote a shell,Can theoretically support all the parameters,Disadvantage is that you must manually close the。I guess you SS servers that they built themselves? I tested my service card does not support this feature =。=|||In short,Or the sentence "it is usable。”……
Thanks PO。Decisive favorite this。Fear that a follow-up under the GoAgentX plugin cannot update。Do not know if you have tried accessing Meow?
I went to study under the,I'm sorry,Meow was born fully supports the cow,But one by one, unfortunately Meow's profile directory renamed .meowGot it,GX configuration directory of the cow is .cow,So ... ... We are unable to。
If you want to match MEOW,Can directly do MEOW's two agent,For example a 3proxy services,Profile MEOW wrote death of IP and port。Just doesn't make sense,Because the Surge and similar open source tools,Can also do MEOW's two agent,Works better,And either commercial or open source,Should in most cases be replaced are no longer maintained by GoAgentX。
yes,Now I change the Surge,It really didn't go to struggling GoAgentX access Meow。
Just saw xsharp,Can be used on MEOW,Bundle of COW directly write a shell script that maps to MEOW,Ln-s. cow. Meow,Measuring the effective
Talent! Nice try!
Must first install Xcode? Words not compiled directly to replace it? Mac file browser egg pain,He did not want to allow users to directly manipulate files,IOS is extreme
No compiled programs, can not be used,But you can try Python version,So you need to configure the switch line。You should try:)
or,You might also consider to find pre-compiled ~
Wrong wrong,I'm a Mac does not have the,Don't know what the problem,Very weird,I'll study
I found a problem that is, COW I updated to 0.9.6 version no problem,But change the Info.plist file inside the version number,Reset post start the service when there is no COW,Have to change back to normal 0.9.3
Now I haven't encountered this problem,May be I did not continue to use the cow updated ... ... Now I go to configure a try,My is 0.9.6,If you reproduce the problem,I will get back to you:)
HA HA HA ~ ~ I did not encounter this problem,Automatic detection of cow that I don't like,But its hash load balancing is very impressive! I had three lines and then load balancing,Open Web pages are searched。Grab bag,Walking two opening the Twitter at the same time line,It's perfect!
No way,I have tried again many times,Is in the Bundles tab you can see the COW version 0.9.6 is no problem,But point + adds in Services tab options you won't find a COW,Or you keep your package send me try
You configure so see the cow banned? I now go back to the cow with his hand written list ... ... But still doesn't work well,Sometimes cow will still be blacklisted domain name to direct,Alas。
I feel like the cow do sometimes have a problem,Especially when connected with cow shadowsocks slower than native good,Don't know if you have GoAgentX2.3.7 source,I want to maintain
QQ details。
Shadowsock component inside the Python module how to update it?
Other than eyeballing a libev is nothing more,You even deleted OK,It does not call ... ... Of course, I haven't had to know。Theoretically you have direct download the latest replace the。
Not in the advanced settings you can choose with libev or Python or some other,My is 2.3.7
Yes, you can choose,I found out later,But now only the c language version has also been updated