Re: IP filter after setting Jenkins behind a reverse proxy

2016-12-14 Thread Daniel Beck

> On 14.12.2016, at 16:28, Daniel Beck  wrote:
> 
> java -jar jenkins.war --help

Well, you can configure on which interface/port to listen, which is only good 
enough if the reverse proxy is on the same host and you can listen to 
127.0.0.1. But combined with a firewall rule, this can give you what you want.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/258CD3F1-D8B6-49A7-A620-8E15A0F5AC42%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: IP filter after setting Jenkins behind a reverse proxy

2016-12-14 Thread Daniel Beck

> On 14.12.2016, at 16:21, Jean-Eric Cuendet  wrote:
> 
> - Jetty can do that. Is it possible to configure it fron the "java -jar " 
> command line?
> 

java -jar jenkins.war --help

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/A9D8E844-CEC9-4C7A-B1AB-CDD7649732FF%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


IP filter after setting Jenkins behind a reverse proxy

2016-12-14 Thread Jean-Eric Cuendet
I want to put Jenkins behind a reverse proxy (Apache). Then Jenkins trust 
the caller (the RP) and doesn't manage security itself anymore.
It works only if the only caller of Jenkins IP address wise, is the RP 
itself.

What's the way of coniguring Jenkins to accept connections only from some 
IP address and not others.
I see some ways:
- A Jenkins plugin could do that. I haven't found any.
- Jetty can do that. Is it possible to configure it fron the "java -jar " 
command line?
- Deploy Jenkins in a "real" Tomcat which can then be configured with a 
valve

What's the best way?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b61f06a4-c805-457f-a833-7a4f96d788e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.