Jump to content

Block Webcam?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
16 replies to this topic

#1
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Is it possible to block a webcam from the router or whatever? My sister keeps on using the freaking webcam and that is a great waste of bandwidth! Can I block the port or something?

I can disable the webcam from the device manager of 'her' computer.. but I'd like that to be my last resort.

#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
You can disable ports on the router's firewall. Check the router's configuration page, usually 192.168.2.1 or something similar.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#3
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
It's 192.168.1.1.. I know that. I was reading online and read that the port that yahoo uses for webcam is 5100.. is this for every application?

#4
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
I don't think so - you'll have to find out which one is used for her webcam.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#5
gaylo565

gaylo565

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 268 posts
It is different for each application. Here is the range used:
Webcam and Video Conversations TCP 80
TCP/UDP 5000 - 65535
some more advanced applications will actually open a new port if the one they are using is disabled. These applications typically have a smaller sub-range of available port numbers (usually about 10 or so.) If you know which programs she uses for her webcam it is easy enough. If you don't know what port to disable use the netstat command from the command line to view a list.

#6
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
Or just write an application that subclasses her web cam program, and then prevent it from receiving any network data, and the connection will get dropped.

#7
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts

gaylo565 said:

It is different for each application. Here is the range used:
Webcam and Video Conversations TCP 80
TCP/UDP 5000 - 65535
some more advanced applications will actually open a new port if the one they are using is disabled. These applications typically have a smaller sub-range of available port numbers (usually about 10 or so.) If you know which programs she uses for her webcam it is easy enough. If you don't know what port to disable use the netstat command from the command line to view a list.
Uhm. can I execute netstat from my laptop to monitor her computer?

MeTh0Dz|Reb0rn said:

Or just write an application that subclasses her web cam program, and then prevent it from receiving any network data, and the connection will get dropped.

Too complicated.

#8
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
MeTh0Dz' solution would be the most optimal one, as one shan't care about the different ports the different applications are using. But well, if you're going to block ports, then you just have to find out which application she's using for the webcam, whether it's MSN Messenger, Skype, or whatever. When you know which application it is, you shall find out which port the particular application is using. Sometimes is the user able to change the port, and in that case you'll have to check her settings.

Edited by v0id, 25 July 2008 - 12:56 AM.


#9
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
I know what program she is using, I mean.. we live in the same house LOL! Uhm, but methodz method will not work, because if I block the network then she will not be able to chat. I just want to block the camera, not the whole program.

#10
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
My method can still work, you will just have to do some research and identify which data is meant for the webcam, and which is meant for chat.

Another method would be to write a filter driver, and put it in the device driver chain that her webcam uses. Then just tell it to drop all packets.

#11
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Hmm, I'm not much into low-level lol. Create a driver? I might just uninstall it and disable from device manager.

#12
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
Well if you change your mind and you want to do it that way. Just tell me and I can help you out.