new set of multi-IPv4/v6/noIP jail patches
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Fri Jun 20 12:45:06 UTC 2008
On Fri, 20 Jun 2008, Peter Ankerstål wrote:
>
> On Jun 17, 2008, at 8:03 PM, Bjoern A. Zeeb wrote:
>
>> Hi,
>>
>> while for some stuff only infrastructure is there, there is more now.
>> Any feedback would be welcome. I'll have to work on something else the
>> next week so not going to implement the full set of "state", ...
>>
>> Get the diffs from: http://sources.zabbadoz.net/freebsd/jail.html
>>
>> Warning; I have basically tested them for 7-STABLE and HEAD, but no
>> longer than 10 minutes each.
>>
>> Warning: you will have to recompile world and kernel
>>
>> Warning: input/output of tools like jls changed so ports or
>> other tools might break. In case you want a noIP jail you have
>> to give the mandatory "IP address" argument as empty string like
>> "" .
>>
>> Warning: you'll find out yourself;)
>
> Maybe Im stupid, but I cant figure out the syntax in rc.conf for multiple
> ips.
"a,b,c,d,f,g" like you would give it on the command line.
jail_a_ip="192.0.2.2,2001:db8:13:68::2,2001:db8:13:68::1,2001:db8:13:68::4,2001:db8:13:68::13,192.0.2.3"
If you use the ifconfig stuff (jail_x_interface=...) from the jail
startup script someone else has a patch for that... I don't care
about it as I never liked it.
/bz
--
Bjoern A. Zeeb Stop bit received. Insert coin for new game.
More information about the freebsd-jail
mailing list