Bug#679744: [PATCH] add -6 switch to turn on an ipv6 mode

2012-07-15 Thread Alex Owen
I have done some more work and testing on this... my previous patches are included, fixed and superseded by this patch! Attached is a patch to the debian package source to provide an ipv6 capable uif with an ipv6 capable init script and documentation. The ipv6 features are disabled by default so a

Bug#679744: [PATCH] add -6 switch to turn on an ipv6 mode

2012-07-12 Thread Alex Owen
On 11 July 2012 12:09, Alex Owen wrote: > The debian init script could be patched to also run uif with the -6 > switch if a flag in /etc/default/uif requests it Attached is a rough (untested) patch for the init script. I have called the flag variable: IPV6MODE and it defaults to 0 (off). Setting

Bug#679744: [PATCH] add -6 switch to turn on an ipv6 mode

2012-07-11 Thread Alex Owen
679744 tag +patch thanks OK I have reworked my earlier patch to be conditional on a "-6" switch. Without the -6 switch uif behaves as normal. With the -6 switch * the default config file becomes /etc/uif/uif6.conf * ip6tables commands are used * icmpv6 is used instead of icmp(v4) * the nat table