On Tue, December 8, 2015 22:22, Dennis Huillca Portilla wrote:
I've already realized something, looks like someone/something (I imagine a firewall I'm not an expert on networks), is preventing requests made with a hidden input field with *cmd* as a name (as the field with the value equal to *login* in the login form), I've created another form with that input hidden and the same name and the same problem is happening, but when I change the name instead of *cmd* it works fine, how can I make this to work?. you can test it here: http://isc.unsaac.edu.pe/cuscontest/public/test.php you can (in chrome) press F12 key to inspect document and change the name of the hidden input field to whatever not being *cmd *and it will post fine, but if you left *cmd *it won't do post. hope you can give me some suggestions, maybe contact the network administrator (I think they are very strong headed), in that case I should replace all occurences with the name *cmd *in project files?.
That definitely points to some kind of DPI device messing with the network traffic (presuming that you didn't install anything that could do this on the webserver itself). Your network administrator should indeed know more about it. I would say that such a device is likely to break lots of other stuff aswell.
If it isn't fixable on the network level, a well aimed sed command in the php files could indeed work around the problem for you. But maybe an even better workaround is to run DOMjudge over https. Any DPI stuff then won't be able to mess with it, and your DOMjudge install gets more secure at the same time.
Cheers, Thijs