• Post Reply Bookmark Topic Watch Topic
  • New Topic

UDP firewall

 
junchen liu
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:

we have a serious problem on our UDP server, which receives data from
our client, but sometimes there just too much spam (same messages send to our
server at same time, or during a very short period).

my question is, what's the most efficient way to filters or block such spam,
I mean in the socket level.. I expect detailed answer, code sample would be much appreciated.

Shanyangqu
Many Thanks
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by junchen liu:
Hi:

my question is, what's the most efficient way to filters or block such spam,
I mean in the socket level..


By checking the content before you really push it into the stream would be of some help!

Detailed Program/Explanation? What API are you using? WinSOCK API or C Socket API? If you get to know the concepts, implementing it in the programming languages would not be a big deal!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!