V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xingshu
V2EX  ›  macOS

proxychains 无效?

  •  
  •   xingshu · 2015-10-30 11:07:59 +08:00 · 14568 次点击
    这是一个创建于 3100 天前的主题,其中的信息可能已经有所发展或是发生改变。
    各位好:
    请教个问题,我想要在 iTerm 中使用 Youtube-dl ,用 proxychains-ng ,在配置文件底部配置了 127.0.0.1 1080 , ss 的代理

    但是在 iTerm 中还是无效果。。

    ➜ ~ proxychains4 curl twitter.com
    [proxychains] config file found: /usr/local/Cellar/proxychains-ng/4.10/etc/proxychains.conf
    [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.10/lib/libproxychains4.dylib
    ^C
    ➜ ~ proxychains4 curl baidu.com
    [proxychains] config file found: /usr/local/Cellar/proxychains-ng/4.10/etc/proxychains.conf
    [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.10/lib/libproxychains4.dylib
    <html>
    <meta http-equiv="refresh" content="0;url=http://www.baidu.com/">
    </html>

    请问哪里还有设置不对的地方么?
    17 条回复    2015-11-04 12:24:49 +08:00
    expkzb
        1
    expkzb  
       2015-10-30 11:15:41 +08:00
    最新系统中已经不好使了
    xingshu
        2
    xingshu  
    OP
       2015-10-30 11:21:17 +08:00
    @expkzb 那是不能用咯?
    Valyrian
        3
    Valyrian  
       2015-10-30 11:22:29 +08:00
    天天在用,没什么问题
    xingshu
        4
    xingshu  
    OP
       2015-10-30 11:25:24 +08:00
    @Valyrian 能说下要怎么排查么?
    expkzb
        5
    expkzb  
       2015-10-30 11:26:19 +08:00   ❤️ 1
    @xingshu

    Disabling SIP
    Run `csrutil disable` in Recovery mode
    emlcj
        6
    emlcj  
       2015-10-30 11:27:16 +08:00
    FrankFang128
        7
    FrankFang128  
       2015-10-30 11:35:11 +08:00 via Android
    怪不得
    xingshu
        8
    xingshu  
    OP
       2015-10-30 11:50:41 +08:00
    proxychains4 youtube-dl ‘

    zsh: no matches found: ‘


    新问题,下午继续吧。
    tkisme
        9
    tkisme  
       2015-10-30 11:53:14 +08:00
    proxychains4 bash
    curl Google.com
    rungo
        10
    rungo  
       2015-10-30 12:12:35 +08:00
    我这边用起来没问题
    finian
        11
    finian  
       2015-10-30 12:14:58 +08:00
    10.11 要关闭 SIP
    kokutou
        12
    kokutou  
       2015-10-30 12:18:09 +08:00
    关闭 sip 后用 proxifier 爽爽哒。
    xream
        13
    xream  
       2015-10-30 13:54:57 +08:00
    @tkisme2013 我咋没想到 赞赞赞
    smoothdvd
        14
    smoothdvd  
       2015-10-30 14:05:40 +08:00
    youtube-dl 自已带 proxy 命令行参数的。
    billgreen1
        15
    billgreen1  
       2015-10-31 10:28:09 +08:00 via iPhone
    你可以查查是现在用的配置文件,是否是你配置的。我之前遇到过这样的问题。结果发现,我原来用的 4.9 的配置文件,升级后,它用 4.10 的配置文件了。解决方法是吧配置文件放在 home 目录的.proxychains 目录下。
    wd
        16
    wd  
       2015-11-04 12:24:28 +08:00   ❤️ 1
    不想开 SIP ,况且还得重启。。琢磨了会搞定了。。
    用 pyenv 装了一个 python ,然后用这个版本的 python

    proxychains4 ~/.pyenv/versions/2.7.9/bin/python /usr/local/Cellar/youtube-dl/2015.10.24/bin/youtube-dl URL
    wd
        17
    wd  
       2015-11-04 12:24:49 +08:00
    @wd 不好意思写错了,不想关 SIP ..
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3028 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 80ms · UTC 15:08 · PVG 23:08 · LAX 08:08 · JFK 11:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.