PC Review


Reply
Thread Tools Rate Thread

Capturing port traffic

 
 
google_groups3@hotmail.com
Guest
Posts: n/a
 
      7th Aug 2005
Hi all.

This is a bit of a long shot i think but right now i am all out of
ideas, so any help is greatly appreciated!

I have an app that sends information on a specific port. However, te
port is blocked on the firewall so the app won't connect. Changing the
firewall config is not an option, nor is reconfiguring the app.

So, my question is this. Is there a way to develop an app that
captures all this information being sent on the local computer from 1
port, and then via this app send it out of a different port?
Re-channeling it so to speak.

Fingers crossed...
TIA.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?S2VuIFR1Y2tlciBbTVZQXQ==?=
Guest
Posts: n/a
 
      7th Aug 2005
Hi,

Could you use a web service instead?
http://msdn.microsoft.com/webservice...s/default.aspx

Ken
----------------

"(E-Mail Removed)" wrote:

> Hi all.
>
> This is a bit of a long shot i think but right now i am all out of
> ideas, so any help is greatly appreciated!
>
> I have an app that sends information on a specific port. However, te
> port is blocked on the firewall so the app won't connect. Changing the
> firewall config is not an option, nor is reconfiguring the app.
>
> So, my question is this. Is there a way to develop an app that
> captures all this information being sent on the local computer from 1
> port, and then via this app send it out of a different port?
> Re-channeling it so to speak.
>
> Fingers crossed...
> TIA.
>
>

 
Reply With Quote
 
=?Utf-8?B?S2VuIFR1Y2tlciBbTVZQXQ==?=
Guest
Posts: n/a
 
      7th Aug 2005
Hi,

Never mind that work because you cant reconfigure the app recieving
the data.

Ken
---------------------

"Ken Tucker [MVP]" wrote:

> Hi,
>
> Could you use a web service instead?
> http://msdn.microsoft.com/webservice...s/default.aspx
>
> Ken
> ----------------
>
> "(E-Mail Removed)" wrote:
>
> > Hi all.
> >
> > This is a bit of a long shot i think but right now i am all out of
> > ideas, so any help is greatly appreciated!
> >
> > I have an app that sends information on a specific port. However, te
> > port is blocked on the firewall so the app won't connect. Changing the
> > firewall config is not an option, nor is reconfiguring the app.
> >
> > So, my question is this. Is there a way to develop an app that
> > captures all this information being sent on the local computer from 1
> > port, and then via this app send it out of a different port?
> > Re-channeling it so to speak.
> >
> > Fingers crossed...
> > TIA.
> >
> >

 
Reply With Quote
 
google_groups3@hotmail.com
Guest
Posts: n/a
 
      7th Aug 2005
no but my idea would be to have another app (written in VB) at the
other end to pass on the recieved info to the locally listening ports
on the same computer.

i.e.

machine 1 sending info on port 999
app 1 on machine 1 captures all traffic on port 999 and sends it to
port 80 on machine 2

app 2 on machine 2 receives this info and passes to port 999 on local
machine.

 
Reply With Quote
 
Trammel
Guest
Posts: n/a
 
      7th Aug 2005
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all.
>
> This is a bit of a long shot i think but right now i am all out of
> ideas, so any help is greatly appreciated!
>
> I have an app that sends information on a specific port. However, te
> port is blocked on the firewall so the app won't connect. Changing the
> firewall config is not an option, nor is reconfiguring the app.
>
> So, my question is this. Is there a way to develop an app that
> captures all this information being sent on the local computer from 1
> port, and then via this app send it out of a different port?
> Re-channeling it so to speak.



Can you reconfigure the IP in the software or in the local "hosts" file?

