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

Online / Offline Status Notification System via push

Development
7
103
52.1k
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.
  • A
    alexus
    last edited by Nov 4, 2006, 11:32 PM

    I’m gonna do status notification system today for mono / pfsense. I don’t really want to do it full system release yet. But here is what I think to release to public. It will work as a service that is intended for large networks.

    Mono or pfSense = NAS

    1. NAS connects to our server
    2. Server authenticates the NAS
    3. Server updates NAS and shows as it is online and operational
    4. Server Publish status on the web (either public or private access)
    5. If Geo info provided server builds network map to show functionality
    6. Server builds on demand RSS

    Part one is mod for NAS everything else is a server side. Because everything else is a server side I rather run my server available for public and provide free service for everyone.

    Please tell me your opinion on this. Do you think I should build this project? I have most of the script already I just need to know if community really wants it or should I keep it private? Also will it be integrated in actually releases of mono and pfSense.

    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by Nov 5, 2006, 4:19 AM

      How does this really differ from FreeNAS?

      1 Reply Last reply Reply Quote 0
      • D
        DanielSHaischt
        last edited by Nov 5, 2006, 6:38 AM Nov 5, 2006, 4:26 AM

        I need some clarification here - Do you mean NAS like NAS in Network Attached Storage?

        Regards
        Daniel S. Haischt

        Mit freundlichen Gruessen / With kind regards
        DAn.I.El S. Haischt

        1 Reply Last reply Reply Quote 0
        • D
          DanielSHaischt
          last edited by Nov 5, 2006, 4:34 AM

          Beside my understanding issue why you associate the acronym NAS with m0n0wall or pfSense, I would like to suggest to at least publish the sources of your server. That way people would be able to install the server at their side if necessary.

          Regards
          Daniel S. Haischt

          Mit freundlichen Gruessen / With kind regards
          DAn.I.El S. Haischt

          1 Reply Last reply Reply Quote 0
          • A
            alexus
            last edited by Nov 5, 2006, 5:19 PM

            NAS = Network Access Server aka Router (I used it so that i dont have ro feferre to both pfSense and Mono at the time)

            So it has nothing to do with network attached storage.

            As to the source dodes for the server, yes I might think of releasing them but i have 2 problems w. that: a) Setup Complexity (Althoughr yes I can do installer) b) Security: This functionality is a part of our propriatary system, so if I release everything some ppl can get full functionality of our propriatary system

            1 Reply Last reply Reply Quote 0
            • H
              hoba
              last edited by Nov 5, 2006, 7:39 PM

              NAS is somehow confusing. You should try to find a yet unused name imo.

              1 Reply Last reply Reply Quote 0
              • A
                alexus
                last edited by Nov 5, 2006, 9:42 PM

                ok renaming it to Router how is that?

                1 Reply Last reply Reply Quote 0
                • A
                  alexus
                  last edited by Nov 6, 2006, 3:34 AM

                  I just placed my script on the pfSense Dev image and when I was trying to execute it (bash script i got errors)

                  a) No bash ?
                  b) no DIR commands?

                  I've chaked the bin rirectory and ddint find the command there, so i will try to add them.  But the question is, if i add them therewill they will be included in compiled image?

                  also i will neeed those commands:

                  1. case
                    2)grep
                    3)cut
                    4)awk
                    5)wget
                  1 Reply Last reply Reply Quote 0
                  • J
                    jeroen234
                    last edited by Nov 6, 2006, 6:02 AM Nov 6, 2006, 5:57 AM

                    replace bash shell with tcsh or sh shell
                    replace youre wget commands with fetch commands
                    all the other commands are all ready in embedded 1.01

                    dir is called ls on bsd systems

                    1 Reply Last reply Reply Quote 0
                    • A
                      alexus
                      last edited by Nov 6, 2006, 12:24 PM

                      Ok, so now I know what is a dofference in BSD and Linux.

                      "…all the other commands are all ready in embedded 1.01 " I didnt find any dev image for 1.01 so i used 1.0 but i did that long upgrade that it oferred, didnt really the the thing adding the commands but O look again today

                      1 Reply Last reply Reply Quote 0
                      • A
                        alexus
                        last edited by Nov 6, 2006, 11:23 PM

                        Ok skript works now… one thing to get more reliable picture i wnat to check which interface assigned to LAN and WAN, I assome there is a file somwhere that says LAN=eth0 WAN=eth1
                        If I can get the interface names i can extract the IP values ... sure I can get them from config file, but i rather get the aluef directly from the OS (besides i have no idea how to make bach script to read XML)

                        1 Reply Last reply Reply Quote 0
                        • H
                          hoba
                          last edited by Nov 7, 2006, 12:11 AM

                          you may might be able to utilize some code from interfaces>assign or status>interfaces. Both these screens show information on which nic is assigned to which uinterfacename.

                          1 Reply Last reply Reply Quote 0
                          • A
                            alexus
                            last edited by Nov 7, 2006, 12:24 AM

                            do you refer to PHP pages?

                            1 Reply Last reply Reply Quote 0
                            • H
                              hoba
                              last edited by Nov 7, 2006, 12:36 AM

                              Yes.

                              1 Reply Last reply Reply Quote 0
                              • A
                                alexus
                                last edited by Nov 7, 2006, 12:39 AM

                                I'm there now, still cant find the file weher intergface assigments are stored… unles its webguiconfig.in

                                1 Reply Last reply Reply Quote 0
                                • A
                                  alexus
                                  last edited by Nov 7, 2006, 12:48 AM

                                  $g['varrun_path'] . "/lan.conf.dirty";

                                  Is that config I need? what tha value of g[varrun_path]?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    sullrich
                                    last edited by Nov 7, 2006, 2:04 AM

                                    /etc/inc/globals.inc

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      alexus
                                      last edited by Nov 7, 2006, 2:07 AM

                                      actually I was fullish and miss the part in the main confog file that is cleraly saying LAN=eth1 etc in the XML file, just as usual…. so now im looking on how to read XML w/ bash script... aperantly i have no idea how to do that...

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        sullrich
                                        last edited by Nov 7, 2006, 2:11 AM

                                        Erm, I dont think there is a EASY way to do this.  Good luck!

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          alexus
                                          last edited by Nov 7, 2006, 2:13 AM

                                          Good, so at the end you wont tell me that my script is too easy :-P

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