Operating System - HP-UX
1819810 Members
3022 Online
109607 Solutions
New Discussion юеВ

Re: Apache, Sercurity Camera

 
SOLVED
Go to solution
Marty Metras
Super Advisor

Apache, Sercurity Camera

I have install a security camera, Dlinks DSC 1000W, in the computer lab. It is a network camera with it's own IP.
I can set it up to stream video and see it as long as I view it from the inside network.
You do this by creating a wep page and it works fine inside the network.
From the Outside I can see the web page but not the video.
There is something I am missing.
If I use an inside IP(local) or a public IP(Internet) I get the same results.
I can streem the video on the local network but cannot see the video from the internet.
What am I missing?
Marty
The only thing that always remain the same are the changes.
18 REPLIES 18
Robert-Jan Goossens
Honored Contributor

Re: Apache, Sercurity Camera

The firewall ?

Robert-Jan
Steven E. Protter
Exalted Contributor

Re: Apache, Sercurity Camera

There are a few ways to make this camera data available on the public Internet:

1) connect the second NIC card on the HP-UX box to the public Internet, assign it an ip address and permanently configure it in /etc/rc.config.d/netconf for example of that setup with ipfilters firewall http://www.hpux.ws)

2) Have your firewall route port 80 and other needed traffic to the internal IP address of the HP-UX box. How to do this depends on what kind of firewall you are using. Even if you are using one of those DSL share things it can be done.

The video is probably on a different port number than the apache web server(defined in httpd.conf). That port may need to be configured into apache, and certainly needs to be configured at the firewall depending on how your HP-UX box is configured to the public Internet.

You may have the port blocked at the firewall or with HP-UX firewall software.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Stefan Schulz
Honored Contributor

Re: Apache, Sercurity Camera

What i can think of:

Firewall
Routing
Gatewaydefinition

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Marty Metras
Super Advisor

Re: Apache, Sercurity Camera

Right now it is not behind a firewall.
It is pointing out the window.
IP 68.23.246.186 users/Passwd to test/test
Click on ActionX or Java to view.
Marty
The only thing that always remain the same are the changes.
Patrick Wallek
Honored Contributor

Re: Apache, Sercurity Camera

It looks good to me. I can see that there is snow on the ground and I saw some people walk by. It is updating quite fast and looks very good. No problem here.
Marty Metras
Super Advisor

Re: Apache, Sercurity Camera

Patrick,
You are the first. I'm glad for you.
I must be missing some thing.
When I select Java or ActionX I get every thing but the Data and the video. JUst a gray box where the video should be.

Patrick are behing a firewall/router?
I am today. This has been bugging me for a few days now.
Marty
The only thing that always remain the same are the changes.
Stefan Schulz
Honored Contributor

Re: Apache, Sercurity Camera

Nothing to see for me. Interesting is that i got an Javascript warning with my first try which pointed at line 21 of the Jview.html.

Something like Class not supported or found.

The line is:

cvcs.GetRealTimeData()

But i didn't get any more warnings or errormessages during the following tries. Just nothing to see.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Robert-Jan Goossens
Honored Contributor

Re: Apache, Sercurity Camera

Hi Marty,

I did not select anything, just opened http://ipadres entered user/passwd and got a view over a road and some trees with a lot of snow.

Robert-Jan
Patrick Wallek
Honored Contributor

Re: Apache, Sercurity Camera

Yes, I am behind a corporate firewall.

I don't know that I did anything special. I am using Opera 7.50p1 as a browser.

I just went back to it again. It appears that you made the picture box bigger.
Dave Hutton
Honored Contributor

Re: Apache, Sercurity Camera

Worked for me. I didn't really have to click anything to see the picture. Just sat there. I'm not sure if it updated on its own.

I clicked the ActiveX and it didn't seem to work for me. But it maybe our firewall or how my PC is set up.

The java one did work. Seems to send a new picture every few seconds.

Dave
Marty Metras
Super Advisor

Re: Apache, Sercurity Camera

I was playing with the camera settings. So the picture got bigger.
The first picture is static.
To get the streaming video you need to select Java or ActiveX.
This is a very busy street so you should see cars every few seconds.
Marty
The only thing that always remain the same are the changes.
Steven E. Protter
Exalted Contributor

Re: Apache, Sercurity Camera

Can't access the site at all.

Port 80 right? Can you test and paste a complete http link?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Robert-Jan Goossens
Honored Contributor

Re: Apache, Sercurity Camera

Steven,

http://68.23.246.186/

use above username and passwd.

Marty,

Screenshot attached (:-)

Robert-Jan
Marty Metras
Super Advisor

Re: Apache, Sercurity Camera

http://68.23.246.186/
User/Passwd tim/tim
The ports are the Defaults 80 and 8481
Input 80 for the Webserver Port and 8481 for the Transfer Image Port.
Marty
The only thing that always remain the same are the changes.
Marty Metras
Super Advisor

Re: Apache, Sercurity Camera

Well, you guys were kind of right when you said firewall, router.
The jave applet for the camera does not know how to get around the proxy. We heve our whole network so secure even I could not get around this.
My work around is like this:
I have the camera creating a snapshot ever second for 180 seconds and I have a web page showing a time laps slide show. For now this will work. the 180 snapshots are only 2MB.
Now I have to learn some java to deal with the proxy or punch a hole in the in it.
I wish I could let you see this but it is on a secure Web site.
I'll set it up at home later if some one wants to see it.
Thanks for all the ideas, they all helped.
Marty
The only thing that always remain the same are the changes.
Steven E. Protter
Exalted Contributor

Re: Apache, Sercurity Camera

We block port 8481

Currently the site shows no data when I click.

Mozilla 1.4 HP-UX

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven Sim Kok Leong
Honored Contributor
Solution

Re: Apache, Sercurity Camera

Hi,

I use zoneminder, coolest piece of streaming and motion detection opensource software I have ever used. Supports both webcams and network cameras. And I only need to open up one HTTP or HTTPS port.

Not sure if zoneminder suits your requirements. Hope this helps.

Steven Sim Kok Leong
Marty Metras
Super Advisor

Re: Apache, Sercurity Camera

Steven,
Thanks! I did not think to look for opensource. That funny because that is the first place I look most of the time.
Thanks again.
Marty
The only thing that always remain the same are the changes.