[JDEV] Building the yahoo-transport with socks 4
Keith Minkler
keith at digix.dyndns.org
Mon Sep 25 11:33:55 CDT 2000
Also.. Just want to point this out as well...
On the gtkyahoo list, there seems to be people having trouble with the HTTP proxy.. don't think this has anything to do with SOCKS stuff.. but it might just not work at all.. again, i haven't been able to test this..
Keith
On Mon, Sep 25, 2000 at 10:02:34AM -0600, Robin Elliott Stevenson wrote:
> Thanks again to everyone who helped me get to this point!
>
> Keith, I followed the steps below, and I am new getting a different
> connection error. I can tell you that my current socks set is working, as I
> use it for other tools such as X-Chat. Below you will find the debug
> messages:
>
> $ yahootrans -c etc/yahoo_trans.xml -D &
> [1] 27390
> $ Mon Sep 25 11:50:41 2000 debug/log.c:70 log_init
> Mon Sep 25 11:50:41 2000 warn/config.c:98 [init] reading config from
> (etc/yahoo_trans.xml)
> Mon Sep 25 11:50:41 2000 debug/config.c:40 [init] Handling Config Data
> Mon Sep 25 11:50:41 2000 debug/config.c:67 [init] using alias:
> yahoo.jabber.org
> Mon Sep 25 11:50:41 2000 debug/config.c:54 [init] Using etherx host:
> localhost
> Mon Sep 25 11:50:41 2000 debug/config.c:59 [init] Using etherx secret: test
> Mon Sep 25 11:50:41 2000 debug/main.c:72 [loading] transport starting up...
> Mon Sep 25 11:50:41 2000 warn/external.c:31 [init] Transport
> (yahoo.jabber.org) was told to start up
> Mon Sep 25 11:50:41 2000 debug/ehandler.c:39
> ehandler_new(yahoo.jabber.org,jabber:server)
> Mon Sep 25 11:50:41 2000 debug/ehlist.c:26 list_add(yahoo.jabber.org)
> Mon Sep 25 11:50:41 2000 debug/etherxs.c:94 attempting socket connect to
> localhost for transport yahoo.jabber.org
> Mon Sep 25 11:50:41 2000 debug/xmlstream.c:26 xmlstream_connect
> Mon Sep 25 11:50:41 2000 debug/tstream.c:63 tstream_new
> Mon Sep 25 11:50:41 2000 debug/xmlstream.c:101 head: <?xml
> version='1.0'?><stream:stream
> xmlns:stream='http://etherx.jabber.org/streams' id='39CF9071'
> xmlns='jabber:server' to='localhost' from='yahoo.jabber.org'
> xmlns:etherx='http://etherx.jabber.org/'
> etherx:secret='da62aa90ed26109a9067eb32d0835042a3de3b73'>
> Mon Sep 25 11:50:41 2000 debug/tstream.c:133 tstream_write_buffer
> Mon Sep 25 11:50:41 2000 debug/ehandler.c:66 spun off connection attempt
> Mon Sep 25 11:50:41 2000 debug/tstream.c:212 tstream_main: startup
> Mon Sep 25 11:50:41 2000 debug/xmlstream.c:222 xmlstream_main: startup
> Mon Sep 25 11:50:41 2000 debug/tstream.c:335 tstream_connect:
> ADNS[localhost:5269]
> Mon Sep 25 11:50:41 2000 debug/tstream.c:357 tstream_connect: ADNS A lookup
> loop
> Mon Sep 25 11:50:41 2000 debug/tstream.c:395 tstream_connect: ADNS MX
> lookup loop
> Mon Sep 25 11:50:41 2000 debug/tstream.c:459 tstream_cleanup
> Mon Sep 25 11:50:41 2000 debug/xmlstream.c:260 xmlstream_error
> Mon Sep 25 11:50:41 2000 debug/xmlstream.c:260 xmlstream_error
> Mon Sep 25 11:50:41 2000 warn/etherxs Connection to etherxd failed 1 times,
> attempting to reconnect...
> Mon Sep 25 11:50:41 2000 debug/etherxs.c:94 attempting socket connect to
> localhost for transport yahoo.jabber.org
> Mon Sep 25 11:50:41 2000 debug/xmlstream.c:26 xmlstream_connect
> Mon Sep 25 11:50:41 2000 debug/tstream.c:63 tstream_new
> Mon Sep 25 11:50:41 2000 debug/xmlstream.c:101 head: <?xml
> version='1.0'?><stream:stream
> xmlns:stream='http://etherx.jabber.org/streams' id='39CF9071'
> xmlns='jabber:server' to='localhost' from='yahoo.jabber.org'
> xmlns:etherx='http://etherx.jabber.org/'
> etherx:secret='da62aa90ed26109a9067eb32d0835042a3de3b73'>
> Mon Sep 25 11:50:41 2000 debug/tstream.c:133 tstream_write_buffer
> Mon Sep 25 11:50:41 2000 debug/xmlstream.c:273 xmlstream_cleanup
> Mon Sep 25 11:50:41 2000 debug/tstream.c:212 tstream_main: startup
> Mon Sep 25 11:50:41 2000 debug/xmlstream.c:222 xmlstream_main: startup
> Mon Sep 25 11:50:41 2000 debug/tstream.c:335 tstream_connect:
> ADNS[localhost:5269]
> Mon Sep 25 11:50:41 2000 debug/tstream.c:357 tstream_connect: ADNS A lookup
> loop
> Mon Sep 25 11:50:41 2000 debug/tstream.c:395 tstream_connect: ADNS MX
> lookup loop
> Mon Sep 25 11:50:41 2000 debug/tstream.c:459 tstream_cleanup
> Mon Sep 25 11:50:41 2000 debug/xmlstream.c:260 xmlstream_error
> Mon Sep 25 11:50:41 2000 debug/xmlstream.c:260 xmlstream_error
> Mon Sep 25 11:50:42 2000 warn/etherxs Connection to etherxd failed 2 times,
> attempting to reconnect...
> Mon Sep 25 11:50:42 2000 debug/etherxs.c:94 attempting socket connect to
> localhost for transport yahoo.jabber.org
> Mon Sep 25 11:50:42 2000 debug/xmlstream.c:26 xmlstream_connect
> Mon Sep 25 11:50:42 2000 debug/tstream.c:63 tstream_new
> Mon Sep 25 11:50:42 2000 debug/xmlstream.c:101 head: <?xml
> version='1.0'?><stream:stream
> xmlns:stream='http://etherx.jabber.org/streams' id='39CF9072'
> xmlns='jabber:server' to='localhost' from='yahoo.jabber.org'
> xmlns:etherx='http://etherx.jabber.org/'
> etherx:secret='27d2b454c0b3b46710fb4fbc27fb9a99af0d7fda'>
> Mon Sep 25 11:50:42 2000 debug/tstream.c:133 tstream_write_buffer
> Mon Sep 25 11:50:42 2000 debug/xmlstream.c:273 xmlstream_cleanup
> Mon Sep 25 11:50:42 2000 debug/tstream.c:212 tstream_main: startup
> Mon Sep 25 11:50:42 2000 debug/xmlstream.c:222 xmlstream_main: startup
> Mon Sep 25 11:50:42 2000 debug/tstream.c:335 tstream_connect:
> ADNS[localhost:5269]
> Mon Sep 25 11:50:42 2000 debug/tstream.c:357 tstream_connect: ADNS A lookup
> loop
> Mon Sep 25 11:50:42 2000 debug/tstream.c:395 tstream_connect: ADNS MX
> lookup loop
> Mon Sep 25 11:50:42 2000 debug/tstream.c:459 tstream_cleanup
> Mon Sep 25 11:50:42 2000 debug/xmlstream.c:260 xmlstream_error
> Mon Sep 25 11:50:42 2000 debug/xmlstream.c:260 xmlstream_error
> Mon Sep 25 11:50:44 2000 warn/etherxs Connection to etherxd failed 3 times,
> attempting to reconnect...
> Mon Sep 25 11:50:44 2000 debug/etherxs.c:94 attempting socket connect to
> localhost for transport yahoo.jabber.org
> Mon Sep 25 11:50:44 2000 debug/xmlstream.c:26 xmlstream_connect
> Mon Sep 25 11:50:44 2000 debug/tstream.c:63 tstream_new
> Mon Sep 25 11:50:44 2000 debug/xmlstream.c:101 head: <?xml
> version='1.0'?><stream:stream
> xmlns:stream='http://etherx.jabber.org/streams' id='39CF9074'
> xmlns='jabber:server' to='localhost' from='yahoo.jabber.org'
> xmlns:etherx='http://etherx.jabber.org/'
> etherx:secret='4fdc7c4210d7a2a4d87c450068ad6253121abcf5'>
> Mon Sep 25 11:50:44 2000 debug/tstream.c:133 tstream_write_buffer
> Mon Sep 25 11:50:44 2000 debug/xmlstream.c:273 xmlstream_cleanup
> Mon Sep 25 11:50:44 2000 debug/tstream.c:212 tstream_main: startup
> Mon Sep 25 11:50:44 2000 debug/xmlstream.c:222 xmlstream_main: startup
> Mon Sep 25 11:50:44 2000 debug/tstream.c:335 tstream_connect:
> ADNS[localhost:5269]
> Mon Sep 25 11:50:44 2000 debug/tstream.c:357 tstream_connect: ADNS A lookup
> loop
> Mon Sep 25 11:50:44 2000 debug/tstream.c:395 tstream_connect: ADNS MX
> lookup loop
> Mon Sep 25 11:50:44 2000 debug/tstream.c:459 tstream_cleanup
> Mon Sep 25 11:50:44 2000 debug/xmlstream.c:260 xmlstream_error
> Mon Sep 25 11:50:44 2000 debug/xmlstream.c:260 xmlstream_error
> Mon Sep 25 11:50:47 2000 warn/etherxs Connection to etherxd failed 4 times,
> attempting to reconnect...
> Mon Sep 25 11:50:47 2000 debug/etherxs.c:94 attempting socket connect to
> localhost for transport yahoo.jabber.org
> Mon Sep 25 11:50:47 2000 debug/xmlstream.c:26 xmlstream_connect
> Mon Sep 25 11:50:47 2000 debug/tstream.c:63 tstream_new
> Mon Sep 25 11:50:47 2000 debug/xmlstream.c:101 head: <?xml
> version='1.0'?><stream:stream
> xmlns:stream='http://etherx.jabber.org/streams' id='39CF9077'
> xmlns='jabber:server' to='localhost' from='yahoo.jabber.org'
> xmlns:etherx='http://etherx.jabber.org/'
> etherx:secret='357412b6656b90c8c8e971e9a2d20552478c0739'>
> Mon Sep 25 11:50:47 2000 debug/tstream.c:133 tstream_write_buffer
> Mon Sep 25 11:50:47 2000 debug/xmlstream.c:273 xmlstream_cleanup
> Mon Sep 25 11:50:47 2000 debug/tstream.c:212 tstream_main: startup
> Mon Sep 25 11:50:47 2000 debug/xmlstream.c:222 xmlstream_main: startup
> Mon Sep 25 11:50:47 2000 debug/tstream.c:335 tstream_connect:
> ADNS[localhost:5269]
> Mon Sep 25 11:50:47 2000 debug/tstream.c:357 tstream_connect: ADNS A lookup
> loop
> Mon Sep 25 11:50:47 2000 debug/tstream.c:395 tstream_connect: ADNS MX
> lookup loop
> Mon Sep 25 11:50:47 2000 debug/tstream.c:459 tstream_cleanup
> Mon Sep 25 11:50:47 2000 debug/xmlstream.c:260 xmlstream_error
> Mon Sep 25 11:50:47 2000 debug/xmlstream.c:260 xmlstream_error
> Mon Sep 25 11:50:51 2000 error/etherxs Failed to establish communication
> with etherxd
>
> [1] + Terminated yahootrans -c etc/yahoo_trans.xml
>
> Thanks,
> Robin
>
>
> > -----Original Message-----
> > From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
> > Keith Minkler
> > Sent: Thursday, September 21, 2000 12:20 PM
> > To: jdev at jabber.org
> > Subject: Re: [JDEV] Questions on groupchat and yahoo transport..
> >
> >
> > sure.. in the Makefile.am in the src folder (providing you
> > checked the code out of CVS), the first line is a CFLAGS=
> > line.. just add that flag -DHAVE_SOCKS4 to that line..
> >
> > then run ./autogen.sh in the yahoo-transport folder, and run make
> >
> > I'm not sure about the environment variables though.
> >
> >
> > On Thu, Sep 21, 2000 at 01:35:06PM -0600, Robin Elliott
> > Stevenson wrote:
> > > I would be very interested in trying to compile both the
> > yahoo-transport and
> > > the irc-transport with socks. I have access to both a
> > socks4 and socks5
> > > server, and would be willing to test some stuff for you.
> > However, I don't
> > > use C, so I could use a little guidance. Could you tell me
> > what I need to
> > > do to compile the yahoo-transport with the -DHAVE_SOCKS4 flag?
> > >
> > > > -----Original Message-----
> > > > From: jdev-admin at jabber.org
> > [mailto:jdev-admin at jabber.org]On Behalf Of
> > > > Keith Minkler
> > > > Sent: Thursday, September 21, 2000 4:35 AM
> > > > To: jdev at jabber.org
> > > > Subject: Re: [JDEV] Questions on groupchat and yahoo transport..
> > > >
> > > >
> > > > please see below for my responces...
> > > >
> > > > On Mon, Sep 18, 2000 at 01:00:31AM +0000, V.V.Srikanth wrote:
> > > > > Hello,
> > > > <snip/>
> > > > > Groupchat question:
> > > > >
> > > > > I've downloaded the latest groupchat-transport sources from
> > > > the CVS and
> > > >
> > > > the latest release is the groupchat 1.1 protocol.. some
> > > > clients do not support this yet, and you may do better
> > > > downloading the groupchat-t v1.0.2 available in CVS in the
> > > > "OnePointOh" branch, or available on
> > > > "http://download.jabber.org/dists/transports/groupchat-transport".
> > > >
> > > > > installed them on a Redhat 6.1 machine. Jabber server is
> > > > running on the
> > > > > machine and I am able to do one-on-one chat. I am not clear
> > > > about how to
> > > > > create different groups on the server. I have already
> > > > created an 'agent' entry
> > > > > in the jserver.xml file as follows:
> > > > >
> > > > > <agent jid="groups">
> > > >
> > > > this should be groups.yourserver.name .. like
> > "groups.jabber.org" etc.
> > > >
> > > > > <name>Conference Server</name>
> > > > > <description>You can create and participate
> > > > in private group
> > > > > conferences.</description>
> > > > > <service>conference</service>
> > > > > <groupchat/>
> > > > > <register/>
> > > > > </agent>
> > > >
> > > > other than that, that looks good.
> > > >
> > > > >
> > > > > I connect to the jabber server through Winjab and I get the
> > > > following in the
> > > > > agents listing:
> > > > >
> > > > > Conference server
> > > > > JID: Groups
> > > > > Transport?: NO
> > > > >
> > > > > But when I specify the agent name (as in jserver.xml) and
> > > > try to join the
> > > > > group or register, I get an 'Invalid Groupchat Protocol'
> > > > error. Please let me
> > > > > know if I am missing something here. Secondly, how do I
> > > > create multiple chat
> > > > > groups on the server?
> > > >
> > > > This is as i said above.. some clients do not support the new
> > > > groupchat protocol.. (the Latest winjab has a checkbox for
> > > > old 1.0 protocol, or new)
> > > >
> > > > chat rooms are created/destroyed as people enter/leave them.
> > > >
> > > > > Yahoo-transport question:
> > > > >
> > > > > Yahoo-transport has also been installed on the system but I
> > > > connect to the
> > > > > internet through a proxy. The connection fails as the
> > > > request is unable to
> > > > > reach the yahoo host. Is there a way of telling yahoo
> > > > transport to connect
> > > > > through a proxy (say through yahoo_trans.xml)?
> > > >
> > > > hrmm.. you can try compiling yahoo-transport with a
> > > > -DHAVE_SOCKS4 flag.. this will tell yahoolib to use SOCKS4 to
> > > > connect to the yahoo servers.. all the SOCKS4 stuff are setup
> > > > in environment variables.. check www.socks.nec.com for
> > > > details.. I am not sure if this works.. if it does, or if you
> > > > get it to work, please let me know.. I know there are other
> > > > people who would like this functionality as well, and I don't
> > > > have a socks server to play with.
> > > >
> > > > Thanks!
> > > >
> > > > <snip/>
> > > >
> > > > Keith Minkler
> > > >
> > > > _______________________________________________
> > > > jdev mailing list
> > > > jdev at jabber.org
> > > > http://mailman.jabber.org/listinfo/jdev
> > > >
> > >
> > >
> > > _______________________________________________
> > > jdev mailing list
> > > jdev at jabber.org
> > > http://mailman.jabber.org/listinfo/jdev
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> >
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list