Re: [jetty-users] How to use a stronger Diffie Hellman group in Jetty?

2022-01-09 Thread gouessej
Thank you very much for your suggestion. Is there a mean of changing that in Jetty without modifying the JRE?   When I run your commandline, it prints nothing on my server. The connection is refused. I'll try to adapt it to make it work, I should probably use another port. This is the script

Re: [jetty-users] How to use a stronger Diffie Hellman group in Jetty?

2022-01-09 Thread gouessej
I get that: root@lime2:~# openssl s_client -connect localhost:8443 -showcerts -cipher "EDH" < /dev/null 2>&1 | grep "Server Temp Key" Server Temp Key: X25519, 253 bits       > Message du 08/01/22 16:14 > De : "Travis Spencer" > A : goues...@orange.fr, "JETTY user mailing list" > Copie à

[jetty-users] How to use a stronger Diffie Hellman group in Jetty?

2022-01-07 Thread gouessej
Hello I would like to avoid using common Diffie Hellman primes in order to improve the security during key exchange, I tried to follow these steps: https://weakdh.org/sysadmin.html I know how to exclude some cipher suites:

Re: [jetty-users] How can I accurately count visits?

2021-08-11 Thread gouessej
Thank you for your guidance, PushCacheFilter is going to be an excellent source of inspiration.   > Message du 11/08/21 11:08 > De : "Simone Bordet" > A : goues...@orange.fr, "JETTY user mailing list" > Copie à : > Objet : Re: [jetty-users] How can I accurately count visits? > > Hi, > > On

[jetty-users] How can I accurately count visits?

2021-08-10 Thread gouessej
Hello I would like to count visits. I use Jetty 11, my logs are in combined log format (I guess from a line produced by a silly script kiddy): 209.141.54.8 - - [10/Aug/2021:05:40:17 +] "POST /boaform/admin/formLogin HTTP/1.1" 404 451 "http://80.13.94.99:80/admin/login.asp; "Mozilla/5.0

Re: [jetty-users] java.lang.NoClassDefFoundError: org/eclipse/jetty/util/Attributes$Wrapper

2020-09-20 Thread gouessej
Hello   I use Jetty with Jersey, I have no such problems, you can have a look at my project, maybe it could help you: https://sourceforge.net/projects/red-feed-aggregator/   I think that a dependency is missing in your pom file.   > Message du 20/09/20 21:10 > De : "Shaffin Bhanji" > A :

Re: [jetty-users] CrossOriginFilter

2020-08-23 Thread gouessej
You can configure WebAppContext in the Jetty Deployment Descriptor XML as you did for the resource handler. Then, you can use DefaultServlet in web.xml to serve your static files and you can put your CORS filter into web.xml too.   The documentation seems to indicate that DefaultServlet should

Re: [jetty-users] CrossOriginFilter

2020-08-23 Thread gouessej
Hello   You have to use WebAppContext (or at least ServletContextHandler) to do that.   > Message du 22/08/20 20:34 > De : "Kara McElwrath" > A : jetty-users@eclipse.org > Copie à : > Objet : [jetty-users] CrossOriginFilter > > Hello, we are running jetty-9.4.30.v20200611 and it is working

Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty 9.4.31 doesn't respond

2020-08-07 Thread gouessej
Thank you for your help, I've just found the solution. Using @ApplicationPath while declaring the javax.ws.rs.Application implementation in web.xml without setting the servlet mapping in the same file was a bad idea. I thought about that when you suggested to add a "/" at the beginnging of the

Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty 9.4.31 doesn't respond

2020-08-07 Thread gouessej
Adding a "/" at the beginning of the path doesn't solve my problem.     > Message du 07/08/20 08:56 > De : "Simone Bordet" > A : goues...@orange.fr > Copie à : "Simone Bordet" , "JETTY user mailing list" > Objet : Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty > 9.4.31

Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty 9.4.31 doesn't respond

2020-08-07 Thread gouessej
I've just compared with a working project using Wildfly and RestEasy, I shouldn't need to add a '/' at the beginning but I'll give it a try just in case Jersey behaves differently.       > Message du 07/08/20 08:56 > De : "Simone Bordet" > A : goues...@orange.fr > Copie à : "Simone Bordet"

Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty 9.4.31 doesn't respond

2020-08-06 Thread gouessej
I still get an HTTP error 404 with your suggestion.   diff --git a/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java b/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java index 1e0c09c..ee0f4f0 100644 --- a/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java +++

Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty 9.4.31 doesn't respond

2020-08-06 Thread gouessej
I've just noticed something in the error message: HTTP ERROR 404 Not Found URI: /feed/webresources/corsproxy/raw STATUS: 404 MESSAGE: Not Found SERVLET: default Powered by Jetty:// 9.4.31.v20200723     Actually, "default" is the name of the default servlet, the first mentioned in

Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty 9.4.31 doesn't respond

2020-08-06 Thread gouessej
The context path "feed" is set here: https://sourceforge.net/p/red-feed-aggregator/code/ci/master/tree/red-feed-aggregator.xml#l4   The application path "webresources" is set here:

Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty 9.4.31 doesn't respond

2020-08-06 Thread gouessej
I added load-on-startup into web.xml and a few JARs into WEB-INF/lib.   dumpAfterStart=true gives me this:   2020-08-06 20:08:55.322:INFO:oejs.Server:main: jetty-9.4.31.v20200723; built: 2020-07-23T17:57:36.812Z; git: 450ba27947e13e66baa8cd1ce7e85a4461cacc1d; jvm

[jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty 9.4.31 doesn't respond

2020-08-05 Thread gouessej
Hello I'm trying to implement a CORS proxy to replace the third party CORS proxy I've been using for weeks. I need a CORS proxy to work around some CORS policies by downloading the files on the server in a web service called from the client that receives some plain text. The source code of my

[jetty-users] How to setup a CORS proxy in Jetty?

2020-06-27 Thread gouessej
Hello I ask the following question on StackOverflow: https://stackoverflow.com/questions/62603366/cors-header-access-control-allow-origin-missing-from-firefox-despite-the-use Is it possible to setup a CORS proxy in Jetty? ___ jetty-users mailing list