Core 104 (test)

Help on building IPFire & Feature Requests
Frank.M
Posts: 520
Joined: September 13th, 2013, 6:26 am
Contact:

Core 104 (test)

Post by Frank.M » August 11th, 2016, 5:58 pm

Sys: test ipfire in virtualbox

Update from 103 to 104 - ok
Install guardian addon - ok

Thanks!!
Image

DJ-Melo
Posts: 678
Joined: July 8th, 2014, 7:12 am

Re: Core 104 (test)

Post by DJ-Melo » August 12th, 2016, 11:29 am

if squid is on

forum.ipfire.org

ipfire.org

can't be shown. without squid it works.

Core103 no problem.

satbeppo
Posts: 65
Joined: August 12th, 2009, 8:54 am
Location: Hespe

Re: Core 104 (test)

Post by satbeppo » August 12th, 2016, 9:56 pm

Hi
64 bit..
My VM was deleted with update of libvirt

and Guardian shows after update:
Internal Server Error
-------------------------------------------------------
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
Apache Server at 192.168.1.1 Port 444
-------------------------------------------------------
There is no info in the logfile... messages
Guardian log is empty.
Greets
Benno

Jonatan.S
Community Developer
Community Developer
Posts: 85
Joined: March 22nd, 2016, 9:19 am

Re: Core 104 (test)

Post by Jonatan.S » August 13th, 2016, 8:12 am

satbeppo wrote:Hi
64 bit..
My VM was deleted with update of libvirt
Hi Benno
I am very sorry about that this happen. Unfortunately, there was a bug in the uninstall script and so the /var/lib/libvirt/images directory was deleted and all image files also.
With version 5 this bug is fixed, and the directory /var/lib/libvirt/images are not deleted anymore.
So with the upgrade from 5 -> 6 and so on this should not happen again.

For everybody: If you use a libvirt where the version is < 5 then backup all image files before you do an update!!!

If you find any further bugs in libvirt Benno please open a bug report in the bug tracker. I am happy when I can track down bugs in libvirt.
satbeppo wrote: and Guardian shows after update:
Internal Server Error
-------------------------------------------------------
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
Apache Server at 192.168.1.1 Port 444
-------------------------------------------------------
There is no info in the logfile... messages
Guardian log is empty.
Greets
Benno

satbeppo
Posts: 65
Joined: August 12th, 2009, 8:54 am
Location: Hespe

Re: Core 104 (test)

Post by satbeppo » August 13th, 2016, 10:31 am

Hi
About Guardian
i found something in the /var/log/httpd/error.log:

Code: Select all

[core:notice] [pid 3264:tid 122890456254272] AH00094: Command line: '/usr/sbin/httpd'
Can't locate Guardian/Socket.pm in @INC (you may need to install the Guardian::Socket module) (@INC contains: /usr/lib/perl5/site_perl/5.24.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.24.0 /usr/lib/perl5/vendor_perl/5.24.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.24.0 /usr/lib/perl5/5.24.0/$
BEGIN failed--compilation aborted at /srv/web/ipfire/cgi-bin/guardian.cgi line 24.
you may need to install the Guardian::Socketmodule

Where do i get the "Guardian::Socket " ????

any Idea ?
Greetings
Benno

User avatar
Roberto Peña
Posts: 761
Joined: July 16th, 2014, 3:56 pm
Location: Bilbao (España)
Contact:

Re: Core 104 (test)

Post by Roberto Peña » August 18th, 2016, 8:22 am

Hello everyone

Profile machine is as follows:

http://fireinfo.ipfire.org/profile/35da ... db0085fb3c

With version 103, in Entropy it appeared the following:
Entropy.png
With the release 104, appears this:
Entropy104.png
Greetings.
Image
Image

╔════════════════════════════════════════════════╗
Donate to improve IPFire: https://www.ipfire.org/donate
╚════════════════════════════════════════════════╝

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8522
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: Core 104 (test)

Post by Arne.F » August 18th, 2016, 12:44 pm

The hwrng of the apu2 is defective or not really supported by linux. It delivers always zero instead of random values.
This is the reason why it was found but rngd was terminated with a failure in core103

In the new kernel i have disabled the kernelmodul so there is no hwrng.
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

User avatar
Roberto Peña
Posts: 761
Joined: July 16th, 2014, 3:56 pm
Location: Bilbao (España)
Contact:

Re: Core 104 (test)

Post by Roberto Peña » August 18th, 2016, 2:28 pm

Arne Thanks for the clarification.

I've tried has done both the 103 and the 104 the following tests giving similar results:

* openssl speed aes-128-cbc
* openssl speed -evp aes-128-cbc

Greetings.
Image
Image

╔════════════════════════════════════════════════╗
Donate to improve IPFire: https://www.ipfire.org/donate
╚════════════════════════════════════════════════╝

User avatar
Roberto Peña
Posts: 761
Joined: July 16th, 2014, 3:56 pm
Location: Bilbao (España)
Contact:

Re: Core 104 (test)

Post by Roberto Peña » August 26th, 2016, 4:48 pm

Good afternoon everyone.

After upgrading to the Core 104 version, try download the "Download insecure Client package (zip)" OpenVPN and I get the following error:
vpn.jpg
Anyone know why?.

