Proxy Application
-
Sorry my poor english, and if this is not the correct area to do this question.
I'm starting on Qt now, and I need to do a simple ProxyApplication, with a simple interface(a Login, a Pass, a server and a port camps). I read about QNetworkProxy, and about SQLite (to do the login/pass system)...but I don't know how I can do this, so, please, if the members can give me a tip...
-
Concerning SQLite, you can have a look at QSqlDatabase and QSqlQuery classes. Qt provides an easy way to deal with databases, and SQLite is supported.
If your goal is to create an application to redirect all the computer traffic through a proxy, the QNetworkProxy will probably not be enough, as it will only route connections from your application (and only thoses using Qt Network classes). You'll have to manipulate the OS settings to achieve a system wide effect.
Hope it helps.
-
Why do you need sqlite for a login/password system when accessing a service on the network? Doesn't the service do the authentication for you anyway?
-
[quote author="Tobias Hunger" date="1358959076"]Why do you need sqlite for a login/password system when accessing a service on the network? Doesn't the service do the authentication for you anyway?[/quote]
I need a login/password sytem to the appplication, when I do a logon with the proxy the Login and Password are checked, if match, the proxy is set to all the application. Is because this.