IE: If software connects to blah.domain.com... the set the hosts file to
say summiut like:
Code:
127.0.0.1          blah.domain.com
--
Trammel is a member of DWC (http://dwc.no-ip.org)
(Please reply to group only)


 
Reply With Quote
 
Trammel
Guest
Posts: n/a
 
      7th Aug 2005
"Trammel" <(E-Mail Removed)> wrote in message
news:C4vJe.32882$(E-Mail Removed)...
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi all.
> >
> > This is a bit of a long shot i think but right now i am all out of
> > ideas, so any help is greatly appreciated!
> >
> > I have an app that sends information on a specific port. However, te
> > port is blocked on the firewall so the app won't connect. Changing the
> > firewall config is not an option, nor is reconfiguring the app.
> >
> > So, my question is this. Is there a way to develop an app that
> > captures all this information being sent on the local computer from 1
> > port, and then via this app send it out of a different port?
> > Re-channeling it so to speak.

>
>
> Can you reconfigure the IP in the software or in the local "hosts" file?
>
> IE: If software connects to blah.domain.com... the set the hosts file to
> say summiut like:
>
Code:
> 127.0.0.1          blah.domain.com
>


Sorry... the reason I asked the above is that if yu can change the IP then
its fairly easy to do a local bounce to a different port... and then maybe
bounc again bck to normal port on a "home" PC... before sending to the final
server. (I did similar to use IRC from work).

--
Trammel is a member of DWC (http://dwc.no-ip.org)
(Please reply to group only)


 
Reply With Quote
 
=?Utf-8?B?S2VuIFR1Y2tlciBbTVZQXQ==?=
Guest
Posts: n/a
 
      7th Aug 2005
Hi,

Take a look at the sockets class.

http://msdn.microsoft.com/library/de...classtopic.asp

http://msdn.microsoft.com/library/de...classtopic.asp

Ken
----------------------------

"(E-Mail Removed)" wrote:

> no but my idea would be to have another app (written in VB) at the
> other end to pass on the recieved info to the locally listening ports
> on the same computer.
>
> i.e.
>
> machine 1 sending info on port 999
> app 1 on machine 1 captures all traffic on port 999 and sends it to
> port 80 on machine 2
>
> app 2 on machine 2 receives this info and passes to port 999 on local
> machine.
>
>

 
Reply With Quote
 
google_groups3@hotmail.com
Guest
Posts: n/a
 
      8th Aug 2005
I believe that I can change the IP that the app sends to, so this might
be an option. How would I do it?

Thanks.

 
Reply With Quote
 
google_groups3@hotmail.com
Guest
Posts: n/a
 
      8th Aug 2005
Let me explain better in case anyone has not understood.

I use Internet explorer. But port 80 is closed on the firewall,
however port xxx is open. So, my app in essence captures all traffic
on port 80 and sends it out on port xxx and also captures all incoming
traffic on port xxx and sends it to port 80 on the localhost. on
another remote network is a server sending info on port 80. my other
app on that machine also captures all traffic on port 80 and resends it
on port xxx to my listening app.

i hope this is clearer because i am reeeaaaalllllyyyyy stuck with this!
virtual beers all round for anyone who can help!

p.s. this is just an example, i am not actually interested in
capturing internet traffic as i know that a proxy could do this.

 
Reply With Quote
 
google_groups3@hotmail.com
Guest
Posts: n/a
 
      10th Aug 2005
Hi Trammel,

This sounds like what I want to do. Can you offer any assistance or
code please?

Thanks a lot.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Capturing all HTTP traffic between browser and server in .NET gomisha Microsoft C# .NET 3 26th Jun 2006 08:35 PM
Capturing Data from a Com Port or Printer Port =?Utf-8?B?TmV3YnkgOik=?= Microsoft Excel Programming 1 18th Aug 2005 05:12 PM
The Port 445 traffic Vernaltown Guo Microsoft Windows 2000 Networking 1 18th Mar 2005 03:34 AM
Traffic to DC on port 80 Mike Towan Microsoft Windows 2000 Active Directory 3 12th Oct 2004 07:38 PM
Port 445 Traffic Curtis Windows XP Security 0 14th Oct 2003 09:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:09 PM.