Re: Simple TCP proxy

2022-07-31 Thread Morten W. Petersen
Well, initially I was just curious. As the name implies, it's a TCP proxy, and different features could go into that. I looked at for example port knocking for hindering unauthorized access to the (protected) TCP service SMPS, but there you also have the possibility of someone eavesdropping

Re: Simple TCP proxy

2022-07-30 Thread Barry
 > On 30 Jul 2022, at 20:33, Morten W. Petersen wrote: > I thought it was a bit much. > > I just did a bit more testing, and saw that the throughput of wget through > regular lighttpd was 1,3 GB/s, while through STP it was 122 MB/s, and using > quite a bit of CPU. > > Then I increased the bu

Re: Simple TCP proxy

2022-07-30 Thread Morten W. Petersen
I thought it was a bit much. I just did a bit more testing, and saw that the throughput of wget through regular lighttpd was 1,3 GB/s, while through STP it was 122 MB/s, and using quite a bit of CPU. Then I increased the buffer size 8-fold for reading and writing in run.py, and the CPU usage went

Re: Simple TCP proxy

2022-07-30 Thread Barry Scott
Morten, As Chris remarked you need to learn a number of networking, python, system performance and other skills to turn your project into production code. Using threads does not scale very well. Its uses a lot of memory and raises CPU used just to do the context switches. Also the GIL means tha

Re: Simple TCP proxy

2022-07-30 Thread Roel Schroeven
Morten W. Petersen schreef op 29/07/2022 om 22:59: OK, sounds like sunshine is getting the best of you. It has to be said: that is uncalled for. Chris gave you good advice, with the best of intentions. Sometimes we don't like good advice if it says something we don't like, but that's no reaso

Re: Simple TCP proxy

2022-07-29 Thread Morten W. Petersen
t; Most websites don't get a lot of traffic though, and don't have a big > budget for "website system administration". So maybe that's where I'm > partly going with this, just making a proxy that can be put in front and > deal with a lot of common situations, in a

Re: Simple TCP proxy

2022-07-29 Thread Chris Angelico
nistration". So maybe that's where I'm partly going > with this, just making a proxy that can be put in front and deal with a lot > of common situations, in a reasonably good way. > > If I run into problems with threads that can't be managed, then a switch to &g

Re: Simple TCP proxy

2022-07-29 Thread Morten W. Petersen
tatic with some dynamic bits and heavily cached by squid. Most websites don't get a lot of traffic though, and don't have a big budget for "website system administration". So maybe that's where I'm partly going with this, just making a proxy that can be put in

Re: Simple TCP proxy

2022-07-29 Thread Morten W. Petersen
OK, that's useful to know. Thanks. :) -Morten On Fri, Jul 29, 2022 at 3:43 AM Andrew MacIntyre wrote: > On 29/07/2022 8:08 am, Chris Angelico wrote: > > It takes a bit of time to start ten thousand threads, but after that, > > the system is completely idle again until I notify them all and they

Re: Simple TCP proxy

