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

    HAVP broken on latest 2.2 snapshot

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    2 Posts 1 Posters 2.1k 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.
    • C
      commy
      last edited by

      Hi!

      I am running pfSense_HEAD/updates/pfSense-Full-Update-2.2-BETA-amd64-20141204-0823 on an APU.1D4. I have updated from 2.1.5 but 2.2 seems to be more responsive and faster. Thanks for the good work.

      Though I have a little bit of trouble getting HAVP to work, as it won't start.I have managed to find two problems:

      • The clam binaries are not there:
      lrwxr-xr-x  1 root  wheel  37 Dec  5 21:48 /usr/local/bin/clamav-config -> /usr/pbi/havp-amd64/bin/clamav-config
      lrwxr-xr-x  1 root  wheel  30 Dec  5 21:48 /usr/local/bin/clambc -> /usr/pbi/havp-amd64/bin/clambc
      lrwxr-xr-x  1 root  wheel  32 Dec  5 21:48 /usr/local/bin/clamconf -> /usr/pbi/havp-amd64/bin/clamconf
      lrwxr-xr-x  1 root  wheel  33 Dec  5 21:48 /usr/local/bin/clamdscan -> /usr/pbi/havp-amd64/bin/clamdscan
      lrwxr-xr-x  1 root  wheel  32 Dec  5 21:48 /usr/local/bin/clamdtop -> /usr/pbi/havp-amd64/bin/clamdtop
      lrwxr-xr-x  1 root  wheel  32 Dec  5 21:48 /usr/local/bin/clamscan -> /usr/pbi/havp-amd64/bin/clamscan
      
      ls -l /usr/pbi/havp-amd64/bin/
      total 22
      -rwxr-xr-x  1 root  operator    196 Dec  3 19:56 .pbi-install.sh
      -rwxr-xr-x  1 root  operator    155 Dec  3 19:56 .pbi-uninstall.sh
      -rwxr-xr-x  1 root  operator  10845 Dec  3 19:56 havp
      -rw-r--r--  1 root  operator     47 Dec  3 19:56 havp.pbiopt
      -rwxr-xr-x  1 root  operator    528 Dec  3 19:56 install-pathlinks.sh
      -rwxr-xr-x  1 root  operator    523 Dec  3 19:56 uninstall-pathlinks.sh
      
      
      • Although HAVP is configured the process will not start:
      
      /usr/local/etc/rc.d/havp.sh start
      Configuration is not edited!
      You must delete REMOVETHISLINE option.
      Review the configuration carefully. :)
      Exiting..
      

      cat /usr/local/etc/havp/havp.config

      # ============================================================
      # HAVP config file
      # This file generated automaticly with HAVP configurator (part of pfSense)
      # (C)2008 Serg Dvoriancev
      # email: dv_serg@mail.ru
      # ============================================================
      
      USER           havp
      GROUP          havp
      DAEMON         true
      PIDFILE        /var/run/havp.pid
      
      # For small home use, 8 should be minimum.
      # For 500 users corporate use, start at 40.
      SERVERNUMBER   3
      MAXSERVERS     100
      
      # log 
      ACCESSLOG      /var/log/havp/access.log
      ERRORLOG       /var/log/havp/havp.log
      
      # syslog
      USESYSLOG      false
      SYSLOGNAME     havp
      SYSLOGFACILITY daemon
      SYSLOGLEVEL    info
      
      # Level of HAVP logging
      #  0 = Only serious errors and information
      #  1 = Less interesting information is included
      LOG_OKS        false
      LOGLEVEL       0
      
      # temp 
      SCANTEMPFILE   /var/tmp/havp/havp-XXXXXX
      TEMPDIR        /var/tmp
      
      #
      DBRELOAD       180
      TRANSPARENT    false
      
      # if HAVP is used as parent proxy by some other proxy, this allows to write the real users IP to log, instead of proxy IP.
      FORWARDED_IP    false
      X_FORWARDED_FOR false
      
      # havp is listening on 
      PORT           3125
      BIND_ADDRESS   127.0.0.1
      
      # Path to template files 
      TEMPLATEPATH   /usr/local/share/examples/havp/templates/de
      
      # whitelist and blacklist
      WHITELISTFIRST true
      WHITELIST      /usr/local/etc/havp/whitelist
      BLACKLIST      /usr/local/etc/havp/blacklist
      
      # block file if error scanning
      FAILSCANERROR  false
      
      # scanner 
      SCANNERTIMEOUT 10
      
      # always allow range, if stream scan enabled
      RANGE           true
      
      # stream scan enabled
      STREAMUSERAGENT Player Winamp iTunes QuickTime Audio RMA/ MAD/ Foobar2000 XMMS
      STREAMSCANSIZE  2000
      SCANIMAGES      true
      MAXSCANSIZE     5120000
      KEEPBACKBUFFER  200000
      KEEPBACKTIME    5
      # After Trickling Time (seconds), some bytes are sent to browser to keep the connection alive
      TRICKLING       10
      TRICKLINGBYTES  1
      # Downloads larger than MAXDOWNLOADSIZE will be blocked.
      MAXDOWNLOADSIZE 0
      
      # ClamAV Library Scanner (libclamav) 
      ENABLECLAMLIB        false
      
      # Clamd scanner (Clam daemon)
      ENABLECLAMD          true
      CLAMDSERVER          127.0.0.1
      CLAMDPORT            3310
      
      

      Matthias

      1 Reply Last reply Reply Quote 0
      • C
        commy
        last edited by

        Hi!

        I am new to pfsense so I did it wrong. I had configured the system on a virtual machine and irestored the configuration, when the hardware arrived. I did not properly waited until the packages were installed. So I did a reinstall today and waited till all packages were installed and then upgraded to 2.2 and again waited until the packages were installed. The result is the same though,

        Perhaps I install 2.1.5 tomorrow if I find the time.

        Matthias

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