|
-
Jul 27th, 2006, 04:21 PM
#1
Thread Starter
Addicted Member
Firewall to Block Connections?
How would I block any type of connections to all Ip's but a certain few that i specify? How would I listen in and close connections?
-
Jul 27th, 2006, 04:44 PM
#2
Thread Starter
Addicted Member
Re: Firewall to Block Connections?
Anyone? How would I close connections? Can I do it in cmd?
-
Jul 27th, 2006, 04:56 PM
#3
Junior Member
Re: Firewall to Block Connections?
Set up your firewall to block everything, then use specify certain IP's not to block with the port number...if you dont know how to do that dont waste your time asking because it is very basic stuff here...and this has nothing to do with visual basic.
-
Jul 27th, 2006, 05:11 PM
#4
Thread Starter
Addicted Member
Re: Firewall to Block Connections?
I'm asking how to create my own firewall in visual basic.. not how to use one....
-
Jul 27th, 2006, 05:22 PM
#5
Junior Member
Re: Firewall to Block Connections?
-
Jul 27th, 2006, 05:30 PM
#6
Thread Starter
Addicted Member
Re: Firewall to Block Connections?
So in other words... it's pretty much not possible?
-
Jul 28th, 2006, 12:16 AM
#7
Thread Starter
Addicted Member
Re: Firewall to Block Connections?
So is it possible in vb or not?
-
Jul 31st, 2006, 04:03 PM
#8
Junior Member
Re: Firewall to Block Connections?
It's possible but it will take a lot of research...start googling things.
-
Jul 31st, 2006, 07:28 PM
#9
Re: Firewall to Block Connections?
And it would be like transporting a pin from your front yard to your back yard using an ocean liner. The wrong tool for the job for more than one reason.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Jul 31st, 2006, 08:15 PM
#10
Hyperactive Member
Re: Firewall to Block Connections?
-
Aug 20th, 2006, 06:18 AM
#11
Junior Member
Re: Firewall to Block Connections?
I too am looking into this very sort of thing,
As you like to tell us noobs - ELABORATE -
WHY is it a pin transporting Ocean liner?
WHY is it the "wrong tool for the job?
It is possible, but would take much reaserch????
SO WHAT does one REASERCH???
Sorry guys, but your answers here have been as much help as "HELP" on the subject line
-
Aug 20th, 2006, 06:32 AM
#12
Junior Member
Re: Firewall to Block Connections?
Oh, thanks Rob123, for the only REAL help on the page so far......
-
Aug 20th, 2006, 03:59 PM
#13
Re: Firewall to Block Connections?
It's fruitless, but you can start buy opening all the available ports with your program then no one else can use the port. Your "Firewall" would just ignore the data that comes through the ports. When you want to allow data to pass thru the port you would then close the port.
But with VB, once you allow access to the port you can't disallow access. You would have to be able to take the redirected OS calls then ignore them. Like I said fruitless and not worth the time or the effort.
-
Aug 20th, 2006, 09:50 PM
#14
Junior Member
Re: Firewall to Block Connections?
So i reality here, I have been wasting my time learning VB, and should in fact be studying a REAL programing language?
-
Aug 20th, 2006, 10:46 PM
#15
Junior Member
Re: Firewall to Block Connections?
[Quote]
So i reality here, I have been wasting my time learning VB, and should in fact be studying a REAL programing language?
[Quote]
Dude, that is so below the belt it isn't funny...Learn C#.
OR
get a DLL or some freeware that'll help u do it.
"Ignorance is no replacement for patience"
-
Aug 20th, 2006, 11:08 PM
#16
Re: Firewall to Block Connections?
No, what you have been wasting your time in is not researching what you needed to do and what it needed to be done with...
It's not VB's fault you did not do the research...
-
Aug 20th, 2006, 11:18 PM
#17
Hyperactive Member
Re: Firewall to Block Connections?
via randem
"But with VB, once you allow access to the port you can't disallow access. You would have to be able to take the redirected OS calls then ignore them."
cant you just close(kill) the port in use via some API? ive seen it done on psc i believe.
anyways, the case is not always "is it best", sometimes you code for the concept of "is it possible".
-
Aug 20th, 2006, 11:24 PM
#18
Re: Firewall to Block Connections?
No, this would be a system function to intercept all port calls. You can't kill a port. You would have to ignore the traffic on it or hold it open so that no other program could use it.
No, you don't code for is it possible. It is always possible in one form or another. That is like asking someone to dig a trench using a spoon. Of course it is possible but a tremendous waste of time and effort.
-
Aug 20th, 2006, 11:33 PM
#19
Hyperactive Member
Re: Firewall to Block Connections?
if noone coded for possibility, im sure we wouldnt have multitasking availiable for us to use today..
and im sorry but you cannot compare a vb firewall with a spoon'd trench. thats immoral!
-
Aug 20th, 2006, 11:36 PM
#20
Junior Member
Re: Firewall to Block Connections?
Sorry if my comment was "below the belt", but i have seen this question asked repeatedly through this forum, and none of the "askers" ever get an answer beyond "use aomeone elses app", or "reaserch it", well, I WOULD LOVE TO REASERCH IT, but as per my (and others) oridgional question, WHAT DO I REASERCH, WHERE DO I START, WHAT DO I NEED to KNOW ? ? & ? and more ???
(Quoting types)
"
Dude, that is so below the belt it isn't funny...Learn C#.
OR
get a DLL or some freeware that'll help u do it.
"
COOL, a start, but WHAT DLL, (there happen to be millions of .dll's out there) Im not asking for a specific name, but a pointer in the right direction would be nice, as far as i can tell (from what i have read through this forum concerning this topic) nobody out there has ANY CLUE, as to how one would go about doing this, and no one out there has the cahoonas to just say "we dont know, we havent been able to find out either",
Now dont get me wrong, I DO LIKE VB - It has servred me well (and ASM is such a "headfull")
but come on guys, instead of "use someone elses app", or "reaserch it" how about some honest help or pointers, or at the very least an honest "we dont know"
(though i know someone out there knows something about it, cause it's been hinted at... just no-ones giving any "soilid info" or "facts"
-
Aug 20th, 2006, 11:37 PM
#21
Re: Firewall to Block Connections?
Ok, but it would take about as much effort...
Yes, possibility is one thing but feasable is quite another story.
-
Aug 20th, 2006, 11:40 PM
#22
Re: Firewall to Block Connections?
Hey, I told you how to do it. It would be mostly intercepted system calls.
-
Aug 20th, 2006, 11:42 PM
#23
Hyperactive Member
Re: Firewall to Block Connections?
if you learn from example just goto
http://www.planet-source-code.com/vb...t.asp?lngWId=1
you'll find (mostly impartial) applications that range for about anything you wanna learn to make in vb
-
Aug 20th, 2006, 11:50 PM
#24
Junior Member
Re: Firewall to Block Connections?
 Originally Posted by randem
Hey, I told you how to do it. It would be mostly intercepted system calls.
cool, THANKS randem, for a good starting point (at last). So i shall have to find out how to intercept system calls
@ Billy Conner - Thank you for the link,
in general, just to clarify - I dont want to make a full firewall (i dont think), i simply want to be told "a connection has been requested" and have the chance to allow or deny the connection. Thats it. hhhmmmm.... intercept system calls, COOL thanx again randem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|