Results 1 to 3 of 3
I was wondering if we can drop network packet by python. I really have no clue about how to do it. One of my friend suggested me to learn about ...
- 11-24-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 12
python : Dropping Network Packet
I was wondering if we can drop network packet by python. I really have no clue about how to do it. One of my friend suggested me to learn about how iptables works, but I don't think it'll worth.
Last time I tried python, and succeeded in capturing network packet with pycap. This was extremely easy, compared to libpcap (gcc). Now I wonder if we can drop the packet that has been read with the same way, or is there any other way?
Please tell me if you know how to do it
.
Thanks b4
- 11-24-2007 #2Just Joined!
- Join Date
- Nov 2007
- Location
- Camp Pendleton
- Posts
- 55
Looks like this may work.
freshmeat.net: Project details for python-iptables
or maybe this:
About a python module (iptables)
But they look like they assume a knowledge of iptables...
- 11-25-2007 #3Just Joined!
- Join Date
- Apr 2007
- Posts
- 12
thanx, I'll try it
Er, it seems I still have to learn iptables after all.
But thanks a lot, I'll try it.


Reply With Quote