sleemanj / xinha

WYSIWYG HTML Editor Component (turns <textarea> into HTML editors)
http://trac.xinha.org/
Other
13 stars 2 forks source link

Xinha Causing Server Connection Reboot [SYN FLOOD] (Trac #680) #680

Closed sleemanj closed 4 years ago

sleemanj commented 18 years ago

Hi, I was wondering if there was anything that could be causing problems with my webserver and xinha causing random server reboots - i dont have any plugins enabled.

Sometimes, Xinha will load, and allow me to use the editor more times than not, and othertimes it will start to load, and sit there loading, and cause the entire server to look like it reboots (other sites are not accessible) ... The server is using cPanel, so if you know where i need to get the relevant info from, I will gladly do so.

If you want to get in touch, my email is dean@etomite.org

Reported by dean@etomite.org, migrated from http://trac.xinha.org/ticket/680

sleemanj commented 18 years ago

sorry i forgot to say - the error occured in FF and IE on both PC and Mac

sleemanj commented 18 years ago

anonymous commented:

This is the info just handed to me regarding version:

Release: Trunk ($LastChangedDate: 2006-01-18 20:10:25 -0500 (Wed, 18 Jan 2006) $) Head: http://svn.xinha.python-hosting.com/trunk/htmlarea.js Revision: 461 Last Changed By: mokhet

sleemanj commented 18 years ago

It is not possible for Xinha to cause the server to reboot. Xinha runs client-side (except for a few PHP scripts in the plugins, if PHP is making your server reboot, fix your server).

sleemanj commented 18 years ago

anonymous commented:

Ok, well i have tried it on a second, newly formatted server, which is also using cPanel, and it's doing the exact same on the second server - which is a completely different server, in a different datacentre, with a different company...

Both are using cPanel.

I don't know if it's the same thing, but I was reading else where that another script that does this was causing it because it was creating a mini-DOS attack due to an incorrectly coded JS file, that was causing it to constantly go looking for a file, and then cause the server to reboot.

sleemanj commented 18 years ago
sleemanj commented 18 years ago

koto@webworkers.pl commented:

I am also using Xinha on sites with CPanel installed, but I have never encountered such problems. Maybe try to look in the server log files to see what reqests came just before the hangup/reboot ?

sleemanj commented 18 years ago

anonymous commented:

Ok, I have more info - it is not crashing my server, but causing my router to abort the connection:

See the security Message SYN Flood to Host 192.168.1.7, 2033->> xx.xxx.xxx.xx, 80 (from ATM1 Outbound) Where xx.xxx.xxx.xx is my server's IP

sleemanj commented 18 years ago

anonymous changed summary from Xinha Causing Server Reboot to Xinha Causing Server Connection Reboot [SYN FLOOD]

sleemanj commented 18 years ago
sleemanj commented 18 years ago

It isn't in the Plugin - Fullscreen - its in all of it!

sleemanj commented 18 years ago

dean@etomite.org commented:

All I can say is WOW.... no reponse in quite a while!

sleemanj commented 18 years ago

mokhet commented:

well dean, yes no reponse in quite a while but '''patches are welcome'''.

sleemanj commented 18 years ago

Ok, Xinha itself has no possible way of doign a SYN flood, javascript has no access to perform low level network operations, all we can do is GET and POST stuff. What this means is one of two things

  1. The browser is doing the synflood - in which case, what browser.
  2. Something else on the clients computer is doing the flood.

Closing this for two reasons, first is that in either case it's most unlikely that we can do anything about it, it's simply not within our power. Second is that nobody else is experiencing this problem (or at least nobody else has reported it) and so it seems more likely that it's a specific problem to the submitter's browser (or other software, or server setup).

I personally use Xinha on many cPanel servers and have never had any problem like this.