I've been working with NIO directly for many years and I haven't seen this
issue in a very long time. The selector will spin out of control if there are
no more file descriptors but that's not the fault of NIO.
What OS is the issue appearing on? What version of Java?
Sent from my iPhone
>
with Java and is a function
of the underlying OS.
Sent from my iPhone
> On Jun 10, 2016, at 9:41 AM, Emmanuel Lécharny <elecha...@gmail.com> wrote:
>
>> Le 10/06/16 à 13:49, Jonathan Valliere a écrit :
>> I've been working with NIO directly for many years and I haven't seen
Obviously something is wrong with the thread-safe operation the write stack.
If it was thread safe then there is no need to ever have locks in the filter
chain unless you have an executor filter.
1027 exposes a bug in the lock routines of IoSession
Sent from my iPhone
> On Feb 9, 2016, at
If a remote tcp connection is open to that port then TCP will always say
Address already in use. Set the Reuse Address flag and it will work fine.
Sent from my iPhone
> On Oct 19, 2016, at 5:58 AM, Emmanuel Lécharny wrote:
>
>
>
>> Le 19/10/16 à 11:27, Michał Gałuszka
I don't have the code in front of me, but are you saying that the
modification of the Write Queue is no longer concurrent? Possibly the
Write Queue is a concurrent data structure and the synchronize mechanism is
no longer required. It seems odd that someone would remove concurrency
from that
You can measure the outbound queue length, correct? Limit it to X number
of Write Requests then throttle it yourself by pausing the inbound.
On Wed, Aug 30, 2017 at 2:55 AM, Juan Palacios
wrote:
> Hi,
> Today I created DIRMINA-1070
>
n dropped. This is standard behaviour of the ASF
> mail server)
>
> Le 07/05/2018 à 18:49, Jonathan Valliere a écrit :
> > I'm trying to make the security fix for the FTP server but I am seeing an
> > issue when building the maven project.
> >
> > apache-rat-plugin:0.12:check (
I'm trying to make the security fix for the FTP server but I am seeing an
issue when building the maven project.
apache-rat-plugin:0.12:check (5 errors)
I've attached a screenshot.
Do I need to install this plugin? I'm not sure what to do here.
Mina 3 will be renamed Mina Future, has no ETA, and might have limited
backwards compatibility with older Mina. I would suggest updating to
support the current 2.X Mina branch. It is actively supported.
On Thu, Jul 12, 2018 at 9:01 PM Pablo Caballero wrote:
> Hi community.
>
> Is the MINA
Are you referring to TCP sockets or some kind of protocol over TCP? In
MINA idle and non-active are same thing. Either data is received on the
socket or not. If data isn’t received and the idle timer is configured,
then idle events are dispatched and the IoHandler can use that event to
take the
It’s not a port it’s a File Descriptor. The socket events are handled by a
selector which uses 1 File Descriptor. There is usually one per processor.
You can manually set the number of socket processors.
On Fri, Mar 16, 2018 at 11:49 AM Simo Chiegang, Boris Arthur <
boris.s...@heidelberg.com>
Unless you need business logic in the whitelist, you could use the Linux
firewall. Otherwise you could take a look at
org.apache.mina.filter.firewall.*
On Fri, Oct 5, 2018 at 7:22 AM TuanNN wrote:
> Currently, I'm using sshd-core and mina-core libraries to create sftp
> server.
> I want to
Upon a quick review of your email, I have the following notes.
The filterchain is not thread safe. You have to write threadsafe filters.
You must also make your encoded message system threadsafe. Just as with
SSL the actual encoding process must occur within a synchronized block.
As far as
ahindra.com/tim/disclaimer.html internally within
> TechMahindra.
>
> ===
>
> -Original Message-
> From: Jonathan Valliere
> Sent: Wednesday, December 5, 2018 4:34 PM
> To: users@mina
What version of Mina are you using? We added code to mitigate this specific
exemption a while back.
Do you know how much cpu Java was consuming at that point in time?
On Fri, Nov 30, 2018 at 8:24 AM Krishan Babbar
wrote:
> Thanks Stefan,
>
> It would be great if you could answers other
ate, were you able to provide the solution?
> I mean what would be the solution if you know?
>
> Thanks & Regards,
> Krishan Babbar
>
> -----Original Message-
> From: Jonathan Valliere
> Sent: Friday, November 30, 2018 6:56 PM
> To: users@mina.apache.org
> Cc:
There should be no aggregation, especially for Datagrams.
On Tue, Sep 18, 2018 at 1:57 PM Raghavendra Balgi wrote:
> Hey Krishan, You should probably consider using a CodecFilter as described
> here -
>
> https://mina.apache.org/mina-project/userguide/ch9-codec-filter/ch9-codec-filter.html
>
>
On a side note, this is the developers mailing list. We're filling the
inboxes of other developers that probably don't want to be a part of this
conversation. We should move it to the users@mina.apache.org mailing list.
On Thu, Feb 14, 2019 at 11:36 AM Jonathan Valliere
wrote:
> so I can
MINA only allocates ports the application tells it to. Nothing is
automatic.
On Fri, May 17, 2019 at 10:23 AM Emmanuel Lécharny
wrote:
>
> On 17/05/2019 16:04, Phil Hudson wrote:
> >
> > Hi All,
> >
> > I have 2 questions about the way NioSocketAcceptor allocates and uses
> > ports.
> >
> >
See
https://issues.apache.org/jira/browse/DIRMINA-1114?jql=project%20%3D%20DIRMINA%20AND%20resolution%20%3D%20Unresolved%20AND%20text%20~%20%22cpu%22%20ORDER%20BY%20priority%20DESC%2C%20updated%20DESC
On Fri, May 24, 2019 at 10:17 AM Guus der Kinderen <
guus.der.kinde...@gmail.com> wrote:
> I
Hello MINA developers & users,
I'm sure your inboxes have been flooded with emails from JIRA regarding
issues being closed. Emmanuel and I have decided to and are beginning the
process of deprecating the 3.0 branch. This means that support for the 3.0
branch has officially ended. All
David,
The `buf.mark()` and `buf.reset()` calls are dangerous when used in
conjunction with a dynamic call stack and are being removed from the MINA
Filter system to improve compatibility with the code you write.
1> Some things aren't being back-ported to 2.0.X, the SSL improvements are
one.
2>
Oh I’ll fix that in the morning.
On Wed, Apr 24, 2019 at 3:22 PM Emmanuel Lecharny
wrote:
> Hi Manuel,
>
> There is a bug in the function that dumps data as hex (
> https://issues.apache.org/jira/plugins/servlet/mobile#issue/DIRMINA-1104)
>
> This should be fixed in a coming version.
>
> Le
Mina uses the Socket API for TCP and UDP.
On Mon, Jul 22, 2019 at 5:17 AM Dhananjay Kandari <
dk00453...@techmahindra.com> wrote:
> Hi,
> Is it possible to use apache mina library to handle MQTT messages?
> In my project, we are using mina library to handle request coming over
> TCP/IP and now
Huh?
On Thu, Apr 9, 2020 at 1:09 PM Weact wrote:
>
>
>
> Is this server ready for deployment for a chat application supporting 1mm
> users or is it more in the prototype phase?
>
>
>
> We will be using group chat, roles, moderators and adding some unique chat
> threading models for distributed
Mina is a queue and flush framework. All writes are queued up and scheduled
later using the poll/kqueue system.
The ExecutorFilter uses threading to process incoming messages using a pool
of threads instead of the reactor/processor thread. This frees the
processor thread to do IO.
Have you
t; acknowledges that emails are susceptible to alteration and their integrity
> cannot be guaranteed and that Company does not guarantee that any e-mail is
> virus-free and accept no liability for any damage caused by any virus
> transmitted by this email.”
>
> -Original Message-
> F
t; (in whole or part), in any manner, is strictly prohibited and actionable at
> law. The recipient acknowledges that emails are susceptible to alteration
> and their integrity cannot be guaranteed and that Company does not
> guarantee that any e-mail is virus-free and accept no liabilit
d and actionable at
> law. The recipient acknowledges that emails are susceptible to alteration
> and their integrity cannot be guaranteed and that Company does not
> guarantee that any e-mail is virus-free and accept no liability for any
> damage caused by any virus transmitted by this emai
t acknowledges that emails are susceptible to alteration
> and their integrity cannot be guaranteed and that Company does not
> guarantee that any e-mail is virus-free and accept no liability for any
> damage caused by any virus transmitted by this email.”*
>
>
>
> *From:* Jonathan Va
Deals with fragmentation? UDP fragmentation is handled in the kernel.
On Tue, Apr 14, 2020 at 9:19 AM Emmanuel Lécharny
wrote:
>
> On 14/04/2020 14:31, Simha N wrote:
> > Hi,
> >
> > I am evaluating MINA for development of Java based networking clients
> based
> > on protocols such as SNMP and
Vysper is in maintenance only mode right now but if you are interested in
contributing, just let us know.
On Sat, May 16, 2020 at 3:35 PM technologist.kj
wrote:
> Hi team, is there any development happening in Vysper for supporting RFC
> 7395
> (https://tools.ietf.org/html/rfc7395) ?
>
> For
They’re probably being automatically culled if you haven’t used it in a
while.
On Sun, Oct 4, 2020 at 4:53 AM Alex Buechel wrote:
> Hello together,
>
> We have a scenario using a Unix-Machine, sending Datagram-packages from a
> java-based application to another machine(Windows). On this second
That's basically how it works. Only thing is, when you share a buffer
between multiple IoSessions you need to call #slice() on your IoBuffer for
every IoSession you write the message to.
On Wed, Sep 30, 2020 at 10:06 AM Alex Buechel
wrote:
> Hello guys,
>
> Imagine i have a String-message,
So you want an SFTP example?
On Mon, Jun 1, 2020 at 11:44 AM Steve Pruitt
wrote:
> I am getting started with SSHD / Mina. My use case is simply copying
> files to a Linux machine.
>
> I would appreciate is someone can show a simple getting started code for a
> file copy. There seems to be
Should work with any compliant JDK
On Wed, Jul 15, 2020 at 3:23 AM Ravi Verma
wrote:
> Hi, We are using mina-core-2.1.2.jar for one of our products. Need to
> confirm whether mina-core-2.1.2.jar is supported on Open JDK platform or
> not? Any suggestions are highly appreciated. Thanks, Ravi
>
Thanks for the report. Please make an issue in JIRA.
On Sun, Jun 27, 2021 at 12:14 PM Itzhaki, Guy
wrote:
> Hi all,
>
>
>
> During our tests we found that in some circumstances Mina server loses
> messages.
>
> From what we understand this happens when client opens connection and then
> sends
part), in any manner, is strictly prohibited and actionable at
> law. The recipient acknowledges that emails are susceptible to alteration
> and their integrity cannot be guaranteed and that Company does not
> guarantee that any e-mail is virus-free and accept no liability for any
> damage c
Have you profiled the garbage collector and heap memory while this happens?
On Mon, Jul 5, 2021 at 7:35 AM Nitin Phuria
wrote:
> Dear All,
>
>
>
> We have Server developed using MINA 2.0.9 where it connects
> to two other systems say System-A and System-B.
>
>
>
> The
With all the vulnerabilities that get discovered. Running OpenSSH from 2013
is a problem.
On Thu, Apr 8, 2021 at 6:12 AM uma shankar wrote:
> *Environment details:*
>
> *Server OS* : CentOS release 6.9 (Final)
>
> $ ssh -V
>
> OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
>
> $ sshd -T
>
>
That has to be implemented at the kernel.
On Fri, Sep 17, 2021 at 10:05 AM Marc Boorshtein
wrote:
> I'm capturing the remote IP from the IoSession, but I've been asked to
> capture an IP address using TCP option 28 (
> https://datatracker.ietf.org/doc/rfc7974/). Is this something that's
>
:21 AM Jonathan Valliere
wrote:
> I see SO_PEERNAME = 28 but can't find any documentation of how to use it.
>
> Anyway, Java does not support this option. Therefore, MINA does not.
>
>
>
> On Fri, Sep 17, 2021 at 10:55 AM Marc Boorshtein
> wrote:
>
>>
>> On Fr
I see SO_PEERNAME = 28 but can't find any documentation of how to use it.
Anyway, Java does not support this option. Therefore, MINA does not.
On Fri, Sep 17, 2021 at 10:55 AM Marc Boorshtein
wrote:
>
> On Fri, Sep 17, 2021 at 10:44 AM Jonathan Valliere
> wrote:
>
Everybody,
Last week I redesigned the SSL system in MINA to fix DIRMINA-1132 and other
TLSv1.3 related issues with the old code. It's currently referred to as
SSL2, however it will eventually replace the original
org.apache.mina.filter.ssl.* package (probably in MINA 2.2.X).
The new version,
What in the header are you looking for?
On Mon, Jan 2, 2023 at 12:00 PM Bobby R. Harsono
wrote:
> Hello,
>
> How can i access UDP Headers details in IOHandlerAdapter? Since the
> documentations doesn't mention about this neither i can found any
> references out there,
>
> I need this to
inking maybe i can
> solve this by getting remote address from headers directly,
>
> The remote address will be used for heartbeat / keep alive implementation
>
>
>
> On 2023/01/02 17:17:48 Jonathan Valliere wrote:
> > What in the header are you looking for?
> >
&g
Check my graphic in the previous email.
On Mon, Dec 12, 2022 at 3:53 AM Emmanuel Lécharny
wrote:
> Hi Guus,
>
> there is something missing in the stacck trace: the two threads are
> blocked on different monitors:
> * SSLHandlerG0@99f49e2 owned by socket_c2s_ssl-thread-2
> *
Please update to Mina 2.2
On Thu, Nov 10, 2022 at 1:41 AM Nitin Phuria
wrote:
> Dear All,
>
>
>
> We are trying to use Mina library to connect to server which is running the
> on SSL TLSv1.2. We are using JDK8u341 on client side with Mina 2.1.6 core
> library.
>
>
>
> Client Log
>
>
, 8443);
> }
> };
>
> try {
> NioSocketConnector connector = getConnector();
> ioSession = connector.connect(address,
> initializer).awaitUninterruptibly().getSession();
> } catch (RuntimeIoException eio) {
> initializati
Please make a Jira. I also need an example to run which reproduces the
error.
On Tue, Apr 25, 2023 at 6:35 AM Kishore Mokkarala
wrote:
> Hi,
> I have migrated from 2.0.21 to 2.023 for solving CVE, i have seen thread
> blocking issue, So used latest mina verstion 2.2.1 but still threads were
>
Looking at the code for your existing filter it appears like you’re just
trying to create the SSLEngine so it can be reused for subsequent
connections by passing in the IP address and Port?
This is already a feature in the new filter.
We also likely broke some things between 2.1 and 2.2 (some debate about
whether we should be at 3.0 despite it already exists in a very old branch)
On Sun, Apr 9, 2023 at 9:54 AM Isaac M wrote:
> A lot has changed since the old version and likely refactored to a
> different package. See
On Sun, Jul 2, 2023 at 6:32 PM Emmanuel Lécharny
wrote:
> Hi!
>
> we just have created a Mastodon account to inform the world abouut the
> Apache MINA project evolution.
>
> Feel free to follow @apachem...@fosstodon.org !
> --
> *Emmanuel Lécharny*
>
>
No, you should not have to create multiple instances. The necessary
stateful data is saved to the Connection.
On Feb 1, 2024 at 5:22:36 AM, Kishore Mokkarala
wrote:
> Any response would be greatly appreciated.
> --
> M.V.S.Kishore
> 91-9886412814
>
>
>
@Kishore Mokkarala are you able to test this
branch? https://github.com/apache/mina/compare/2.2.X...bugfix/DIRMINA-1173
On Feb 18, 2024 at 2:05:57 PM, Jonathan Valliere wrote:
> The other diagram possibly had a consumer order issue. While the Queue
> will guarantee that the me
Okay, let me know when you’re able to test with that branch. I think it
should solve your problem.
On Feb 20, 2024 at 6:32:06 AM, Kishore Mokkarala
wrote:
> @ Valliere I am not available for a week.
>
> On Tue, 20 Feb, 2024, 8:59 am Jonathan Valliere,
> wrote:
>
> @Kishore
at we can only read
> Handshake packets until the HS is completed)
>
> I guess it fits with what you have in mind.
>
>
> On 17/02/2024 04:12, Jonathan Valliere wrote:
>
> I was thinking this over last weekend….
>
>
> If I simply removed the synchronization then there CO
écharny,
> > <mailto:elecha...@gmail.com>> wrote:
>
> >
>
> > Hi Jonathan,
>
> >
>
> > in this very case, I think there is a race condition when using the
>
> > SSLFilter in conjonction with the StateMachine
t; I would like to know what is the difference between 2.0.25 and 2.2.1/
> 2.2.3.
>
> On Sat, 17 Feb, 2024, 6:37 pm Jonathan Valliere,
> wrote:
>
> There is also some additional complexity supporting the scenario where two
>
> different threads are triggering “receive” eve
R.isDebugEnabled()) {
> > LOGGER.debug("{}: Writing Message : {}",
> > getSessionInfo(session), writeRequest);
> > }
> >
> > boolean needsFlush = true;
> > SslHandler sslHandler = getSslSessionHandler(session);
>
implementation.
On Feb 17, 2024 at 7:33:21 PM, Jonathan Valliere wrote:
> Okay so I need to figure out how to work it so no lock is held while
> calling either the upper or lower filter.
>
> CONFIDENTIALITY NOTICE: The contents of this email message and any
> attachments are intended solely fo
. This will ensure
that messages are produced and enter the respective queues in guaranteed
order and that they will be consumed with upstream or downstream in order
without locking both directions concurrently.
On Feb 18, 2024 at 1:47:58 PM, Jonathan Valliere wrote:
> Emmanuel,
>
> The attached diagram
62 matches
Mail list logo