Florin <[EMAIL PROTECTED]> ha detto: > AlberT <[EMAIL PROTECTED]> writes: > > > > > > > I didn't think of that but indeed this could be very useful for more > > > complex configurations ... and quite easy to implement. > > > > I think it's a good idea to use shorewall, it's more suitable than Bastille. > > > > An other idea would be to implement a new fw script for FNF (!SNF, Full > > Network Firewall ). We could build a new powerfull PHP interface to > > administrate it. It will be also quite easy ... > > > > I'm a good PHP-ist ... i'm here !! ^__^ > > great, > > the problem is that all the php SNF code is generated from xml, so we will > have to work on xml to generate your php code ...
oh my god! and why? It's terrible! Are you sure of what you'r saying, I can't think a coder that writes his script in xml! :-P I saw that httpd-naat use PHP, we can get the features of it and rewrite it in a better way ... A stupid bug is, f. e., that if you save your configuration on a win machine and THEN reload it you are fucked :-) ... infact win saves the file (or can save) using "\r\n" instead of "\n" ... As a result you have ALL your FW misconfigurated and impossible to be accessed by naat, infact ALL files have damned "^M" at the end of each line !! It's simple in php to prevent this case ! -- <?PHP /******************************************** Emiliano 'AlberT' Gabrielli [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.SuperAlberT.it http://www.totocom.net ***************************************************/ _________________________________________________ Messagio inviato da http://www.SuperAlberT.it _________________________________________________
