Getting "Bad Request" when using M/Monit over port forwarding w/ NetGear
Konstantin Gredeskoul
kigster at gmail.com
Tue Apr 29 02:25:00 CEST 2008
Guys, sorry for the barrage of emails and questions, but that's a
noobie for you :-) I figured since the product in alpha I might as
well keep shouting out :)
So I can now successfully see hosts on my local network, and receive
the events back, even though I have an alternate port specified for
M/Monit.
However, when I add the port forwarding rule to my Netgear WTG router,
and then try to access M/Monit from outsite of my firewall, I get the
following error in the browser:
Bad Request
Invalid Cookie header Zild/2.0
A similar error appears in the error_log:
2008-04-28 17:15:40 [client X.X.X.X] HTTP 400 Bad Request (Invalid
Cookie header)
This is happening when using Firefox or Safari on Mac OS-X 10.5.2
If I telnet directly to the port (from outside) I do get the HTML back
(I've replaced the real IP with X.X.X.X).
Any idea what's going on and how to fix it?
Thanks
=============================================
# telnet X.X.X.X 9999
Trying X.X.X.X...
Connected to X.X.X.X.
Escape character is '^]'.
GET /index.csp HTTP/1.0
HTTP/1.1 200 OK
Date: Tue, 29 Apr 2008 00:19:57 GMT
Server: Zild/2.0
Set-Cookie: zsessionid=B0F712960BF76A426E06B223EA75E067; Path=/
Content-Length: 1829
ETag: "1207521668-3951197039886
Content-Type: text/html
Last-Modified: Sun, 06 Apr 2008 15:41:08
Accept-Ranges: bytes
Expires: Sun, 21 Feb 1993 00:29:55 GMT
Cache-Control: no-cache, no-store, max-age=0, s-maxage=0
Pragma: No-cache
Connection: close
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 TRANSITIONAL//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
etc....
--
Thanks
Konstantin
blog » http://tektastic.com
music » http://polygroovers.com
gtalk » kigster
More information about the mmonit-user
mailing list