Regards
Image
Image

╔════════════════════════════════════════════════╗
Donate to improve IPFire: https://www.ipfire.org/donate
╚════════════════════════════════════════════════╝

User avatar
Roberto Peña
Posts: 761
Joined: July 16th, 2014, 3:56 pm
Location: Bilbao (España)
Contact:

Re: Core 104 (test)

Post by Roberto Peña » August 27th, 2016, 7:21 pm

Goodnight

The problem with this is that you can not properly configure the connection on a smartphone with Android.

Anyone else happens ?.

I've been looking a bit through ssh but I have not seen anything wrong (something escapes me, is the problem of not knowing ... :'( )

Thank you.
Image
Image

╔════════════════════════════════════════════════╗
Donate to improve IPFire: https://www.ipfire.org/donate
╚════════════════════════════════════════════════╝

ummeegge
Community Developer
Community Developer
Posts: 5001
Joined: October 9th, 2010, 10:00 am

Re: Core 104 (test)

Post by ummeegge » August 28th, 2016, 7:33 am

Hi Roberto Peña,
did you checked /var/log/httpd/error.log causing the "internal server error" ?
Have tested it also here with "Download insecure Client package (zip)" on Core 104 and i have here no problems with it.

UE
Image
Image

User avatar
Roberto Peña
Posts: 761
Joined: July 16th, 2014, 3:56 pm
Location: Bilbao (España)
Contact:

Re: Core 104 (test)

Post by Roberto Peña » August 28th, 2016, 7:54 am

Thanks ummeegge for reply.

These are the errors shown me:
error_log.zip
(490 Bytes) Downloaded 100 times
And this is my ovpnmain.cgi:
ovpnmain.zip
(36.63 KiB) Downloaded 90 times
The following appears on line 2292:

Code: Select all

die "openssl error: $?";
Greetings.
Image
Image

╔════════════════════════════════════════════════╗
Donate to improve IPFire: https://www.ipfire.org/donate
╚════════════════════════════════════════════════╝

ummeegge
Community Developer
Community Developer
Posts: 5001
Joined: October 9th, 2010, 10:00 am

Re: Core 104 (test)

Post by ummeegge » August 28th, 2016, 8:25 am

Your welcome,
have made now a diff from my current ovpnmain.cgi from Core 104 and yours and there seems to be a different. Here is the diff:

Code: Select all

-> diff -u ovpnmain.cgi.roberto ovpnmain.cgi.funct 
--- ovpnmain.cgi.roberto	2016-08-28 10:14:38.884434594 +0200
+++ ovpnmain.cgi.funct	2016-08-28 10:14:11.394974368 +0200
@@ -5338,7 +5338,8 @@
 	if ($confighash{$key}[41] eq "no-pass") {
 		print <<END;
 			<form method='post' name='frm${key}g'><td align='center' $col>
-				<input type='image'  name='$Lang::tr{'dl client arch insecure'}' src='/images/openvpn.png' alt='$Lang::tr{'dl client arch insecure'}' title='$Lang::tr{'dl client arch insecure'}' border='0' />
+				<input type='image'  name='$Lang::tr{'dl client arch insecure'}' src='/images/openvpn.png'
+					alt='$Lang::tr{'dl client arch insecure'}' title='$Lang::tr{'dl client arch insecure'}' border='0' />
 				<input type='hidden' name='ACTION' value='$Lang::tr{'dl client arch'}' />
 				<input type='hidden' name='MODE' value='insecure' />
 				<input type='hidden' name='KEY' value='$key' />
The difference is in line 5342 --> http://git.ipfire.org/?p=ipfire-2.x.git ... e104#l5341 .

This changes are from december 2015 --> http://git.ipfire.org/?p=ipfire-2.x.git ... 23a88f01a6 and Core 104 delivers also no changes in ovpnmain.cgi.

The ovpnmain.cgi for Core 104 can be found in raw format in here --> http://git.ipfire.org/?p=ipfire-2.x.git ... ds/core104

Greetings,

UE
Image
Image

User avatar
Roberto Peña
Posts: 761
Joined: July 16th, 2014, 3:56 pm
Location: Bilbao (España)
Contact:

Re: Core 104 (test)

Post by Roberto Peña » August 28th, 2016, 9:56 am

Hi ummeegge.

Then, supposedly, if I copy the entire contents RAW of ovpnmain.cgi for Core 104, it should work, right ?.

I've done restarting the computer and still gives the error.

I tried on another computer that had the 103 and gives me the same error.

What more test I can do ?.

Thank you very much.
Image
Image

╔════════════════════════════════════════════════╗
Donate to improve IPFire: https://www.ipfire.org/donate
╚════════════════════════════════════════════════╝

ummeegge
Community Developer
Community Developer
Posts: 5001
Joined: October 9th, 2010, 10:00 am

Re: Core 104 (test)

Post by ummeegge » August 28th, 2016, 11:08 am

Have had a deeper look into the code snippet and it seems that this is not the problem (only a line break), even it is a little strange since both versions differs...

How do you proceed if you add a new client step-by-step (may you can made screenshoot of the WUI before push the "save" button) ?

UE
Image
Image

Post Reply