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

    ClamAV Anti-Virus Integration Using C-ICAP shoutcast streaming problem

    Cache/Proxy
    4
    9
    3.7k
    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.
    • K
      krejzi
      last edited by

      I have enabled squid transparent proxy with ClamAV Anti-Virus Integration Using C-ICAP. The problem is, I can't listen some streams for example: http://listen.trance.fm/2/320

      When I turn off the ClamAV integration, it works fine.

      Do I have to write some custom configuration files? This is my current configuration:

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        This has already been discussed without any solution beyond suggestion to read the docs, switch to manual config and play with the c-icap.magic stuff and similar. No, there's no howto for ommiting streams from AV.

        1 Reply Last reply Reply Quote 0
        • K
          krejzi
          last edited by

          I've added this to the squidclamav.conf and now it's working:

          Do not scan (streamed) videos and audios

          abort ^..(flv|f4f|mp(3|4))(?.)?$
          abort ^.*.(m3u|pls|wmx|aac|mpeg)$
          abortcontent ^audio/m3u$
          abortcontent ^video/x-flv$
          abortcontent ^video/mp4$
          abortcontent ^audio/mp4$
          abortcontent ^video/webm$
          abortcontent ^audio/webm$
          abortcontent ^video/MP2T$
          abortcontent ^audio/wmx$
          abortcontent ^audio/mpeg$
          abortcontent ^audio/aac$
          abortcontent ^.audio/mp4.$

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Will add a checkbox for this in 0.4.6 - https://github.com/pfsense/pfsense-packages/pull/1196

            Hopefully will work for someone at least… :P

            1 Reply Last reply Reply Quote 0
            • K
              kivimart
              last edited by

              Work perfect. Thanks

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                Thanks for testing. ;)

                1 Reply Last reply Reply Quote 0
                • O
                  oodsway
                  last edited by

                  Thank you!
                  I had the same problem and it's fixed in 0.4.6.
                  You guys rock.
                  Woods

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by

                    Just for anyone here posting things like "my random streaming service still does not work".

                    Here's the code that goes to squidclamav.conf. When you switch to manual configuration, you can add that, and anything else, and tweak as desired until your random streaming service works. There are also examples of excluding sites based on FQDN from scanning in the exact same file. Noone has time to investigate this for you. Post here and it may be used by other users, or eventually get added to the package – however, expecting anyone to maintain such things for you is NOT realistic at all.

                    1 Reply Last reply Reply Quote 0
                    • O
                      oodsway
                      last edited by

                      understood
                      clamav radomly stops working for me. makes it useless.

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