Solved

Outgoing Connections

Posted on 2004-04-25
11
211 Views
Last Modified: 2010-04-01
I want to log all outgoing connections on port 80. Basically if my webbrowser goes to www.google.com i want to show up www.google.com in my program. any ideas?
0
Comment
Question by:spearman123
  • 5
  • 4
11 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 10912652
If you are on Win32, you could use a Winsock layered Service to do that: See http://www.microsoft.com/msj/0599/layeredservice/layeredservice.htm ("Unraveling the Mysteries of Writing a Winsock 2 Layered Service Provider")
0
 
LVL 1

Author Comment

by:spearman123
ID: 10912763
Is there a way to do this in a console program? I have not learned Windows programming yet, only to a console window
0
 
LVL 86

Expert Comment

by:jkr
ID: 10912801
>>Is there a way to do this in a console program?

Sure. It makes no difference whether you use that in a console or GUI app.
0
 
LVL 1

Author Comment

by:spearman123
ID: 10912848
oh okaycool. tryiong now
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 1

Author Comment

by:spearman123
ID: 10912876
okay.. got lost.. is there any exxample I can use to look at?
0
 
LVL 86

Expert Comment

by:jkr
ID: 10912890
The article comes with sample code, the link is right at the top: http://download.microsoft.com/download/0/6/7/0678184e-905e-4783-9511-d4dca1f492b4/layered.exe
0
 
LVL 1

Author Comment

by:spearman123
ID: 10912997
yeah i got that.. its just a bunch of .cpp and .h files and the readme doesnt help me.. i dont know like what i need to use and stuff
0
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 10913029
>> i dont know like what i need to use and stuff

Then you will have to dig through it. What you want to do in non-trivial and requires some work.
0
 
LVL 1

Author Comment

by:spearman123
ID: 10913324
ugh
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now