|
Luigi Auriemmaaluigi.org (ARCHIVE-ONLY FORUM!) |
|
It is currently 19 Jul 2012 14:42
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 2 posts ] |
|
Author |
Message |
Some Guy Named Dave
|
Post subject: [question] proxocket Posted: 09 Jun 2009 04:47 |
|
Joined: 24 Oct 2007 00:44 Posts: 26
|
How would you filter an IP range in lets say, myrecvfrom?
example... 123.123.123.0 123.123.0.0 222.0.0.0
|
|
Top |
|
|
aluigi
|
Post subject: Re: [question] proxocket Posted: 09 Jun 2009 11:15 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
code attached. put the IPs or classes of IPs in the comma separated list in blocked_IPs and it's done. when is received a packet from a blocked IP it will be set to zero
Attachments: |
File comment: myrecvfrom block subclass
myproxocket.c [2.69 KiB]
Downloaded 64 times
|
|
|
Top |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|