Re: IPv6 in jails

2020-03-26 Thread Arthur Chance
On 19/03/2020 14:01, Victor Sudakov wrote: > Bjoern A. Zeeb wrote: >> If it does, can you add a exec.start += "sleep 2 "; to your config >>> >>> OK, I've added it to the configs of 3 experimental jails. >>> and see if your problem goes away? >>> >>> It goes away pa

Re: IPv6 in jails

2020-03-21 Thread Jan Behrens
On Sat, 21 Mar 2020 11:35:02 +0700 Victor Sudakov wrote: > Jan Behrens wrote: > > > > > Can you then do a jexec test4 and run service sshd restart and see if it > > > starts working? > > > > I experienced the same problem as discussed in this thread when I set > > up IPv6 with my server. Stran

Re: IPv6 in jails

2020-03-20 Thread Chris
On Sat, 21 Mar 2020 11:35:02 +0700 Victor Sudakov v...@sibptus.ru said Jan Behrens wrote: > > > Can you then do a jexec test4 and run service sshd restart and see if it > > starts working? > > I experienced the same problem as discussed in this thread when I set > up IPv6 with my server. Str

Re: IPv6 in jails

2020-03-20 Thread Victor Sudakov
Jan Behrens wrote: > > > Can you then do a jexec test4 and run service sshd restart and see if it > > starts working? > > I experienced the same problem as discussed in this thread when I set > up IPv6 with my server. Strangely, when I rebooted the host system and > simply started the jails one

Re: IPv6 in jails

2020-03-19 Thread Jan Behrens
On Wed, 18 Mar 2020 16:51:32 + "Bjoern A. Zeeb" wrote: > Can you then do a jexec test4 and run service sshd restart and see if it > starts working? I experienced the same problem as discussed in this thread when I set up IPv6 with my server. Strangely, when I rebooted the host system and si

Re: IPv6 in jails

2020-03-19 Thread Victor Sudakov
Bjoern A. Zeeb wrote: > > > > If it does, can you add a > > > > > > exec.start += "sleep 2 "; > > > > > > to your config > > > > OK, I've added it to the configs of 3 experimental jails. > > > > > and see if your problem goes away? > > > > It goes away partially (only for sshd in 2 of the

Re: IPv6 in jails

2020-03-19 Thread Bjoern A. Zeeb
On 19 Mar 2020, at 2:14, Victor Sudakov wrote: If it does, can you add a exec.start += "sleep 2 "; to your config OK, I've added it to the configs of 3 experimental jails. and see if your problem goes away? It goes away partially (only for sshd in 2 of the 3 available jails), a

Re: IPv6 in jails

2020-03-19 Thread Victor Sudakov
Jacques Foucry wrote: > > > > > > > > > > > Is IPv6 in jails supposed to work? Does not work for me, what am I doing > > > > wrong? > > > > > > Suppose to work, and work for me. > > > > > > > >

Re: IPv6 in jails

2020-03-18 Thread Victor Sudakov
Jacques Foucry wrote: > > > > > Is IPv6 in jails supposed to work? Does not work for me, what am I doing > > wrong? > > Suppose to work, and work for me. > > > > Here is a test jail: > > > > test4 { > > path = /d02/jai

Re: IPv6 in jails

2020-03-18 Thread Victor Sudakov
Bjoern A. Zeeb wrote: > On 18 Mar 2020, at 15:50, Victor Sudakov wrote: > > > > If sshd in the host is configured to listen on all available > > > interfaces and > > > addresses (the default) then it will catch your jails IP too. > > > > Why is it not catching the 192.168.4.204 address then? > >

Re: IPv6 in jails

2020-03-18 Thread Bjoern A. Zeeb
On 18 Mar 2020, at 15:50, Victor Sudakov wrote: If sshd in the host is configured to listen on all available interfaces and addresses (the default) then it will catch your jails IP too. Why is it not catching the 192.168.4.204 address then? You must configure sshd in the host to listen only

Re: IPv6 in jails

2020-03-18 Thread Jacques Foucry via freebsd-net
Le mercredi 18 mars 2020 à 22:15:56 (+0700), Victor Sudakov à écrit: > Dear Colleagues, Hello Victor, > > Is IPv6 in jails supposed to work? Does not work for me, what am I doing > wrong? Suppose to work, and work for me. > > Here is a test jail: > > test4 { >

Re: IPv6 in jails

2020-03-18 Thread Victor Sudakov
Bjoern A. Zeeb wrote: > > > > Is IPv6 in jails supposed to work? Does not work for me, what am I doing > > wrong? > > > > Here is a test jail: > > > > test4 { > > path = /d02/jails/test4 ; > > mount.devfs; > >

Re: IPv6 in jails

2020-03-18 Thread Victor Sudakov
Miroslav Lachman wrote: > Victor Sudakov wrote on 2020/03/18 16:15: > > > > Is IPv6 in jails supposed to work? Does not work for me, what am I doing > > wrong? > > > > Here is a test jail: > > > > test4 { > > path = /d02/jails/test4

Re: IPv6 in jails

2020-03-18 Thread Victor Sudakov
Steve O'Hara-Smith wrote: > On Wed, 18 Mar 2020 22:15:56 +0700 > Victor Sudakov wrote: > > > If I "ssh 2001:470:ecba:3::4" from outside, I get into the host instead > > of the jail (because 2001:470:ecba:3::4 *is* assigned to re1, but not > > available inside the jail). > > Having the host

Re: IPv6 in jails

2020-03-18 Thread Miroslav Lachman
Victor Sudakov wrote on 2020/03/18 16:15: Dear Colleagues, Is IPv6 in jails supposed to work? Does not work for me, what am I doing wrong? Here is a test jail: test4 { path = /d02/jails/test4 ; mount.devfs; ip4 = new; ip6 = new; ip4.addr

Re: IPv6 in jails

2020-03-18 Thread Steve O'Hara-Smith
On Wed, 18 Mar 2020 22:15:56 +0700 Victor Sudakov wrote: > If I "ssh 2001:470:ecba:3::4" from outside, I get into the host instead > of the jail (because 2001:470:ecba:3::4 *is* assigned to re1, but not > available inside the jail). Having the host listening on an address will stop any j

Re: IPv6 in jails

2020-03-18 Thread Victor Sudakov
Bjoern A. Zeeb wrote: > > > > Is IPv6 in jails supposed to work? Does not work for me, what am I doing > > wrong? > > > > Here is a test jail: > > > > test4 { > > path = /d02/jails/test4 ; > > mount.devfs; > >

Re: IPv6 in jails

2020-03-18 Thread Bjoern A. Zeeb
On 18 Mar 2020, at 15:15, Victor Sudakov wrote: Dear Colleagues, Is IPv6 in jails supposed to work? Does not work for me, what am I doing wrong? Here is a test jail: test4 { path = /d02/jails/test4 ; mount.devfs; ip4 = new; ip6 = new; ip4.addr

IPv6 in jails

2020-03-18 Thread Victor Sudakov
Dear Colleagues, Is IPv6 in jails supposed to work? Does not work for me, what am I doing wrong? Here is a test jail: test4 { path = /d02/jails/test4 ; mount.devfs; ip4 = new; ip6 = new; ip4.addr = 192.168.4.204/24; ip6.addr = 2001:470:ecba:3::4