Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Unofficial E2guardian package for pfSense

    Scheduled Pinned Locked Moved Cache/Proxy
    1.2k Posts 70 Posters 1.4m Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marcellocM
      marcelloc
      last edited by

      Your setup is e2guardian with automatic parent or

      Squid package - e2guardian - squid?

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • P
        pfsensation
        last edited by

        @marcelloc:

        Your setup is e2guardian with automatic parent or

        Squid package - e2guardian - squid?

        Manual mode, with automatic parent squid cache didn't seem to work last time.

        Client > E2Guardian > Squid > Internet

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          @pfsensation:

          Manual mode, with automatic parent squid cache didn't seem to work last time.

          Client > E2Guardian > Squid > Internet

          Select splice all on squid while using manual mode. This prevent e2guardian from crashing on some SSL communication.

          I'm using only automatic mode. No issues here.

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            @pfsensation, I've tested a lot times install, reinstall and uninstall. While testing I was improving the install and uninstall process.

            All the fixes I've included on 0.4.2.2 when you have time, let me know if it gets more consistent on upgrades, install, uninstalls and reinstalls.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • P
              pfsensation
              last edited by

              @marcelloc:

              @pfsensation, I've tested a lot times install, reinstall and uninstall. While testing I was improving the install and uninstall process.

              All the fixes I've included on 0.4.2.2 when you have time, let me know if it gets more consistent on upgrades, install, uninstalls and reinstalls.

              Thank you very, very much Marcello!

              On the older version, I got these crashes below, even with splice all on squid.

              
              Date-Time	Message
              Mon Jun 26 19:20:24 BST 2017	start
              Mon Jun 26 10:10:25 BST 2017	start
              Mon Jun 26 10:10:23 BST 2017	start
              Sun Jun 25 14:47:57 BST 2017	start
              Sun Jun 25 14:47:27 BST 2017	start
              Sun Jun 25 14:47:27 BST 2017	start
              Sun Jun 25 13:54:12 BST 2017	start
              Sun Jun 25 13:53:54 BST 2017	start
              Sun Jun 25 11:36:09 BST 2017	start
              Sun Jun 25 11:34:29 BST 2017	start
              
              Crash report begins.  Anonymous machine information:
              
              amd64
              10.3-RELEASE-p19
              FreeBSD 10.3-RELEASE-p19 #0 bbfdb9a1d(RELENG_2_3_4): Wed May  3 16:09:14 CDT 2017     root@ce23-amd64-builder:/builder/pfsense-234/tmp/obj/builder/pfsense-234/tmp/FreeBSD-src/sys/pfSense
              
              Crash report details:
              
              No PHP errors found.
              
              Filename: /var/crash/bounds
              2
              
              Filename: /var/crash/info.0
              Dump header from device /dev/label/swap0
                Architecture: amd64
                Architecture Version: 1
                Dump Length: 76288B (0 MB)
                Blocksize: 512
                Dumptime: Mon Jun 26 10:08:10 2017
                Hostname: pfSense.kortex
                Magic: FreeBSD Text Dump
                Version String: FreeBSD 10.3-RELEASE-p19 #0 bbfdb9a1d(RELENG_2_3_4): Wed May  3 16:09:14 CDT 2017
                  root@ce23-amd64-builder:/builder/pfsense-234/tmp/obj/builder/pfsense-234/tmp/FreeBSD-src/sys/pfSense
                Panic String: 
                Dump Parity: 2578648898
                Bounds: 0
                Dump Status: good
              
              Filename: /var/crash/info.1
              Dump header from device /dev/label/swap0
                Architecture: amd64
                Architecture Version: 1
                Dump Length: 72704B (0 MB)
                Blocksize: 512
                Dumptime: Mon Jun 26 19:18:15 2017
                Hostname: pfSense.kortex
                Magic: FreeBSD Text Dump
                Version String: FreeBSD 10.3-RELEASE-p19 #0 bbfdb9a1d(RELENG_2_3_4): Wed May  3 16:09:14 CDT 2017
                  root@ce23-amd64-builder:/builder/pfsense-234/tmp/obj/builder/pfsense-234/tmp/FreeBSD-src/sys/pfSense
                Panic String: 
                Dump Parity: 2214858306
                Bounds: 1
                Dump Status: good
              
              Filename: /var/crash/info.last
              Dump header from device /dev/label/swap0
                Architecture: amd64
                Architecture Version: 1
                Dump Length: 72704B (0 MB)
                Blocksize: 512
                Dumptime: Mon Jun 26 19:18:15 2017
                Hostname: pfSense.kortex
                Magic: FreeBSD Text Dump
                Version String: FreeBSD 10.3-RELEASE-p19 #0 bbfdb9a1d(RELENG_2_3_4): Wed May  3 16:09:14 CDT 2017
                  root@ce23-amd64-builder:/builder/pfsense-234/tmp/obj/builder/pfsense-234/tmp/FreeBSD-src/sys/pfSense
                Panic String: 
                Dump Parity: 2214858306
                Bounds: 1
                Dump Status: good
              
              Filename: /var/crash/textdump.tar.0
              ddb.txt06000014000013124147372  7076 ustarrootwheeldb:0:kdb.enter.default>  run lockinfo
              db:1:lockinfo> show locks
              No such command
              db:1:locks>  show alllocks
              No such command
              db:1:alllocks>  show lockedvnods
              Locked vnodes
              db:0:kdb.enter.default>  show pcpu
              cpuid        = 0
              dynamic pcpu = 0x532100
              curthread    = 0xfffff80050027960: pid 75419 "sh"
              curpcb       = 0xfffffe0094c04c80
              fpcurthread  = none
              idlethread   = 0xfffff80003522000: tid 100003 "idle: cpu0"
              curpmap      = 0xfffff800500f5138
              tssp         = 0xffffffff82113890
              commontssp   = 0xffffffff82113890
              rsp0         = 0xfffffe0094c04c80
              gs32p        = 0xffffffff821152e8
              ldt          = 0xffffffff82115328
              tss          = 0xffffffff82115318
              db:0:kdb.enter.default>  bt
              Tracing pid 75419 tid 100099 td 0xfffff80050027960
              vm_phys_alloc_domain_pages() at vm_phys_alloc_domain_pages+0xbb/frame 0xfffffe0094c047b0
              vm_phys_alloc_pages() at vm_phys_alloc_pages+0x4d/frame 0xfffffe0094c047e0
              vm_page_alloc() at vm_page_alloc+0x1d2/frame 0xfffffe0094c04830
              _pmap_allocpte() at _pmap_allocpte+0xa6/frame 0xfffffe0094c048a0
              pmap_copy() at pmap_copy+0x43b/frame 0xfffffe0094c04940
              vmspace_fork() at vmspace_fork+0x85b/frame 0xfffffe0094c049a0
              fork1() at fork1+0x375/frame 0xfffffe0094c04a70
              sys_fork() at sys_fork+0x1f/frame 0xfffffe0094c04a90
              amd64_syscall() at amd64_syscall+0x40f/frame 0xfffffe0094c04bb0
              Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe0094c04bb0
              --- syscall (2, FreeBSD ELF64, sys_fork), rip = 0x800d8bfba, rsp = 0x7fffffffe958, rbp = 0x7fffffffe990 ---
              db:0:kdb.enter.default>  ps
                pid  ppid  pgrp   uid   state   wmesg         wchan        cmd
              76751 75154 75154     0  LL     *vm page  0xfffff80003b59840 sleep
              75419 74577 75419     0  Rs      CPU 0                       sh
              75154 74546 75154     0  Ss      wait     0xfffff80003d56000 sh
              74577 25265 25265     0  S       piperd   0xfffff80003c142e8 cron
              74546 25265 25265     0  S       piperd   0xfffff8002c8918b8 cron
              73606 39060    21     0  S       nanslp   0xffffffff82001570 sleep
              53995   285   285     0  S       accept   0xfffff80003e5e88e php-fpm
              96111 92629 92629     0  S       nanslp   0xffffffff82001571 sleep
              92629 91802 92629     0  Ss      wait     0xfffff8002cf0c000 sh
              91802 25265 25265     0  S       piperd   0xfffff80050664000 cron
              11813     1 11813     0  Ss      (threaded)                  e2guardian
              101456                   S       accept   0xfffff8005df0388e e2guardian
              101454                   S       accept   0xfffff800261325d6 e2guardian
              101453                   S       uwait    0xfffff8005042e980 e2guardian
              101451                   S       uwait    0xfffff8002cfadd00 e2guardian
              101450                   S       uwait    0xfffff80050458280 e2guardian
              101449                   S       uwait    0xfffff8002cff8580 e2guardian
              101448                   S       uwait    0xfffff800503fff00 e2guardian
              101447                   S       uwait    0xfffff800503a5800 e2guardian
              101446                   S       uwait    0xfffff800503d3180 e2guardian
              101445                   S       uwait    0xfffff8005042d900 e2guardian
              101444                   S       uwait    0xfffff8002cff8a80 e2guardian
              101443                   S       uwait    0xfffff8002c9fa300 e2guardian
              101442                   S       uwait    0xfffff8002cfac480 e2guardian
              101441                   S       uwait    0xfffff80050029280 e2guardian
              101440                   S       uwait    0xfffff800503d2500 e2guardian
              101439                   S       uwait    0xfffff80050400d80 e2guardian
              101374                   S       uwait    0xfffff8005037fe80 e2guardian
              101373                   S       uwait    0xfffff80050459d00 e2guardian
              101372                   S       uwait    0xfffff80003c54200 e2guardian
              101371                   S       uwait    0xfffff800536e9d80 e2guardian
              101370                   S       uwait    0xfffff8002cfafe80 e2guardian
              101305                   S       uwait    0xfffff80050400e80 e2guardian
              101266                   S       uwait    0xfffff80050485d00 e2guardian
              101262                   S       uwait    0xfffff8005037f380 e2guardian
              101258                   S       uwait    0xfffff8002cfac080 e2guardian
              101252                   S       uwait    0xfffff8002cff8680 e2guardian
              101250                   S       uwait    0xfffff8002cff8180 e2guardian
              101248                   S       uwait    0xfffff800503a7900 e2guardian
              101246                   S       uwait    0xfffff8002cb6f300 e2guardian
              101244                   S       uwait    0xfffff80050485a00 e2guardian
              101242                   S       uwait    0xfffff80050f3bd80 e2guardian
              101241                   S       uwait    0xfffff800503d3980 e2guardian
              101239                   S       uwait    0xfffff80050380700 e2guardian
              101236                   S       uwait    0xfffff800503d3480 e2guardian
              101234                   S       uwait    0xfffff8005310f100 e2guardian
              101232                   S       uwait    0xfffff80050430780 e2guardian
              101230                   S       uwait    0xfffff800503d1c80 e2guardian
              101228                   S       uwait    0xfffff800503d1180 e2guardian
              101224                   S       uwait    0xfffff80003b47980 e2guardian
              101214                   S       uwait    0xfffff80050380100 e2guardian
              101212                   S       uwait    0xfffff80050459e00 e2guardian
              101210                   S       uwait    0xfffff8005007b200 e2guardian
              101208                   S       uwait    0xfffff800503ff400 e2guardian
              101205                   S       uwait    0xfffff80050485180 e2guardian
              101203                   S       uwait    0xfffff800503a5b00 e2guardian
              101202                   S       uwait    0xfffff800503d2600 e2guardian
              101200                   S       uwait    0xfffff8002cff9800 e2guardian
              101199                   S       uwait    0xfffff8005037e000 e2guardian
              101198                   S       uwait    0xfffff800536ef900 e2guardian
              101196                   S       uwait    0xfffff800503d0f00 e2guardian
              101195                   S       uwait    0xfffff8005042e680 e2guardian
              101194                   S       uwait    0xfffff8005042e080 e2guardian
              101192                   S       uwait    0xfffff8005037f680 e2guardian
              101191                   S       uwait    0xfffff8002c9d2900 e2guardian
              101189                   S       uwait    0xfffff80050484e00 e2guardian
              101188                   S       uwait    0xfffff8002cffa100 e2guardian
              101186                   S       uwait    0xfffff8005369c900 e2guardian
              101185                   S       uwait    0xfffff8002cff9300 e2guardian
              101184                   S       uwait    0xfffff80050401700 e2guardian
              101182                   S       uwait    0xfffff80050457b00 e2guardian
              101181                   S       uwait    0xfffff8002cff8d80 e2guardian
              101179                   S       uwait    0xfffff8005007b500 e2guardian
              101178                   S       uwait    0xfffff80050040180 e2guardian
              101177                   S       uwait    0xfffff80050459b00 e2guardian
              101176                   S       uwait    0xfffff80050400c80 e2guardian
              101175                   S       uwait    0xfffff80050458e80 e2guardian
              101174                   S       uwait    0xfffff80003b5d800 e2guardian
              101173                   S       uwait    0xfffff8005369a680 e2guardian
              101172                   S       uwait    0xfffff800503a5a00 e2guardian
              101171                   S       uwait    0xfffff80050380e00 e2guardian
              101170                   S       uwait    0xfffff80050457000 e2guardian
              101169                   S       uwait    0xfffff800503a6580 e2guardian
              101168                   S       uwait    0xfffff80050458a80 e2guardian
              101167                   S       uwait    0xfffff80054630100 e2guardian
              101166                   S       uwait    0xfffff8002cffb780 e2guardian
              101165                   S       uwait    0xfffff800503d0900 e2guardian
              101164                   S       uwait    0xfffff800504a6e80 e2guardian
              101162                   S       uwait    0xfffff800503a7100 e2guardian
              101161                   S       uwait    0xfffff8002cfac880 e2guardian
              101160                   S       uwait    0xfffff8002c9f8580 e2guardian
              101159                   S       uwait    0xfffff800503d2c00 e2guardian
              101158                   S       uwait    0xfffff80050430680 e2guardian
              101157                   S       uwait    0xfffff8002cffa900 e2guardian
              101156                   S       uwait    0xfffff80050400680 e2guardian
              101155                   S       uwait    0xfffff80050401600 e2guardian
              101154                   S       uwait    0xfffff800503a6c80 e2guardian
              101153                   S       uwait    0xfffff800503a6e80 e2guardian
              101152                   S       uwait    0xfffff800503a6780 e2guardian
              101151                   S       uwait    0xfffff80054631280 e2guardian
              101150                   S       uwait    0xfffff80050029580 e2guardian
              101149                   S       uwait    0xfffff800503a7000 e2guardian
              101148                   S       uwait    0xfffff8002cb6f900 e2guardian
              101147                   S       uwait    0xfffff8005037fc80 e2guardian
              101145                   S       uwait    0xfffff8002cb6f800 e2guardian
              101144                   S       uwait    0xfffff800503ff700 e2guardian
              101143                   S       uwait    0xfffff80050400580 e2guardian
              101141                   S       uwait    0xfffff80050401f00 e2guardian
              101139                   S       uwait    0xfffff800503a5100 e2guardian
              101135                   S       uwait    0xfffff80054631900 e2guardian
              101133                   S       uwait    0xfffff8005042ea80 e2guardian
              101132                   S       uwait    0xfffff80050458880 e2guardian
              101131                   S       uwait    0xfffff800503ff100 e2guardian
              101130                   S       uwait    0xfffff800503ff000 e2guardian
              101129                   S       uwait    0xfffff800503a5900 e2guardian
              101128                   S       uwait    0xfffff80050457500 e2guardian
              101127                   S       uwait    0xfffff80050459100 e2guardian
              101125                   S       uwait    0xfffff80050459500 e2guardian
              101124                   S       uwait    0xfffff8005369b800 e2guardian
              101123                   S       uwait    0xfffff800503d1980 e2guardian
              101122                   S       uwait    0xfffff800503d2200 e2guardian
              101120                   S       uwait    0xfffff8002cfad800 e2guardian
              101119                   S       uwait    0xfffff800503ff300 e2guardian
              101118                   S       uwait    0xfffff8005475e280 e2guardian
              101117                   S       uwait    0xfffff800503ffb00 e2guardian
              101116                   S       uwait    0xfffff800503d1280 e2guardian
              101115                   S       uwait    0xfffff800503d3880 e2guardian
              101114                   S       uwait    0xfffff800503a6b80 e2guardian
              101112                   S       uwait    0xfffff800503a8e80 e2guardian
              101111                   S       uwait    0xfffff800503d0000 e2guardian
              101110                   S       uwait    0xfffff800503d2000 e2guardian
              101109                   S       uwait    0xfffff800536f1c80 e2guardian
              101108                   S       uwait    0xfffff8002cb6fe00 e2guardian
              101106                   S       uwait    0xfffff8005003ac80 e2guardian
              101105                   S       uwait    0xfffff80050458180 e2guardian
              101104                   S       uwait    0xfffff800503d0a00 e2guardian
              101103                   S       uwait    0xfffff8003b20ec80 e2guardian
              101102                   S       uwait    0xfffff80003b46400 e2guardian
              101101                   S       uwait    0xfffff80050483580 e2guardian
              101100                   S       uwait    0xfffff80050459a00 e2guardian
              101099                   S       uwait    0xfffff8005042e480 e2guardian
              101098                   S       uwait    0xfffff8005042de00 e2guardian
              101097                   S       uwait    0xfffff80050380900 e2guardian
              101096                   S       uwait    0xfffff800545ae480 e2guardian
              101095                   S       uwait    0xfffff80050381680 e2guardian
              101094                   S       uwait    0xfffff80050380400 e2guardian
              101093                   S       uwait    0xfffff800503a5200 e2guardian
              101092                   S       uwait    0xfffff80050459000 e2guardian
              101091                   S       uwait    0xfffff80050402180 e2guardian
              101090                   S       uwait    0xfffff80054709a80 e2guardian
              101089                   S       uwait    0xfffff80050381e80 e2guardian
              101088                   S       uwait    0xfffff8002c9f8400 e2guardian
              101087                   S       uwait    0xfffff80050458380 e2guardian
              101086                   S       uwait    0xfffff80050029b80 e2guardian
              101085                   S       uwait    0xfffff80050458d80 e2guardian
              101084                   S       uwait    0xfffff80054635b80 e2guardian
              101083                   S       uwait    0xfffff800503ff500 e2guardian
              101081                   S       uwait    0xfffff8002cff8780 e2guardian
              101080                   S       uwait    0xfffff800504a6580 e2guardian
              101079                   S       uwait    0xfffff80050458c80 e2guardian
              101078                   S       uwait    0xfffff800503d0c00 e2guardian
              101077                   S       uwait    0xfffff800503d3e80 e2guardian
              101076                   S       uwait    0xfffff80050401c00 e2guardian
              101075                   S       uwait    0xfffff800503a7300 e2guardian
              101074                   S       uwait    0xfffff80003b5de00 e2guardian
              101072                   S       uwait    0xfffff8002cff8280 e2guardian
              101071                   S       uwait    0xfffff8002cff9900 e2guardian
              101070                   S       uwait    0xfffff800536ee680 e2guardian
              101068                   S       uwait    0xfffff8002c9f9600 e2guardian
              101067                   S       uwait    0xfffff80050381b80 e2guardian
              101066                   S       uwait    0xfffff8002c9d3c00 e2guardian
              101065                   S       uwait    0xfffff80050400480 e2guardian
              101064                   S       uwait    0xfffff8002cffa700 e2guardian
              101063                   S       uwait    0xfffff800503a7600 e2guardian
              101062                   S       uwait    0xfffff8002cffa000 e2guardian
              101060                   S       uwait    0xfffff8005310ed00 e2guardian
              101059                   S       uwait    0xfffff8005037e200 e2guardian
              101058                   S       uwait    0xfffff80050400080 e2guardian
              101057                   S       uwait    0xfffff8002cb6fa00 e2guardian
              101054                   S       uwait    0xfffff80054630380 e2guardian
              101052                   S       uwait    0xfffff80050040680 e2guardian
              101051                   S       uwait    0xfffff800503a7a00 e2guardian
              101049                   S       uwait    0xfffff80050485e00 e2guardian
              101048                   S       uwait    0xfffff80003cf1700 e2guardian
              101047                   S       uwait    0xfffff800503d3780 e2guardian
              101046                   S       uwait    0xfffff8002cffa180 e2guardian
              101044                   S       uwait    0xfffff800503d3680 e2guardian
              101043                   S       uwait    0xfffff800503a8580 e2guardian
              101040                   S       uwait    0xfffff800503a7400 e2guardian
              101039                   S       uwait    0xfffff800503d3080 e2guardian
              101038                   S       uwait    0xfffff8002cff9e00 e2guardian
              101036                   S       select   0xfffff80050e12140 e2guardian
              101035                   S       uwait    0xfffff80050485280 e2guardian
              101034                   S       uwait    0xfffff8002c9d3780 e2guardian
              101032                   S       uwait    0xfffff8002cffb680 e2guardian
              101031                   S       uwait    0xfffff800503d0400 e2guardian
              101030                   S       uwait    0xfffff800503a8680 e2guardian
              101028                   S       uwait    0xfffff800504a6480 e2guardian
              101026                   S       uwait    0xfffff800536e0e00 e2guardian
              101024                   S       uwait    0xfffff8002cb6f700 e2guardian
              101023                   S       uwait    0xfffff80050457d00 e2guardian
              101020                   S       uwait    0xfffff80050430380 e2guardian
              100987                   S       uwait    0xfffff800503a6a80 e2guardian
              100972                   S       uwait    0xfffff80050457e00 e2guardian
              100822                   S       uwait    0xfffff80003b49a00 e2guardian
              100782                   S       uwait    0xfffff800503a5400 e2guardian
              100748                   S       uwait    0xfffff8005037ed00 e2guardian
              100737                   S       uwait    0xfffff8005369b000 e2guardian
              100684                   S       uwait    0xfffff8005037eb00 e2guardian
              100339                   S       uwait    0xfffff8005042f100 e2guardian
              100224                   S       uwait    0xfffff80054631d80 e2guardian
              100207                   S       uwait    0xfffff80003b47780 e2guardian
              100204                   S       uwait    0xfffff800503d0100 e2guardian
              100096                   S       uwait    0xfffff800503a6480 e2guardian
              101263                   S       sigwait  0xfffff80053469000 e2guardian
              32556 26639 26273   100  S       select   0xfffff8005beaf140 pinger
              36158 26639 26273   100  S       select   0xfffff8004a9b12c0 pinger
              33319     1 33319  1002  Ss      select   0xfffff8001884c7c0 dhcpd
              26291     1 26291    59  Ss      (threaded)                  unbound
              101053                   S       kqread   0xfffff80070d4db00 unbound
              100423                   S       kqread   0xfffff8003b40e100 unbound
              25079     1 25079     0  Ss      kqread   0xfffff8005367e500 dhcpleases
              86009 84504 84000   100  S       sbwait   0xfffff80003e2cc24 ssl_crtd
              85696 84504 84000   100  S       sbwait   0xfffff8005d5303fc ssl_crtd
              85407 84504 84000   100  S       sbwait   0xfffff8001ff3d3fc ssl_crtd
              85198 84504 84000   100  S       sbwait   0xfffff8005009d6b4 ssl_crtd
              85079 84504 84000   100  S       sbwait   0xfffff8005d70196c ssl_crtd
              84504 84000 84000   100  S       kqread   0xfffff80026d24500 squid
              84000     1 84000   100  Ss      wait     0xfffff80003cfa000 squid
              27077 26639 26273   100  S       select   0xfffff8003b3706c0 pinger
              26848 26639 26273   100  S       piperd   0xfffff80003fb85d0 unlinkd
              26639 26273 26273   100  S       kqread   0xfffff80018a85400 squid
              26273     1 26273   100  Ss      wait     0xfffff8003b13d4f0 squid
              11218 10368 10368     0  S       kqread   0xfffff8003b3d4400 nginx
              10925 10368 10368     0  S       kqread   0xfffff8004aa2f400 nginx
              10679 10368 10368     0  S       kqread   0xfffff8003b277100 nginx
              10673 10368 10368     0  S       kqread   0xfffff80039072300 nginx
              10368     1 10368     0  Ss      pause    0xfffff80050496598 nginx
              62088     1 62088     0  Ss      sbwait   0xfffff80050fb8c24 ntopng
              27685     1 27685     0  Ss      sbwait   0xfffff8005009ec24 ntopng
              27224     1   285     0  S       (threaded)                  redis-server
              100125                   S       uwait    0xfffff800503a8780 redis-server
              100119                   S       uwait    0xfffff800503d1080 redis-server
              100095                   S       kqread   0xfffff800530c3e00 redis-server
              42073 42062 42073     0  S+      ttyin    0xfffff8000388f0a8 sh
              42062 41649 42062     0  S+      wait     0xfffff80003c914f0 sh
              41995 64824 41995     0  Ss      (threaded)                  sshlockout_pf
              100754                   S       nanslp   0xffffffff82001571 sshlockout_pf
              100751                   S       piperd   0xfffff80003c158b8 sshlockout_pf
              41649     1 41649     0  Ss+     wait     0xfffff80003b43000 login
              27850 27415 27415     0  S       nanslp   0xffffffff82001570 minicron
              27415     1 27415     0  Ss      wait     0xfffff800504959e0 minicron
              27160 26697 26697     0  S       nanslp   0xffffffff82001571 minicron
              26697     1 26697     0  Ss      wait     0xfffff8002cd789e0 minicron
              26369 26147 26147     0  S       nanslp   0xffffffff82001570 minicron
              26147     1 26147     0  Ss      wait     0xfffff80003f449e0 minicron
              81754     1 81754     0  Ss      (threaded)                  filterdns
              100200                   S       uwait    0xfffff80054635e00 signal-thread
              100199                   S       uwait    0xfffff80003b49b00 149.154.167.91
              100198                   S       uwait    0xfffff80003b5a580 telegram.org
              100197                   S       uwait    0xfffff8005475e680 filterdns
              100196                   S       uwait    0xfffff8005475e780 filterdns
              100195                   S       uwait    0xfffff8005475e880 filterdns
              100194                   S       uwait    0xfffff800536ef200 filterdns
              100193                   S       uwait    0xfffff80003b5a400 filterdns
              100192                   S       uwait    0xfffff80003b5a600 adnxs.com
              100191                   S       uwait    0xfffff800536e1080 adnexus.net
              100190                   S       uwait    0xfffff8005369c680 a.ads2.msn.com
              100189                   S       uwait    0xfffff8005369b880 a.ads1.msn.com
              100188                   S       uwait    0xfffff8005369a900 ads1.msn.com
              100187                   S       uwait    0xfffff8005475e580 ads1.msads.net
              100186                   S       uwait    0xfffff8005475e480 ads.msn.com
              100185                   S       uwait    0xfffff8005475e180 ad.doubleclick.net
              100184                   S       uwait    0xfffff8005475e080 preview.msn.com
              100183                   S       uwait    0xfffff80054635f00 rad.msn.com
              100182                   S       uwait    0xfffff8005369c100 filterdns
              100181                   S       uwait    0xfffff8005369c700 filterdns
              100180                   S       uwait    0xfffff8005369cf00 filterdns
              100179                   S       uwait    0xfffff8005369ca00 filterdns
              100178                   S       uwait    0xfffff8005369c780 filterdns
              100177                   S       uwait    0xfffff8005369cc80 filterdns
              100176                   S       uwait    0xfffff8005369d200 filterdns
              100175                   S       uwait    0xfffff8005369cc00 filterdns
              100174                   S       uwait    0xfffff800536e0d00 filterdns
              100173                   S       uwait    0xfffff800536b9a00 filterdns
              100172                   S       uwait    0xfffff800536b9b00 filterdns
              100171                   S       uwait    0xfffff800536b9b80 filterdns
              100170                   S       uwait    0xfffff800536e1a00 a-0001.a-msedge.net
              100169                   S       uwait    0xfffff800536b9a80 cs1.wpc.v0cdn.net
              100168                   S       uwait    0xfffff800536e1580 filterdns
              100167                   S       uwait    0xfffff800536e1680 filterdns
              100166                   S       uwait    0xfffff800536e1480 filterdns
              100165                   S       uwait    0xfffff800536e1700 filterdns
              100164                   S       uwait    0xfffff8005369a000 watson.live.com
              100163                   S       uwait    0xfffff800536b9e80 filterdns
              100162                   S       uwait    0xfffff8005369a080 filterdns
              100161                   S       uwait    0xfffff8005369a180 filterdns
              100160                   S       uwait    0xfffff8005369a280 filterdns
              100159                   S       uwait    0xfffff8005369a380 filterdns
              100158                   S       uwait    0xfffff8005369a480 filterdns
              100157                   S       uwait    0xfffff8005369aa80 filterdns
              100156                   S       uwait    0xfffff800536e1800 filterdns
              100155                   S       uwait    0xfffff800536e0600 filterdns
              100154                   S       uwait    0xfffff8005369fc00 filterdns
              100153                   S       uwait    0xfffff800536e0980 filterdns
              100152                   S       uwait    0xfffff800536e0900 filterdns
              100151                   S       uwait    0xfffff800536e0b80 filterdns
              100150                   S       uwait    0xfffff800536e0080 filterdns
              100149                   S       uwait    0xfffff800536e0700 filterdns
              100148                   S       uwait    0xfffff800536e0c00 filterdns
              100147                   S       uwait    0xfffff800536e0a80 filterdns
              100146                   S       uwait    0xfffff8005475f780 filterdns
              100145                   S       uwait    0xfffff8005475fc80 filterdns
              100144                   S       uwait    0xfffff8005475f600 filterdns
              100143                   S       uwait    0xfffff8005475f500 filterdns
              100142                   S       uwait    0xfffff8005475f400 filterdns
              100141                   S       uwait    0xfffff8005475f300 filterdns
              100140                   S       uwait    0xfffff8005475f200 filterdns
              100139                   S       uwait    0xfffff8005475f100 filterdns
              64824     1 64824     0  Ss      select   0xfffff80003b49f40 syslogd
              39060     1    21     0  S+      wait     0xfffff80003c91000 sh
              25708     1 25708     0  Ss      (threaded)                  ntpd
              100100                   S       select   0xfffff800546318c0 ntpd
              25265     1 25265     0  Ss      nanslp   0xffffffff82001571 cron
              24746 24568 24568     0  S       kqread   0xfffff800530c3d00 nginx
              24632 24568 24568     0  S       kqread   0xfffff8005468a400 nginx
              24568     1 24568     0  Ss      pause    0xfffff80003d56a88 nginx
              18855     1 18855     0  Ss      (threaded)                  dpinger
              100124                   S       accept   0xfffff80003e5d066 dpinger
              100123                   S       nanslp   0xffffffff82001571 dpinger
              100122                   S       nanslp   0xffffffff82001570 dpinger
              100121                   S       sbwait   0xfffff80003e5fc24 dpinger
              100115                   S       uwait    0xfffff80003b5db00 dpinger
              14936     1 14936     0  Ss      bpf      0xfffff80003c4de00 filterlog
              12244     1 12244    65  Ss      select   0xfffff8005310fbc0 dhclient
               7456     1  7456     0  Ss      select   0xfffff80053110540 dhclient
               6630     1  6630     0  Ss      (threaded)                  sshlockout_pf
              100114                   S       nanslp   0xffffffff82001571 sshlockout_pf
              100097                   S       uwait    0xfffff80003b47a80 sshlockout_pf
               6513     1  6513     0  Ss      select   0xfffff80003cf1340 sshd
                336     1   336     0  Ss      select   0xfffff80003b481c0 devd
                325   323   323     0  S       kqread   0xfffff80003c83500 check_reload_status
                323     1   323     0  Ss      kqread   0xfffff80003ce5600 check_reload_status
                285     1   285     0  Ss      kqread   0xfffff80003bae600 php-fpm
                 55     0     0     0  DL      mdwait   0xfffff80003af3800 [md0]
                 20     0     0     0  DL      syncer   0xffffffff82052508 [syncer]
                 19     0     0     0  DL      vlruwt   0xfffff80003b439e0 [vnlru]
                 18     0     0     0  DL      (threaded)                  [bufdaemon]
              100085                   D       sdflush  0xfffff80003b7d8e8 [/ worker]
              100075                   D       psleep   0xffffffff82051704 [bufdaemon]
                 17     0     0     0  DL      pgzero   0xffffffff8206283c [pagezero]
                  9     0     0     0  DL      pollid   0xffffffff81fffe90 [idlepoll]
                  8     0     0     0  DL      psleep   0xffffffff82061bc0 [vmdaemon]
                  7     0     0     0  DL      (threaded)                  [pagedaemon]
              100079                   D       umarcl   0xffffffff82061540 [uma]
              100071                   D       psleep   0xffffffff82112c04 [pagedaemon]
                  6     0     0     0  DL      waiting_ 0xffffffff821036c0 [sctp_iterator]
                  5     0     0     0  DL      pftm     0xffffffff80d5db10 [pf purge]
                 16     0     0     0  DL      (threaded)                  [usb]
              100061                   D       -        0xfffffe00009e4e70 [usbus4]
              100060                   D       -        0xfffffe00009e4e18 [usbus4]
              100059                   D       -        0xfffffe00009e4dc0 [usbus4]
              100058                   D       -        0xfffffe00009e4d68 [usbus4]
              100057                   D       -        0xfffffe00009e4d10 [usbus4]
              100056                   D       -        0xfffffe00009d4f48 [usbus3]
              100055                   D       -        0xfffffe00009d4ef0 [usbus3]
              100054                   D       -        0xfffffe00009d4e98 [usbus3]
              100053                   D       -        0xfffffe00009d4e40 [usbus3]
              100052                   D       -        0xfffffe00009d4de8 [usbus3]
              100050                   D       -        0xfffffe00009c4f48 [usbus2]
              100049                   D       -        0xfffffe00009c4ef0 [usbus2]
              100048                   D       -        0xfffffe00009c4e98 [usbus2]
              100047                   D       -        0xfffffe00009c4e40 [usbus2]
              100046                   D       -        0xfffffe00009c4de8 [usbus2]
              100044                   D       -        0xfffffe00009b4f48 [usbus1]
              100043                   D       -        0xfffffe00009b4ef0 [usbus1]
              100042                   D       -        0xfffffe00009b4e98 [usbus1]
              100041                   D       -        0xfffffe00009b4e40 [usbus1]
              100040                   D       -        0xfffffe00009b4de8 [usbus1]
              100038                   D       -        0xfffffe000099cf48 [usbus0]
              100037                   D       -        0xfffffe000099cef0 [usbus0]
              100036                   D       -        0xfffffe000099ce98 [usbus0]
              100035                   D       -        0xfffffe000099ce40 [usbus0]
              100034                   D       -        0xfffffe000099cde8 [usbus0]
                  4     0     0     0  DL      (threaded)                  [cam]
              100070                   D       -        0xffffffff81f360c8 [scanner]
              100019                   D       -        0xffffffff81f36280 [doneq0]
                 15     0     0     0  DL      -        0xffffffff81f579c0 [rand_harvestq]
                  3     0     0     0  DL      crypto_r 0xffffffff82060098 [crypto returns]
                  2     0     0     0  DL      crypto_w 0xffffffff8205ff40 [crypto]
                 14     0     0     0  DL      (threaded)                  [geom]
              100013                   D       -        0xffffffff820f7de8 [g_down]
              100012                   D       -        0xffffffff820f7de0 [g_up]
              100011                   D       -        0xffffffff820f7dd8 [g_event]
                 13     0     0     0  DL      (threaded)                  [ng_queue]
              100010                   D       sleep    0xffffffff81ef46f8 [ng_queue1]
              100009                   D       sleep    0xffffffff81ef46f8 [ng_queue0]
                 12     0     0     0  WL      (threaded)                  [intr]
              100078                   I                                   [swi1: netisr 1]
              100068                   I                                   [swi1: pfsync]
              100066                   I                                   [swi1: pf send]
              100063                   I                                   [irq1: atkbd0]
              100062                   I                                   [irq14: ata0]
              100051                   I                                   [irq16: uhci3]
              100045                   I                                   [irq18: uhci2]
              100039                   I                                   [irq19: uhci1+]
              100033                   I                                   [irq23: uhci0 ehci0]
              100032                   I                                   [irq258: re0]
              100027                   I                                   [swi5: fast taskq]
              100025                   I                                   [swi6: Giant taskq]
              
              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                @pfsensation:

                Thank you very, very much Marcello!

                The first uninstall will run your current(v0.4.2) old code, so you may get some weird results until next install.

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • P
                  pfsensation
                  last edited by

                  @marcelloc:

                  @pfsensation:

                  Thank you very, very much Marcello!

                  The first uninstall will run your current(v0.4.2) old code, so you may get some weird results until next install.

                  Yeah I did, I had some permission issues. But after uninstalling properly, and installing again. E2Guardian has started again and is back up and running, let's see how this goes.

                  EDIT: The menu option for E2Guardian under services has disappeared, and E2Guardian itself has now disappeared under service status. I tried a reinstall, now E2Guduardian isn't working at all.

                  EDIT2: After several reinstalls, I realised some operation in the installation was coming up as "aborted" so I kept trying until I didn't get the message anymore. However, E2Guardian isn't starting…

                  I'm giving up for now, there's some serious issues on E2Guardian4 which needs addressing. Stuff like this shouldn't exist, but I appreciate that this is a work in progress. And that you are working hard to improve it, but my point is merely that I am having so much trouble in a home environment with a few devices, people using this in an organisation will have a much harder time. Any clues on what the issue maybe? I've moved squid to 8080 so at least my clients can use the internet without messing around with my other configs like WPAD.

                  1 Reply Last reply Reply Quote 0
                  • marcellocM
                    marcelloc
                    last edited by

                    I have it in production and I'm not seeing 1/10 of these issues. Yesterday I've forced a number of install/uninstall/reinstall combination to see almost all possibilities I can handle with coding.

                    Not sure why your setup is so different from mine but if it's not happening on my labs I can't see what is going wrong.

                    On the latest update  0.4.2.3, I've included a fix to -HOST- placeholder crash(at least on my boxes.

                    Take a look on uninstall process. See if it removes e2guardian bsd package. If not, do it on console with pkg delete e2guardian.

                    The native gui pkg process is something that I can't change.

                    EDIT: after any install or upgrade ,I'm going to package, gui, click save then apply, to be sure all is in place.

                    Blacklist files can be reapplied under blacklist gui if you are seeing missing files on logs.

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • P
                      pfsensation
                      last edited by

                      @marcelloc:

                      I have it in production and I'm not seeing 1/10 of these issues. Yesterday I've forced a number of install/uninstall/reinstall combination to see almost all possibilities I can handle with coding.

                      Not sure why your setup is so different from mine but if it's not happening on my labs I can't see what is going wrong.

                      On the latest update  0.4.2.3, I've included a fix to -HOST- placeholder crash(at least on my boxes.

                      Take a look on uninstall process. See if it removes e2guardian bsd package. If not, do it on console with pkg delete e2guardian.

                      The native gui pkg process is something that I can't change.

                      EDIT: after any install or upgrade ,I'm going to package, gui, click save then apply, to be sure all is in place.

                      Blacklist files can be reapplied under blacklist gui if you are seeing missing files on logs.

                      I've tried everything you've said. Even removing it via console and I'm still having trouble starting e2guardian. I even tried fixing the permissions but no joy.

                      I don't know what else I can say but squid seems to be in a worse position lol. It completely screws up the main part of some url's for example if a website is "example.com/test" for some odd reason it'll try going to "https:///test".

                      1 Reply Last reply Reply Quote 0
                      • J
                        jetberrocal
                        last edited by

                        The etc files are left behind on uninstall. Maybe you should remove them manually in case they have being corrupted. Then reinstall with clean etc folder.

                        1 Reply Last reply Reply Quote 0
                        • marcellocM
                          marcelloc
                          last edited by

                          @pfsensation:

                          I've tried everything you've said. Even removing it via console and I'm still having trouble starting e2guardian. I even tried fixing the permissions but no joy.

                          what you get with :

                          ls -l /usr/local/sbin/e2guardian
                          and
                          killall e2guradian;/usr/local/sbin/e2guardian -N

                          ?

                          EDIT Tested on a clean install on 2.3.4 amd64. e2guardian package only.

                          >>> Installing pfSense-pkg-E2guardian4... 
                          Updating Unofficial repository catalogue...
                          Fetching meta.txz: . done
                          Fetching packagesite.txz: . done
                          Processing entries: .. done
                          Unofficial repository update completed. 13 packages processed.
                          Updating pfSense-core repository catalogue...
                          pfSense-core repository is up to date.
                          Updating pfSense repository catalogue...
                          pfSense repository is up to date.
                          All repositories are up to date.
                          Updating database digests format: . done
                          The following 7 package(s) will be affected (of 0 checked):
                          
                          New packages to be INSTALLED:
                          	pfSense-pkg-E2guardian4: 0.4.2.3 [Unofficial]
                          	squid: 3.5.26 [pfSense]
                          	krb5: 1.15.1_4 [pfSense]
                          	pkgconf: 1.3.0,1 [pfSense]
                          	cyrus-sasl: 2.1.26_12 [pfSense]
                          	e2guardian: 4.1.1_11 [Unofficial]
                          	openssl: 1.0.2l,1 [Unofficial]
                          
                          Number of packages to be installed: 7
                          
                          The process will require 29 MiB more space.
                          7 MiB to be downloaded.
                          [1/7] Fetching pfSense-pkg-E2guardian4-0.4.2.3.txz: .......... done
                          [2/7] Fetching squid-3.5.26.txz: .......... done
                          [3/7] Fetching krb5-1.15.1_4.txz: .......... done
                          [4/7] Fetching pkgconf-1.3.0,1.txz: ....... done
                          [5/7] Fetching cyrus-sasl-2.1.26_12.txz: .......... done
                          [6/7] Fetching e2guardian-4.1.1_11.txz: .......... done
                          [7/7] Fetching openssl-1.0.2l,1.txz: .......... done
                          Checking integrity... done (0 conflicting)
                          [1/7] Installing pkgconf-1.3.0,1...
                          [1/7] Extracting pkgconf-1.3.0,1: .......... done
                          [2/7] Installing krb5-1.15.1_4...
                          [2/7] Extracting krb5-1.15.1_4: .......... done
                          [3/7] Installing cyrus-sasl-2.1.26_12...
                          *** Added group `cyrus' (id 60)
                          *** Added user `cyrus' (id 60)
                          [3/7] Extracting cyrus-sasl-2.1.26_12: .......... done
                          [4/7] Installing squid-3.5.26...
                          ===> Creating groups.
                          Creating group 'squid' with gid '100'.
                          ===> Creating users
                          Creating user 'squid' with uid '100'.
                          ===> Pre-installation configuration for squid-3.5.26
                          [4/7] Extracting squid-3.5.26: .......... done
                          [5/7] Installing e2guardian-4.1.1_11...
                          [5/7] Extracting e2guardian-4.1.1_11: .......... done
                          [6/7] Installing pfSense-pkg-E2guardian4-0.4.2.3...
                          [6/7] Extracting pfSense-pkg-E2guardian4-0.4.2.3: ......... done
                          Saving updated package information...
                          done.
                          Loading package configuration... done.
                          Configuring package components...
                          Loading package instructions...
                          Custom commands...
                          Executing custom_php_install_command()...Checking E2guardian Blacklists... One moment please...Hmm...  Looks like a unified diff to me...
                          The text leading up to this was:
                          --------------------------
                          |--- /usr/local/www/pkg_edit.orig.php	2017-04-05 17:12:56.478730000 -0300
                          |+++ /usr/local/www/pkg_edit.php	2017-04-05 17:13:51.614222000 -0300
                          --------------------------
                          Patching file /usr/local/www/pkg_edit.php using Plan A...
                          Hunk #1 succeeded at 656 (offset 5 lines).
                          done
                          Hmm...  Looks like a unified diff to me...
                          The text leading up to this was:
                          --------------------------
                          |--- /usr/local/www/pkg.orig.php	2017-04-05 17:18:25.349676000 -0300
                          |+++ /usr/local/www/pkg.php	2017-04-05 17:20:49.204578000 -0300
                          --------------------------
                          Patching file /usr/local/www/pkg.php using Plan A...
                          Hunk #1 succeeded at 329 (offset 5 lines).
                          done
                          Checking Blacklist...
                             1%   2%   3%   4%   5%   6%   7%   8%   9%  10%  20%  30%  40%  50%  60%  70%  80%  90% 100%Blacklist check done, continuing package config sync.
                          done.
                          Executing custom_php_resync_config_command()...done.
                          Menu items... done.
                          Services... done.
                          Writing configuration... done.
                          [7/7] Installing openssl-1.0.2l,1...
                          Extracting openssl-1.0.2l,1: .......... done
                          Message from cyrus-sasl-2.1.26_12:
                          You can use sasldb2 for authentication, to add users use:
                          
                          	saslpasswd2 -c username
                          
                          If you want to enable SMTP AUTH with the system Sendmail, read
                          Sendmail.README
                          
                          NOTE: This port has been compiled with a default pwcheck_method of
                                auxprop.  If you want to authenticate your user by /etc/passwd,
                                PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
                                set sasl_pwcheck_method to saslauthd after installing the
                                Cyrus-IMAPd 2.X port.  You should also check the
                                /usr/local/lib/sasl2/*.conf files for the correct
                                pwcheck_method.
                                If you want to use GSSAPI mechanism, install
                                ports/security/cyrus-sasl2-gssapi.
                                If you want to use SRP mechanism, install
                                ports/security/cyrus-sasl2-srp.
                                If you want to use LDAP auxprop plugin, install
                                ports/security/cyrus-sasl2-ldapdb.
                          Message from squid-3.5.26:
                          o You can find the configuration files for this package in the
                                 directory /usr/local/etc/squid.
                          
                               o The default cache directory is /var/squid/cache/.
                                 The default log directory is /var/log/squid/.
                          
                                 Note:
                                 You must initialize new cache directories before you can start
                                 squid.  Do this by running "squid -z" as 'root' or 'squid'.
                                 If your cache directories are already initialized (e.g. after an
                                 upgrade of squid) you do not need to initialize them again.
                          
                               o When using DiskD storage scheme remember to read documentation:
                                   http://wiki.squid-cache.org/Features/DiskDaemon
                                 and alter your kern.ipc defaults in /boot/loader.conf. DiskD will not
                                 work reliably without this. Last recomendations were:
                          
                                   kern.ipc.msgmnb=8192
                                   kern.ipc.msgssz=64
                                   kern.ipc.msgtql=2048
                          
                               o The default configuration will deny everyone but the local host and
                                 local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and
                                 4291 for IPv6 access to the proxy service.  Edit the "http_access
                                 allow/deny" directives in /usr/local/etc/squid/squid.conf
                                 to suit your needs.
                          
                               o If AUTH_SQL option is set, please, don't forget to install one of
                                 following perl modules depending on database you like:
                                   databases/p5-DBD-mysql
                                   databases/p5-DBD-Pg
                                   databases/p5-DBD-SQLite
                          
                               To enable Squid, set squid_enable=yes in either
                               /etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid
                               Please see /usr/local/etc/rc.d/squid for further details.
                          
                               Note:
                               If you just updated your Squid installation from an earlier version,
                               make sure to check your Squid configuration against the 3.4 default
                               configuration file /usr/local/etc/squid/squid.conf.sample.
                          
                               /usr/local/etc/squid/squid.conf.documented is a fully annotated
                               configuration file you can consult for further reference.
                          
                               Additionally, you should check your configuration by calling
                               'squid -f /path/to/squid.conf -k parse' before starting Squid.
                          Message from e2guardian-4.1.1_11:
                          ===>   Please Note:
                          
                          *******************************************************************************
                                 This port has created a log file named e2guardian.log that can get
                                 quite large.  Please read the newsyslog(8) man page for instructions
                                 on configuring log rotation and compression.
                          
                                 This port has been converted using old dansguardian-devel port
                                 Let me know how it works (or not). (Patches always welcome.)
                          *******************************************************************************
                          Message from pfSense-pkg-E2guardian4-0.4.2.3:
                          Please visit Services - E2guardian Server menu to configure the package and enable it.
                          Message from openssl-1.0.2l,1:
                          Edit /usr/local/openssl/openssl.cnf to fit your needs.
                          >>> Cleaning up cache... done.
                          Success
                          

                          After install,

                          • Created CA

                          • selected it to e2g config and enable ssl filtering as well

                          • selected watchdog

                          • save

                          • under general settings

                          • selected Ip address as authentication

                          • changed filter mode to filtered

                          • save, apply

                          Both parent squid and e2guardian up and running with no interaction or hack via console.

                          Treinamentos de Elite: http://sys-squad.com

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • marcellocM
                            marcelloc
                            last edited by

                            @jetberrocal:

                            The etc files are left behind on uninstall. Maybe you should remove them manually in case they have being corrupted. Then reinstall with clean etc folder.

                            should not happen since 0.4.2.2.

                            Treinamentos de Elite: http://sys-squad.com

                            Help a community developer! ;D

                            1 Reply Last reply Reply Quote 0
                            • P
                              pfsensation
                              last edited by

                              @marcelloc:

                              what you get with :

                              ls -l /usr/local/sbin/e2guardian

                              -rwxr-xr-x  1 root  wheel  2099000 Jun 27 00:21 /usr/local/sbin/e2guardian
                              

                              @marcelloc:

                              killall e2guradian;/usr/local/sbin/e2guardian -N

                              
                              [2.3.4-RELEASE][root@pfSense.kortex]/root: killall e2guradian;/usr/local/sbin/e2guardian -N
                              No matching processes were found
                              Error reading file /usr/local/etc/e2guardian/lists/blacklists/adv/domains: No such file or directory
                              Error opening file: /usr/local/etc/e2guardian/lists/blacklists/adv/domains
                              Error reading: /usr/local/etc/e2guardian/lists/bannedsitelist.g_Default
                              Error opening bannedsitelist
                              Error opening filter group config: /usr/local/etc/e2guardian/e2guardianf1.conf
                              Error in reading filter group files
                              Error reading filter group conf file(s).
                              Error parsing the e2guardian.conf file or other e2guardian configuration files
                              
                              1 Reply Last reply Reply Quote 0
                              • P
                                pfsensation
                                last edited by

                                @jetberrocal:

                                The etc files are left behind on uninstall. Maybe you should remove them manually in case they have being corrupted. Then reinstall with clean etc folder.

                                Really don't wanna lose my configs :( – It took a while to configure everything to a usable state.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jetberrocal
                                  last edited by

                                  @pfsensation:

                                  @jetberrocal:

                                  The etc files are left behind on uninstall. Maybe you should remove them manually in case they have being corrupted. Then reinstall with clean etc folder.

                                  Really don't wanna lose my configs :( – It took a while to configure everything to a usable state.

                                  @marcelloc:

                                  @jetberrocal:

                                  The etc files are left behind on uninstall. Maybe you should remove them manually in case they have being corrupted. Then reinstall with clean etc folder.

                                  should not happen since 0.4.2.2.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pfsensation
                                    last edited by

                                    @jetberrocal:

                                    @pfsensation:

                                    @jetberrocal:

                                    The etc files are left behind on uninstall. Maybe you should remove them manually in case they have being corrupted. Then reinstall with clean etc folder.

                                    Really don't wanna lose my configs :( – It took a while to configure everything to a usable state.

                                    @marcelloc:

                                    @jetberrocal:

                                    The etc files are left behind on uninstall. Maybe you should remove them manually in case they have being corrupted. Then reinstall with clean etc folder.

                                    should not happen since 0.4.2.2.

                                    I feel maybe something got corrupted somewhere down the line, since I one day updated via console by accident. When hitting 13 and updating the actual system (due to the "pkg" bug).

                                    Here's the output I get when uninstalling…

                                    >>> Removing pfSense-pkg-E2guardian4... 
                                    Checking integrity... done (0 conflicting)
                                    Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
                                    
                                    Installed packages to be REMOVED:
                                    	pfSense-pkg-E2guardian4-0.4.2.3
                                    
                                    Number of packages to be removed: 1
                                    [1/1] Deinstalling pfSense-pkg-E2guardian4-0.4.2.3...
                                    Removing E2guardian4 components...
                                    Menu items... done.
                                    Services... done.
                                    Loading package instructions...
                                    Deinstall commands... Remove modified xml files...
                                    Removing package crons...
                                    Disabling automtic parent squid script...
                                    Removing conf files...
                                    done.
                                    [1/1] Deleting files for pfSense-pkg-E2guardian4-0.4.2.3: 
                                    pfSense-pkg-E2guardian4-0.4.2.3: missing file /usr/local/etc/e2guardian/squidparent.conf
                                    [1/1] Deleting files for pfSense-pkg-E2guardian4-0.4.2.3......
                                    pfSense-pkg-E2guardian4-0.4.2.3: missing file /usr/local/pkg/e2guardian_ips.xml
                                    [1/1] Deleting files for pfSense-pkg-E2guardian4-0.4.2.3......
                                    pfSense-pkg-E2guardian4-0.4.2.3: missing file /usr/local/pkg/e2guardian_users.xml
                                    [1/1] Deleting files for pfSense-pkg-E2guardian4-0.4.2.3....... done
                                    Removing E2guardian4 components...
                                    Configuration... done.
                                    >>> Removing stale packages... done.
                                    Success
                                    

                                    This is the output I get when installing…

                                    >>> Installing pfSense-pkg-E2guardian4... 
                                    Updating Unofficial repository catalogue...
                                    Fetching meta.txz: . done
                                    Fetching packagesite.txz: . done
                                    Processing entries: .. done
                                    Unofficial repository update completed. 13 packages processed.
                                    Updating pfSense-core repository catalogue...
                                    pfSense-core repository is up to date.
                                    Updating pfSense repository catalogue...
                                    pfSense repository is up to date.
                                    All repositories are up to date.
                                    Checking integrity... done (0 conflicting)
                                    The following 2 package(s) will be affected (of 0 checked):
                                    
                                    New packages to be INSTALLED:
                                    	pfSense-pkg-E2guardian4: 0.4.2.3 [Unofficial]
                                    	e2guardian: 4.1.1_11 [Unofficial]
                                    
                                    Number of packages to be installed: 2
                                    
                                    The process will require 3 MiB more space.
                                    [1/2] Installing e2guardian-4.1.1_11...
                                    [1/2] Extracting e2guardian-4.1.1_11: .......... done
                                    [2/2] Installing pfSense-pkg-E2guardian4-0.4.2.3...
                                    [2/2] Extracting pfSense-pkg-E2guardian4-0.4.2.3: ......... done
                                    Saving updated package information...
                                    done.
                                    Loading package configuration... done.
                                    Configuring package components...
                                    Loading package instructions...
                                    Custom commands...
                                    Executing custom_php_install_command()...Checking E2guardian Blacklists... One moment please...Hmm...  Looks like a unified diff to me...
                                    The text leading up to this was:
                                    --------------------------
                                    |--- /usr/local/www/pkg_edit.orig.php	2017-04-05 17:12:56.478730000 -0300
                                    |+++ /usr/local/www/pkg_edit.php	2017-04-05 17:13:51.614222000 -0300
                                    --------------------------
                                    Patching file /usr/local/www/pkg_edit.php using Plan A...
                                    Ignoring previously applied (or reversed) patch.
                                    Hunk #1 ignored at 656.
                                    1 out of 1 hunks ignored--saving rejects to /usr/local/www/pkg_edit.php.rej
                                    done
                                    Hmm...  Looks like a unified diff to me...
                                    The text leading up to this was:
                                    --------------------------
                                    |--- /usr/local/www/pkg.orig.php	2017-04-05 17:18:25.349676000 -0300
                                    |+++ /usr/local/www/pkg.php	2017-04-05 17:20:49.204578000 -0300
                                    --------------------------
                                    Patching file /usr/local/www/pkg.php using Plan A...
                                    Ignoring previously applied (or reversed) patch.
                                    Hunk #1 ignored at 329.
                                    1 out of 1 hunks ignored--saving rejects to /usr/local/www/pkg.php.rej
                                    done
                                    Checking Blacklist...
                                    done.
                                    Executing custom_php_resync_config_command()...done.
                                    Menu items... done.
                                    Services... done.
                                    Writing configuration... done.
                                    Message from e2guardian-4.1.1_11:
                                    ===>   Please Note:
                                    
                                    *******************************************************************************
                                           This port has created a log file named e2guardian.log that can get
                                           quite large.  Please read the newsyslog(8) man page for instructions
                                           on configuring log rotation and compression.
                                    
                                           This port has been converted using old dansguardian-devel port
                                           Let me know how it works (or not). (Patches always welcome.)
                                    *******************************************************************************
                                    Message from pfSense-pkg-E2guardian4-0.4.2.3:
                                    Please visit Services - E2guardian Server menu to configure the package and enable it.
                                    >>> Cleaning up cache... done.
                                    Success
                                    

                                    I am seriously getting really frustrated, because Squid is even more of a buggy piece of sh** without E2Guardian. Some websites it can't even load… And when using Squid directly, I don't have Squid Guard so I have no filtering at this point in time, just open dns. I hope I have provided enough info, something seriously seems wrong here. :/

                                    EDIT 2: FINALLY I FIXED IT WOOOW, MY HEAD IS RELIEVED!

                                    I had to download the blacklist again, then set permissions, then  re-apply blacklist. And then press the 'play button' and it started!!

                                    1 Reply Last reply Reply Quote 0
                                    • marcellocM
                                      marcelloc
                                      last edited by

                                      @pfsensation:

                                      Really don't wanna lose my configs :( – It took a while to configure everything to a usable state.

                                      They will be there. :)
                                      All config stays on pfSense config.xml. The etc files just reflect what were saved on GUI.

                                      Treinamentos de Elite: http://sys-squad.com

                                      Help a community developer! ;D

                                      1 Reply Last reply Reply Quote 0
                                      • marcellocM
                                        marcelloc
                                        last edited by

                                        @pfsensation:

                                        -rwxr-xr-x  1 root  wheel  2099000 Jun 27 00:21 /usr/local/sbin/e2guardian
                                        

                                        binary permission is ok.

                                        @pfsensation:

                                        
                                        [2.3.4-RELEASE][root@pfSense.kortex]/root: killall e2guradian;/usr/local/sbin/e2guardian -N
                                        No matching processes were found
                                        Error reading file /usr/local/etc/e2guardian/lists/blacklists/adv/domains: No such file or directory
                                        Error opening file: /usr/local/etc/e2guardian/lists/blacklists/adv/domains
                                        Error reading: /usr/local/etc/e2guardian/lists/bannedsitelist.g_Default
                                        Error opening bannedsitelist
                                        Error opening filter group config: /usr/local/etc/e2guardian/e2guardianf1.conf
                                        Error in reading filter group files
                                        Error reading filter group conf file(s).
                                        Error parsing the e2guardian.conf file or other e2guardian configuration files
                                        

                                        blacklist and conf files were not applied via gui.

                                        To force a blacklist apply, save config under blacklist tab.

                                        Treinamentos de Elite: http://sys-squad.com

                                        Help a community developer! ;D

                                        1 Reply Last reply Reply Quote 0
                                        • marcellocM
                                          marcelloc
                                          last edited by

                                          [quote]
                                          This is the output I get when installing...
                                          
                                          Looks fine.
                                          
                                          [quote]
                                          EDIT 2: [u][b]FINALLY I FIXED IT WOOOW, MY HEAD IS RELIEVED![/b][/u]
                                          
                                          I had to download the blacklist again, then set permissions, then  re-apply blacklist. And then press the 'play button' and it started!!
                                          [/quote]
                                          
                                          what permissions did you had to fix?
                                          
                                          If you want to force a blacklist download during install process, remove /usr/local/pkg/blacklist.tgz file after deinstall.
                                          
                                          [/quote]
                                          

                                          Treinamentos de Elite: http://sys-squad.com

                                          Help a community developer! ;D

                                          1 Reply Last reply Reply Quote 0
                                          • marcellocM
                                            marcelloc
                                            last edited by

                                            @pfsensation, I could reproduce the erros on lab.

                                            The problem is with reinstall. It does the uninstall process that removes conf files but do not remove the e2guardian bsd package.

                                            This way, some files 'get lost' in the process.

                                            I'm working on it to fix and will push a fix.

                                            thanks for all your feedbacks!  8)

                                            Treinamentos de Elite: http://sys-squad.com

                                            Help a community developer! ;D

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.