|
Hi,
Thank you for this wonderful article, it really is very beneficial.
I wonder if you can tell me what is the best way to send ethernet packets. I was using WinPCap to send packets but it is very slow (up to 1 second delay between the call to send and the actual send).
If am going all over the internet but I can not see the best way nor can I find samples on this topic.
If you can help me, that would be great.
Thanks.
Ralph Varjabedian
Software Engineer
|
|
|
|
|
sir,
i am final year computer sci. student.i want to implement firewall in linux.pls please help me.guide me how i got detail information about linux firewall.pls help me....
thanks.
hi
|
|
|
|
|
Check out http://www.routerdesign.com/[^]
There are links to Linux distributions focusing on routing / firewalls, as well as a showcase of what others have done.
|
|
|
|
|
Sir,
Please tell me detail about linux firewall design
|
|
|
|
|
i need program with code by visual c++ about packet filtering API(easy firewall)
|
|
|
|
|
i made aprogram to capture packets using winsock2 ...for each packet received ,parse its header and check its source and destination ips with rules exist in the database
My program is attached to the access database using (ODBC)...if the crossponding action is deny then i have to drop the packet befor its reached to the browser for dispalying....
i want a function to do that working with winsock2 API....HELP me plzz....
i write the prog in vc++.
thank u very much..
haitham
|
|
|
|
|
hi,
may i know whether this application can use in bluetooth connection? anyone can answer me this q? if can not, how or where can i get an example for bluetooth packet filtering app?
thanks.
|
|
|
|
|
The application does not depend on physical media. It should work for any network - whatever the physical connection is.
Please let me know if I provided wrong information
Tomorrow is a blank page
|
|
|
|
|
your program is very good working.Now, I'm making my final project(for graduate) and choose Firewall application. I use your source code to be a blue print of my project. I have some question to ask you.
If I want to permit packets that come from ip x.x.x.x at port 80 how can I do ?!
Thank you so much
Mr.BiG
|
|
|
|
|
|
hi jesus,
i find ur article excellent help,
however i am having trouble with one particular fuction in the packet ati
PfGetInterfaceStatistics()
have u ever used it.
and if u have, have u got it to update statistics correctly ?
would u be willing to try and help me with this?
it might be an easy problem for you,
but i am baffled
Thanks.
Dermot
|
|
|
|
|
Hi,
I have tested this program on XP.
Program works fine.
but only when I filter the Internet, problem is occured.
If I stop this filtering or I destroy this app,
I can't use my Internet.
My setting is
Source IP -> All
Source Mask -> 0.0.0.0
Source Port -> 80
Dest IP -> All
Dest Mask -> 0.0.0.0
Dest Port -> All
Protocol -> TCP
Action -> Drop
Why I can't use the Internet after the filtering
is stopped or this app is destroyed?
Is there any setting that is not removed?
Please help me.
thanks.
|
|
|
|
|
What do you mean with "filter the internet"?
¿Filter web traffic?
I test this application a "long time ago" and works fine. Anyway, I will test again in order to check this error. Thanks for your help.
|
|
|
|
|
Yes, only web traffic. The others works fine.
Of course, this web traffic(especially HTTP, 80 port) filtering also works fine.
While I push the stop button or destroy this application,
web traffic filtering is not stopped. So, I can't use web(HTTP).
In order to use the web, I should reboot my pc. --;
thanks.
|
|
|
|
|
Hi,
I am Palaniappan doing my final year engineering(Information technology) in Annamalai University.I have chosen My project as Implementation of Firewalls Using c#.Is this possible?and if so is it really difficult.I have really got little idea abt this.Please help me out in this.Actually i need a lot of help.Thank you.
palaniappan
|
|
|
|
|
You only can make a ip filter application using Packet Filtering API with C#. If you want to make more complex firewalls you must learn to develop drivers for windows(C language).
|
|
|
|
|
Hi,
I'm thinking of doing the same too. Where can I get these packet filtering API? Thanks!
|
|
|
|
|
Packet Filtering API is included within Microsoft Platform SDK.
|
|
|
|
|
hi
i need the help to drop the packet but i got the "error C2065: 'PMIB_ICMP_EX' : undeclared identifier"
can u help i remove that error.
Raj
|
|
|
|
|
Sorry, but I don't understand what do you want...
Where did you get this error?
|
|
|
|
|
Your application is great. I would like to ask you. I'm sharing the internet with internet connection sharing of WinXP (Proxy Server). Here, clients can get IP from XP automatically (DHCP server). If I want to block partial clients from going out side. For example, I want to block the client who get IP address: xxx.xxx.xxx.xxx (Assume that I know this computer and his address). I don't know how to block them.
The solution I think.
1. Write my own internet sharing software and I can filter his packet.. but I should also maintain DHCP Server and DNS server. (Big problem)
2. I will write new deamon process which working pararell with ICS and waiting incomming packet. If the incomming packet is comming from the IP I prefered, I will drop it. But I don't know how to drop this packet.
3. Or you have other ideas?
I mainly write application in VB and VC++. But not .NET.
Thank you very much.
Chainat.
|
|
|
|
|
If you know what addresses you can block, you only have to add a rule in the application. Or you are describing an scenario where you musn't block always same addresses?
I write a little firewall using C and VC++ in my article "Developing Firewalls for Windows 2000/XP".
|
|
|
|
|
hi i want to close only the http traffic i tried to use this application for that purpose but it did no do so,
i m using windoes 2000 server and on LAN.i m supplying my adress as the src and 0 on desitnation but it did not block any traffic.
when i use all and option drop then it closes all things like netowrk,internet etc which i dont want i only want to block the internet traffic. had u tested that application and worked fine or what i m doing wrong? i will be thankful to you,
Tasleem Arif
|
|
|
|
|
I have the same problem,
How can I drop incoming packet??
今天没有时间,以后再写吧。
|
|
|
|
|
Hello,
Is this utility totally closes a port. For example, i filter out
all packets in port 135 (Listening) in one pc, then doing port scan in
another pc will not detect port 135 as 'listening'?
Regards,
Andrew Mosqueda
|
|
|
|