You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I've tested warp-plus on Telecommunication Company of Iran and figured that using --scan isn't much effective and data transfer rate drops to zero soon or late after connection established. So I wrote this batch script to find clean ip and Determine connection interrupts. It first use nslookup to grab CF ip behind these two popular websites in iran : "tgju.org" and "zula.ir". then i've used curl to check connection every 20 seconds to determine connection interrupts with 4s timeout. if timeout reached and no response received, script uses killtask to terminate warp-plus.exe then use nslookup for another website in a loop....
Can you include these to warp-plus ?? this connection is way more Stable . Sorry For Bad English
` @echo off
setlocal enabledelayedexpansion
:start
for /f "tokens=2 delims=: " %%a in ('nslookup -q=A tgju.org ^| findstr /R "^Addresses: [0-9].[0-9].[0-9].[0-9]$"') do (
set ip=%%a
goto :break
)
:break
start /b warp-plus.exe -e !ip!:890
timeout /t 5
goto :loop
:start2
for /f "tokens=2 delims=: " %%a in ('nslookup -q=A zula.ir ^| findstr /R "^Addresses: [0-9].[0-9].[0-9].[0-9]$"') do (
set ip=%%a
goto :break2
)
:break2
start /b warp-plus.exe -e !ip!:880
timeout /t 5
goto :loop2
This is an interesting idea! So if I understand correctly, the issue is that when scan is used you only know if IP is working on the first few minutes. After that, the IP may not be usable and must be switched. So what is desired is a system that actively tests the tunnel to see if it's healthy, and if not, scan for a new IP and reconnect.
Hi I've tested warp-plus on Telecommunication Company of Iran and figured that using --scan isn't much effective and data transfer rate drops to zero soon or late after connection established. So I wrote this batch script to find clean ip and Determine connection interrupts. It first use nslookup to grab CF ip behind these two popular websites in iran : "tgju.org" and "zula.ir". then i've used curl to check connection every 20 seconds to determine connection interrupts with 4s timeout. if timeout reached and no response received, script uses killtask to terminate warp-plus.exe then use nslookup for another website in a loop....
Can you include these to warp-plus ?? this connection is way more Stable . Sorry For Bad English
`
@echo off
setlocal enabledelayedexpansion
:start
for /f "tokens=2 delims=: " %%a in ('nslookup -q=A tgju.org ^| findstr /R "^Addresses: [0-9].[0-9].[0-9].[0-9]$"') do (
set ip=%%a
goto :break
)
:break
start /b warp-plus.exe -e !ip!:890
timeout /t 5
goto :loop
:start2
for /f "tokens=2 delims=: " %%a in ('nslookup -q=A zula.ir ^| findstr /R "^Addresses: [0-9].[0-9].[0-9].[0-9]$"') do (
set ip=%%a
goto :break2
)
:break2
start /b warp-plus.exe -e !ip!:880
timeout /t 5
goto :loop2
:loop
curl --proxy 127.0.0.1:8086 --max-time 4 http://gstatic.com/generate_204
if %errorlevel% neq 0 (
echo Connection failed
taskkill /F /IM warp-plus.exe
goto :start2
) else (
echo Connection successful
)
timeout /t 20 /nobreak
goto :loop
:loop2
curl --proxy 127.0.0.1:8086 --max-time 4 http://gstatic.com/generate_204
if %errorlevel% neq 0 (
echo Connection failed
taskkill /F /IM warp-plus.exe
goto :start
) else (
echo Connection successful
)
timeout /t 20 /nobreak
goto :loop2
`
The text was updated successfully, but these errors were encountered: