summaryrefslogtreecommitdiff
path: root/files/common/etc
AgeCommit message (Collapse)Author
2012-06-19move fsm, geolocate, p2ptbl, shuf to external reposplugnprayJan Huwald
- remove fsm, geolocate, p2ptbl, shuf - update .config - update paths (the package install into /usr/sbin instead of /sbin)
2012-05-21update hbbpJan Huwald
This patch handles the update of hbbp in the ffj-feed.
2012-04-27remove br-lan octet (200) from the list of br-mesh octectsJan Huwald
2012-04-27enable gossip protocol for wifi ccfgJan Huwald
wire ccfg is not distributed as it is local per node (also add the forgotten symlink for the splash p2ptbl)
2012-04-27ccfg: sync dnsmasq dhcp config with ccfg p2ptblJan Huwald
2012-04-27add config option for default wired client modeJan Huwald
to be used in client config webif
2012-04-27create ccfg tables during bootJan Huwald
2012-04-27delete /etc/config/splash_usersJan Huwald
2012-04-27service httpd: listen on br-lan IPv4 address (now rly)Jan Huwald
2012-04-23splash: move locking to splash_syncJan Huwald
2012-04-23rewrite splash to use a p2ptblJan Huwald
- 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
2012-04-23do not use init.d/n2n enable/disable in FSMJan Huwald
Otherwise N2N might be started after next boot independent of the inetable state.
2012-04-23service httpd: listen on br-lan IPv4 addressJan Huwald
2012-04-06 * removed broken, hardcoded n2n-interface mac-adress settingegon_ffj
2012-04-06 * added n2n cloudvpn in queen-modeegon_ffj
2012-04-06 * added n2n default config for freifunk jenaegon_ffj
2012-04-03Merge branch 'plugnpray' of ↵egon_ffj
git://git.freifunk-jena.de/freifunk/ffj-buildroot-v2 into plugnpray
2012-03-30Merge branch 'plugnpray' of git.freifunk-jena.de:freifunk/ffj-buildroot-v2 ↵Jan Huwald
into plugnpray
2012-03-30webif: add router config apiJan Huwald
2012-03-30adapt splash and robinson redirection to new webifJan Huwald
2012-03-30add geolocation via wifiJan Huwald
the result is written to uci system.position.{lon,lat,street}
2012-03-11changed essid of ad-hoc-interface to batman.freifunk-jena.deegon_ffj
2012-03-11 * new mobile pubkey for egonegon_ffj
2012-03-06Firewall now automaticly drops Packets coming from br-mesh to 192.168.0.0/16lcb01
(cherry picked from commit 0b321c77a3e3fb030a9a5c1f18a12c5b2fbc2a16) Signed-off-by: Jan Huwald <jh@sotun.de>
2012-03-06add start_ip & end_ip to mesh dhcp configJan Huwald
Otherwise the DHCP server allways serves X.X.0.2 - X.X.1.0 (via 2603713eb66680ccdb03e7409a5f2ec152534849)
2012-03-06add ntp server to system configJan Huwald
2012-03-06Added "option wmm 0" to AP iface of wireless config (Fixes deauths)Jan Huwald
(from ff49ff9614058a8940149a3cae0f3206e5c641a7)
2012-03-06*Changed hbbp initscript to start at 45 (after the network has been initialized)lcb01
(cherry picked from commit 655ced35fd98c15f3502cfdb972bd61034a604f3) Signed-off-by: Jan Huwald <jh@sotun.de>
2012-03-05move config for batman-adv and wireless to commonKatze Miau
2012-03-05adapt base config for dir300Katze Miau
2012-03-04add another ssh keyKatze Miau
2011-12-20remove all hardcoded references to FFJ IP range, use /etc/config/cloud insteadKatze Miau
Replace the last bits of hardcoded FFJ IP range outside /etc/config - residing in fsm inetable state transitions - with IP ranges calculated from /etc/config/cloud.
2011-12-20cosmetic fixes missed in the previous commitKatze Miau
2011-12-20reintegrate splashKatze Miau
- 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
2011-12-20/etc/firewall.user: add chains used for splash redirectionKatze Miau
2011-12-19add fake name resolution to robinson state, add /etc/firewall.use, use cloud ↵Katze Miau
config 1. When in robinson state the router now resolves all domain names to an IP in the robinson fake net (as defined in /etc/config/cloud). All tcp traffic to this network (and the rest of the internet) is redirected to a local webserver. 2. The ip addresses in robinson state are now generated in the ranges given in /etc/config/cloud
2011-12-19add /etc/config/cloudKatze Miau
This file is intended to centrally store all information specific to the local mesh cloud (name of the local freifunk community, used address ranges, ...) that is - device independent (e.g. no device names) - does not fit in another config file (e.g. freifunk community name) or is subject to change during runtime (e.g. robinson network address range) Ultimately it shall be generated during image creation.
2011-12-19dnsmasq config: remove .lan domainKatze Miau
2011-12-11/etc/config/dhcp: copy OpenWRT default to our configKatze Miau
The next patch will need this to build catch-all DNS for the robinson state.
2011-12-11fsm inetable: change httpd instances in queen/ghost/robinson statesKatze Miau
- 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
2011-12-11fsm inetable: add uhttpd state helpers, enable service httpd at bootKatze Miau
Add function to enable/disable/change the uhttpd uci config state. Use these functions to start the service httpd, listening on the link-local IPv6 addresses of br-lan and br-mesh.
2011-12-11split /www into subdirs for several services; adapt uhttpd configKatze Miau
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.
2011-12-11fsm inetable: sync mesh iface w/ uci, use batctl gw off, reduce redundancyKatze Miau
- add mesh_add/del_ipv4 to set/unset IPv4 addresses of mesh iface; the address is set using ifconfig to avoid ifudown+ifup but also updated in UCI to maintain a consistent state - use this function in queen, ghost and robinson state transitions - use `batctl gw off` in robinson state: this allows to deliever local DHCP replies while dropping the idea of announcing fake gateways - ghost.leave reuses queen.leave
2011-12-09fix fsm inetable trans/queen.enterKatze Miau
2011-12-09watch FSM inetable every minute, gossip gwip table at the same rateKatze Miau
2011-12-09add FSM inetableKatze Miau
- implemented according to documentation - almost no tests so far
2011-12-09remove p2ptbl testKatze Miau
2011-12-09fix /etc/init.d/nodeidKatze Miau
2011-12-09add cron job to watch update FSM and gossip update p2p tableKatze Miau
For debugging reasons both cronjobs are executed once per minute. This rate should be reduced before deployment in larger networks.
2011-12-09create /etc/nodeid on first startupKatze Miau
Add a init script that - early during the first boot only - creates /etc/nodeid and fills it with a unique identifer. This nodeid is persistent across reboots and protected from sysupgrades.
contact: Jan Huwald // Impressum