Where are the web pages, code kept?

Where in ASL4 are the web pages/code kept that generate the WebAdmin front end? 
Parents
  • They are generated dynamically by server side code (presently Perl). If you generate an html document in /usr/local/httpd/htdocs you will be able to access it by entering:

    https://your webadmin address/your document

    in the browser...

    P.S. Check the file's permissions for access...
  • I ask because I'd like to modify the source to add an additional "action" option for the Packet Filter drop down list. 
  • You cannot change the egsisting pages because they are compiled. 
    I mean, if that does not bother you take a look at 
     /usr/local/httpd/htdocs/index.fpl   
  • Padre,
    That's more to the point. Thanks for the info.
    SecApp,
    All I wanted to do is add 1 additional dropdown menu item, not chnage the front end appearance to say "Jim's Firewall". I don't really see the relevance of the legal dissertation on brand identity and the implications of hacking ASL. This is the Hacker's forum. 
  • As I said:

    "...but I know it's not the 'easy out' you were hoping for..."

    I don't know about you, but I am always concerned about keeping things legal, as much of a hassle as that is. I'm not going to tell somebody how they can fix a piece of hardware that may very well get them electrocuted (DMCA?); other people can dispense that advice.

    Rather than just give a terse "you shouldn't do that; you might be breaking laws...", I was trying to delicately explain why they would rather not have you do that.

    And just because I try and adhere closely to the law, doesn't necessarily mean I think they're great laws. But I don't look for trouble, and trouble doesn't look for me.

    If you want to add your functionality, and not modify their existing functionality, I will spare no quarter to give you the concise answer...
  • since you can't edit the pages per padre, why don't you just edit the graphic that you want to say "Jim's Firewall" below.

    just make the astaro logo image a little taller.  then add "Jim's firewall" under neith of it. 

    the only problem you may have is if they specify the height of the image in the   tag.

    I don't have access to my astaro box from the outside, so I looked at the demo.  it apears they did not there.  however I think that is version 4.07.  it may be different in version 4.15.

    Just edit the image and save it as the same name.


    hope that helps and I'm not in too much hot water....     [:O]  
  • Ha, Ha, Uncue75. Very funny.(Sarcasm!) [;)]
    As far as legality goes, Astaro allows us to hack ASL to develop applications and abilities that it doesn't come with standard. Remember the DHCP server in 2.x? The SMTP smarthost AUTH? C'mon, hacking ASL is a good development area for those of us who want to "enhance" our ASL machines or just mess around with it. They even have a forum on THEIR UBB for it. I'm not modifying ASL and reselling it. If it's illegal to modify Astaro's code on an ASL box that I'm experimenting with, then let them say so. 
  • Those things you mention are OpenSource components. To mess with the compiled binary of their proprietary interface is quite another (check your DMCA statutes).

    I don't want to make everybody paranoid, but it's just something we have to keep an eye on...
       
  • Again, if Astaro doesn't want us touching their compiled non-opensource files, let THEM say it. Honestly, I don't see the harm in altering code on an experimental machine to add a drop down item. I'm not hacking their license validation to get something for free that I should be paying for. 
  • Well, all you need is to convince Astaro to give you their WebAdmin source code [;)]ddleWare source code too.

    I dont think that they will do that. I mean, try doing that with ANY company (ask m$ for the windows source code while you're at it [:)] )

    Good luck 
       
  • That's fine. If I need to have them give me their source to do what I want, then I can't do it. I just didn't know how involved it would be to do. So I was asking. Thanks, Padre.
    I guess I'll have to continue to throw myself on the mercy of Astaro to add the QUEUE action to the packet filter rules area. 
  • well it would be a nice feature that's for sure  
Reply Children
No Data