Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
I See Some Programms Like proxy programms that it use some ip addresses to connect
but after a time that ip addresses be block from my country and the programm can not access to that ip addresses...
after that it find new ip address and it connect to that!!!!!
how this programm can find new addresses?
Posted
Updated 11-Jan-16 1:32am
v3
Comments
Mohibur Rashid 11-Jan-16 8:02am    
The question is not clear. But I guess you need to learn about dns
Member 12256940 11-Jan-16 8:50am    
i know something about dns... how i can use dns for this work

1 solution

That can't be answered without knowing the program(s) you are talking about. And then it might be only possible to answer when having the sources.

But I guess they use a list of proxy servers. This list may be hard-coded and/or retrieved online. When a server can not be reached anymore they try the next from the list.

Just search for "list of proxy servers" and you will get a lot of hits.
 
Share this answer
 
Comments
Member 12256940 11-Jan-16 8:46am    
no because my country block all list of proxy servers that program use...
i don't have any source code but one of program that do something like that is 'psiphon'
Jochen Arndt 11-Jan-16 9:05am    
Your country can't effectively block all proxy servers because the lists will change.

Note also that the lists itself does not contain IP adresses but server names and the IP adresses are obtained by DNS requests. So the server names are left unchanged while the IP addresses may change. Blocking can be only performed on the IP address because the server name is not part of the communication (beside inside a previous DNS request).

From the psiphon FAQ:
"Your Psiphon client will automatically discover new Psiphon servers. When the last server used is currently unavailable, another one can be used instead."

This tells you that they run their own servers.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900