marcelloc / Unofficial-pfSense-packages

Unofficial packages for pfSense software
125 stars 71 forks source link

aarch64 pfsense support #58

Open barucomx opened 5 years ago

barucomx commented 5 years ago

Is there any plan to provide compiled version for aarch64 (netgate appliances) of e2guardian???

If I can compile it, how I can do it? (and if it works) how do I provide those files to you???

marcelloc commented 5 years ago

on a aarch64 freebsd11, create the folder /usr/ports/packages/All

then, you can compile e2guardian form /usr/ports/www/e2guardian and pfSense package cloning my repo on same bsd11 once you do this, you can send files under /usr/ports/packages/All to your box and install using pkg add.

When I have time, I'll try this on my vms

https://forums.freebsd.org/threads/arm-or-sparc-in-freebsd-jail-on-amd64-host.65130/

barucomx commented 5 years ago

I already have a Raspberry Pi running Freebsd 12 (the same FreeBSD in the Netgate box), am following your instructions, if it works am going to let you know :)

(the original freebsd in the netgate box does not allow to compilate anything)

marcelloc commented 5 years ago

Freebsd12 will compile to pfsense 2.5 Freebsd11 is the base for 2.4.4

I have a raspberry too. It's the same architecture as netgate appliances?

barucomx commented 5 years ago

Yes is the same only for these small ones:

SG-1100 (which I own in this moment) SG-3100

For the other appliances more heavy-load are Intel based (from atom to Xenon)

barucomx commented 5 years ago

It works!!!! how can I give you the *txz files :smile: image

forid786 commented 5 years ago

@barucomx How well does E2 Guardian run on the ARM based Netgate devices?

E2 Guardian for me can use up quite a bit of resources, due to MITM so I'm interested to know how it runs for you.

barucomx commented 5 years ago

Hey @forid786:

Works fine, the only 'issue' is that you have to have in mind the resources limited, like every other appliance, but for home-use using only web filtering for kids, works smoothly, until now I tested with 15 current devices and is not noticeable any slowing down in the navigation, in the web-console sometimes is noticeable a slow responce (not to pull your hair but suddently it's slow and another goes fast depending on the network load)

walbercardoso commented 5 years ago

Hi @barucomx can you send me the packages? I also have a sg1100 and I dont have any freebsd to build like @marcelloc said. Thanks regards

barucomx commented 5 years ago

Hey @walbercardoso sure,

I uploaded here https://github.com/barucomx/e2guardian-aarch64 only the packages that I used for the Netgate SG-1100.

Enjoy ;)

walbercardoso commented 5 years ago

Hi @barucomx . Thank you very very much. I juste did what you tell on git readme. Some packages i got some errors, normal like you said... but when finished the installation, i still dont see the menu option on pfsense gui.

Here the packages errors:

Failed to install the following 92 package(s): MailScanner-5.1.2_1.txz, cyrus-sasl-2.1.27.txz, dcc-dccd-1.3.159_3.txz, digests.txz, gcc-8_3.txz, gcc8-8.3.0_1.txz, gmp-6.1.2_1.txz, gnupg1-1.4.23_1.txz, icu-64.1,1.txz, libidn-1.34_1.txz, liblz4-1.8.3,1.txz, libmilter-8.15.2_1.txz, libspf2-1.2.10_2.txz, libzip-1.5.2.txz, meta.txz, mpc-1.1.0_2.txz, mpfr-4.0.2.txz, opendkim-2.10.3_11.txz, opendmarc-1.3.2_1.txz, openssl-1.0.2l,1.txz, p5-Bit-Vector-7.4.txz, p5-Convert-ASN1-0.27_2.txz, p5-Convert-TNEF-0.18_1.txz, p5-Crypt-OpenSSL-Bignum-0.09.txz, p5-Crypt-OpenSSL-RSA-0.31.txz, p5-Crypt-OpenSSL-Random-0.15.txz, p5-DBD-SQLite-1.62.txz, p5-Date-Calc-6.4.txz, p5-Digest-SHA1-2.13_1.txz, p5-Encode-Detect-1.01_1.txz, p5-Filesys-Df-0.92_1.txz, p5-IO-Socket-INET6-2.72_1.txz, p5-IO-String-1.08_1.txz, p5-IP-Country-2.28_1.txz, p5-Inline-C-0.78.txz, p5-JSON-XS-4.02.txz, p5-Mail-DKIM-0.54.txz, p5-Mail-IMAPClient-3.39.txz, p5-Mail-SPF-2.9.0_4.txz, p5-Net-DNS-1.20,1.txz, p5-Net-DNS-Resolver-Mock-1.20171219.txz, p5-Net-DNS-Resolver-Programmable-0.009.txz, p5-Net-IDN-Encode-2.500.txz, p5-Net-IP-1.26_1.txz, p5-Net-Ident-1.23_1.txz, p5-Net-LibIDN-0.12_4.txz, p5-Net-Server-2.009.txz, p5-NetAddr-IP-4.079.txz, p5-Pegex-0.70.txz, p5-Socket6-0.29.txz, p5-Text-Soundex-3.05.txz, p5-Types-Serialiser-1.0_1.txz, p5-YAML-LibYAML-0.76.txz, p5-perl-ldap-0.6500.txz, p7zip-16.02_2.txz, packagesite.txz, pfSense-pkg-E2guardian5-0.5.3.2.txz, pfSense-pkg-Filer-dev-0.6.2_2.txz, pfSense-pkg-Sarg-0.6.15.txz, pfSense-pkg-SpeedTest-0.1_3.txz, pfSense-pkg-Squidanalyzer-0.2.1.txz, pfSense-pkg-SshdCond-1.1.txz, pfSense-pkg-Tinyproxy-0.2.3.txz, pfSense-pkg-WPAD-0.3.0.3.txz, pfSense-pkg-mailscanner-5.1.2_2.txz, pfSense-pkg-postfix-3.3.4_8.txz, pfSense-pkg-sgldap-1.0.1.txz, pfSense-pkg-squid-dev-0.4.5_6.txz, pflogsumm-1.1.5,1.txz, php56-hash-5.6.35.txz, php56-phar-5.6.35.txz, php72-zip-7.2.17.txz, pkg-GoogleAuthenticator-0.1.txz, postfix-postfwd-1.35_1.txz, postfix-sasl-3.3.4,1.txz, pstree-2.39.txz, python36-3.6.8_1.txz, re2c-0.14.3.txz, rsync-3.1.3.txz, sarg-2.3.11.txz, spamassassin-3.4.2_3.txz, squid-4.5.txz, squidanalyzer-6.6.txz, stund-0.96.txz, tinyproxy-1.8.4,1.txz, tnef-1.4.12.txz, unace-1.2b_3.txz, unarj-2.65_2.txz, unrar-5.70,6.txz, wget-1.20.3.txz, zip-3.0_1.txz, zoo-2.10.1_3.txz

barucomx commented 5 years ago

I think I found the problem (my bad uploaded wrong architecture), delete all previous files, try again it sould work now :)

walbercardoso commented 5 years ago

All right. All installed now. But cant see E2guardian on Service Menu...

barucomx commented 5 years ago

I just added the file pfSense-pkg-E2guardian5-0.5.3.2.txz download it and install it :) It should work ^_^