Age | Commit message (Collapse) | Author |
|
- remove fsm, geolocate, p2ptbl, shuf
- update .config
- update paths (the package install into /usr/sbin instead of /sbin)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- add p2ptbl splash (see doc/splash.org)
- replace all uci queries with p2ptbl queries
- centralize splash db modification in /etc/splash.sh
- add node to the list of splashed devices upon first use of
/etc/splash.sh (shortly after booting)
- remove locks in cgi-bin/splash_click
|
|
|
|
Add two service lists:
- the index page has a short list with one item per service class
- the service page lists and links all services in full detail
|
|
Returns a copy of the services p2ptbl in JSON format.
|
|
|
|
echos the environment given by uhttpd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A OSM mapping javascript library, see http://openlayers.org/
only the CSS file is added. The JS lib is hosted on
http://www.feinsterfug.de/ffj/webif/OpenLayers.js to save storage (it
is unusable without internet access anyway).
|
|
see http://twitter.github.com/bootstrap/index.html
|
|
|
|
|
|
- add cronjob for splash_sync (every minute for debugging; to be
increased)
- add redirection for unsplashed users in queen.enter, remove it in
queen.leave
- add /etc/splash.sh to centralize functionality used in
/sbin/splash_sync and /www/service/*splash*
- make splash_sync to use a transactional update approach: insert
iptable rules for all splashed MACs into a new chain, then replace
old and new chain; this avoids downtime even if splash_sync is slow
- remove allowed services for splashed users; this is intended to not
move old cruft over to new code; if any of the those services shall
be reenabled, it should happen in /etc/firewall.user
- make /sbin/splash_sync aware of the current state of FSM inetable
(read via /sbin/fsm with optional command line override); this
allows to unconditionally call splash_sync via cron
- add locks to all places where the splash state is touched
- remove multiple escaping/quoting/encoding problems in splash cgi
scripts
- reenable link to the page the user initially demanded in
/www/service/cgi-bin/splash_click
|
|
|
|
|
|
- update the redirection uhttpd config and www-root to redirect all
incoming request to a url specified by /tmp/redirection_target
- use this to implement robinson and splash redirection during
robinson and queen/ghost states, respectively
- change the service httpd to listen on the public IPv4 address
available on the mesh interface in those states.
Missing is the
- iptable based redirection
- already referenced /sbin/urlencode
|
|
This patch splits the single uhttpd instance into two uhttpd instances
with www root /www/<servicename> for the following purposes:
- service :: self-service / debugging / status.xml
- redirection :: use for splash/robinson redirection
The uhttpd uci config is adapted: by default all instances declared
there are disabled; They shall be enabled by the FSM inetable. To this
end a listen_http directive will be added and the config type will be
changed from 'disabled' to 'uhttpd' by state transition scripts.
|
|
|