2022-07-28 Thread Chris Angelico
On Fri, 29 Jul 2022 at 11:42, Andrew MacIntyre wrote: > > On 29/07/2022 8:08 am, Chris Angelico wrote: > > It takes a bit of time to start ten thousand threads, but after that, > > the system is completely idle again until I notify them all and they > > shut down. > > > > (Interestingly, it takes

Re: Simple TCP proxy

2022-07-28 Thread Andrew MacIntyre
On 29/07/2022 8:08 am, Chris Angelico wrote: It takes a bit of time to start ten thousand threads, but after that, the system is completely idle again until I notify them all and they shut down. (Interestingly, it takes four times as long to start 20,000 threads, suggesting that something in thr

Re: Simple TCP proxy

2022-07-28 Thread Chris Angelico
On Fri, 29 Jul 2022 at 07:24, Morten W. Petersen wrote: > > Forwarding to the list as well. > > -- Forwarded message - > From: Morten W. Petersen > Date: Thu, Jul 28, 2022 at 11:22 PM > Subject: Re: Simple TCP proxy > To: Chris Angelico > > > W

Re: Simple TCP proxy

2022-07-28 Thread Morten W. Petersen
not scalable. > > In the places I code disk space of a few MiB is not an issue. > > Barry > > > -Morten > > On Thu, Jul 28, 2022 at 8:31 AM Barry wrote: > >> >> >> > On 27 Jul 2022, at 17:16, Morten W. Petersen wrote: >> > >> > Hi. >>

Fwd: Simple TCP proxy

2022-07-28 Thread Morten W. Petersen
Forwarding to the list as well. -- Forwarded message - From: Morten W. Petersen Date: Thu, Jul 28, 2022 at 11:22 PM Subject: Re: Simple TCP proxy To: Chris Angelico Well, an increase from 0.1 seconds to 0.2 seconds on "polling" in each thread whether or not the

Re: Simple TCP proxy

2022-07-28 Thread Barry
gt; >> > On 27 Jul 2022, at 17:16, Morten W. Petersen wrote: >> > >> > Hi. >> > >> > I'd like to share with you a recent project, which is a simple TCP proxy >> > that can stand in front of a TCP server of some sort, queueing requests a

Re: Simple TCP proxy

2022-07-28 Thread Chris Angelico
On Thu, 28 Jul 2022 at 21:01, Morten W. Petersen wrote: > > Well, I was thinking of following the socketserver / handle layout of code > and execution, for now anyway. > > It wouldn't be a big deal to make them block, but another option is to > increase the sleep period 100% for every 200 waitin

Re: Simple TCP proxy

2022-07-28 Thread Morten W. Petersen
Well, I was thinking of following the socketserver / handle layout of code and execution, for now anyway. It wouldn't be a big deal to make them block, but another option is to increase the sleep period 100% for every 200 waiting connections while waiting in handle. Another thing is that it's nic

Re: Simple TCP proxy

2022-07-28 Thread Chris Angelico
On Thu, 28 Jul 2022 at 19:41, Morten W. Petersen wrote: > > Hi Martin. > > I was thinking of doing something with the handle function, but just this > little tweak: > > https://github.com/morphex/stp/commit/9910ca8c80e9d150222b680a4967e53f0457b465 > > made a huge difference in CPU usage. Hundreds

Re: Simple TCP proxy

2022-07-28 Thread Morten W. Petersen
wed to do any meaningful work: they are put on the SimpleQueue and > only when they are popped then they will work (send/recv data). > > The difference then between the OS and your impl is minimal. The only > case that I can think is that on the clients' side it may exist a >

Re: Simple TCP proxy

2022-07-28 Thread Morten W. Petersen
, Morten W. Petersen wrote: > > > > Hi. > > > > I'd like to share with you a recent project, which is a simple TCP proxy > > that can stand in front of a TCP server of some sort, queueing requests > and > > then allowing n number of connections to pass thr

Re: Simple TCP proxy

2022-07-28 Thread Morten W. Petersen
OK, I'll have a look at using something else than _threading. I quickly saw a couple of points where code could be optimized for speed, the loop that transfers data back and forth also has low throughput, but first priority was getting it working and seeing that it is fairly stable. Regards, Mor

Re: Simple TCP proxy

2022-07-27 Thread Barry
> On 27 Jul 2022, at 17:16, Morten W. Petersen wrote: > > Hi. > > I'd like to share with you a recent project, which is a simple TCP proxy > that can stand in front of a TCP server of some sort, queueing requests and > then allowing n number of connections

Re: Simple TCP proxy

2022-07-27 Thread Martin Di Paola
lients' side it may exist a timeout for the acceptance of the connection so your proxy server will eagerly accept these connections so no timeout is possible(*) On a side note, you implementation is too thread-naive: it uses plain Python lists, integers and boolean variables which are not threa

Re: Simple TCP proxy

2022-07-27 Thread Chris Angelico
On Thu, 28 Jul 2022 at 04:32, Morten W. Petersen wrote: > > Hi Chris. > > You're thinking of the backlog argument of listen? Yes, precisely. > Well, STP will accept all connections, but can limit how many of the accepted > connections that are active at any given time. > > So when I bombed it w

Re: Simple TCP proxy

2022-07-27 Thread Morten W. Petersen
re with you a recent project, which is a simple TCP proxy > > that can stand in front of a TCP server of some sort, queueing requests > and > > then allowing n number of connections to pass through at a time: > > How's this different from what the networking subsystem al

Re: Simple TCP proxy

2022-07-27 Thread Chris Angelico
On Thu, 28 Jul 2022 at 02:15, Morten W. Petersen wrote: > > Hi. > > I'd like to share with you a recent project, which is a simple TCP proxy > that can stand in front of a TCP server of some sort, queueing requests and > then allowing n number of connections to pass through

Simple TCP proxy

2022-07-27 Thread Morten W. Petersen
Hi. I'd like to share with you a recent project, which is a simple TCP proxy that can stand in front of a TCP server of some sort, queueing requests and then allowing n number of connections to pass through at a time: https://github.com/morphex/stp I'll be developing it further, b

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-30 Thread Dennis Lee Bieber
On Fri, 30 Jul 2021 13:17:50 +0200, Peter Otten <__pete...@web.de> declaimed the following: > >https://mail.python.org/pipermail/python-list/2021-July/902975.html > >You are now officially archived ;) Pity the choice was the boolean "X-No-Archive"... Consensus implementation of an "X-Expi

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-30 Thread Peter Otten
On 29/07/2021 17:43, Dennis Lee Bieber wrote: On Thu, 29 Jul 2021 15:45:26 +0200, Peter Otten <__pete...@web.de> declaimed the following: On 28/07/2021 18:40, Dennis Lee Bieber wrote: On Wed, 28 Jul 2021 09:04:40 +0200, Peter Otten <__pete...@web.de> declaimed the following: Perhaps it has

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-29 Thread Dennis Lee Bieber
On Thu, 29 Jul 2021 15:45:26 +0200, Peter Otten <__pete...@web.de> declaimed the following: >On 28/07/2021 18:40, Dennis Lee Bieber wrote: >> On Wed, 28 Jul 2021 09:04:40 +0200, Peter Otten <__pete...@web.de> >> declaimed the following: >> >>> >>> Perhaps it has something to do with the X-No-Arch

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-29 Thread Peter Otten
On 28/07/2021 18:40, Dennis Lee Bieber wrote: On Wed, 28 Jul 2021 09:04:40 +0200, Peter Otten <__pete...@web.de> declaimed the following: Perhaps it has something to do with the X-No-Archive flag set by Dennis? According to my properties page in Agent, I've turned that off except if

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-28 Thread hongy...@gmail.com
On Wednesday, July 28, 2021 at 3:05:11 PM UTC+8, Peter Otten wrote: > On 28/07/2021 07:32, Cameron Simpson wrote: > > On 27Jul2021 19:24, Hongyi Zhao wrote: > >> On Wednesday, July 28, 2021 at 7:25:27 AM UTC+8, cameron...@gmail.com > >> wrote: > >>> Just to follow on a bit to Dennis: > >> > >

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-28 Thread Peter Otten
On 28/07/2021 07:32, Cameron Simpson wrote: On 27Jul2021 19:24, Hongyi Zhao wrote: On Wednesday, July 28, 2021 at 7:25:27 AM UTC+8, cameron...@gmail.com wrote: Just to follow on a bit to Dennis: But I can't any reply from Dennis in this issue. Odd, because I replied to his reply to you :-)

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-27 Thread Cameron Simpson
On 27Jul2021 19:24, Hongyi Zhao wrote: >On Wednesday, July 28, 2021 at 7:25:27 AM UTC+8, cameron...@gmail.com wrote: >> Just to follow on a bit to Dennis: > >But I can't any reply from Dennis in this issue. Odd, because I replied to his reply to you :-) If you're using a threaded view of the lis

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-27 Thread hongy...@gmail.com
the error because: > > self.RE_TKK.search(r.text) > > returned None instead of a regular expression match object. That means > that "r.text" way not what was expected. > > Like Dennis, i note the remark "for internal use only", suggesting this > was

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-27 Thread Cameron Simpson
cted. Like Dennis, i note the remark "for internal use only", suggesting this was some internal Google code for doing something fiddly. It may not be the best thing for what you're trying to do. WRT to a socks proxy, Dennis showed that the issue occurs even without a proxy. I

Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-27 Thread hongy...@gmail.com
I want to use [gtoken.py](https://github.com/ssut/py-googletrans/blob/master/googletrans/gtoken.py) through a socks5 proxy. Based on the comment [here](https://github.com/encode/httpx/issues/203#issuecomment-611914974) and the example usage in [gtoken.py](https://github.com/ssut/py

Re: question about basics of creating a PROXY to MONITOR network activity

2021-04-10 Thread Paul Bryan
Cloudflare operates as a reverse proxy in front of your service(s); clients of your services access them through an endpoint that Cloudflare stands up. DNS records point to Cloudflare, and TLS certificates must be provisioned in Cloudflare to match. For all intents and purposes, you would be

Re: question about basics of creating a PROXY to MONITOR network activity

2021-04-10 Thread Christian Seberino
> > > a) your reverse proxy must be colocated with the service it fronts on the > same machine; > b) your network infrastructure transparently encrypts traffic between your > proxy and the service; or > c) your proxy must negotiate its own TLS connection(s) with the service.

