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

    Multiple unexpected login "beeps"...

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 5 Posters 591 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Yup, it would be logged. Both in the System log and the Authentication log.

      [2.7.2-RELEASE][admin@t70.stevew.lan]/root: grep login /var/log/auth.log 
      Feb 15 16:54:31 t70 php-fpm[98161]: /index.php: Successful login for user 'admin' from: 172.21.16.8 (Local Database)
      Mar  4 13:09:10 t70 php-fpm[2495]: /index.php: Successful login for user 'admin' from: 172.21.16.8 (Local Database)
      Mar 17 00:51:09 t70 php-fpm[32432]: /index.php: Successful login for user 'admin' from: 172.21.16.8 (Local Database)
      Mar 28 01:15:58 t70 php-fpm[18718]: /index.php: Successful login for user 'admin' from: 172.21.16.8 (Local Database)
      
      
      1 Reply Last reply Reply Quote 0
      • I
        IanMcLeish
        last edited by

        @stephenw10 said in Multiple unexpected login "beeps"...:

        Successful login for user 'admin' from:

        Thank you both, I looked at the logs and there are so many attacks, but I don't see any unauthorised access. Don't know why it is beeping.

        Maybe it doesn't only beep on a successful login, but that was my experience until now.

        I recently had fibre installed and 2 days later a car took out all the fibre lines! So until Tuesday I was perhaps less exposed to these attacks, behind Starlink's CGNAT, but now I have a public static ip address.

        Didn't realise how many attacks a router would need to defend against!

        Thanks again, I'll keep an eye on those logs!

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

          @IanMcLeish said in Multiple unexpected login "beeps"...:

          Didn't realise how many attacks a router would need to defend against!

          Not sure I would call noise "attacks" yes there will lots of attempts to see if you have ports open, sure there will be brute force attempts to login to exposed ssh or ftp, etc

          But I wouldn't call your firewall dropping packets that are not allowed "attacks" - do you have ssh exposed to the public internet, or other services? All the common ports, ssh, ftp, rdp, sql, etc.. will always see lots of noise.

          So like in the last 24 hours - 96 hits to ssh (22).. None of those would actually get to attempt to login in because I don't have 22 even allowed.. But most of them wouldn't be allowed even if I had 22 open because I block most of those are IPs, I don't allow because they are known scanners (shodan, etc), not coming from US ips - or just noise producers like digital ocean - nothing good will ever talk to you from a DO ip ;)

          2025-03-28_043120.jpg

          See that last one there must be a US IP, and not in my known scanners list or DO block - so if was open he would be allowed.

          But yeah if your behind a cgnat - you wouldn't see any unsolicited inbound traffic - calling them attacks sure if you want ;)

          The internet is a noisy place. I sure wouldn't expose ssh to the public internet - vpn in if you need remote access. Or if you must use something like ssh, whitelist to known good IPs and for sure only allow public key auth.

          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.8, 24.11

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

            @IanMcLeish said in Multiple unexpected login "beeps"...:

            I looked at the logs and there are so many attacks

            What exactly are you seeing? Failed login attempts? If so that's bad, you should not have the firewall webgui open to the internet.

            If it's just firewall logs on WAN then, yes, that's pretty much expected if you have a public IP.

            johnpozJ 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @IanMcLeish
              last edited by Gertjan

              @IanMcLeish said in Multiple unexpected login "beeps"...:

              Is there a way to check in the logs who was logging in?

              That's what this log is all about : Status > System Logs > Authentication > General

              GUI logins are very recognizable :

              4ff0c661-e37a-4295-a802-4087328fe7f9-image.png

              and normally, only the admin user can login from a LAN - or whatever you decide - network.
              WAN is normally impossible of course.
              Possible that a package also beeps, as its a system call or a simple shells script.

              edit : .... didn't saw the reply of everybody else ๐Ÿ˜–

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

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

                @stephenw10 said in Multiple unexpected login "beeps"...:

                you should not have the firewall webgui open to the internet.

                QFT

                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.8, 24.11

                I 1 Reply Last reply Reply Quote 1
                • I
                  IanMcLeish @johnpoz
                  last edited by IanMcLeish

                  @johnpoz said in Multiple unexpected login "beeps"...:

                  @stephenw10 said in Multiple unexpected login "beeps"...:

                  you should not have the firewall webgui open to the internet.

                  QFT

                  I just made a new post about this before reading this. It is open to the internet, and I do not know for the life of why it is or how it got to be.

                  And I don't know how to set it to not be available!!

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

                    @IanMcLeish well what are your firewall rules on your wan - the only way it would be open to the internet is if you have a rule that allows it. Remove such a rule - post up your wan rules.

                    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.8, 24.11

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      IanMcLeish @johnpoz
                      last edited by

                      @johnpoz said in Multiple unexpected login "beeps"...:

                      @IanMcLeish well what are your firewall rules on your lan - the only way it would be open to the internet is if you have a rule that allows it. Remove such a rule - post up your wan rules.

                      |I got it sorted out on the other post, it was all down to my stupidity, unsurprisingly.

                      All my bad. But yes, checking my firewall rules sorted out my problem, so thanks for the suggestion.

                      Ian

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

                        You must have a firewall rule allowing it since all traffic inbound is blocked by default.

                        So check the WAN firewall rules. If there's nothing there check for interface groups or floating rules.

                        Post some screenshots if you're unsure.

                        Edit: Ooops hit post after like 2hrs. ๐Ÿ™„

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