Go Back  Xtreme Visual Basic Talk > General Discussion > Tech Discussions > Need help understanding how my computer parses TCP traffic


Reply
 
Thread Tools Display Modes
  #1  
Old 02-09-2003, 08:38 PM
fortis
Guest
 
Posts: n/a
Question Need help understanding how my computer parses TCP traffic


I never did very well at the basics in school - perfering instead to jump to more interesting things (like actual coding). As such, I am fairly week on this subject, and would appreciate any direction.

Scenario:

I have my computer.

My computer has an internet connection.

I have on my computer the following applications talking to the internet consiting of the following:

1) Internet Explorer displaying my stock picks (all doing badly)
2) A gaming program that is located on my computer, however uses the internet for multi-gaming purposes.
3) My email program
4) Other programs that require internet

Question:

Is it possible for me to conceptualize the connections going to these programs as 'pipes' of internet traffic? In other words, there are separate pipes for each application and each application sends/receives data down each pipe?

I want to know if it is possible to maybe write a piece of middle ware that sits on my computer BEHIND my gaming application and in FRONT of my internet connection (IOW: all internet traffic associated ONLY with my gaming app passes through this application).

???????????
Reply With Quote
  #2  
Old 02-10-2003, 01:28 AM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 18,885
Default

You need something like a firewall or a proxy server, (some of) these programs are capable of logging program activity.
Reply With Quote
  #3  
Old 02-10-2003, 02:12 AM
Garmour's Avatar
Garmour Garmour is offline
Back for a little while..

Retired Leader
* Expert *
 
Join Date: Oct 2002
Location: Behind you.....Boo
Posts: 2,199
Default

To help you better understand exactly whats going on in your computer try doing a google for 7 layer osi
That'll teach you some basics.
__________________

....but then, what would I know ?
Reply With Quote
  #4  
Old 02-10-2003, 08:23 AM
fortis
Guest
 
Posts: n/a
Default Need a practical explanation of the OSI

Nah - I know the OSI (logically), however that's the problem - conceptually I have a problem with it.


Anybody can offer some insight?
Reply With Quote
  #5  
Old 02-10-2003, 01:07 PM
Thinker Thinker is offline
Iron-Fisted Programmer

Retired Moderator
* Guru *
 
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
Default

Each packet of information is wrapped with headers. As packets
are passed down the stack, each layer of headers is stripped off
and information in the header points to the next most specific
layer and application to process. At some point, it gets passed to
the actual app (like your game) with all the higher level routing
headers stripped off. It sounds like you want a packet sniffer that
only looks at packets destined for your game (which is how most
game cheat/trainer programs work). I wonder what you are really
trying to do?
__________________
Posting Guidelines
Reply With Quote
  #6  
Old 02-10-2003, 02:05 PM
fortis
Guest
 
Posts: n/a
Default Nothing illegal

What I want to do is as I mentioned, run the game using programmed logic. Obviously there are several ethical questions involved, however I'll make no secret that I want to see if I can build a program that will handle (I.e. interpert) incoming and send (I..e process) it's pre-programmed response.
Reply With Quote
  #7  
Old 02-10-2003, 03:27 PM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 18,885
Default

You are using a lot of words but you don't say anything.
Can you try, at least for the less intelligent readers like myself, to explain WHAT you want to do?
Reply With Quote
  #8  
Old 02-10-2003, 03:35 PM
Squirm's Avatar
Squirm Squirm is offline
Political Coder

Retired Moderator
* Guru *
 
Join Date: Mar 2001
Location: London, England
Posts: 8,037
Default

fortis wishes to capture packets going to his game, read their data and do various calculations on the data, before creating a new packet and sending it back out again (as if it came from the game).
__________________
Search the forums | Use [vb][/vb] tags | Still IRCing
Reply With Quote
  #9  
Old 02-10-2003, 03:42 PM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 18,885
Default

I figured that out based on his second reply after Thinker asked him whether he want to create a cheat/trainer, but if you read his original question it's just ... "misty"
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->