View Full Version : Can Ants http show up Apache-PHP-powered website?
View Full Version : Can Ants http show up Apache-PHP-powered website?
xrobot
March 5th, 2005, 05:53 AM
If yes, it can be use to establish forum or else....
ABC_thellookoflove
March 5th, 2005, 09:57 AM
ants should make normal websites like www.google.com readable.
for the chinese people wanting to read cnn.com
xrobot
March 5th, 2005, 12:20 PM
You mean though Ants we can access normal website as Yahoo, google or else?
May be you get me wrong, I want to ask if I can create a website with apache-php and being readable through Ants' http server section...
tsafa1
March 5th, 2005, 02:37 PM
See my post here about setting up an Http server on ants
http://www.zeropaid.com/bbs/showthread.php?t=24944
On ants once you install apache, you can host webpages that will be viewable within ants anonymously. The webpage info will travel through other nodes to maintain you security by give you denyability.
A note of caution. When doing this you should put up a filewall blocking apache traffic and allowing JWS (ants). This will leave only one possible way for the info on the webpage to get out, Ants. If you do not do this , it is possible for someone who knows your ip address and the file name of the webpage you are hosting to view it outsde of ants via your direct ip address. This would not be an anonymous sitiuation. I find this rather tought to do in my tests, but it is posible.
aqlo
March 5th, 2005, 03:04 PM
Yes, apache-hosted php will work in ants as well as html does. The execution of the files takes place on the server (your hosting pc) so it is just a matter of piping the information through ants instead of standard http. So yes, you could set up a php forum and run it exclusively through ants; it would be significantly slower than they already are on the internet however.
Good warning about blocking the normal apache connections tsafa1.
xrobot
March 5th, 2005, 08:42 PM
Thx you guys for so valuable suggestion. Actually tsafa1 told us the most important security issue, that I personally have overlooked.
ABC_thellookoflove
March 6th, 2005, 03:01 AM
You mean though Ants we can access normal website as Yahoo, google or else?
.
Yes this I would like to see in ants. It is important for china and easy to do for ants developer.
tsafa1
March 6th, 2005, 05:10 AM
We need to clarify something. If you do not block apache access with firewall, it may be accessed by a google search. But, it will not be anonymous in that case because it will not be through ants. Apache will be serving it directly from your ip address to whoever is looking at your webpage. In my tests, i have not been able to do this anyway, so don't loose sleep over it, but it is posible.
If you block apache with a fire wall, and open for JWS (ants). You will force the web page info through Ants. In that case it will be anonymous, but there is currently no way to access it out side of ants. So google search will never find it. It would be great if a bridge was developed between ants and the regular internet. Then webpages could be published anonymously to the regular internet via ants. Someone sugested using I2P technology to do this. But this is a raw idea that needs further consideration.
Sorry, i did not understand the original question. yes you can use php in ants to host a forem. I have seen two instances where this was succesfully done. However, i have not seen those webpages up in a long time. I think it was more of a test that someone tried, but it can definetly be done.
ABC_thellookoflove
March 6th, 2005, 05:25 AM
tsafa, the goal is not, that your webserver is available for ants-users and firefox-users.
the goal is, that an ants user can browse yahoo.com
so an ants client should connect to yahoo.com for another ants node in china.
this is all and simple.
aqlo
March 6th, 2005, 05:39 AM
Let me get this straight.
Xrobot, the poster who made this thread, wants to know if he can host a php forum or similar webpage arrangement using ants. ABC, your response, apparently misunderstanding the question, is that he should be able to use it to see yahoo. We kick in to answer the actual question, that yes he can use it for what he wants. You reply back that the goal is not to answer xrobot's question, but rather to proxy the web for you.
ABC_thellookoflove
March 6th, 2005, 06:02 AM
thanks for answering the question, as tsafa, if did not exactly understand the question of the thraed starter, as well i wanted to add the request of browsing not a server in ants but yahoo.de
Me not understanding the thread quite correctly is not more dangerous than tsafa not understanding reading yahoo... ;-)
But where were you at the beginning of this thread ?
xrobot
March 6th, 2005, 11:06 AM
Hey guys, no need to argue. Actually my question is answered anyway. But it is also interesting to see that Ants can work directly as TOR(tor.eff.org), without the hassle to install TOR and Proxvy.(i.e. visit regular website anonymously)
But Tsafa1, referring to your post:It would be great if a bridge was developed between ants and the regular internet. Then webpages could be published anonymously to the regular internet via ants. It seem impossible. Because the regular internet depend on ip address, if we want to publish Ants website accessable by the mass, at least we must have a static proxy ip for the frontend(or I am wrong?). Just like TOR and Freenet, the anonymous site have a non-standard URL(not in format of http://www.yahoo.com). May be Ants can develop a tiny plugin for regular internet broswer to enable it to read special URL of Ants. It is a viable and practice way. Actually there is such kind of plugin for browser to read Chinese domain(which is non-standard URL), that works in the suggested way above.
Watchmen
March 6th, 2005, 11:35 AM
Tsafa, how do you find ants hosted webpages?
and aglo is it correct that you are now supporting this project (Ants)?
xrobot
March 6th, 2005, 01:54 PM
Read this http://antsp2p.sourceforge.net/antsp2phelp/HttpConnections.htm for how to see the Ants hosted site.
tsafa1
March 6th, 2005, 02:03 PM
It seem impossible. Because the regular internet depend on ip address, if we want to publish Ants website accessable by the mass, at least we must have a static proxy ip for the frontend(or I am wrong?)
yes. this theoretical bridge would have to be hosted by someone with a static ip who is running ants and the "bridge" program. This person would still have denyability becase he is only passing along. Naturly it would be smart of that person not to have any copyrighted material on his computer.
But.... someone may still figure out a way to do this with dynamic ip's. This is such a new area who knows how far inovation can go.
tsafa1
March 6th, 2005, 02:07 PM
Read this
BTW, don't click the URL [url]www.xxx.com that I had posted for example above, I just found that it is a porn site, it really suck! Sorry anyway ::0
edit it out. you can do that. just hit edit botton within your post.
tsafa1
March 6th, 2005, 02:33 PM
Tsafa, how do you find ants hosted webpages?
and aglo is it correct that you are now supporting this project (Ants)?
within ants? you go to the "http server " tab and then hit "refresh server" botton. You may have to do this a few times. It will then give you a list of servers. You right click on a server and hit activate. Again you may have to do this a few timesand wait. Remeber your request has to travel through the proxy network. There is no direct connection. Finaly when you right click on it again, you click on "open with browser".Your browser should open and start loading the webpage. Again it will be slower then an internet webpage because it has to travel though the proxy network. Here apache is acting as the middle-man between ants and the webpage you want to host. If you do not block apache internet access. apache will pump it though ants but also through the regular internet. Basicly apache will send it out any hole it can find.
if your question is how do you access a webpage directly via the internet by someone running appache but and is not blocking it with a firewall. you enter their ip address plus the name of the webpage. something like this. "http://153.45.89.25/index.html" of course you need to know their ip address and the name of the webpage file. This has nothing to do with ants. This is all apache.
If this is not clear, please ask again. it is important for people to know abouthis potential flaw in security. idealy in the future ants should have the a web server built in that only sends info through ants. but lets fix the other stuff first :tilted
What do you mean "i am suporting he ants project"???? I'm suporting it to the extent of my bandwidth, time spent testing and time spent answering questions and helping new people both on Ants and on Mute. No finacial suport other then a few small dollars sent to pay pall a long time ago. But i think this projects can best be promoted by people chipping in time and bandwidth to test.
Watchmen
March 6th, 2005, 02:49 PM
Thanks for the very good answer. I was curious as to how you find webpages through ants. Can you take a screenshot of what this looks like?
tsafa1
March 6th, 2005, 09:21 PM
Thanks for the very good answer. I was curious as to how you find webpages through ants. Can you take a screenshot of what this looks like?
the first pictures shouws me right clicking to activate the server
the second picure shows me right clicking to open the browser.
After this your borwser will open up and start to load the webpage as it always does. only difrence is that it is getting the info through ants rather then the internet.
You tell ants which borwser you want it to use from the settings panel. You simply point the way to the executable of mozilla, firefox or what ever you use.