summaryrefslogtreecommitdiffstats
path: root/shorewall-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Added rc controller to alpine-baselayout and rc functionality to processinfo ↵Ted Trask2008-10-111-1/+3
| | | | | | library. Changed status Enabled/Disabled to Running/Stopped. Added links to status pages to install package and schedule autostart. git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1552 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified modelfunctions library to include validation in get/setfiledetails. ↵Ted Trask2008-10-071-15/+8
| | | | | | Modified all uses to validate the file name - this was a major security hole. git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1542 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified format library. parse_configfile2, update_configfile2, ↵Ted Trask2008-10-031-1/+1
| | | | | | get_section, and set_section became parse_ini_file, update_ini_file, get_ini_section, and set_ini_section. Updated all code that used these functions. git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1539 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed getopts library and added functionality to format library as ↵Ted Trask2008-09-291-2/+2
| | | | | | opts_to_table, table_to_opts, parse_configfile2, update_configfile2, get_section, and set_section. New functions work on strings, not files. Modified all code using getopts to use format instead. Fixed nil string bugs in TCPProxy. Fixed forward only bug in DNSCache. git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1535 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrite of shorewall to use new libraries, ... Moved statusbasic to status, ↵Ted Trask2008-09-221-185/+76
| | | | | | status to details, expert to listfiles. Changed check to not have a page. Used links for status, edit, startstop. Didn't change config, so it still doesn't work. git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1480 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Saving work for today.Mika Havela2008-05-151-26/+34
| | | | | | | Applying the component functionallity to acf-shorewall. Cleaning up and rebuilding the view-files. git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1121 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rebuilding the config-view-file to be more easy to use (and a bit more good ↵Mika Havela2008-05-141-6/+9
| | | | | | looking). git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1117 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Rewrote getopts.getoptsfromfile function to handle more complicated config ↵Ted Trask2008-05-071-2/+2
| | | | | | files and removed getopts.getoptsfromfile_onperline function git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1111 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fetching path to logfile by reading the configfile instead of hardcode ↵Mika Havela2008-04-171-1/+2
| | | | | | /var/log/messages git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1027 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed typo and cleaned up the code.Mika Havela2008-04-091-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@977 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up code.Mika Havela2008-04-081-33/+17
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@961 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding information of autostart sequence.Mika Havela2008-03-281-0/+21
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@861 ab2d0c66-481e-0410-8bed-d214d4d58bed
* useless use of cat. http://partmaps.org/era/unix/award.htmlNatanael Copa2008-03-221-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@838 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Now the config-tab works just find (as I can see).Mika Havela2008-03-061-97/+167
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@823 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added some more functionallity to the config-pageMika Havela2008-03-051-0/+8
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@817 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added the missing (example)-page. Added functionallity so that the page has ↵Mika Havela2008-03-041-4/+26
| | | | | | live data git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@799 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up the code a bit.Mika Havela2008-03-031-89/+9
| | | | | | | | Adding some examples into the config-tab. Minor modifications on the view-files. git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@794 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added a 'Guided configuration' for Shorewall. This is a test!Mika Havela2008-02-291-0/+30
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@781 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed shorewall so that it reports/uses cfe's instead!Mika Havela2008-02-011-10/+268
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@682 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Created a confirmation when you start/stop/restart the firewall.Mika Havela2008-01-151-48/+20
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@572 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Renamed tab and reorganized first pageMika Havela2008-01-101-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@531 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Minor change on version outputMika Havela2007-12-201-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@444 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed view-files to reflect modificatsion in the new cssMika Havela2007-12-201-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@440 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added view-logfile.Mika Havela2007-12-071-0/+11
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@419 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Code is ready for evaluation. Basic functionallity is ready (advanced mode ↵Mika Havela2007-12-031-1/+10
| | | | | | for editing configs). No GuidesSetup at this point. git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@401 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up GuidedSetupCode and only focusing on AdvancedUsers InterfaceMika Havela2007-12-031-3/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@400 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up dir and some codeMika Havela2007-12-011-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@397 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Check and restart is now working!Mika Havela2007-11-301-4/+22
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@396 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modifying file is now possibleMika Havela2007-11-291-4/+27
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@386 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Still have problems showing owner of a file in cleartext (instead of uid)Mika Havela2007-11-281-9/+10
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@384 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Show files and their content starting to take shapeMika Havela2007-11-281-0/+60
git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@383 ab2d0c66-481e-0410-8bed-d214d4d58bed