nareshovの日記

(TL note: nareshov's diary)

Getting Kopete to work* on KDE 3.x

with 2 comments

To work* – My work environment’s network is a LAN shared by about 2000 users. We don’t have the neat NAT’ed type connections or transparent proxy setups other universities in the rest of the world enjoy. Our access to the remaining world is through a HTTP caching proxy which supports connect-over-http.

Step 1:
$ sudo aptitude install tor dante-client

Step 2:
$ sudo vim /etc/tor/torrc

Have the following text inside it:

SocksPort 9050 # what port to open for local application connections
SocksListenAddress 127.0.0.1 # accept connections only from localhost


HttpProxy 172.31.1.233:3128
HttpProxyAuthenticator username:password


HttpsProxy 172.31.1.233:3128
HttpsProxyAuthenticator username:password

Step 3:
$ sudo vim /etc/dante.conf

Add the following:

route {
from: 0.0.0.0/0 to: 0.0.0.0/0 via: 127.0.0.1 port = 9050
protocol: tcp udp # server supports tcp and udp.
proxyprotocol: socks_v4 socks_v5 # server supports socks v4 and v5.
method: none #username # we are willing to authenticate via
# method "none", not "username".
}

You might want to allow from: 127.0.0.1/8 alone.

Step 4:
$ sudo invoke-rc.d tor restart

Step 5: Go to KDE’s Control Centre and enable SOCKS (select Dante) under Network Settings > Proxy

Step 6: Configure Kopete – use the ip of talk.google.com

Step 7: Get cursed for those extra-spaces Kopete sends by Pidgin users 😛

Advertisements

Written by Naresh

January 20, 2008 at 7:21 pm

2 Responses

Subscribe to comments with RSS.

  1. Well, you could’ve just used transconnect (http://transconnect.sourceforge.net/).

    Do an `export LD_PRELOAD=”/home/$USER/.tconn/tconn.so”` and start Kopete from the terminal (with “direct connection” as the connection type).

    Works for everything under the sun except bittorrent (and setuid programs, which don’t allow LD_PRELOAD)

    bheekling

    January 25, 2008 at 12:01 am

  2. transconnect isn’t in the repos.
    I’d prefer to keep my system clean 🙂

    nareshov

    January 25, 2008 at 1:18 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: