Jump to content

美国人

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by 美国人

  1. A better way to do this is by using socat to create a local tunnel. This works with any software that doesn't have native SOCKS proxy support. I once wrote this crappy script to make it easy:

    #!/bin/sh
    # crudely shutsdown socat (if running) and then restarts it for new host/port
    # by sahal http://scr.im/sahal
    
    # you can now connect to localhost:4242
    # as if you were connecting to $1:$2
    # using SOCKS proxy $orlisadr:$orport
    
    # usage: ./socatchk remote-host remote-port
    
    #SOCKS listen port 
    orport=9150
    #SOCKS listen address
    orlisadr=localhost
    
    [ "$(pidof socat >/dev/null 2>&1 && echo $?)" = 0 ] && kill $(pidof socat); [ "$(pidof socat && echo $?)" != 0 ] && sleep 3s; socat TCP4-LISTEN:4242,fork SOCKS4A:$orlisadr:$1:$2,socksport=$orport &

    Just put that in a file 'socatchk' make it executable (chmod +x socatchk) and launch it (./socatchk remotehost remoteport) Now try to connect to localhost:4242. You should connect to the remote site (remotehost:remoteport) on any software that doesn't support SOCKS proxies natively.

  2. here's grooveshark.log: http://pastebin.ca/1878190

    here's relevant version numbers:

    python.i686 2.6.4-25.fc13 @released/$releasever

    python-simplejson.i686 2.0.9-3.fc12 @released/$releasever

    python-httplib2.noarch 0.4.0-4.fc12 @fedora

    wxPython.i686 2.8.10.1-3.fc13 @updates

    PyYAML.i686 3.09-5.fc13 @updates

    python-BeautifulSoup.noarch 1:3.0.8-1.fc13 @fedora

    python-twisted.noarch 8.2.0-3.fc12 @fedora

    python-twisted-conch.i686 8.2.0-3.fc12 @fedora

    python-twisted-core.i686 8.2.0-5.fc13 @fedora

    python-twisted-lore.i686 8.2.0-3.fc12 @fedora

    python-twisted-mail.i686 8.2.0-3.fc12 @fedora

    python-twisted-names.i686 8.2.0-3.fc12 @fedora

    python-twisted-news.i686 8.2.0-3.fc12 @fedora

    python-twisted-runner.i686 8.2.0-3.fc12 @fedora

    python-twisted-web.i686 8.2.0-3.fc12 @fedora

    python-twisted-words.i686 8.2.0-3.fc12 @fedora

    Thank you for the quick reply.

  3. I ran Sharky on Fedora 13 after running:

    su -c "yum install p7zip python-simplejson python-httplib2 wxPython python-twisted PyYAML python-BeautifulSoup"
    7za x Sharky\ Version\ 6.4.2010.1.7z
    cd Sharky\ Version\ 6.4.2010.1
    python Twisted_Grooveshark_Gui.py

    I use VLC instead of mplayer so I decided to see if i could download the song instead. The download failed though. I attached grooveshark.log in this post: http://pastebay.com/102337

×
×
  • Create New...