View Single Post
Old 02-15-2013, 05:33 PM   #1
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,998
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
KUAL Firewall with BBB filter

What is this thing for?

Normally, the Kindle's firewall prohibits any incoming connections.
(except some 3G control thingies)

This firewall normally also prohibits any incoming connections.
(except the same 3G control thingies)

What this KUAL firewall does is adopt an infrastructure that will allow the automation (by button tap) of adding and removing network services and adjusting the firewall rules to match.

Network services such as ssh, ftp, rsync (for syncronizing the Kindle filesystem to/from a remote computer), and about 1,000 others.

The **base** infrastructure of this firewall also includes the "Block Big Brother" output filter by default.
There is a button to remove the BBB filter if desired, leaving just the new infrastructure to support the future automation of network service addition and removal.

Installation
  • Un-pack the archive
  • Move or copy the bbb directory (and its sub-directories and files) as an entry under the */extensions directory in USB storage.


There will be two directories created when you un-pack the archive: bbb and: refs.
The 'refs' directory does not have to be on the Kindle - keep it wherever you keep your reference materials.

The two files under 'refs' is your license to use this firewall rule-set and the listing of registration information for the IP address ranges being blocked by the BBB filter.

Button Functions
Load firewall/BBB filter (/ == 'with')
Remove BBB filter only (leaves the new infrastructure behind)
Generate packet report (For the curious, and for inclusion with trouble reports)
Clear packet counters (guess what)
Load factory firewall (re-loads the Amazon factory firewall)

The two control buttons (Packet Report, and Clear Counters) works with either this new firewall or the Amazon firewall.

BIG RED NOTE: The new firewall does not survive a kernel re-boot, YOU must reload it after re-booting the Linux kernel.

Enjoy, feedback welcome.

Sources: http://hg.minimodding.com/repos/sys/...4ea620e/simple
Attached Files
File Type: gz bbb-1.0.0.tar.gz (4.1 KB, 226 views)
File Type: zip bbb-1.0.0.zip (6.7 KB, 699 views)

Last edited by knc1; 02-15-2013 at 09:02 PM.
knc1 is offline   Reply With Quote