News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Ports

Started by six_L, December 25, 2004, 12:54:20 PM

Previous topic - Next topic

six_L

anon,
Thanks you.
it can't work in my windows system (XP home edition SP2.)
I used the HandleError proc for showing error. in my windows system, error 87 means: " the Image file that specified is not include resource area. " ( this is ENGLISH translated with me, it maybe not clearly ).

regards
regards

MichaelW

eschew obfuscation

six_L

#17
Hi, Anon, Michaelw:
Thanks you.
I used the Ollydbg checking the return value, it is 57h(87d). according to below,

Platform SDK: Debugging and Error Handling
System Error Codes
Code           Description                         Name
87    The parameter is incorrect.   ERROR_INVALID_PARAMETER



  • I don't Know where the error parameter in my code?
  • Others, why did the HandleError proc display the "the Image file that specified is not include resource area." , not the "The parameter is incorrect." ?
  • or, the Ip connection is used by a virus. at the user mode, i can't disconnect. 

Regards.
regards

anon

I get that error only if I try to shut down an invalid connection.
(I don't know why "the Image file that specified is not include resource area")
is being reported)
Make sure you are setting the addresses and ports correctly.

six_L

#19
hi, anon
Thanks you.
I used dom's sniffer to watch the packet, at same time, Input address and port. running Kill_ip. i'm sure the address and ports is correct.

but it is changing at next packet. could you modify it to Kill all ports of a ip address?

oh, i try to Kill a normal ip connection (ie: http//www.yahoo.com). It can killed when I'm testing.

regards.

regards

anon

Yes, it can be done. You will have to make some big changes
to your program. What I would do is create a program like the
one Thomas wrote (NetTool). Then have it update the screen
every few seconds. Add an edit control, or a listbox that you
add BANNED addresses to. When one of these addresses connect,
automatically kill it.
But what I really would do is clean up my computer with trojan
and spyware software and start using a firewall.