<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE rdf:RDF [
<!ENTITY % HTMLlat1 PUBLIC
 "-//W3C//ENTITIES Latin 1 for XHTML//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
]>
<rdf:RDF
 xmlns="http://purl.org/rss/1.0/"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 xmlns:admin="http://webns.net/mvcb/"
>
<channel rdf:about="http://www.dietzm.de/blog">
<title>Webcam</title>
<link>http://www.dietzm.de/blog/archives/cat_8/</link>
<description>news, technical stuff, photos, ....</description>
<dc:language>en-us</dc:language>
<dc:creator>MDietz</dc:creator>
<dc:date>2007-02-11T11:32:19+01:00</dc:date>
<admin:generatorAgent rdf:resource="http://nanoblogger.sourceforge.net" />
<items>
<rdf:Seq>
<rdf:li rdf:resource="http://www.dietzm.de/blog/archives/2007/02/#e2007-02-11T11_32_12.txt" />
<rdf:li rdf:resource="http://www.dietzm.de/blog/archives/2007/02/#e2007-02-11T10_52_10.txt" />
<rdf:li rdf:resource="http://www.dietzm.de/blog/archives/2006/11/#e2006-11-19T17_51_35.txt" />
<rdf:li rdf:resource="http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T01_43_21.txt" />
<rdf:li rdf:resource="http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T01_27_32.txt" />
<rdf:li rdf:resource="http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T01_01_54.txt" />
<rdf:li rdf:resource="http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T00_47_07.txt" />
</rdf:Seq>
</items>
</channel>
<item rdf:about="http://www.dietzm.de/blog/archives/2007/02/#e2007-02-11T11_32_12.txt">
<link>http://www.dietzm.de/blog/archives/2007/02/#e2007-02-11T11_32_12.txt</link>
<title>MDGrab- New version with Authentication</title>
<dc:date>2007-02-11T11:32:12+01:00</dc:date>
<dc:creator>MDietz</dc:creator>
<dc:subject>Webcam</dc:subject>
<description><![CDATA[Ive create a new version of the commandline videograbber tool MDGrab. (see downloads) <br>
<b>New Features:</b><br>
-send keep alive packets<br>
-authentication added<br>
-webcam control added (up,left,right,down,nightshot)<br>
-some fixes<br>
<br>
It required the following jars which you can find here: http://jakarta.apache.org/commons/<br>
-commons-logging<br>
-commons-httpclient<br>
-commons-codecs<br>
<br>
Example command to view live video on linux:
<pre>
java -cp commons-httpclient-3.0.1.jar:commons-logging.jar:commons-codec-1.3.jar:MDGrab.jar de.dietzm.webcam.MDGrab 192.168.0.55 - admin adminpw  | mplayer - -demuxer mpeg4es -msglevel all=1
</pre>
<br>
<br>
A detailed description will follow.<br>]]></description>
</item>
<item rdf:about="http://www.dietzm.de/blog/archives/2007/02/#e2007-02-11T10_52_10.txt">
<link>http://www.dietzm.de/blog/archives/2007/02/#e2007-02-11T10_52_10.txt</link>
<title>Ovislink Airlive system access</title>
<dc:date>2007-02-11T10:52:10+01:00</dc:date>
<dc:creator>Ovislink Airlive system access</dc:creator>
<dc:subject>Webcam</dc:subject>
<description><![CDATA[The Ovislink Airlive WL-5460CAM has a security hole which allows you to access the buildin Linux system, read and modify 
configuration files.<br>
<b>How ?</b><br>
-Open the web interface of the webcam<br>
-Choose configuration <br>
-Store/backup your configuration into a file<br>
-Open this file with a text editor<br>
-Search the section with the /sbin/ifconfig .... line, this section is the backup of your /etc/rc.d/rc.sysinit<br>
-Everything you write into this section will be executed on startup (but be careful that it does not block/hang)<br>
-For Example: Add a new line "ls -l /etc >> /etc/hosts" this will list all files in /etc and print the result in /etc/hosts<br>
-Now restore your modified configuration file and reboot the webcam.<br>
<b>Why print to /etc/hosts ?</b><br> 
Because it is the next section in you backup configuration, after reboot you can read the result in your configuration backup.<br>
<br>
Try it out ! If your Webcam doesn't start anymore, you can reset it to the factory defaults.<br>
With some effort it should also be possible to install a telnet or ssh binary to get remote access <br>
Please keep me informed If you managed to get remote access.
<br>
<br>
Here is the process list of my webcam:
<pre>
  PID  Uid     VmSize Stat Command
    1 root        316 S   init
    2 root            SW  [keventd]
    3 root            SWN [ksoftirqd_CPU0]
    4 root            SW  [kswapd]
    5 root            SW  [bdflush]
    6 root            SW  [kupdated]
    8 root            SW  [mtdblockd]
    9 root            SW  [ftld]
   10 root            SW  [khubd]
   13 root        312 S   init
   14 root        396 S   /bin/sh /etc/rc.d/rc.sysinit
   36 root            SW< [loop0]
  156 root        208 S   /usr/sbin/chkbutton
  158 root        220 S   /bin/op_server 0 0 0
  183 root        584 D   go-server
  184 root        416 S   ipv_server
  186 root        388 S   /bin/sh /etc/rc.d/rc.init.sh
  188 root        416 S   ipv_server
  189 root        416 S   ipv_server
  196 root        288 R   /bin/ps x
</pre>]]></description>
</item>
<item rdf:about="http://www.dietzm.de/blog/archives/2006/11/#e2006-11-19T17_51_35.txt">
<link>http://www.dietzm.de/blog/archives/2006/11/#e2006-11-19T17_51_35.txt</link>
<title>Ovislink 5460 Webcam video grabber tool (MDGrab)</title>
<dc:date>2006-11-19T17:51:35+01:00</dc:date>
<dc:creator>MDietz</dc:creator>
<dc:subject>Webcam</dc:subject>
<description><![CDATA[I've finished the first version of a java based video grabber tool.<br>
It grabs the live stream of the ovislink webcam and stores it into a file.<br>
<a href="http://www.dietzm.de/blog/download/index.html?MDGrab.jar">MDGrab Java Package (JRE 1.5.x required)</a><br>
<br>
To start the video grabber command line tool, enter the following command:<br>
<B>java -jar MDGrab.jar [webcam IP-Address] [output filename]</B><br>]]></description>
</item>
<item rdf:about="http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T01_43_21.txt">
<link>http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T01_43_21.txt</link>
<title>Cellvision Header</title>
<dc:date>2006-11-18T01:43:21+01:00</dc:date>
<dc:creator>MDietz</dc:creator>
<dc:subject>Webcam</dc:subject>
<description><![CDATA[To get the plain mpeg4 video stream I had to remove Cellvisions additional header structure.<br>
The header seems to be always 40 bytes long, and index 24-27 are the size of the following video data.<br>
In java it look like this:<br>
<b>
   byte[] hdr = new byte[HEADERSIZE];<br>
   int r = in.read(hdr);<br>
  //convert 4 bytes to an int<br>
   int ret = (hdr[27]& 0xFF)<< 24 | (hdr[26]& 0xFF) << 16 | (hdr[25]& 0xFF) << 8 | (hdr[24]& 0xFF);<br></b>
<br>
I'll provide a sample program later (check downloads).<br>]]></description>
</item>
<item rdf:about="http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T01_27_32.txt">
<link>http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T01_27_32.txt</link>
<title>WebCam Network Stream analysed</title>
<dc:date>2006-11-18T01:27:32+01:00</dc:date>
<dc:creator>MDietz</dc:creator>
<dc:subject>Webcam</dc:subject>
<description><![CDATA[After some hours of network tracing. I found out how the Webcam works:<br>
<img src="/images/dump.gif"/><br>
<br>
It has multiple TCP Ports open:
<br>Port 80 = Web Interface. All commands to control the webcam (pan&tilt...) are http requests.It also handles the authentication<br>
Port 5000 = Stream initialization.<br>
Port 5001 = Streaming Port, sends the video packets<br>
Port 500  = documented as ipview port. But ipview pro does not connect to this port !<br>
dynamic Port = UPnp Mediaserver port <br>
<br>
The following sequence is used to start the video streaming:<br>
1) connect to port 80 and authenticate (http authentication)<br>
2) connect to port 5000, send a init sequence and disconnect<br>
3) connect to port 5001, send a start sequence and receive the video stream (with a cellvision header in each packet)<br>]]></description>
</item>
<item rdf:about="http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T01_01_54.txt">
<link>http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T01_01_54.txt</link>
<title>Ovislink Airlive = Cellvision CAS670W</title>
<dc:date>2006-11-18T01:01:54+01:00</dc:date>
<dc:creator>MDietz</dc:creator>
<dc:subject>Webcam</dc:subject>
<description><![CDATA[Meanwhile I found out that the Ovislink Airlive 5460CAM is equal to the Cellvision CAS670W.<br>
<img src="/images/mycam.jpg"/><br>
Cellvision seems to be the original developer of the Webcam, while tracing the network traffic I found a lot
of "Cellvision" strings in the package header.<br>
Cellvision offers a <a href="http://www.cellvision.net/library/sdk/">Aragorn SDK</a> which is a documentation of a webcam protocol (but not 100% equals).<br>]]></description>
</item>
<item rdf:about="http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T00_47_07.txt">
<link>http://www.dietzm.de/blog/archives/2006/11/#e2006-11-18T00_47_07.txt</link>
<title>Ovislink  AIrlive 5460CAM</title>
<dc:date>2006-11-18T00:47:07+01:00</dc:date>
<dc:creator>MDietz</dc:creator>
<dc:subject>Webcam</dc:subject>
<description><![CDATA[I've bought a Ovislink Airlive 5460CAM Webcam.<br>
It's a really nice Webcam with integrated Wireless LAN and Pan&Tilt
function.<br>A detailed specification could be found here <a href="http://www.ovislink.de/products/wl5460cam.htm">Ovislink Airlive</a><br><br>After unpacking the webcam, I found out that the java applet was missing, instead an ActiveX plugin was
required to use the Webcam. WTF...<br>So, I've decided to implement my own java applet to capture the Webcam video.]]></description>
</item>
</rdf:RDF>
