Results 1 to 6 of 6

Thread: port blocking

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    Malang, Indonesia
    Posts
    15

    Smile port blocking

    How to block some port so the local computer can't use the port ?

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    IPSec or TCP/IP filtering. You can't normally go that low level with VB. And using the Winsock control would be a really bad idea.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    Malang, Indonesia
    Posts
    15

    Smile Any idea ?

    Josh, have you an idea how to block an IP/PORT ?

  4. #4
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    I'd buy a firewall to do it, I wouldn't try programming it myself.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  5. #5
    New Member
    Join Date
    Jul 2001
    Location
    Louisville
    Posts
    4

    Talking

    I'm looking for a source in C or VB that can block packets and ridirect them. If anyone has any clue where i can find a prog like this, let me know.
    =]

  6. #6
    Addicted Member csammis's Avatar
    Join Date
    Mar 2001
    Location
    /dev/null
    Posts
    226
    JoshT is right, VB can't go that low-level unless you use the API (and I don't even know if that would work). Also, some ports are just reserved by Windows and AFAIK there's no way to redirect them period.
    Things I've Said:
    "Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
    "Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
    "You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width