Git Product home page Git Product logo

proxy65's People

Contributors

fafo avatar

Watchers

 avatar

proxy65's Issues

proxyips does not support hostname without bind

What steps will reproduce the problem?
1. supply hostname:port for proxyips
2. "Warning: Not using invalid proxy network address" is shown
3.

What is the expected output? What do you see instead?
hostname should be used instead of raw ip address in xml, proxy65 should 
_not_ bind to IP address of hostname (in case split dns is being used)

What version of the product are you using? On what operating system?
svn r36

Please provide any additional information below.
If I comment out the inet_pton test, and remove the interface parameter to 
the TCPServer, everything works as I would like.

http://www.mail-archive.com/[email protected]/msg15558.html

Original issue reported on code.google.com by [email protected] on 8 May 2010 at 10:27

anybody home?

Just checking to see if this project is alive...Any downloads?

Original issue reported on code.google.com by [email protected] on 2 Nov 2007 at 4:05

Too many open FDs

It seems that there are problems closing FDs if the connection is not
cleanly closed by the client, or if there bots trying open socks5 relays


Original issue reported on code.google.com by [email protected] on 29 Oct 2009 at 10:54

advertise hostname instead of ip address

This partly solves the problem described in 
https://code.google.com/p/proxy65/issues/detail?id=9

E.g. when executing this query:

<iq from='[email protected]/foo' id='uj2c15z9' to='proxy.example.net' 
type='get'> <query xmlns='http://jabber.org/protocol/bytestreams'/> </iq>

The old code returned the IP address, even when it was behind a NAT and thus 
not routable. The new code returns the hostname, so it is usable for split DNS.

Old output:

<streamhost jid='proxy.example.net' port='7777' host='10.0.0.42'/>

New output:

<streamhost jid='proxy.example.net' port='7777' host='proxy.example.net'/>

Original issue reported on code.google.com by evertmouw on 14 Oct 2014 at 9:15

Attachments:

Lack of configuration file.

I really do not like the idea of exposing jabber component secret (--secret) 
via the command line. ATM I can not avoid this due lack of configuration 
file. I see this feature present in the past but was lost in action a long 
time ago. I going to restore it and would like to know if anyone have strong 
objection against using stock plistlib (since Python 2.6) for the purpose.
Thanks.

Original issue reported on code.google.com by [email protected] on 27 Aug 2009 at 4:40

AttributeError: 'module' object has no attribute '_parse'

Hi I am using the 
Ubuntu 11.04
I installed proxy65 
but when i try to execute the following command i get following error 

~$ sudo twistd proxy65 --jid=proxy65.192.168.15.90 --secret=proxybaby 
--proxyips=127.0.0.1:7777
Traceback (most recent call last):
  File "/usr/bin/twistd", line 19, in <module>
    run()
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 27, in run
    app.run(runApp, ServerOptions)
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 631, in run
    runApp(config)
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 374, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 434, in createOrGetApplication
    ser = plg.makeService(self.config.subOptions)
  File "/usr/local/lib/python2.7/dist-packages/twisted/plugins/proxy65_plugin.py", line 52, in makeService
    return proxy65.makeService(config)
  File "/usr/local/lib/python2.7/dist-packages/proxy65/proxy65.py", line 278, in makeService
    ("tcp:%s:%s" % (config["rhost"], config["rport"])))
  File "/usr/lib/python2.7/dist-packages/twisted/words/protocols/jabber/component.py", line 323, in buildServiceManager
    client_svc = jstrports.client(strport, svc.getFactory())
  File "/usr/lib/python2.7/dist-packages/twisted/words/protocols/jabber/jstrports.py", line 30, in client
    name, args, kw = parse(description, factory)
  File "/usr/lib/python2.7/dist-packages/twisted/words/protocols/jabber/jstrports.py", line 25, in parse
    args, kw = strports._parse(description)
  File "/usr/lib/python2.7/dist-packages/twisted/python/deprecate.py", line 281, in __getattribute__
    value = getattr(_module, name)
AttributeError: 'module' object has no attribute '_parse'

Original issue reported on code.google.com by [email protected] on 2 Jun 2014 at 4:24

Not accepting connections after a while

This seems related to issue #6, i.e. the fix is not complete; here is a log
dump:

{{{

2009-11-15 13:18:20+0100 [XmlStream,client] Activation requested for: 
678e465eea69348ee7bab8a0dc155fea010e3531
2009-11-15 13:18:20+0100 [XmlStream,client] Activating 
678e465eea69348ee7bab8a0dc155fea010e3531
2009-11-15 13:18:20+0100 [-] Unhandled Error
    Traceback (most recent call last):
      File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line
348, in startReactor
        self.config, oldstdout, oldstderr, self.profiler, reactor)
      File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line
273, in runReactorWithLogging
        reactor.run()
      File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line
1048, in run
        self.mainLoop()
      File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line
1060, in mainLoop
        self.doIteration(t)
    --- <exception caught here> ---
      File
"/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line
104, in doSelect
        [], timeout)
    exceptions.ValueError: file descriptor cannot be a negative integer (-1)

2009-11-15 13:18:20+0100 [-] Malformed file descriptor found.  Preening lists.
2009-11-15 13:18:20+0100 [-] bad descriptor <JEP65Proxy #819 on 7777>
2009-11-15 13:18:20+0100 [-] Unexpected error in main loop.
2009-11-15 13:18:20+0100 [-] Unhandled Error
    Traceback (most recent call last):
      File "/usr/lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py",
line 208, in postApplication
        self.startReactor(None, self.oldstdout, self.oldstderr)
      File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line
348, in startReactor
        self.config, oldstdout, oldstderr, self.profiler, reactor)
      File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line
273, in runReactorWithLogging
        reactor.run()
      File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line
1048, in run
        self.mainLoop()
    --- <exception caught here> ---
      File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line
1060, in mainLoop
        self.doIteration(t)
      File
"/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line
109, in doSelect
        self._preenDescriptors()
      File
"/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line
88, in _preenDescriptors
        self._disconnectSelectable(selectable, e, False)
      File "/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py",
line 196, in _disconnectSelectable
        selectable.connectionLost(failure.Failure(why))
      File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line
411, in connectionLost
        self._closeSocket()
      File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line
96, in _closeSocket
        skt = self.socket
    exceptions.AttributeError: 'Server' object has no attribute 'socket'

2009-11-15 13:18:27+0100 [-] [to] 83.7.69.212
2009-11-15 13:18:28+0100 [-] [to] 79.184.65.246
2009-11-15 13:18:44+0100 [-] [to] 196.213.52.116

}}}

It sounds like now sockets are closed, but FDs not released. Anyone getting
this, please attach here a result of lsof

Original issue reported on code.google.com by [email protected] on 16 Nov 2009 at 1:58

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.