• Welcome to Valhalla Legends Archive.
 

PacketLogging Problem (Simple)

Started by Spilled, October 17, 2005, 12:14 AM

Previous topic - Next topic

Spilled

Im creating a client connection in C++ and im having problems packetlogging. I can see outgoing packets but not incoming from the server. I am using WPEPro as my packet logger. Any ideas why i cannot see incoming? Thanks in advance.

dxoigmn

Are you sure that there is any actual incoming data? Are you filtering the stream in your packet logger?

Spilled

yes i am sure i am getting data because im detecting 0x25 in my parsep and echoing it back and there is no filter on my WPEpro...

shout

Are you using WSA functions? Sometimes WPE has trouble with those, or at least it has for me.

Spilled

i use recv, not WSARecv is that what you meant? If you would like code, let me know.

Kp

Why're you using WPE instead of Ethereal?
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

shout

Quote from: Kp on October 17, 2005, 07:59 PM
Why're you using WPE instead of Ethereal?

Probably because WPE is eaiser to use. :/

Kp

Quote from: Shout on October 17, 2005, 10:50 PM
Quote from: Kp on October 17, 2005, 07:59 PMWhy're you using WPE instead of Ethereal?
Probably because WPE is eaiser to use. :/

I disagree.  For one thing, WPE doesn't even run.  It's not a recognized by the ELF loader as a valid image.  Ethereal, on the other hand, works fine.  It can even sniff its own display activity, which leads to all sorts of strange and wonderful behavior.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

MyndFyre

Quote from: Kp on October 18, 2005, 06:44 PM
It's not a recognized by the ELF loader as a valid image.
Try the WINE loader.  :P
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Kp

Quote from: MyndFyre on October 18, 2005, 06:51 PM
Quote from: Kp on October 18, 2005, 06:44 PMIt's not a recognized by the ELF loader as a valid image.
Try the WINE loader.  :P

Why?  WPE still won't be able to sniff the network.  That would require CAP_NET_ADMIN permissions, and there's no way I'm giving that to an X program!
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

shout

Quote from: Kp on October 18, 2005, 06:55 PM
Quote from: MyndFyre on October 18, 2005, 06:51 PM
Quote from: Kp on October 18, 2005, 06:44 PMIt's not a recognized by the ELF loader as a valid image.
Try the WINE loader. :P

Why? WPE still won't be able to sniff the network. That would require CAP_NET_ADMIN permissions, and there's no way I'm giving that to an X program!

I may be going out on a limb, but I don't think he is using linux.

Explicit

Quote from: Shout on October 18, 2005, 07:41 PM
Quote from: Kp on October 18, 2005, 06:55 PM
Quote from: MyndFyre on October 18, 2005, 06:51 PM
Quote from: Kp on October 18, 2005, 06:44 PMIt's not a recognized by the ELF loader as a valid image.
Try the WINE loader. :P

Why? WPE still won't be able to sniff the network. That would require CAP_NET_ADMIN permissions, and there's no way I'm giving that to an X program!

I may be going out on a limb, but I don't think he is using linux.

You're not going out on a limb; he is using Windows.
I'm awake in the infinite cold.

[13:41:45]<@Fapiko> Why is TehUser asking for wang pictures?
[13:42:03]<@TehUser> I wasn't asking for wang pictures, I was looking at them.
[13:47:40]<@TehUser> Mine's fairly short.

Kp

Quote from: Explicit[nK] on October 18, 2005, 07:53 PM
Quote from: Shout on October 18, 2005, 07:41 PM
Quote from: Kp on October 18, 2005, 06:55 PM
Quote from: MyndFyre on October 18, 2005, 06:51 PM
Quote from: Kp on October 18, 2005, 06:44 PMIt's not a recognized by the ELF loader as a valid image.
Try the WINE loader. :P
Why? WPE still won't be able to sniff the network. That would require CAP_NET_ADMIN permissions, and there's no way I'm giving that to an X program!
I may be going out on a limb, but I don't think he is using linux.
You're not going out on a limb; he is using Windows.

Which is entirely irrelevant.  Ethereal works fine on Windows and on Linux.  You can run it either place, capture live, or capture to a file and view it later.  You can even take the capture on a Linux system and view it from Windows, or vice versa.

I, on the other hand, am using Linux, which is why WPE seems like such a silly idea.  Not only is it platform specific, but it wouldn't work for me and apparently isn't working particularly well for him. :)
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Explicit

Shout and I were both referring to WPE Pro. :P
I'm awake in the infinite cold.

[13:41:45]<@Fapiko> Why is TehUser asking for wang pictures?
[13:42:03]<@TehUser> I wasn't asking for wang pictures, I was looking at them.
[13:47:40]<@TehUser> Mine's fairly short.

Kp

Quote from: Explicit[nK] on October 18, 2005, 08:35 PMShout and I were both referring to WPE Pro. :P

Why?  We've already established that it's an inferior product for its lack of cross-platform support, as well as its lack of support for WSA calls.  Next you're going to tell me it can't even write its capture results to a standard format file?
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!