Bfw-get

From BrazilFW Firewall and Router

Jump to: navigation, search
Warning! Atenção! ¡Atención!

This article needs (review of) translation!
Este artigo precisa de (revisão de) tradução!
Este artículo necesita (revisión de) traducción!

bfw-get - addon instalation manager


Warning!

This addon is under development
But is stable and can be used in production environment

bfw-get
Author: somatorio
Collaborators: M客¡NhØ §åMµ®å¡
thiagofw
Size: 4KB
Add-on State: Testing
Add-on Version: 1.0
Original Project URL:
System Version Required: 2.30/2.31
Other Packages Required: none
Other Packages Conflict: none


Contents

Description

BFW-get is a script "apt-get like" which automates the installation of addons: mount /mnt, verifies that the dependencies the addon is installed, check for conflicts with already installed addons, download the addon, unmount the /mnt and asks whether to back up and reboot, if it is selected not to restart the system, it will prompt you to unzip (install) the addon and when unzip it, it will check if the package contains an rc file, if yes, will start it, thus beginning the addon

also makes the automation of the removal of packages: mount /mnt, remove the addon, unmount the /mnt and asks whether to back up and reboot

was fitted by the simple fact of being faster and more practical to type for example {box/quote|bfw-get install squid tinyphp tinymysql mysar}} than

mt cd /mnt wget http://www.brazilfw.com.br/users/marcos/squid/squid.tgz wget http://www.brazilfw.com.br/users/cmartin/addons/tiny/tinyphp.tgz wget http://www.brazilfw.com.br/users/cmartin/addons/tiny/tinymsql.tgz wget http://www.brazilfw.com.br/users/cmartin/addons/tiny/tinymsar.tgz cd / umt backup reboot


Note: after the last update was possible to install addons without rebooting the system, which allows to install new addons with no loss of uptime

Usage

Sintaxe: bfw-get <list [category]>/<install addons>/<remove addons>/<update> list - list the addons available (if cite category, list the addons of it) install - install the addons remove - remove the addons update - updates the list of addons

to install an addon along with its dependencies, put the dependencies BEFORE the addon

Notes

  • This was my first "truly script", until I get to ride it (yes, I took a long time to end it =x) my scripts were only a sequence of 2 or 3 commands that I used to do on the pc to do something
  • You will probably have MANY things to implement it yet (how to check if any addon depends on the addon being removed), but I have not idea how to do, if anyone wants to help me, I would be very grateful =D
  • List of addons available (the bfw-get is there to facilitate the update of it):

bwm - A realtime bandwidth monitor for BFW limitconn - Connection limit setting allows us to cap connections, ports are not blocked IPs and we do not want to limit netstat-nat - A console-based network monitoring connections utility for Linux iptraf - A console-based network monitoring utility for Linux tcp-track - Connection tracking utility intrusos - This addon creates a portal and sets up a subnet and DHCP service automatically to use with non-registred users in the DHCP reserves (as intruders) split - Split traffic by port, ip, etc load-balancing-check - The script checks the status of all Internet lines and keeps their states watchdogip - It is a simple tool fully configurable. Its function is to detect and repair falls of isp bandwidthd - BandwidthD tracks usage of TCP/IP network subnets and builds html files with graphs to display utilization libgd - required by bandwidthd libpng - required by bandwidthd netstrain - network throughput testing tool wavemon - Monitor for wireless devices squid - A Web proxy and cache sarg - Squid Analysis Report Generator dansguardian - squid web content filter dansguardian-lite - squid content filter (lite version) tcp-outgoing - With this little tool besides squid and with at least 2 WAN lines making load balance, we can make that some web pages be redirected to one or another WAN in a predefined way sqstat - SqStat-squid Real time Monitoring ipupdate - IPUpdate runs in the background, checks for IP address changes and updates your domains automatically mysar - realtime squid report generator tinyphp - Tiny Addons series Framework tinysql3 - Tiny Addons series Backend tinymysql - Tiny Addons series Backend imspector - Instant Messengers Control libssl - SSL crypto library libcrypt - crypto library imsniff - tracking MSN libpcap - pcap library tinyproxy - tinyproxy is a fast light-weight HTTP non-caching proxy dnscache - Dns cache on Hard Disk bind - Cache DNS libbind9 - bind library libdns - dns library libiconv - iconv library libisc - isc library libisccc - isccc library libisccfg - isccfg library liblwres - lwres library libxml2 - xml2 library easy-captive - Easy Captive bfw-get - addons install manager monit - Monit is a status viewer of hardware and software for real-time Linux systems. squidcacheaux - The SquidCacheAux contains Perl scripts, which were developed / designed to meet the needs of cache contents of WindowsUpdate (Windows and Office) and Youtube perl - Perl is a programming language and stable and multiplatform perldatetimemodule - required by squidcacheaux lynx - text mode web browser wgetnice - wget (recompiled) and nice for bfw


History

14/January/2010 - Package created
25/February/2010 - Package updated
changenotes:

Bugfix: After removing the package, if the chosen system must be restarted, while backing up, he recreated the file, now it also removes the file addon.list, so backing up will no longer recreate the addon removed

Update: addons.lst file now has monit and squidcacheaux and their (current) dependencies - both addons are being tested, but has been showing stable and ready for use ... was also added a new field: rc bearing the names of the rc file of the package (if it has, unless they hold will be filled with none)

New: When installing a new package, and choose which system should not be restarted, it asked whether the packet should be decompressed, if chosen so it will unzip the addon on / (thus putting the files in their respective locations) and if you are in a rc addons.lst registered for the package, it will initialize it (what does that mean? no more loss of uptime when installing a new addon for restarting the system! dancing) - remembering that it will after decompression (and the startup rc) in the order they are downloaded, just one addon should be performed after its dependencies (although it was so)


External links

(translated with google translate)

Languages Language: 

ingles  • Español  • Português do Brasil

Personal tools