473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Capturing port traffic

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.

Nov 21 '05 #1
9 1755
Hi,

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

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

"go************@hotmail.com" 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.

Nov 21 '05 #2
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
----------------

"go************@hotmail.com" 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.

Nov 21 '05 #3
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.

Nov 21 '05 #4
<go************@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
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:
Expand|Select|Wrap|Line Numbers
  1. 127.0.0.1          blah.domain.com
  2.  
--
Trammel is a member of DWC (http://dwc.no-ip.org)
(Please reply to group only)
Nov 21 '05 #5
"Trammel" <Me@Server.com> wrote in message
news:C4******************@fe3.news.blueyonder.co.u k...
<go************@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
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:
Expand|Select|Wrap|Line Numbers
  1.  127.0.0.1          blah.domain.com
  2.  


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)
Nov 21 '05 #6
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
----------------------------

"go************@hotmail.com" 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.

Nov 21 '05 #7
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.

Nov 21 '05 #8
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.

Nov 21 '05 #9
Hi Trammel,

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

Thanks a lot.

Nov 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jeff User | last post by:
Hello I have been using Ethereal to capture and view the XML messages being passed back and forth from my web service client to my web service. When calling the service over the internet, I...
5
by: Kulstad | last post by:
I would like to create an application that will allow me to monitor (that is, capture and record) all traffic on specific ports of my computer. In case this is not clear (it still isn't quite...
6
by: JustinC | last post by:
Does anyone know of a way, using C#, to programmatically block a Windows port? I've looked into some low level solutions like NDIS, but am hoping to find something that uses C#. Any help would be...
4
by: gomisha | last post by:
I have a .NET (C#) web browser control wrapper that automates the browser for testing purposes. I'd like to add the ability of reading all HTTP traffic between the browser control and a web server...
0
by: sadeeq | last post by:
Hi guys, I am making an application in VB.NET that will capture HTTP messages from the client's broswer, analyze them and then the requested page will be displayed in the client's browser. For this...
6
by: Ed Leafe | last post by:
I've been approached by a local business that has been advised that they need to start capturing and archiving their instant messaging in order to comply with Sarbanes-Oxley. The company is largely...
1
by: trytobreak | last post by:
Hey guys, I have a netscreen firewall which is configured to forward syslog messages to port 514 of my machine (specific ip on the network) and I am really puzzled as on how to capture these log...
1
by: trytobreak | last post by:
Hey guys, I have a netscreen firewall which is configured to forward syslog messages to port 514 of my machine (specific ip on the network) and I am really puzzled as on how to capture these log...
1
by: Andy Bates | last post by:
Hi - Can't see another newsgroup to post this in; so thought I'd post here. I have a C# application that relies on multicast UDP to detect how many PCs the application is executing on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.