Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

TCP Retransmissions

Name: Anonymous 2009-01-04 23:05

Ordinarily, you're a terrible place to get code, /prog/, but I must yield.

I'm having trouble with AES encryption increasing on packet retransmissions, so I obviously must detect and discard retransmissions for encryption purposes. Since I'm using WinPcap, I figured that Ethereal would be a good place to go to see how it detects these events. I was wrong.

Example: http://pastebin.com/d165a8f15 [1]

I can't tell what the shit is going on with such ugly C code. Any of you have an enterprise-level solution to retransmission detection? Thanks for your time.

1: As accessed on 4 JAN 09 at 10 PM CST. It will evaporate within 24 hours.

Name: Anonymous 2009-01-07 4:53

Not really. Testing on my home network connecting to an enterprise network at the moment. Interestingly enough, the stream that goes from here to there breaks first 100% of the time with my last version.

I moved the code to the dispatch spot instead of a higher scope and it seems to be faring much better. I also increased the number to 200.

However, I still have increased issues with just plain not dispatching any more packets period. On a positive note, it doesn't seem like the encryption is falsely increasing .. in my limited testing.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List