Falcon BMS Forum
    • Register
    • Login
    • Search
    • Categories
    • Unread
    • Recent
    • Unsolved
    • Popular
    • Website
    • Wiki
    • Discord

    Log of Connections

    General Discussion
    5
    11
    186
    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.
    • Z
      zeek last edited by

      I tried searching the forms but couldn’t find anything, may have been searching the wrong text, but wondering if there is a log file saved somewhere that shows all connections to the server. The question is not for a one time use server, but for a 24/7 server to see who has been connecting and what duration.

      Thanks.

      Zeek

      1 Reply Last reply Reply Quote 0
      • Cloud 9
        Cloud 9 last edited by

        @zeek:

        I tried searching the forms but couldn’t find anything, may have been searching the wrong text, but wondering if there is a log file saved somewhere that shows all connections to the server.

        If you run the server in debug mode it will generate an xlog. I know that logs when a player in SP is loaded into the game and out of the game.

        Possibly it will note when players enter and exit the server in MP? I’ve never tried it, but it’s worth a shot. It’s doesn’t harm anything.

        To run in debug mode use the switch -mono at the end of the target line in Properties>Shortcut.

        Of course if I’m wrong, I’m sure one of the devs will correct me. And possibly there is another way??

        C9

        Z 1 Reply Last reply Reply Quote 0
        • Z
          zeek @Cloud 9 last edited by

          Thanks Cloud 9, I will give it a shot and let you know.

          Cloud 9 1 Reply Last reply Reply Quote 0
          • Cloud 9
            Cloud 9 @zeek last edited by

            The log(s) will be in your User>Config folder.

            Good Luck,

            C9

            hoover 1 Reply Last reply Reply Quote 0
            • hoover
              hoover @Cloud 9 last edited by

              If you’re running the server on Linux (WINE or in a VM) you could use netstat -tulpen or some other network monitoring tool to see the active connections the server has at any given moment.

              Cheers, Uwe

              System specs: win10pro / Linux Mint 20.x, 32GB RAM, nv 1070ti, 2x1 TB SSD, 1x4TB SATA; HOTAS Warthog (DX), TM MFDs, G25Shifter, T500RS wheel / pedals; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 43" LG nano 779pa (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE; StreamDeck XL (ICP)

              M 1 Reply Last reply Reply Quote 0
              • M
                MorteSil @hoover last edited by

                @hoover:

                If you’re running the server on Linux (WINE or in a VM) you could use netstat -tulpen or some other network monitoring tool to see the active connections the server has at any given moment.

                Cheers, Uwe

                If it’s a Linux box all the remote connections will be stored in the audit logs. You could write a 5-10 line script to filter audit logs by remote connection status and port. This wouldn’t help to associate WHO the connection is from as far as an ingame name, but there are other ways to make that connection if that is a requirement.

                B hoover 2 Replies Last reply Reply Quote 0
                • B
                  bawki @MorteSil last edited by

                  you could rewrite my tool to poll every x seconds and then write statistics to a database:

                  https://www.benchmarksims.org/forum/showthread.php?30049-Alpha-BMS-RESTful-Client-Server-API

                  but you would need to do that yourself 😉

                  1 Reply Last reply Reply Quote 0
                  • hoover
                    hoover @MorteSil last edited by

                    @MorteSil:

                    If it’s a Linux box all the remote connections will be stored in the audit logs. You could write a 5-10 line script to filter audit logs by remote connection status and port. This wouldn’t help to associate WHO the connection is from as far as an ingame name, but there are other ways to make that connection if that is a requirement.

                    I don’ think that’s the case per default in my experience (at least on non-hardened Debian and CentOS / RHEL systems).

                    All the best, Uwe

                    System specs: win10pro / Linux Mint 20.x, 32GB RAM, nv 1070ti, 2x1 TB SSD, 1x4TB SATA; HOTAS Warthog (DX), TM MFDs, G25Shifter, T500RS wheel / pedals; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 43" LG nano 779pa (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE; StreamDeck XL (ICP)

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MorteSil @hoover last edited by

                      @hoover:

                      I don’ think that’s the case per default in my experience (at least on non-hardened Debian and CentOS / RHEL systems).

                      All the best, Uwe

                      True…so many *nix flavors out there it’s hard to offer a definitive native suggestion.

                      Z 1 Reply Last reply Reply Quote 0
                      • Z
                        zeek @MorteSil last edited by

                        Thanks for the responses everyone, so far running the server in debug mode is working fine. Searching the xlog file lets me see what users have connected. That will work for now for what I need it to do.

                        Cloud 9 1 Reply Last reply Reply Quote 0
                        • Cloud 9
                          Cloud 9 @zeek last edited by

                          @zeek:

                          Thanks for the responses everyone, so far running the server in debug mode is working fine. Searching the xlog file lets me see what users have connected. That will work for now for what I need it to do.

                          Cool that worked out for you! 🆒

                          C9

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          34
                          Online

                          10.6k
                          Users

                          21.0k
                          Topics

                          348.8k
                          Posts

                          Benchmark Sims - All rights reserved ©