MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2015-07-08, 20:15:24

Title: /script/fix-outgoingips stopped working after adding IPv6 support
Post by: Spacedust on 2015-07-08, 20:15:24
My server is using IPv6 and since last update nothing is going on when using:

Quote
[root@online /]# sh /script/fix-outgoingips
[root@online /]#
Title: Re: /script/fix-outgoingips stopped working after adding IPv6 support
Post by: Spacedust on 2015-07-08, 20:16:41
As soon I restore old version of kloxo/bin/fix/fix-outgoingips.php everything is back to normal.
Title: Re: /script/fix-outgoingips stopped working after adding IPv6 support
Post by: MRatWork on 2015-07-08, 20:42:47
Inform here your /var/qmail/control/outgoingips content from the old and the new ones.
Title: Re: /script/fix-outgoingips stopped working after adding IPv6 support
Post by: Spacedust on 2015-07-10, 17:37:14
Old is like this:

Quote
wow.vgry.pl:78.46.85.86
Title: Re: /script/fix-outgoingips stopped working after adding IPv6 support
Post by: MRatWork on 2015-07-10, 17:45:07
The new fix-outgoingips only modified for handling IPv6. For IPv4 the content must like 'wow.vgry.pl:78.46.85.86' but for IPv6 must like 'wow.vgry.pl:[2001::]' (add '[]').
Title: Re: /script/fix-outgoingips stopped working after adding IPv6 support
Post by: Spacedust on 2015-07-10, 17:45:11
File is untouched when using the latest version - it does not execute...
Title: Re: /script/fix-outgoingips stopped working after adding IPv6 support
Post by: Spacedust on 2015-07-10, 17:45:31
My IPs:

Quote
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1B:21:B8:A4:3F
          inet addr:78.46.85.86  Bcast:78.46.85.86  Mask:255.255.255.255
          inet6 addr: 2a01:4f8:120:134d::2/64 Scope:Global
          inet6 addr: 2a01:4f8:120:134d::3/64 Scope:Global
          inet6 addr: fe80::21b:21ff:feb8:a43f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26827833171 errors:1181 dropped:997369 overruns:0 frame:617
          TX packets:28182801948 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:22597715535836 (20.5 TiB)  TX bytes:27428120186910 (24.9 TiB)

eth0:0    Link encap:Ethernet  HWaddr 00:1B:21:B8:A4:3F
          inet addr:78.46.85.90  Bcast:78.46.85.95  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0:1    Link encap:Ethernet  HWaddr 00:1B:21:B8:A4:3F
          inet addr:78.46.85.92  Bcast:78.46.85.95  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:124514093192 errors:0 dropped:0 overruns:0 frame:0
          TX packets:124514093192 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:76028217841867 (69.1 TiB)  TX bytes:76028217841867 (69.1 TiB)
Title: Re: /script/fix-outgoingips stopped working after adding IPv6 support
Post by: MRatWork on 2015-07-10, 17:50:17
Ok, it's something wrong with the code. Will be fixed in next upload.
Title: Re: /script/fix-outgoingips stopped working after adding IPv6 support
Post by: Spacedust on 2015-07-10, 18:08:42
Updated to: 7.0.0.b-2015071001

and it works now, but content remain the same ;)

wow.vgry.pl:78.46.85.86
Title: Re: /script/fix-outgoingips stopped working after adding IPv6 support
Post by: MRatWork on 2015-07-10, 18:44:20
It's not work in 20150802. Will be fixed in 2015100X.