Re: Using a bunch of connections in a client?

2007-12-27 Thread stork
> 2) search the forum for "Too many open files" > This thread might interest you: > http://www.nabble.com/Too-many-open-files-to7521146s16868.html > > HTH > Maarten > > On Dec 27, 2007 4:43 PM, stork <[EMAIL PROTECTED]> wrote: >> >> Hi, I'm

Using a bunch of connections in a client?

2007-12-27 Thread stork
Hi, I'm trying to write a client that can utilize a set number of connections using MINA trunk (mina-core-2.0.0-M1-20071221.061156-110.jar). I'm using the netcat (http://svn.apache.org/viewvc/mina/trunk/example/src/main/java/org/apache/mina/example/netcat/Main.java?view=markup) as an example but I

Dropped packets?

2007-11-20 Thread stork
Hi, I'm using a basic stream cipher to encrypt bits of the data sent between the client and MINA server, and I'm finding quite frequently that the client/sever stream from client to server is getting out of sync. I believe this is to do with MINA dropping packets, as there's no exceptions being th

Stopping connections from being opened?

2007-10-27 Thread stork
I'm having a lot of problems with my MINA-based server being subjected to DDoS attacks. Notably running out of file descriptors ! I have implemented a ConnectionThrottleFilter which closes sessions that are identified as illegal, which is working well, but doesn't solve the file descriptor issue.

Re: DoS attack to a MINA server

2007-10-22 Thread stork
for you. > > If you are using a version < 2.0, then you could 'port' the > ConnectionThrottleFilter for you. > > On 10/22/07, stork <[EMAIL PROTECTED]> wrote: >> >> Hi, I'm running a game server using the MINA framework, and unfortunately >> i

DoS attack to a MINA server

2007-10-22 Thread stork
Hi, I'm running a game server using the MINA framework, and unfortunately it's being subject to a lot of DoS attacks. It's a very simple attack - the game port is opened, and random data is written, and eventually all the sockets fill up and the server can receive no more connections. What can I d