Skip to content

Commit

Permalink
removing polipo config fixes #95
Browse files Browse the repository at this point in the history
  • Loading branch information
paidforby committed Oct 10, 2018
1 parent ae74d96 commit 619e263
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 50 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ Most configurations relevant to People's Open Network are stored in [/etc/config
* [firewall](https://github.com/sudomesh/sudowrt-firmware/blob/master/files/opt/mesh/templates/etc/config/firewall) - seems to do very little, most firewall settings are handled by meshrouting described in next section
* [network](https://github.com/sudomesh/sudowrt-firmware/blob/master/files/opt/mesh/templates/etc/config/network) - sets up physical ports and virutal interfaces for home node, takes the node's mesh IP and adds it to the necessary interfaces. Also, sets dns server IP addresses, usually the mesh IP of the exit node (e.g. 100.64.0.42 or 100.64.0.43).
* [notdhcpserver](https://github.com/sudomesh/sudowrt-firmware/blob/master/files/opt/mesh/templates/etc/config/notdhcpserver) - sets ports 1 and 2 on home node to only accept connections from devices with the pre-determined extender node IPs. Though, a device connected to these ports doesn't have to be an extender node, it can be any device with the correct IP, typically the node's mesh IP +1 or +2, usage well dcpoumented in the [services guide](https://github.com/sudomesh/babeld-lab/blob/master/services_guide.md#use-case---raspberry-pi-as-wired-mesh-node-via-home-node).
* [polipo](https://github.com/sudomesh/sudowrt-firmware/blob/master/files/opt/mesh/templates/etc/config/polipo) - configures cacheing, does not seem to be used by anything.
* [rpcd](https://github.com/sudomesh/sudowrt-firmware/blob/master/files/opt/mesh/templates/etc/config/rpcd) - sets rpcd login username and password, taken from passwd/shadow files mentioned below.
* [system](https://github.com/sudomesh/sudowrt-firmware/blob/master/files/etc/config/system) - sets the hostname of the node and configuration of indicator LEDs
* [tunneldigger](https://github.com/sudomesh/sudowrt-firmware/blob/master/files/opt/mesh/templates/etc/config/tunneldigger) - sets a list of potential tunnel brokers (i.e. exit nodes) as well as the interface to tunnel over and the upload/download bandwidth limits
Expand Down
8 changes: 0 additions & 8 deletions files/opt/mesh/autoconf
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,6 @@ uci add_list notdhcpserver.@server[0].addresses='eth0.2='$EXTENDER_NODE_IP_2'/32
uci commit notdhcpserver


# config polipo
uci delete polipo.general.allowedClients
uci add_list polipo.general.allowedClients='172.30.0.0/24'
uci add_list polipo.general.allowedClients='127.0.0.1'
uci add_list polipo.general.allowedClients=$MESH_SUBNET_IPv4'/'$MESH_SUBNET_IPv4_BITMASK
uci commit polipo


# config rpcd
uci set rpcd.@login[0].username=$RPCD_USER_NAME
uci set rpcd.@login[0].password='$p$'$RPCD_USER_NAME
Expand Down
41 changes: 0 additions & 41 deletions files/opt/mesh/templates/etc/config/polipo

This file was deleted.

0 comments on commit 619e263

Please sign in to comment.