08-16-06 06:25 PM
Barry Margolin wrote:
> In article <HUAEg.4731$gf2.3062@reader1.news.jippii.net>,
> ibaloubi <bobofibodibo@aaakyars.com> wrote:
>
>
> It's not clear what you're asking. Are you wondering how a hacker might
> mess with your data before it gets received? Or what you can put in a
> router to make it modify the data? What are you trying to do?
>
not trying to do anything but understand why my network behaves like it
does.using the client-server app over my lan worked fine, until the read
part in the client started throwing "connection reset by peer"
errorrs( which the server on lan never does until the whole struct has been
transmitted(it is a simple server)).
Using the application from my linux workstation to my dedicated server
( server on the dedicated part) then the information is tampered with. I
get a zero in m_iState, despite the digit should ( which I am absolutely
sure of) be a 1 or 2 depending on the state. The code used on the lan is
the same as from over the internet from my workstation to the dedicated
server.
so:the data is changed in transmission, and I want to know how this is
possible, and most importantly what can be done about it. I know of
encryption, but haven't used any encryption lib in programming.
I also know of byte ordering( little and big endian) but both machines in
this case, or actually all three, are little endian. So, regardless of what
ntohx, htonx functions are used or not, the result should be the same.
I have tried using the ntoxx htoxx functions as well as not using them, the
result is the same, always a zero.
any advice, information, much appreciated.
G
[ Post a follow-up to this message ]
|