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

    some services show can't start

    Scheduled Pinned Locked Moved Plus 23.09 Development Snapshots (Retired)
    131 Posts 5 Posters 28.3k 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.
    • yon 0Y
      yon 0 @stephenw10
      last edited by

      @stephenw10

      The wiregaurd log cannot be found, and pfsense does not display the relevant log. I also want to provide the log to you, but I know where to get this log.

      I tested that the tunnel established by wireguard is working normally and the network is open. Currently, the pfsense system detects that wiregaurd is not running, causing the wiregaurd sessions corresponding to frr's bgp to fail to start.

      yon 0Y 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @yon 0
        last edited by johnpoz

        @yon-0 " the first step in locating a bug is to reproduce it reliably"

        If nobody can "reproduce" your problem - how would they even begin to fix it?

        If you tell your mechanic the car doesn't do X or does Y when you do Z... And you give it to the mechanic and the car does do X, or doesn't do Y when he does Z.. How could he even begin to try and fix it?

        Before you put something into redmine - you need to either have multiple people reporting the issue, ie its being reproduced.. Or you need to provide steps to reproduce it, that the developers can do..

        I don't see where you have done this - and per Jims comments in your redmine - he is not able to reproduce your issue.

        So how would he even start to look into the cause? if he can not start to look into the problem - it serves no purpose having it in redmine.

        Which is again why he stated to troubleshoot the problem in the forums.. Which hasn't happened..

        Redmine is not a ticketing system where you request help.. It is a bug report and feature request system.. I would suggest you do a simple google on how to do a bug report.. Right near the top is "steps to reproduce" of any guide/instructions you find.

        If you have support with netgate - and your having an issue, open a tac case with them.. If not then here in the forums is where the help happens.. If it can be reproduced, then is when you would open the issue in redmine.

        Nobody is saying your not having any sort of issue - jim just clearly pointed out that it doesn't belong in redmine at this point in troubleshooting.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • yon 0Y
          yon 0 @yon 0
          last edited by yon 0

          For example, I am giving an example. In this pfsense version, when I enter the IP or alias of the firewall rule, the firewall cannot correctly display the correct value I set.

          I think this kind of error should not happen. After the design and development is completed, we must repeat various checks and it is impossible to let such an obvious error happen. So what I mean is that there is a serious problem with our quality control. Ordinary users should not be expected to find problems, and users should be required to submit technical information to report. Many users do not understand any technical code at all. We should establish a strict quality control process and should not bring errors out of the factory.

          23.09-BETA (amd64)
          built on Thu Oct 12 14:00:00 CST 2023
          FreeBSD 14.0-CURRENT

          Firewall_ Rules_ Edit.jpg

          Firewall_ Rules_ WAN.jpg

          i setup alias is b1, but show is single/0

          johnpozJ stephenw10S 2 Replies Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @yon 0
            last edited by johnpoz

            @yon-0

            https://docs.netgate.com/pfsense/en/latest/development/bug-reports.html

            And another thing - if your using "development" code there almost for sure going to be issues with it.. Which should be discussed in the specific forum section for that development version..

            I don't know what else to tell you..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            yon 0Y 1 Reply Last reply Reply Quote 0
            • yon 0Y
              yon 0 @johnpoz
              last edited by

              @johnpoz

              There are also many problems with the official version. I have been following you for many years and your quality control has always been problematic. I still have many problems that I have not reported. It is not that there are no problems. There are too many problems and I am too tired.. I use the development version to solve the official problem. A problem with the version, but new problems have arisen in development.

              Let me give you a vivid example. I am driving a car. When my car is driving at high speed, your system shows that the car has not started driving, causing various brake failures. Do you mean to let this user repeat this danger again?

              I use wiregaurd and all the tools show that they are running normally, but pfsense shows that it is not running. I don't know what detection pfsense relies on.

              /root: wg
              interface: tun_wg0
                public key: vA7WbNQBYfyMPaeI6hwt2XnO4w2mIDA=
                private key: (hidden)
                listening port: 51820
              
              peer: 01Qz7+akq9Xj2YS7JdKABGI8m6v6C8ic=
                preshared key: (hidden)
                endpoint: 10.50.1.254:62115
                allowed ips: 0.0.0.0/0, ::/0
                latest handshake: 1 minute, 3 seconds ago
                transfer: 303.88 MiB received, 86.84 MiB sent
                persistent keepalive: every 20 seconds
              
              interface: tun_wg1
                public key: MLxvaU4yhGRW4Ufwoa2UxlZpkyk=
                private key: (hidden)
                listening port: 56388
              
              peer: Y2EP0vQL4vTozsCagl/LY0ADSNg3flU=
                preshared key: (hidden)
                endpoint: [2602:fed5:7020::1]:56280
                allowed ips: 0.0.0.0/0, ::/0
                latest handshake: 1 minute, 52 seconds ago
                transfer: 60.87 MiB received, 65.46 MiB sent
                persistent keepalive: every 36 seconds
              
              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @yon 0
                last edited by

                @yon-0 said in some services show can't start:

                and your quality control has always been problematic

                My quality control? I have zero to do with the development or quality testing of pfsense - I am just a user..

                If you have some specific issue with the development version, I suggest you create a thread in the dev section, with details and hopefully instructions on how to reproduce it.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                yon 0Y 1 Reply Last reply Reply Quote 0
                • yon 0Y
                  yon 0 @johnpoz
                  last edited by

                  @johnpoz

                  I didn't specify you, I was saying that the pfsense development team needs to improve.

                  yon 0Y johnpozJ 2 Replies Last reply Reply Quote 0
                  • yon 0Y
                    yon 0 @yon 0
                    last edited by yon 0

                    Status_ Services (2).jpg

                    yon 0Y 1 Reply Last reply Reply Quote 0
                    • yon 0Y
                      yon 0 @yon 0
                      last edited by yon 0

                      UPnP & NAT-PMP service can't start also. this my setup.

                      Services_ UPnP & NAT-PMP.jpg

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @yon 0
                        last edited by johnpoz

                        @yon-0 said in some services show can't start:

                        I didn't specify you

                        Maybe your not a native english speaker? But the use of "your" when you set the reply directed at me.. with the @johnpoz seems pretty directed at me ;)

                        Prob should of worded that more like this

                        I have been following pfsense for many years and Its quality control has always been problematic

                        Anywho - moving this to the development section. You are more likely to get others using 23.09 to chime in there, and maybe they have seen the same sort of issue your having..

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                        yon 0Y 1 Reply Last reply Reply Quote 0
                        • johnpozJ johnpoz moved this topic from General pfSense Questions on
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Wireguard tunnels can be up but the servcie that manages them may not be running. Look for php_wg.

                          Unfortunately there is very little logging from wireguard. However when you start the service and it fails to start there should be something logged in the main system log.

                          You clearly have quite a complex and unusual config and some part of it is causing a problem. It's not simply that WG and UPnP don't work in 23.09. We need to know a lot more to try to replicate and fix it.

                          1 Reply Last reply Reply Quote 1
                          • stephenw10S
                            stephenw10 Netgate Administrator @yon 0
                            last edited by

                            @yon-0 said in some services show can't start:

                            i setup alias is b1, but show is single/0

                            Ok, that is a bug I can easily replicate that.

                            yon 0Y stephenw10S 2 Replies Last reply Reply Quote 0
                            • yon 0Y
                              yon 0 @johnpoz
                              last edited by

                              @johnpoz

                              Yes, my native language is not English.

                              I'm talking about things, not targeting anyone. I want pfsense to be better, that's why I say so much. I found that the development team may have different philosophies, so there may be differences in how to do things. My philosophy is to use the most advanced technology, but the development is suitable for strict technical quality control. Every change developed must be tested in different internal environments, especially some that may cause serious problems and cannot be taken outside at all.
                              I found that the current philosophy of the Pfsense team is that they are afraid to use advanced technologies, especially some new technologies that they dare not try and need to wait for a long time. Technology is advancing with the times, and many technologies are time-sensitive and cannot be used for a long time. We must be brave enough to try the latest Instead of avoiding things for fear of problems, it is best to control the quality of every detail is crucial. If you don’t try new technologies and find problems, users are likely to use them in conjunction with various new technologies or new equipment. If the team has not used new technologies, it will be difficult to integrate them with user needs. Computer technology relies heavily on innovation. The change in one year can be huge and it is impossible to wait until a year later to use it.

                              There is a difference between opnsense and pfsense in adopting new technologies. OP is more willing to try new technologies or new things. I am used to various settings of pfsense, so it is difficult for me to change.

                              yon 0Y 1 Reply Last reply Reply Quote 0
                              • yon 0Y
                                yon 0 @yon 0
                                last edited by

                                I recently used DTLS technology for udp tunnel, I contacted the developer directly to provide various suggestions and improvements were quickly implemented. He is a Ukrainian developer and I think he is very patient.

                                So if pfsense can consider adding new technology features, I recommend it.

                                The website of his works is this

                                https://github.com/Snawoot/dtlspipe

                                yon 0Y 1 Reply Last reply Reply Quote 0
                                • yon 0Y
                                  yon 0 @stephenw10
                                  last edited by

                                  @stephenw10

                                  This is an example. These could have been discovered through internal review. It's too obvious. So why am I tired of reporting bugs? I'm not a technical developer and I don't know the specific details of the code. I can only report from the superficial phenomenon. Regarding the specific details, Technical issues require investigation and judgment by your technical staff. It is too difficult to leave it to ordinary users to investigate.

                                  1 Reply Last reply Reply Quote 0
                                  • yon 0Y
                                    yon 0 @yon 0
                                    last edited by

                                    I use DTLS to protect wireguard, Wiregaurd has obvious characteristic shortcomings. The handshake part of the data packet is too easy to be detected and blocked by DPI.

                                    Tested using DTLS and the result is that there are obvious benefits. It is currently not blocked by DPI and reduces interference. I worked with this developer to improve it.

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator @stephenw10
                                      last edited by

                                      @stephenw10 said in some services show can't start:

                                      Ok, that is a bug I can easily replicate that.

                                      https://redmine.pfsense.org/issues/14870

                                      yon 0Y 2 Replies Last reply Reply Quote 0
                                      • yon 0Y
                                        yon 0 @stephenw10
                                        last edited by yon 0

                                        @stephenw10

                                        when i input network 2602:fed6:7021::/48, it is show network/0 in firewall rule

                                        Firewall_ Rules_ WAN (2).jpg

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          This should actually be fixed in todays build (23.09.b.20231013.0600) are you testing that?

                                          Existing rules will need to be resaved to populate the aliases correctly.

                                          Steve

                                          johnpozJ yon 0Y 2 Replies Last reply Reply Quote 0
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator @stephenw10
                                            last edited by

                                            @stephenw10 JFC Steve - you need these developers working on the latest and greatest to up their quality testing and make sure every possible thing works before you release the snapshots ;)

                                            hahaah

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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