Re: question about basics of creating a PROXY to MONITOR network activity

2021-04-10 Thread Michael Torrie
nt to create a "safe" MITM service so to speak. For my own purposes, sometimes I'll create a limited, wildcard certificate signed by my own authority which works only in my own browser (this is the same technique used by certain regimes to MITM the entire country!). The proxy then us

Re: question about basics of creating a PROXY to MONITOR network activity

2021-04-10 Thread Paul Bryan
There is absolutely nothing wrong with building your own reverse proxy in front of your own service, as long as you control both. This constitutes a tiered network/application architecture, and it's a common practice. There's no man in the middle; there's no imposter; its all &

Re: question about basics of creating a PROXY to MONITOR network activity

2021-04-10 Thread cseb...@gmail.com
> Is it even possible to be secure in that way? This is, by definition, > a MITM, and in order to be useful, it *will* have to decrypt > everything. So if someone compromises the monitor, they get > everything. Chris I hear all your security concerns and I'm aware of them. I *really* don't

Re: question about basics of creating a PROXY to MONITOR network activity

2021-04-08 Thread Chris Angelico
On Fri, Apr 9, 2021 at 12:42 AM <2qdxy4rzwzuui...@potatochowder.com> wrote: > > On 2021-04-09 at 00:17:59 +1000, > Chris Angelico wrote: > > > Also, you'd better be really REALLY sure that your monitoring is > > legal, ethical, and not deceptive. > > Not to mention *secure*. Your monitor increase

