how to redirect packets with python?

how to redirect packets with python?

Postby Adel » Sat Jan 11, 2014 4:08 am

I want to write a Client program that reads all packets and redirect some of them to our proxy server. (to bypass internet filtering)

we have dedicated proxy servers and I want to redirect only "filtered web traffics" to them. the rest of the packets should send to the actual target. I want to read all packets and if they are filtered, then send them to our proxy servers and recieve the result from our proxy server. all of them must be encrypted.

I need TLS tunnels to do it. how can I do this?

I think "Twisted" is good for it and I don't know where to start?
Posts: 1
Joined: Sat Jan 11, 2014 4:01 am

Re: how to redirect packets with python?

Postby micseydel » Sat Jan 11, 2014 8:31 am

It sounds like you basically just want to take a standard proxy server written in Python, and modify it so that some of that traffic goes to another proxy. Is that about right?

If that sounds right, then it sounds like you'd just want to modify something like this.
Due to the reasons discussed here we will be moving to on October 1, 2016.

This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
Posts: 3000
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Return to Networking

Who is online

Users browsing this forum: No registered users and 4 guests