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

    PIMD loosing multicast sources

    Scheduled Pinned Locked Moved General pfSense Questions
    pimdmulticast
    34 Posts 3 Posters 2.2k 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.
    • L
      louis2 @maximushugus
      last edited by

      @maximushugus

      I forgot to say forget PIMD 2.3.2 it absolutely NOT working together with an actual OS.

      In the past I tried to convince the pimd developer that he should formally release the beta ... In short he was too busy for that. That does not take away that the beta has been running for years without issues.

      I will try to get the pimd beta running again. I will probably have to recompile it, since pfSense moved to the actual FreeBSD 15 current. Hopefully that is all.

      M 1 Reply Last reply Reply Quote 0
      • M
        maximushugus @louis2
        last edited by

        @louis2 If you want I build PIMD (latest version from sources) and made some modification to pfSense GUI to make it compatible :
        pfSense-PIMD.zip

        Instructions to make it "work" :

        • Install official PIMD from pakcages in pfSense
        • Download and extract the file above
        • put files inside the extracted folder inside corresponding folder.

        It should work from GUI

        L 1 Reply Last reply Reply Quote 0
        • L
          louis2 @maximushugus
          last edited by

          @maximushugus

          I could try, I assume that I have to replace my pimd and pimctl by yours. ...

          I would prefer to have packages like I did generate in the past. I also made some modifications especially related to the pfSense gui part (pfSense-pkg-pimd-3.0.1)

          M 1 Reply Last reply Reply Quote 0
          • M
            maximushugus
            last edited by

            And configuration from GUI :

            • In PIMD/General tab : enable PIMD, Defauld bind to none
            • In PIMD/Interfaces : select on which interfaces you want PIMD to listen / send traffic , add it and always bind inside config for thoses interfaces (I also set IGMPv2 for compatibility reason)
            • In PIMD/BSR candidate add an interface you want PIMD to be BSR
            • In RP candidate add an interface you want PIMD to be the Rendez vous" point : for me it's my LAN address, and I added "group prefix" to restrict multicast groups that are routed via PIMD to only those.

            If everything works you should see in PIMD/Status the output of the command :

            pimctl
            

            which is more advanced than the older "pimd -r", not compatible anymore

            L 1 Reply Last reply Reply Quote 0
            • M
              maximushugus @louis2
              last edited by

              @louis2 Yes, pkg are better for the long run but for the moment I didn't make one because I first want to make it work

              1 Reply Last reply Reply Quote 0
              • L
                louis2 @maximushugus
                last edited by

                @maximushugus

                I think I will try replacing pimctl and pimd and leaving the gui part as it is with the version I compiled.

                M 1 Reply Last reply Reply Quote 0
                • M
                  maximushugus @louis2
                  last edited by

                  @louis2 You can but your GUI modification has to be compatible with PIMD3.0-beta1 (with pimctl in fact), else you would need to run PIMD via CLI

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    louis2 @maximushugus
                    last edited by

                    @maximushugus

                    Yes my gui version is!

                    pfSense-pkg-pimd-3.0.1_5.zip

                    I think this is the latest version I compiled by then 17/11/2022)

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      maximushugus @louis2
                      last edited by

                      @louis2 Thanks !
                      If you manage to make it work again could you tell me if multicasts sources stay "stable" in time in PIMD ?

                      L 2 Replies Last reply Reply Quote 0
                      • L
                        louis2 @maximushugus
                        last edited by

                        @maximushugus

                        I did just copy your pimd version over my older pimd version. In opposite to my older version Not running.

                        After pkg install of my own version ... not running as well. I really have to compile a new version myself. But not so easy at the moment'.

                        1 Reply Last reply Reply Quote 0
                        • L
                          louis2 @maximushugus
                          last edited by

                          @maximushugus

                          I try to create a setup to compile pimd3-beta.

                          So I went to the site of the author https://github.com/troglobit and could not find pimd3-beta there any longer. I do have a old copy, however I wonder which pimd version did you compile !?

                          I know that the old pimd version 2 does not work ...

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            maximushugus @louis2
                            last edited by

                            @louis2 I used a FreeBSD 15 (CURRENT) VM to build from sources (from Github) PIMD. You should obtain same binaries I shared here (zip file above) inside the usr/local/sbin directory

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              louis2 @maximushugus
                              last edited by

                              @maximushugus

                              I think I made a mistake related to git naming. I thought to remember that there was a pimd3 beta, but trying to rebuild an updated version of my setup a couple of years ago, I now think that "troglobit" never used the name "pimd3".

                              I used the name pimd3-beta for the changed code! I am almost sure that what I named "pimd3-beta1" is infact the latest version of the never released pimd github version.

                              The troglobit github source has a latest update on Jul 28, 2022 the latest release is pimd v2.3.2 on Mar 10, 2016 !

                              What I call pimd -3.0-beta1 is what is almost sure is the jul 28, 2022 version op the github repository.

                              As you can see that are six years and significant changes further !!

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                louis2 @louis2
                                last edited by

                                @maximushugus

                                I tried to compile pimd for actual FreeBSD15 current, however I am facing issues which I can, given my limited knowledge of c, git and pimd internals, not solve.

                                At least I did not manage that up to now despite significant effort.

                                starting a tool like ^script^ and then compiling the source etc, you can see the warnings and some errors in the script generated file. In the file warnings and an error

                                • related to e.g. not longer supported macro's and
                                • and a fatal error related to ^man^ which should be an absolute path
                                  I tried to fix the ^man^ error using ^ConfigureOptions="--mandir=/usr/local/share/man",

                                That does remove the error but not in such a way that there are man8 packages in the stage directory / distribution file or package.

                                For that reason I did build a package without man files, and installed that pimd package on actual pfSense plus version.
                                It does not work. Main problem it can not find the interfaces see pfsense systemlog

                                I would have prefered to test on a fresh pfSense system, however netgate does not make an iso available :( I do not like that, however I do understand netgate!

                                Troglobit has a significant newer pimd version ^pimd-dense^ which can perhaps been an pimd alternative.
                                I do not know the difference in functionality!

                                So ^we have a problem^ !!

                                Some options:

                                • support from someone with higher c and git knowledge able to solve the actual warnings and man issue in the code
                                • try to compile pimdd which because more recent probably has less compile issues and perhaps even has a freebsd ports
                                • creating a couple of VM's with the media player. One for each VLAN which needs media files
                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.