Advanced configuration of web proxy

willyzzzz at gmx.de willyzzzz at gmx.de
Wed Feb 26 10:21:10 EST 2014


Hi Folks,
 
I want to use Pidgin from our corporate network behind a web proxy. Pidgin allows that, so far so good, but the proxy blacklists my favorite XMPP server's domain! So I configured my private DNS server to spoof another domain name for my favorite XMPP server's IP. When sending HTTP requests from the command line of my workstation (using wget), everything works great. However, I do not know how to configure Pidgin accordingly.
 
Can someone help me to find out, where to put what, or what else to test, e.g. other ports, or to sen a valid XMPP requests?
 
Thank you!
Willy
 
----------
 
Here are the details of what I have so far:
 
    - my favorite XMPP server: jabber.de
    - my jabber account: myname at jabber.de
    - my companies' proxy: proxy.mycompany.de
 
OK let's see what happens:
 
    C:\>wget http://www.jabber.de
    --15:07:11--  http://www.jabber.de/
    Resolving proxy.mycompany.de... done.
    Connecting to proxy.mycompany.de[192.168.0.111]:8080... connected.
    Proxy request sent, awaiting response... 403 Forbidden
    15:07:11 ERROR 403: Forbidden.
    
Hmm, can't get through the proxy. Do web request work in general?
 
    C:\>wget http://en.wikipedia.org/wiki/Pidgin_(software)
    --15:06:32--  http://en.wikipedia.org/wiki/Pidgin_(software)
    Resolving proxy.mycompany.de ... done.
    Connecting to proxy.mycompany.de [192.168.0.111]:8080... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: unspecified [text/html]
    15:32:51 (791.35 KB/s) - `Pidgin_(software)' saved [121551]

OK, web requests do work in general. So I configured my DNS server to spoof another domain name for jabber.de:
 
    xmpp.mydomain.de.  IN  CNAME  jabber.de.
 
And her we go:
 
    C:\>wget http://xmpp.mydomain.de
    --15:07:44--  xmpp.mydomain.de/
    Resolving proxy.mycompany.de... done.
    Connecting to proxy.mycompany.de[192.168.0.111]:8080... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: unspecified [text/html]
    15:07:45 (340.36 KB/s) - `index.html' saved [47051]

Hah, works >:-) What about port 5222?
 
    C:\>wget http://xmpp.mydomain.de:5222
    --15:07:59--  http://xmpp.mydomain.de:5222/
    Resolving proxy.mycompany.de... done.
    Connecting to proxy.mycompany.de[192.168.0.111]:8080... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: unspecified
    15:07:59 (227.54 KB/s) - `index.html' saved [233]
 
    C:\>cat index.html
    <?xml version='1.0'?>
     <stream:stream id='' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xmlns='jabber:client'>
      <stream:error><not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
     </stream:error>
    </stream:stream>
     
Har-har-har, works too!!!
 
 



More information about the Support mailing list