
(for syscmd in vm.swappiness=0 vm.vfs_cache_pressure=100 vm.dirty_background_ratio=5 vm.dirty_ratio=10 net.core. #if compiled in module (openwrt/odroid) -> change in /etc/default/grub or your sdcard -> add to cmdline : usb-storage.quirks=1234:0123:u,0123:1231:uĮcho 1 | tee /proc/sys/net/ipv4/tcp_tw_recycle /proc/sys/net/ipv4/tcp_tw_reuse #top|htop|atop|ngxtop|mytop(mysql)|powertop|iotopĮcho options usb-storage quirks=0234:1234:u,0123:1231:u | sudo tee -a /etc/modprobe.d/blacklist_uas.conf #prevent usb hdd disc #pv for bulk ops|progress -M to monitor copy/move If (settings.value(QLatin1String("enabled"), false).-> vbox 6.0/6.1 -> kernel 5.4 fails (any. Settings.beginGroup(QLatin1String("proxy")) Void NetworkAccessManager::loadSettings() QDebug() << "SSL Echo Server listening on port" << port Ĭonnect(m_pWebSocketServer, &QWebSocketServer::newConnection,Ĭonnect(m_pWebSocketServer, &QWebSocketServer::sslErrors, If (m_pWebSocketServer->listen(QHostAddress::Any, port)) M_pWebSocketServer->setSslConfiguration(sslConfiguration) QSslKey sslKey(&keyFile, QSsl::Rsa, QSsl::Pem) QSslCertificate certificate(&certFile, QSsl::Pem) QFile keyFile(QStringLiteral("./localhost.key")) QFile certFile(QStringLiteral("./localhost.cert"))

M_pWebSocketServer = new QWebSocketServer(QStringLiteral("SSL Echo Server"), SslEchoServer::SslEchoServer(quint16 port, QObject *parent) : tPrivateKey( pkibundle->clientCertKey() )
#Qupzilla sni update
sources requiring SNI Translations: Update English po files. tLocalCertificate( pkibundle->clientCert() ) DHT blacklist time (ticket 2275) - Fix QupZilla detection (ticket 2026). QSslConfiguration sslConfig( QSslConfiguration::defaultConfiguration() ) QSslConfiguration sslConfig = request.sslConfiguration() QgsDebugMsg( QStringLiteral( "Update request SSL config: PKI bundle valid for authcfg: %1" ).arg( authcfg ) ) QgsDebugMsg( QStringLiteral( "Update request SSL config FAILED for authcfg: %1: PKI bundle invalid" ).arg( authcfg ) ) This project has been originally started only for educational. It aims to be a lightweight web browser available through all major platforms. If ( !pkibundle || !pkibundle->isValid() ) QupZilla is a new and very fast QtWebEngine browser. QgsPkiConfigBundle *pkibundle = getPkiConfigBundle( authcfg ) QgsDebugMsg( QStringLiteral( "Update request SSL config: HTTPS connection for authcfg: %1" ).arg( authcfg ) ) QgsDebugMsg( QStringLiteral( "Update request SSL config SKIPPED for authcfg %1: not HTTPS" ).arg( authcfg ) ) If ( request.url().scheme().toLower() != QLatin1String( "https" ) ) TODO: is this too restrictive, to intercept only HTTPS connections? This->page()->networkAccessManager()->setCookieJar(myjar) Ĭonnect( page()->networkAccessManager(), SIGNAL( sslErrors( QNetworkReply*, const QList & ) ) ,this,SLOT( handleSslErrors( QNetworkReply*, const QList & ) ) ) Ĭonnect( page()->networkAccessManager(), SIGNAL( authenticationRequired( QNetworkReply*,QAuthenticator* ) ), this,SLOT( ProvideAuthentication(QNetworkReply*,QAuthenticator* ) ) ) Ĭonnect( page()->networkAccessManager(), SIGNAL( proxyAuthenticationRequired(const QNetworkProxy &, QAuthenticator *)), this, SLOT( ProvideProxAuthentication( const QNetworkProxy&, QAuthenticator*) ) ) Ĭonnect( page()->networkAccessManager(), SIGNAL( finished ( QNetworkReply *)),this,SLOT(NetworkTaskfinished (QNetworkReply *))) īool QgsAuthIdentCertMethod::updateNetworkRequest( QNetworkRequest &request, const QString &authcfg, QNetworkCookieJar *myjar = new QNetworkCookieJar() Tsettings->setAttribute( QWebSettings::JavascriptCanOpenWindows, true) Tsettings->setAttribute( QWebSettings::JavaEnabled, true ) Tsettings->setAttribute( QWebSettings::AutoLoadImages, true ) Tsettings->setAttribute( QWebSettings::PluginsEnabled, true ) Tsettings->setAttribute( QWebSettings::JavascriptEnabled, true ) QSslConfiguration::setDefaultConfiguration( sslConfig ) tProtocol( QSsl::SslV3 ) //Seems under ubuntu we need to specify the version QSslConfiguration sslConfig = QSslConfiguration::defaultConfiguration() This is needed in Ubuntu under QT 5 for SSL to work ItsBrowser::itsBrowser( QWidget *parent ) : _googleReply = networkManager->get(qheader) Ĭonnect(_googleReply, &QNetworkReply::finished, this, &UrlFactory::_googleVersionCompleted) Ĭonnect(_googleReply, &QNetworkReply::destroyed, this, &UrlFactory::_replyDestroyed) Ĭonnect(_googleReply, static_cast(&QNetworkReply::error), Ua.append(getQGCMapEngine()->userAgent()) QSslConfiguration conf = qheader.sslConfiguration() Ĭonf.setPeerVerifyMode(QSslSocket::VerifyNone)
QNetworkProxy proxy = networkManager->proxy()

QMutexLocker locker(&_googleVersionMutex) UrlFactory::_tr圜orrectGoogleVersions(QNetworkAccessManager* networkManager)
