with plain auth set, I get this:
access.log:
Code: Select all
10.10.6.2 - - [27/Jul/2005:21:51:09 -0400] "GET /security/index.php?view=watchevents&max_events=10&mid=2 HTTP/1.1" 200 10337 "http://its/security/index.php?view=watch&mid=2&control=&mode=still&scale=100" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
10.10.6.2 - - [27/Jul/2005:21:51:09 -0400] "GET /cgi-bin/zms?mode=single&monitor=2&scale=100&user=admin&pass=&rand=1122515468HTTP/1.1" 500 644 "http://its/security/index.php?view=watchfeed&mode=still&mid=2&scale=100&control=" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
10.10.6.2 - - [27/Jul/2005:21:51:12 -0400] "GET /cgi-bin/zms?mode=single&monitor=2&scale=100&user=admin&pass=&rand=1122515468HTTP/1.1" 500 644 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
Code: Select all
[Wed Jul 27 21:51:09 2005] [error] [client 10.10.6.2] Premature end of script headers: zms, referer: http://its/security/index.php?view=watchfeed&mode=still&mid=2&scale=100&control=
Extraneous options, 2
zmu <-d device_no> [-v] [function] [-U<username> -P<password>]
zmu <-m monitor_id> [-v] [function] [-U<username> -P<password>]
General options:
-h, --help : This screen
-v, --verbose : Produce more verbose output
Options for use with devices:
-d, --device <device_no> : Get the current video device settings for /dev/video<device_no>
-q, --query : Query the current settings for the device
Options for use with monitors:
-m, --monitor <monitor_id> : Specify which monitor to address, default 1 if absent
-q, --query : Query the current settings for the monitor
-s, --state : Output the current monitor state, 0 = idle, 1 = alarm, 2 = alert
-B, --brightness [value] : Output the current brightness, set to value if given
-C, --contrast [value] : Output the current contrast, set to value if given
-H, --hue [value] : Output the current hue, set to value if given
-O, --colour [value] : Output the current colour, set to value if given
-i, --image [image_index] : Write captured image to disk as <monitor_name>.jpg, last image captured
or specified ring buffer index if given.
-S, --scale <scale_%ge> : With --image specify any scaling (in %) to be applied to the image
-t, --timestamp [image_index] : Output captured image timestamp, last image captured or specified
ring buffer index if given
-R, --read_index : Output ring buffer read index
-W, --write_index : Output ring buffer write index
-e, --event : Output last event index
-f, --fps : Output last Frames Per Second captured reading
-z, --zones : Write last captured image overlaid with zones to <monitor_name>-Zones.jpg
-a, --alarm : Force alarm in monitor, this will trigger recording until cancelled with -c
-n, --noalarm : Force no alarms in monitor, this will prevent alarms until cancelled with -c
-c, --cancel : Cancel a forced alarm/noalarm in monitor, required after being enabled with -a or -n
-u, --suspend : Suspend detection, useful to prevent bogus alarms when panning etc
-r, --resume : Resume detection after a suspend
-U, --username <username> : When running in authenticated mode the username and
-P, --password <password> : and password combination of the given user
-A, --auth <authentication> : Pass authentication hash string instead of user details
[Wed Jul 27 21:51:12 2005] [error] [client 10.10.6.2] Premature end of script headers: zms
Error, unable to authenticate user
with auth set to encoded:
access.log:
Code: Select all
10.10.6.2 - - [27/Jul/2005:21:53:18 -0400] "GET /cgi-bin/zms?mode=jpeg&monitor=2&scale=100&maxfps=15&auth=6570a71238f25a3dada0ec3613c7dc7d&rand=1122515585 HTTP/1.1" 500 644 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
10.10.6.2 - - [27/Jul/2005:21:55:19 -0400] "GET /security/index.php?view=watch&mid=2 HTTP/1.1" 200 1007 "http://its/security/index.php" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
10.10.6.2 - - [27/Jul/2005:21:55:19 -0400] "GET /security/index.php?view=watchmenu&mode=&mid=2&scale=100&control= HTTP/1.1" 200 1521 "http://its/security/index.php?view=watch&mid=2" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
10.10.6.2 - - [27/Jul/2005:21:55:19 -0400] "GET /security/index.php?view=watchfeed&mode=&mid=2&scale=100&control= HTTP/1.1" 200 569 "http://its/security/index.php?view=watch&mid=2" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
10.10.6.2 - - [27/Jul/2005:21:55:19 -0400] "GET /security/index.php?view=watchevents&max_events=10&mid=2 HTTP/1.1" 200 10337 "http://its/security/index.php?view=watch&mid=2" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
10.10.6.2 - - [27/Jul/2005:21:55:19 -0400] "GET /security/index.php?view=watchstatus&mid=2&control= HTTP/1.1" 200 743 "http://its/security/index.php?view=watch&mid=2" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
10.10.6.2 - - [27/Jul/2005:21:55:19 -0400] "GET /cgi-bin/zms?mode=jpeg&monitor=2&scale=100&maxfps=15&auth=06658caa328ae97cc35ce8838656e8e6&rand=1122515719 HTTP/1.1" 500 644 "http://its/security/index.php?view=watchfeed&mode=&mid=2&scale=100&control=" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"
Code: Select all
Error, unable to authenticate user
Error, unable to authenticate user
[Wed Jul 27 21:53:18 2005] [error] [client 10.10.6.2] Premature end of script headers: zms
Error, unable to authenticate user
[Wed Jul 27 21:55:19 2005] [error] [client 10.10.6.2] Premature end of script headers: zms, referer: http://its/security/index.php?view=watchfeed&mode=&mid=2&scale=100&control=
Thanks for any suggestions..