Forum Discussion
Bartek_Krajnik_
Nimbostratus
Jan 07, 2010serverssl and ssl offloading (http to https)
Hi,
I'm trying to make ssl offloading on HTTP.
Request comes from client via HTTP and on F5 I'm trying to tunel it on HTTPS to the server.
For example client requests: http://www.f5.com and it comes via http to f5, then on F5 I make ssl connection to https://www.f5.com (client can view only http connection).
I created 2 virtualservers:
virtual virtualserver1 {
ip forward
destination any:any
mask none
vlans IN
OUT enable
}
virtual virtualserver2 {
pool nextrouter
destination any:80
mask none
ip protocol tcp
vlans IN enable
rules proxyit
profiles
serverssl
tcp
}
rule proxyit {
when CLIENT_ACCEPTED {
node U.X.Y.Z 443
}
}
Where U.X.Y.Z is IP address of interface where virtualserver1 listens (IN).
pool nextrouter has IP address of next gateway.
And now I can see packets, which comes in via IN interface, goes to virtualserver2 and that's all.
Directive "node U.X.Y.Z 443" doesn't send packets to IN interface.
Where can be the problem?
6 Replies
- L4L7_53191
Nimbostratus
I'm very interested in doing this, although I'll need to speak with my friends over at f5 again - I've brought this up before, and I'd like to revisit it again. Note that when I wrote pyControl I was an employee at f5, and I consider it to be f5 property. So I'll need to chat with a few folks over there about it. - L4L7_53191
Nimbostratus
Oh, and what is the issue with the setup.py that you found? Can you send me your changes? - Radomir_Dopiera
Nimbostratus
Whether it is the property of F5 or not should not matter, as it is released under the GPL license. Of course I understand that it wouldn't be very nice to just use that license without talking to them first.from setuptools import setup setup( name='pycontrol', description='Library for F5 iControl API', long_description="""pyControl is a Python-based library that integrates with F5's BIG-IP iControl management API.""", version='2.0.1r86', license='GPL', url='http://devcentral.f5.com/Default.aspx?tabid=149', keywords='iControl F5 API', py_modules=['pycontrol'], install_requires=['distribute', 'suds>=0.3.9'], platforms='any', classifiers=[ 'Operating System :: OS Independent', 'Programming Language :: Python', ], )
- Jestin_47598
Nimbostratus
Any updates here? I would really like to see pycontrol in pypi. As the OP stated, I'm also happy to publish it myself if needed.
- L4L7_53191
Nimbostratus
It's not on pypi, but I've recently put it up on github: https://github.com/mcauthorn/pycontrol. I'll probably merge the patch above into setup.py as well, so you should be able to install it via pip and pointing it to the github uri. - L4L7_53191
Nimbostratus
Mhite convinced me this is a great idea. Jestin: would you please head over to github, add the pypi stuff (I've not done this before) and issue a pull request? That way we can draft off of your experience. We'll send it up afterwards. - L4L7_53191
Nimbostratus
Should be up on pypi very soon gang, stay tuned. Rearranging some stuff now to make it pypi / pip friendly. Adding @Radomir's setup.py as well. - L4L7_53191
Nimbostratus
Gang: It's up on pypi now, and works via normal "pip install pycontrol" into your favorite virtualenv :) Thanks to Mhite and Radomir for the nudge and the help.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects