Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to close Handle in MSVC++ 1.52 Pin
Anthony_Yio6-May-04 15:48
Anthony_Yio6-May-04 15:48 
GeneralRe: How to close Handle in MSVC++ 1.52 Pin
Steve S6-May-04 22:33
Steve S6-May-04 22:33 
GeneralRe: How to close Handle in MSVC++ 1.52 Pin
Juergen Froehlich7-May-04 12:08
Juergen Froehlich7-May-04 12:08 
AnswerRe: How to close Handle in MSVC++ 1.52 Pin
Antony M Kancidrowski6-May-04 23:52
Antony M Kancidrowski6-May-04 23:52 
Questionhow to start another application in my application Pin
marmotchen6-May-04 14:10
marmotchen6-May-04 14:10 
AnswerRe: how to start another application in my application Pin
Jarek G6-May-04 14:19
Jarek G6-May-04 14:19 
AnswerRe: how to start another application in my application Pin
David Crow7-May-04 3:05
David Crow7-May-04 3:05 
QuestionWhat is the best way to implement an IP tunneling protocol? Pin
jaybz6-May-04 12:22
jaybz6-May-04 12:22 
I'm attempting to implement an IP tunneling protocol via TCP/IP on Windows XP platforms. Yeah I know, re-inventing the wheel, but please bear with me. Anyway, the tunneling protocol not only needs to redirect the packets but it needs to modify packet contents and yet be as transparent as possible. The worst part of it all is that I will have to use a pre-compiled DLL to perform certain operations while having no idea how the DLL performs those operations. No, I don't have access to the DLL's code.

I initially thought of implementing it via NDIS drivers, but they run in kernel mode and there isn't any documented way for them to communicate with user-mode processes that I will require to make use of the DLL. There is a way, but it is undocumented which is why I'm shying away from this method.

The other method that I thought of involves creating a tunneling server service coupled with a tunneling client service. The problem here is that I have to intercept IP packets on the client machines and then modify and forward them through the client service. I would also have to add NAT features to the server service. Which I wouldn't have to do using NDIS drivers because they have complete access to the packets before they are sent and I can have Internet Connection Sharing do the NAT work. I was told that it is possible to intercept the IP packets via Windows Sockets but this is unexplored territory for me. I also remember messing with an application running on a Win9x platform which allows the use of a SOCKS proxy for programs which does not include SOCKS support. I suppose the concept is the same, but then again that was Win9x.

I'm more inclined to do the 2nd method since it sounds safer hehe. But I was hoping for a solution that would feel like I'm using the Virtual Private Network implementation built into Windows XP machines. Unfortunately, I simply can't use the MS VPN because of the proprietary design of the protocol I'm supposed to implement.

Right now, I'd be satisfied with information regarding packet interception and modification via Windows Sockets, but I'd be very greatful if someone could come up with a better implementation method.
GeneralFolder Pin
Ni@m6-May-04 10:26
Ni@m6-May-04 10:26 
GeneralRe: Folder Pin
User 66586-May-04 11:28
User 66586-May-04 11:28 
GeneralCompiler disabling breakpoint Pin
Wheatbread6-May-04 10:23
Wheatbread6-May-04 10:23 
GeneralRe: Compiler disabling breakpoint Pin
Jack Reed6-May-04 10:47
Jack Reed6-May-04 10:47 
GeneralRe: Compiler disabling breakpoint Pin
Wheatbread6-May-04 10:49
Wheatbread6-May-04 10:49 
GeneralRe: Compiler disabling breakpoint Pin
vladfein6-May-04 12:47
vladfein6-May-04 12:47 
GeneralRe: Compiler disabling breakpoint Pin
axid3j1al6-May-04 21:34
axid3j1al6-May-04 21:34 
GeneralRe: Compiler disabling breakpoint Pin
Member 4210256-May-04 15:16
Member 4210256-May-04 15:16 
GeneralRe: Compiler disabling breakpoint Pin
Antony M Kancidrowski6-May-04 23:55
Antony M Kancidrowski6-May-04 23:55 
GeneralRe: Compiler disabling breakpoint Pin
David Crow7-May-04 3:07
David Crow7-May-04 3:07 
GeneralProblem using HttpSendRequest Pin
Jack Reed6-May-04 10:05
Jack Reed6-May-04 10:05 
QuestionHow to Eliminate Child Window Title Bar Pin
jerry1211a6-May-04 9:56
jerry1211a6-May-04 9:56 
AnswerRe: How to Eliminate Child Window Title Bar Pin
Paul M Watt6-May-04 10:12
mentorPaul M Watt6-May-04 10:12 
GeneralRe: How to Eliminate Child Window Title Bar Pin
jerry1211a6-May-04 12:23
jerry1211a6-May-04 12:23 
GeneralRe: How to Eliminate Child Window Title Bar Pin
Paul M Watt6-May-04 12:53
mentorPaul M Watt6-May-04 12:53 
GeneralMenu at runtime (dynamic menu) Pin
marcosvpp6-May-04 9:34
marcosvpp6-May-04 9:34 
GeneralRe: Menu at runtime (dynamic menu) Pin
Anthony_Yio6-May-04 16:21
Anthony_Yio6-May-04 16:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.