Does anyone know of a way to monitor network activity to a specific IP
Address programmatically?

Hereâ??s the situation. We have an IP Phone system in the office (Itâ??s a Mitel
system if that makes any difference). Our computers are all connected to our
phone via network cables, which is then connected to our network. Each phone
has its own IP (i.e. 10.10.2.x)

Basically, Iâ??m looking for a simple way to check to see if someone is on
their phone.

We could become certified with Mitel to develop software for our phone
system, but that requires training, time, money, etc... and it is probably
overkill for what we currently need. So I figured if we could just pole the
network activity to the phone, that would probably indicate to us that the
phone is in use.

Any ideas on how this can be accomplished? Is there any APIâ??s or something
else that would work?



Thanks in advance,

Jerry

Re: Monitor Network Activity by Josh

Josh
Thu Oct 19 11:46:14 CDT 2006

http://www.tcpdump.org/pcap.htm


I think the easist way would be to figure out what port your system is using on
the client side -- then try a quick connection to that port on each IP -- if you
can connect, they're not on the phone...


On Thu, 19 Oct 2006 07:53:02 -0700, Jerry <Jerry@discussions.microsoft.com>
wrote:

>Does anyone know of a way to monitor network activity to a specific IP
>Address programmatically?
>
>Here?s the situation. We have an IP Phone system in the office (It?s a Mitel
>system if that makes any difference). Our computers are all connected to our
>phone via network cables, which is then connected to our network. Each phone
>has its own IP (i.e. 10.10.2.x)
>
>Basically, I?m looking for a simple way to check to see if someone is on
>their phone.
>
>We could become certified with Mitel to develop software for our phone
>system, but that requires training, time, money, etc... and it is probably
>overkill for what we currently need. So I figured if we could just pole the
>network activity to the phone, that would probably indicate to us that the
>phone is in use.
>
>Any ideas on how this can be accomplished? Is there any API?s or something
>else that would work?
>
>
>
>Thanks in advance,
>
>Jerry


--- AntiSpam/harvest ---
Remove X's to send email to me.

Re: Monitor Network Activity by Jerry

Jerry
Fri Oct 20 08:49:03 CDT 2006

Hey Josh,

We don't currently know what port the phones are using. We're looking in to
this...do you know of a way?

How would you go about trying to connect to that port/IP in FoxPro? I now
have a list of IP Addresses & MAC Addresses for each phone if that helps.
Would I be using a command like "telnet"?


Thanks for all your help,

Jerry


"Josh Assing" wrote:

> http://www.tcpdump.org/pcap.htm
>
>
> I think the easist way would be to figure out what port your system is using on
> the client side -- then try a quick connection to that port on each IP -- if you
> can connect, they're not on the phone...
>
>
> On Thu, 19 Oct 2006 07:53:02 -0700, Jerry <Jerry@discussions.microsoft.com>
> wrote:
>
> >Does anyone know of a way to monitor network activity to a specific IP
> >Address programmatically?
> >
> >Hereâ??s the situation. We have an IP Phone system in the office (Itâ??s a Mitel
> >system if that makes any difference). Our computers are all connected to our
> >phone via network cables, which is then connected to our network. Each phone
> >has its own IP (i.e. 10.10.2.x)
> >
> >Basically, Iâ??m looking for a simple way to check to see if someone is on
> >their phone.
> >
> >We could become certified with Mitel to develop software for our phone
> >system, but that requires training, time, money, etc... and it is probably
> >overkill for what we currently need. So I figured if we could just pole the
> >network activity to the phone, that would probably indicate to us that the
> >phone is in use.
> >
> >Any ideas on how this can be accomplished? Is there any APIâ??s or something
> >else that would work?
> >
> >
> >
> >Thanks in advance,
> >
> >Jerry
>
>
> --- AntiSpam/harvest ---
> Remove X's to send email to me.
>

Re: Monitor Network Activity by Josh

Josh
Fri Oct 20 09:39:59 CDT 2006

>We don't currently know what port the phones are using. We're looking in to
>this...do you know of a way?

I would just run wireshark on the system, call it; then analyze the packets.

>How would you go about trying to connect to that port/IP in FoxPro? I now
>have a list of IP Addresses & MAC Addresses for each phone if that helps.
>Would I be using a command like "telnet"?

well; I wouldn't use telnet in vfp. I would just connect to it.
check out http://jassing.com/vfpping.zip

The 'ping' doesn't really describe it; but it connects to a machine (ip) and a
specific port.

>> >Does anyone know of a way to monitor network activity to a specific IP
>> >Address programmatically?

But that vfpping won't 'monitor' the activity. You need a sniffer for that.


-josh

--- AntiSpam/harvest ---
Remove X's to send email to me.

Re: Monitor Network Activity by Jerry

Jerry
Fri Oct 20 12:28:01 CDT 2006

Hi Josh,

From what I can tell from WireShark, it's giving me the following info:
Source: "Mitel_1d:13:6a (08:00:0f:1d:13:6a)" --> which matches my MAC
Address list for my phone.
Destination: "CDP/VTP/DTP/PAgP/UDLD"
Protocol: "CDP"
Info: "Device ID: SEP08000F1D136A Port ID: Port 1"