Re: question about basics of creating a PROXY to MONITOR network activity

2021-04-08 Thread 2QdxY4RzWzUUiLuE
On 2021-04-09 at 00:17:59 +1000, Chris Angelico wrote: > Also, you'd better be really REALLY sure that your monitoring is > legal, ethical, and not deceptive. Not to mention *secure*. Your monitor increases the attack surface of the system as a whole. If I break into your monitor, can I recove

Re: question about basics of creating a PROXY to MONITOR network activity

2021-04-08 Thread Chris Angelico
On Fri, Apr 9, 2021 at 12:11 AM cseb...@gmail.com wrote: > > I'm trying to create an application that stands in between all > connections to a remote server to monitor behavior for > security and compliance reasons. > > I'm guessing I'll have all users log into th

question about basics of creating a PROXY to MONITOR network activity

2021-04-08 Thread cseb...@gmail.com
I'm trying to create an application that stands in between all connections to a remote server to monitor behavior for security and compliance reasons. I'm guessing I'll have all users log into this middle man proxy application instead of logging into the original website?

Re: Speeding up a test process with a local pypi and/or web proxy?

2019-11-19 Thread Dan Stromberg
e next thing to look at is setting up a local pypi, and > building some of the packages that're compiled from C/C++ every time we do > a full test run. (We're using docker and building dependencies for each > full test run) > > Also, we could conceivably set up a web proxy

Speeding up a test process with a local pypi and/or web proxy?

2019-11-15 Thread Dan Stromberg
re compiled from C/C++ every time we do a full test run. (We're using docker and building dependencies for each full test run) Also, we could conceivably set up a web proxy...? Does having a local pypi obviate the web proxy? And what local pypi servers do folks recommend for speed? We need suppo

Re: Help, Can't find the default proxy in requests by config

2019-02-21 Thread Evi1 T1me
gt; 449, in send > timeout=timeout > File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", > line 638, in urlopen > _stacktrace=sys.exc_info()[2]) > File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line > 398

Help, Can't find the default proxy in requests by config

2019-02-21 Thread Evi1 T1me
nt raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.baidu.com', port=443): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to

Re: How to reset system proxy using pyhton code

2018-02-19 Thread Thomas Jollans
On 2018-02-19 09:57, Sum J wrote: > Hi, > > I am using below python code (Python 2.7) to reset the proxy of my Ubuntu > (Cent OS 6) system, but I am unable to reset the proxy: I'm sure you know this, but CentOS and Ubuntu are two different things. > > Code : >

How to reset system proxy using pyhton code

2018-02-19 Thread Sum J
Hi, I am using below python code (Python 2.7) to reset the proxy of my Ubuntu (Cent OS 6) system, but I am unable to reset the proxy: Code : import os print "Unsetting http..." os.system("unset http_proxy") os.system("echo $http_proxy")

Re: Recommended pypi caching proxy?

2017-12-18 Thread Ray Cote
On Mon, Dec 18, 2017 at 1:00 PM, Matt Wheeler wrote: > On Mon, 18 Dec 2017, 15:45 Ray Cote, > wrote: > >> Looking to deploy a locally cached pypi proxy service. >> >> Is there a recommended/preferred pypi caching tool? >> I’ve found: >> - proxypypy &

Re: Recommended pypi caching proxy?

2017-12-18 Thread Matt Wheeler
On Mon, 18 Dec 2017, 15:45 Ray Cote, wrote: > Looking to deploy a locally cached pypi proxy service. > > Is there a recommended/preferred pypi caching tool? > I’ve found: > - proxypypy > - Flask-Pypi-Proxy > - pypicache > > All of which seem to have generally the

Recommended pypi caching proxy?

2017-12-18 Thread Ray Cote
Hello list: Looking to deploy a locally cached pypi proxy service. Is there a recommended/preferred pypi caching tool? I’ve found: - proxypypy - Flask-Pypi-Proxy - pypicache All of which seem to have generally the same functionality and all of which are a few years old. Recommendations

Re: install on host not connected to the internet and no local proxy

2017-11-02 Thread Paul Moore
On 2 November 2017 at 07:17, Chris Angelico wrote: > On Thu, Nov 2, 2017 at 5:50 PM, Noah wrote: >> Hi, >> >> I am trying to install a python package with about 80 dependencies on a >> server that is not connected to the internet and has no local proxy. I can >&g

Re: install on host not connected to the internet and no local proxy

2017-11-02 Thread Chris Angelico
On Thu, Nov 2, 2017 at 5:50 PM, Noah wrote: > Hi, > > I am trying to install a python package with about 80 dependencies on a > server that is not connected to the internet and has no local proxy. I can > ssh to it via VPN. > > I was able to find python bundle and download

install on host not connected to the internet and no local proxy

2017-11-02 Thread Noah
Hi, I am trying to install a python package with about 80 dependencies on a server that is not connected to the internet and has no local proxy. I can ssh to it via VPN. I was able to find python bundle and download the tarballs for all the main python package and all the tarballs for the

How to get the webpage with socks5 proxy in python3?

2017-09-23 Thread Length Power
x27;s socks5 proxy. The app provided socks5 proxy service is shadowsocks client on my pc. curl can work with socks proxy in my pc. target="target_url_youtube" curl --socks5-hostname 127.0.0.1:1080 $target -o /tmp/sample The target url can be downloaded with scoks

How to get the webpage with socks5 proxy in python3?

2017-09-23 Thread Length Power
x27;s socks5 proxy. The app provided socks5 proxy service is shadowsocks client on my pc. curl can work with socks proxy in my pc. target="target_url_youtube" curl --socks5-hostname 127.0.0.1:1080 $target -o /tmp/sample The target url can be downloaded with scoks5 proxy in curl.

urllib.request with proxy and HTTPS

2017-06-30 Thread Pavel Volkov
Hello, I'm trying to make an HTTPS request with urllib. OS: Gentoo Python: 3.6.1 openssl: 1.0.2l This is my test code: = CODE BLOCK BEGIN = import ssl import urllib.request from lxml import etree PROXY = 'proxy.vpn.local:' URL = "https:/

SOAPpy proxy through NTLM

2015-03-28 Thread pfaff . christopherj
## Python 2.7.6 (default, Apr 28 2014, 19:01:47) [GCC 4.2.2 20070831 prerelease [FreeBSD]] on freebsd8 Type "help", "copyright", "credits" or "license" for more information. >>> import SOAPpy >>> from SOAPpy import

Re: Suds Python 2.4.3 Proxy

2014-11-30 Thread Chris Angelico
On Mon, Dec 1, 2014 at 8:14 AM, Ned Deily wrote: > In article > , > Chris Angelico wrote: >> It might be worth looking at some actual 2.4 documentation. >> Unfortunately that doesn't seem to be hosted on python.org any more >> (though I might be wrong), > > https://python.org/ -> Documentation >

Re: Suds Python 2.4.3 Proxy

2014-11-30 Thread Ned Deily
In article , Chris Angelico wrote: > It might be worth looking at some actual 2.4 documentation. > Unfortunately that doesn't seem to be hosted on python.org any more > (though I might be wrong), https://python.org/ -> Documentation https://www.python.org/doc/ -> Documentation Releases by Ve

Re: Suds Python 2.4.3 Proxy

2014-11-30 Thread Mark Lawrence
On 30/11/2014 09:10, Chris Angelico wrote: On Sun, Nov 30, 2014 at 2:01 AM, Jerry Rocteur wrote: This works GREAT on 2.7 but when I run it on 2.4 I get: File "/usr/lib64/python2.4/urllib2.py", line 580, in proxy_open if '@' in host: TypeError: iterable argument required It might be w

Re: Suds Python 2.4.3 Proxy

2014-11-30 Thread Chris Angelico
On Sun, Nov 30, 2014 at 2:01 AM, Jerry Rocteur wrote: > This works GREAT on 2.7 but when I run it on 2.4 I get: > > File "/usr/lib64/python2.4/urllib2.py", line 580, in proxy_open > if '@' in host: > TypeError: iterable argument required It might be worth looking at some actual 2.4 document

Suds Python 2.4.3 Proxy

2014-11-29 Thread Jerry Rocteur
there but now I have to deploy the script on some Redhat workstations running python 2.4.3 (which I am not allowed to upgrade) When I create my client in my script I do it like this: url = 'https://system.globalsign.com/cr/ws/GasOrderService?wsdl' proxy = {'https': proxyl

Re: Google Appengine Proxy Post method error

2014-09-22 Thread Kev Dwyer
alextr...@googlemail.com wrote: > So I got the Labnol Google Appengine proxy but it can't handle the Post > method aka error 405. > > I need help adding this method to the script: > > mirror.py = http://pastebin.com/2zRsdi3U > > transform_content.py =

Google Appengine Proxy Post method error

2014-09-19 Thread alextrapp
So I got the Labnol Google Appengine proxy but it can't handle the Post method aka error 405. I need help adding this method to the script: mirror.py = http://pastebin.com/2zRsdi3U transform_content.py = http://pastebin.com/Fw7FCncA main.html = http://pastebin.com/HTBH3y5T All other

Re: Define proxy in windows 7

2014-09-02 Thread Mark Lawrence
On 02/09/2014 04:02, Chris Angelico wrote: These tips may help. (Though on Windows, where port 80 requires no special privileges, it's more likely for a proxy to use that than it is under Unix. So it's entirely possible it is actually on 80.) But what I'm seeing is a problem w

Re: Define proxy in windows 7

2014-09-01 Thread Chris Angelico
On Tue, Sep 2, 2014 at 12:06 PM, Cameron Simpson wrote: > I am not a Windows user, but on UNIX systems the format of http_proxy and > https_proxy is: > > http://proxyname:3128/ > > being the proxy hostname and port number respectively. You're saying: > > prox

Re: Define proxy in windows 7

2014-09-01 Thread Cameron Simpson
On 02Sep2014 06:25, Om Prakash wrote: I am wondering how to define proxy setting in env variable on windows 7, I want this so i can use pip to pull packages for me, the same setting though working earlier on windows xp. http_proxy = "proxy name:80" now this same setting doesn

Define proxy in windows 7

2014-09-01 Thread Om Prakash
Hi, I am wondering how to define proxy setting in env variable on windows 7, I want this so i can use pip to pull packages for me, the same setting though working earlier on windows xp. http_proxy = "proxy name:80" now this same setting doesn't work, i tried doing in the

Re: Want guidance to set proxy please help

2013-12-16 Thread Denis McMahon
On Sun, 15 Dec 2013 20:29:55 -0800, Jai wrote: > so , i need some step to set proxy so that my ip is not blocked by them This sounds like you're attempting to access a site other than for legitimate purposes. You probably want some 1337 script kiddies forum, not a serious pro

Want guidance to set proxy please help

2013-12-15 Thread Jai
hey i am working on parsing like project . so , i need some step to set proxy so that my ip is not blocked by them += i am using this method proxy_support = urllib2.ProxyHandler({"http":"http://61.147.82.87:8000"}) opener = urllib2.build_

Re: want to run proxy in python

2013-12-13 Thread Denis McMahon
On Fri, 13 Dec 2013 03:39:44 -0800, Jai wrote: > hey , will u guide me how to run proxies from python http://lmgtfy.com/?q=ip+address+spoofing -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

want to run proxy in python

2013-12-13 Thread Jai
hey , will u guide me how to run proxies from python i have tested lots of code but my ip show always constant on when i see it online plz help . -- https://mail.python.org/mailman/listinfo/python-list

Re: please guide to make proxy type function in python

2013-12-11 Thread Mark Lawrence
On 11/12/2013 12:28, Jai wrote: please guide to make proxy type function in python Write some code after looking at the documentation http://docs.python.org/3/. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence

please guide to make proxy type function in python

2013-12-11 Thread Jai
please guide to make proxy type function in python -- https://mail.python.org/mailman/listinfo/python-list

Re: reporting proxy porting problem

2013-12-02 Thread Robin Becker
On 28/11/2013 22:01, Terry Reedy wrote: .. All the transition guides I have seen recommend first updating 2.x code (and its tests) to work in 2.x with *all* classes being new-style classes. I presume one of the code checker programs will check this for you. To some extent, the upgrad

Re: reporting proxy porting problem

2013-11-28 Thread Terry Reedy
On 11/28/2013 6:12 AM, Robin Becker wrote: I am in the process of porting reportlab to python3.3, one of the contributions is a module that implements a reporting proxy with a canvas that records all access calls and attribute settings etc etc. This fails under python3 because of differences

reporting proxy porting problem

2013-11-28 Thread Robin Becker
I am in the process of porting reportlab to python3.3, one of the contributions is a module that implements a reporting proxy with a canvas that records all access calls and attribute settings etc etc. This fails under python3 because of differences between old and new style classes. I find

Re: Free Proxy site 2014

2013-09-27 Thread Dave Angel
On 27/9/2013 10:44, 23alagmy wrote: > Free Proxy site 2014 > search is the first proxy supports proxy access blocked sites, browsing, and > downloads without restrictions and also conceal your identity Pencah by 100% > from the sites you visit > > Sure, I'm going t

Free Proxy site 2014

2013-09-27 Thread 23alagmy
Free Proxy site 2014 search is the first proxy supports proxy access blocked sites, browsing, and downloads without restrictions and also conceal your identity Pencah by 100% from the sites you visit http://natigaas7ab.net/wp/?p=14556 -- https://mail.python.org/mailman/listinfo/python-list

substituting proxy

2013-07-29 Thread Robin Becker
Before attempting to reinvent the wheel has anyone created an http(s) proxy that can replace the content for specific requests. Context: I have access to the client's test site, but a lot of the requests are dynamic and save html complete etc etc doesn't work properly. In additio

Proxy connection with Python

2013-06-25 Thread bevan jenkins
Hello, I have an issue that has been frustrating me for a while now. This is an update of a crosspost (http://stackoverflow.com/questions/16703936/proxy-connection-with-python) which I made over a month ago. I have been attempting to connect to URLs from python. I have tried: urllib2, urlib3

Re: ssl proxy server

2013-05-15 Thread Zachary Ware
On Wed, May 15, 2013 at 1:58 PM, Chris “Kwpolska” Warrick wrote: > On Tue, May 14, 2013 at 9:14 PM, Skip Montanaro wrote: >> I haven't touched the SpamBayes setup for the usenet-to-mail gateway >> in a long while. For whatever reason, this message was either held >> and then approved by the curr

Re: ssl proxy server

2013-05-15 Thread Chris “Kwpolska” Warrick
On Tue, May 14, 2013 at 9:14 PM, Skip Montanaro wrote: > I haven't touched the SpamBayes setup for the usenet-to-mail gateway > in a long while. For whatever reason, this message was either held > and then approved by the current list moderator(s), or (more likely) > slipped through unscathed. N

Re: ssl proxy server

2013-05-14 Thread Skip Montanaro
40 PM, Chris “Kwpolska” Warrick wrote: > On Tue, May 14, 2013 at 2:34 PM, 23alagmy wrote: >> ssl proxy server >> >> hxxp://natigtas7ab.blogspot.com/2013/05/ssl-proxy-server.html >> -- >> http://mail.python.org/mailman/listinfo/python-list > > I have been see

Re: ssl proxy server

2013-05-14 Thread Chris “Kwpolska” Warrick
On Tue, May 14, 2013 at 2:34 PM, 23alagmy wrote: > ssl proxy server > > hxxp://natigtas7ab.blogspot.com/2013/05/ssl-proxy-server.html > -- > http://mail.python.org/mailman/listinfo/python-list I have been seeing those mails for a long time. Why didn’t anybody ban that guy? I

ssl proxy server

2013-05-14 Thread 23alagmy
ssl proxy server http://natigtas7ab.blogspot.com/2013/05/ssl-proxy-server.html -- http://mail.python.org/mailman/listinfo/python-list

image transforming web proxy?

2013-03-12 Thread Skip Montanaro
an clearly download the whole kit-n-kaboodle, use any of a number of different tools to convert the images from xbm to png, then view things locally. I finally figured out that Opera supports xbm and downloaded it. I wonder though, if there is a Python-based web proxy out there which can tra

Re: Transparent Proxy and Redirecting Sockets

2013-02-21 Thread Luca Bongiorni
2013/2/21 Rodrick Brown > On Thu, Feb 21, 2013 at 10:24 AM, Luca Bongiorni wrote: > >> Hi all, >> Around I have found plenty useful sources about TCP transparent proxies. >> However I am still missing how to make socket redirection. >> >> What I would li

Re: Transparent Proxy and Redirecting Sockets

2013-02-21 Thread Rodrick Brown
On Thu, Feb 21, 2013 at 10:24 AM, Luca Bongiorni wrote: > Hi all, > Around I have found plenty useful sources about TCP transparent proxies. > However I am still missing how to make socket redirection. > > What I would like to do is: > > host_A &

Transparent Proxy and Redirecting Sockets

2013-02-21 Thread Luca Bongiorni
Hi all, Around I have found plenty useful sources about TCP transparent proxies. However I am still missing how to make socket redirection. What I would like to do is: host_A <--> PROXY <--> host_B ^ | host_C <-- At the beginning the proxy is si

how to add socks proxy feature to script based on requests module?

2013-02-12 Thread xliiv
Hi! I've go a script which uses python requests (http://docs.python-requests.org/en/latest/). I need to add to it socks proxy feature. AFAIK requests doesn't support socks proxy (http://stackoverflow.com/questions/12601316/how-to-make-python-requests-work-via-socks-proxy) so i wa

Re: how to change system-wide proxy settings by Python ?

2013-02-03 Thread Michael Torrie
On 02/03/2013 08:34 AM, iMath wrote: > I have already known a valid proxy server(63.141.216.159)and > port(8087) which support both http and https protocols ,so how to > change system-wide proxy settings to this proxy by Python ? I use > WinXP ,can you show me an example of this

Re: how to change system-wide proxy settings by Python ?

2013-02-03 Thread Kwpolska
On Sun, Feb 3, 2013 at 4:34 PM, iMath wrote: > I have already known a valid proxy server(63.141.216.159)and port(8087) which > support both http and https protocols ,so how to change system-wide proxy > settings to this proxy by Python ? > I use WinXP ,can you show me an exa

how to change system-wide proxy settings by Python ?

2013-02-03 Thread iMath
I have already known a valid proxy server(63.141.216.159)and port(8087) which support both http and https protocols ,so how to change system-wide proxy settings to this proxy by Python ? I use WinXP ,can you show me an example of this ? thanks in advance ! -- http://mail.python.org/mailman

Re: python: HTTP connections through a proxy server requiring authentication

2013-01-28 Thread Saju M
Hi , Thanks barry, I solved that issue. I reconfigured squid3 with ncsa_auth, now its working same python code. Earlier I used digest_pw_auth. Actually I am trying to fix an issue related to python boto API. Please check this post https://groups.google.com/forum/#!topic/boto-users/1qk6d7v2HpQ

  1   2   3   4   5   >