So I assume that it is using port 1? I then tried the vfpping with the IP &
port 1, but it returned "error" & didn't connect.


Am I missing something?


Jerry


"Josh Assing" wrote:

> >We don't currently know what port the phones are using. We're looking in to
> >this...do you know of a way?
>
> I would just run wireshark on the system, call it; then analyze the packets.
>
> >How would you go about trying to connect to that port/IP in FoxPro? I now
> >have a list of IP Addresses & MAC Addresses for each phone if that helps.
> >Would I be using a command like "telnet"?
>
> well; I wouldn't use telnet in vfp. I would just connect to it.
> check out http://jassing.com/vfpping.zip
>
> The 'ping' doesn't really describe it; but it connects to a machine (ip) and a
> specific port.
>
> >> >Does anyone know of a way to monitor network activity to a specific IP
> >> >Address programmatically?
>
> But that vfpping won't 'monitor' the activity. You need a sniffer for that.
>
>
> -josh
>
> --- AntiSpam/harvest ---
> Remove X's to send email to me.
>

Re: Monitor Network Activity by Josh

Josh
Fri Oct 20 14:42:40 CDT 2006


Sadly vfpping is tcpip.
I'll have to think about how to probe cdp

On Fri, 20 Oct 2006 10:28:01 -0700, Jerry <Jerry@discussions.microsoft.com>
wrote:

>Hi Josh,
>
>From what I can tell from WireShark, it's giving me the following info:
> Source: "Mitel_1d:13:6a (08:00:0f:1d:13:6a)" --> which matches my MAC
>Address list for my phone.
> Destination: "CDP/VTP/DTP/PAgP/UDLD"
> Protocol: "CDP"
> Info: "Device ID: SEP08000F1D136A Port ID: Port 1"
>
>So I assume that it is using port 1? I then tried the vfpping with the IP &
>port 1, but it returned "error" & didn't connect.
>
>
>Am I missing something?
>
>
>Jerry
>
>
>"Josh Assing" wrote:
>
>> >We don't currently know what port the phones are using. We're looking in to
>> >this...do you know of a way?
>>
>> I would just run wireshark on the system, call it; then analyze the packets.
>>
>> >How would you go about trying to connect to that port/IP in FoxPro? I now
>> >have a list of IP Addresses & MAC Addresses for each phone if that helps.
>> >Would I be using a command like "telnet"?
>>
>> well; I wouldn't use telnet in vfp. I would just connect to it.
>> check out http://jassing.com/vfpping.zip
>>
>> The 'ping' doesn't really describe it; but it connects to a machine (ip) and a
>> specific port.
>>
>> >> >Does anyone know of a way to monitor network activity to a specific IP
>> >> >Address programmatically?
>>
>> But that vfpping won't 'monitor' the activity. You need a sniffer for that.
>>
>>
>> -josh
>>
>> --- AntiSpam/harvest ---
>> Remove X's to send email to me.
>>


--- AntiSpam/harvest ---
Remove X's to send email to me.

Re: Monitor Network Activity by Jerry

Jerry
Fri Oct 20 15:27:01 CDT 2006

Ok, thanks Josh. I really appreciate your help with this!


Have a good weekend,

Jerry

"Josh Assing" wrote:

>
> Sadly vfpping is tcpip.
> I'll have to think about how to probe cdp
>
> On Fri, 20 Oct 2006 10:28:01 -0700, Jerry <Jerry@discussions.microsoft.com>
> wrote:
>
> >Hi Josh,
> >
> >From what I can tell from WireShark, it's giving me the following info:
> > Source: "Mitel_1d:13:6a (08:00:0f:1d:13:6a)" --> which matches my MAC
> >Address list for my phone.
> > Destination: "CDP/VTP/DTP/PAgP/UDLD"
> > Protocol: "CDP"
> > Info: "Device ID: SEP08000F1D136A Port ID: Port 1"
> >
> >So I assume that it is using port 1? I then tried the vfpping with the IP &
> >port 1, but it returned "error" & didn't connect.
> >
> >
> >Am I missing something?
> >
> >
> >Jerry
> >
> >
> >"Josh Assing" wrote:
> >
> >> >We don't currently know what port the phones are using. We're looking in to
> >> >this...do you know of a way?
> >>
> >> I would just run wireshark on the system, call it; then analyze the packets.
> >>
> >> >How would you go about trying to connect to that port/IP in FoxPro? I now
> >> >have a list of IP Addresses & MAC Addresses for each phone if that helps.
> >> >Would I be using a command like "telnet"?
> >>
> >> well; I wouldn't use telnet in vfp. I would just connect to it.
> >> check out http://jassing.com/vfpping.zip
> >>
> >> The 'ping' doesn't really describe it; but it connects to a machine (ip) and a
> >> specific port.
> >>
> >> >> >Does anyone know of a way to monitor network activity to a specific IP
> >> >> >Address programmatically?
> >>
> >> But that vfpping won't 'monitor' the activity. You need a sniffer for that.
> >>
> >>
> >> -josh
> >>
> >> --- AntiSpam/harvest ---
> >> Remove X's to send email to me.
> >>
>
>
> --- AntiSpam/harvest ---
> Remove X's to send email to me.
>