Changeset 1422
- Timestamp:
- 09/25/09 18:38:13 (3 years ago)
- Location:
- trunk/wifidog
- Files:
-
- 2 added
- 2 removed
- 7 modified
-
ChangeLog (modified) (1 diff)
-
configure.in (modified) (1 diff)
-
contrib/build-openwrt-kamikazeipk/wifidog/Makefile (modified) (2 diffs)
-
contrib/build-openwrt-kamikazeipk/wifidog/files/wifidog.conf (added)
-
contrib/build-openwrt-kamikazeipk/wifidog/patches/001-wifidog_conf_patch.patch (deleted)
-
contrib/build-openwrt-kamikazeipk8.09up/wifidog/Makefile (modified) (5 diffs)
-
contrib/build-openwrt-kamikazeipk8.09up/wifidog/files/wifidog.conf (added)
-
contrib/build-openwrt-kamikazeipk8.09up/wifidog/patches/001-wifidog_conf_patch.patch (deleted)
-
contrib/build-openwrt-whiterussianipk/wifidog/Makefile (modified) (2 diffs)
-
contrib/build-openwrt-whiterussianipk/wifidog/files/wifidog.conf (modified) (10 diffs)
-
wifidog.conf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog/ChangeLog
r1420 r1422 1 1 # $Id$ 2 3 2009-09-25 Geneviève Bastien <gbastien@versatic.net> 4 * Release 20090925 5 * Update contrib Makefiles 2 6 3 7 2009-09-17 Geneviève Bastien <gbastien@versatic.net> -
trunk/wifidog/configure.in
r1346 r1422 22 22 WIFIDOG_MINOR_VERSION=1 23 23 WIFIDOG_MICRO_VERSION=5 24 WIFIDOG_VERSION= $WIFIDOG_MAJOR_VERSION.$WIFIDOG_MINOR_VERSION.$WIFIDOG_MICRO_VERSION24 WIFIDOG_VERSION=20090925 25 25 26 26 AC_SUBST(WIFIDOG_MAJOR_VERSION) -
trunk/wifidog/contrib/build-openwrt-kamikazeipk/wifidog/Makefile
r1420 r1422 11 11 12 12 PKG_NAME:=wifidog 13 PKG_VERSION:= 1.1.514 PKG_RELEASE:= 213 PKG_VERSION:=20090925 14 PKG_RELEASE:=1 15 15 16 16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz … … 54 54 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libhttpd.so* $(1)/usr/lib/ 55 55 $(INSTALL_DIR) $(1)/etc 56 $(INSTALL_ CONF) $(PKG_BUILD_DIR)/wifidog.conf $(1)/etc/57 $(INSTALL_ CONF) $(PKG_BUILD_DIR)/wifidog-msg.html $(1)/etc/56 $(INSTALL_DATA) ./files/wifidog.conf $(1)/etc/ 57 $(INSTALL_DATA) $(PKG_BUILD_DIR)/wifidog-msg.html $(1)/etc/ 58 58 $(INSTALL_DIR) $(1)/etc/init.d 59 59 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/wifidog -
trunk/wifidog/contrib/build-openwrt-kamikazeipk8.09up/wifidog/Makefile
r1420 r1422 1 1 # 2 2 # Copyright (C) 2006,2008 OpenWrt.org 3 # Copyright (C) 2008 Technologies Coeus inc.4 3 # 5 4 # This is free software, licensed under the GNU General Public License v2. 6 5 # See /LICENSE for more information. 7 6 # 8 # $Id$9 7 10 8 include $(TOPDIR)/rules.mk 11 9 12 10 PKG_NAME:=wifidog 13 PKG_VERSION:= 1.1.514 PKG_RELEASE:= 211 PKG_VERSION:=20090925 12 PKG_RELEASE:=1 15 13 16 14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz … … 26 24 SECTION:=net 27 25 CATEGORY:=Network 28 DEPENDS:=+ kmod-ipt-extra +iptables-mod-extra +kmod-ipt-ipopt +iptables-mod-ipopt +kmod-ipt-nat +iptables-mod-nat +libpthread +kmod-ipt-nat-extra +iptables-mod-nat-extra26 DEPENDS:=+iptables-mod-extra +iptables-mod-ipopt +iptables-mod-nat +iptables-mod-nat-extra +libpthread 29 27 TITLE:=A wireless captive portal solution 30 28 URL:=http://www.wifidog.org … … 32 30 33 31 define Package/wifidog/description 34 The Wifidog project is a complete and embeddable captive 35 portal solution for wireless community groups or individuals 36 who wish to open a free Hotspot while still preventing abuse 32 The Wifidog project is a complete and embeddable captive 33 portal solution for wireless community groups or individuals 34 who wish to open a free Hotspot while still preventing abuse 37 35 of their Internet connection. 38 36 endef … … 45 43 DESTDIR="$(PKG_INSTALL_DIR)" \ 46 44 all install 47 45 48 46 define Package/wifidog/install 49 47 $(INSTALL_DIR) $(1)/usr/bin … … 54 52 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libhttpd.so* $(1)/usr/lib/ 55 53 $(INSTALL_DIR) $(1)/etc 56 $(INSTALL_ CONF) $(PKG_BUILD_DIR)/wifidog.conf $(1)/etc/57 $(INSTALL_ CONF) $(PKG_BUILD_DIR)/wifidog-msg.html $(1)/etc/54 $(INSTALL_DATA) ./files/wifidog.conf $(1)/etc/ 55 $(INSTALL_DATA) $(PKG_BUILD_DIR)/wifidog-msg.html $(1)/etc/ 58 56 $(INSTALL_DIR) $(1)/etc/init.d 59 57 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/wifidog -
trunk/wifidog/contrib/build-openwrt-whiterussianipk/wifidog/Makefile
r1420 r1422 7 7 8 8 PKG_NAME:=wifidog 9 PKG_VERSION:=1.1.5 10 PKG_RELEASE:=2 11 PKG_MD5SUM:=842b21e1b02d0a90677b289d794e0e21 9 PKG_VERSION:=20090925 10 PKG_RELEASE:=1 11 PKG_MD5SUM:= 12 12 13 PKG_SOURCE_URL:= @SF/$(PKG_NAME) 13 14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz … … 49 50 install -m0755 -d $(IDIR_WIFIDOG)/etc/init.d 50 51 install -m0755 ./files/$(PKG_NAME).init $(IDIR_WIFIDOG)/etc/init.d/S65wifidog 51 install -m0644 $(PKG_BUILD_DIR)/wifidog.conf $(IDIR_WIFIDOG)/etc/52 install -m0644 ./files/wifidog.conf $(IDIR_WIFIDOG)/etc/ 52 53 install -m0644 $(PKG_BUILD_DIR)/wifidog-msg.html $(IDIR_WIFIDOG)/etc/ 53 54 install -m0755 -d $(IDIR_WIFIDOG)/usr/bin -
trunk/wifidog/contrib/build-openwrt-whiterussianipk/wifidog/files/wifidog.conf
r1189 r1422 1 # $Id: wifidog.conf 1 162 2007-01-06 23:51:02Z benoitg$1 # $Id: wifidog.conf 1375 2008-09-30 10:20:06Z wichert $ 2 2 # WiFiDog Configuration file 3 3 … … 7 7 # 8 8 # Set this to the node ID on the auth server 9 # this is used to give a customized login page to the clients and for 10 # monitoring/statistics purpose 9 # This is used to give a customized login page to the clients and for 10 # monitoring/statistics purpose. If you run multiple gateways on the same 11 # machine each gateway needs to have a different gateway id. 11 12 # If none is supplied, the mac address of the GatewayInterface interface will be used, 12 13 # without the : separators … … 18 19 # Optional 19 20 # 20 # Set this to the external interface. Typically vlan1 for OpenWrt, and eth0 or ppp0 otherwise, 21 # Set this to the external interface (the one going out to the Inernet or your larger LAN). 22 # Typically vlan1 for OpenWrt, and eth0 or ppp0 otherwise, 21 23 # Normally autodetected 22 24 … … 27 29 # Mandatory 28 30 # 29 # Set this to the internal interface. Typically br0 for OpenWrt, and eth1 otherwise 31 # Set this to the internal interface (typically your wifi interface). 32 # Typically br0 for whiterussian, br-lan for kamikaze (by default the wifi interface is bridged with wired lan in openwrt) 33 # and eth1, wlan0, ath0, etc. otherwise 34 # You can get this interface with the ifconfig command and finding your wifi interface 30 35 31 36 GatewayInterface br0 … … 35 40 # Optional 36 41 # 37 # Set this to the internal IP address of the gateway 42 # Set this to the internal IP address of the gateway. Not normally required. 38 43 39 44 # GatewayAddress 192.168.1.1 45 46 # Parameter: HtmlMessageFile 47 # Default: wifidog-msg.html 48 # Optional 49 # 50 # This allows you to specify a custome HTML file which will be used for 51 # system errors by the gateway. Any $title, $message and $node variables 52 # used inside the file will be replaced. 53 # 54 # HtmlMessageFile /opt/wifidog/etc/wifidog-.html 40 55 41 56 # Parameter: AuthServer … … 47 62 # WiFiDog-auth resides in and the port it listens on. 48 63 #AuthServer { 49 # Hostname (Mandatory; Default: NONE) 50 # SSLAvailable (Optional; Default: no; Possible values: yes, no) 51 # SSLPort 443 (Optional; Default: 443) 52 # HTTPPort 80 (Optional; Default: 80) 53 # Path wifidog/ (Optional; Default: /wifidog/ Note: The path must be both prefixed and suffixed by /. Use a single / for server root.) 64 # Hostname (Mandatory; Default: NONE) 65 # SSLAvailable (Optional; Default: no; Possible values: yes, no) 66 # SSLPort (Optional; Default: 443) 67 # HTTPPort (Optional; Default: 80) 68 # Path (Optional; Default: /wifidog/ Note: The path must be both prefixed and suffixed by /. Use a single / for server root.) 69 # LoginScriptPathFragment (Optional; Default: login/? Note: This is the script the user will be sent to for login.) 70 # PortalScriptPathFragment (Optional; Default: portal/? Note: This is the script the user will be sent to after a successfull login.) 71 # MsgScriptPathFragment (Optional; Default: gw_message.php? Note: This is the script the user will be sent to upon error to read a readable message.) 72 # PingScriptPathFragment (Optional; Default: ping/? Note: This is the script the user will be sent to upon error to read a readable message.) 73 # AuthScriptPathFragment (Optional; Default: auth/? Note: This is the script the user will be sent to upon error to read a readable message.) 54 74 #} 55 75 … … 66 86 #} 67 87 68 # Parameter: Portal69 # Default: none70 # Optional71 #72 # Set this to a URL for your portal, if you run without an auth server73 # Portal http://www.ilesansfil.org/74 75 88 # Parameter: Daemon 76 89 # Default: 1 … … 100 113 # How many sockets to listen to 101 114 # HTTPDMaxConn 10 115 116 # Parameter: HTTPDRealm 117 # Default: WiFiDog 118 # Optional 119 # 120 # The name of the HTTP authentication realm. This only used when a user 121 # tries to access a protected WiFiDog internal page. See HTTPUserName. 122 # HTTPDRealm WiFiDog 123 124 # Parameter: HTTPDUserName / HTTPDPassword 125 # Default: unset 126 # Optional 127 # 128 # The gateway exposes some information such as the status page through its web 129 # interface. This information can be protected with a username and password, 130 # which can be set through the HTTPDUserName and HTTPDPassword parameters. 131 # HTTPDUserName admin 132 # HTTPDPassword secret 102 133 103 134 # Parameter: CheckInterval … … 144 175 # Used for rules to be applied to all other rulesets except locked. 145 176 FirewallRuleSet global { 146 # This is the default config for the Teliphone service. 177 ## To block SMTP out, as it's a tech support nightmare, and a legal liability 178 #FirewallRule block tcp port 25 179 180 ## Use the following if you don't want clients to be able to access machines on 181 ## the private LAN that gives internet access to wifidog. Note that this is not 182 ## client isolation; The laptops will still be able to talk to one another, as 183 ## well as to any machine bridged to the wifi of the router. 184 # FirewallRule block to 192.168.0.0/16 185 # FirewallRule block to 172.16.0.0/12 186 # FirewallRule block to 10.0.0.0/8 187 188 ## This is an example ruleset for the Teliphone service. 147 189 #FirewallRule allow udp to 69.90.89.192/27 148 190 #FirewallRule allow udp to 69.90.85.0/27 149 191 #FirewallRule allow tcp port 80 to 69.90.89.205 150 # To block SMTP out, as it's a tech support nightmare, and a legal liability151 #FirewallRule block tcp port 25152 192 } 153 193 … … 180 220 # Rule Set: locked-users 181 221 # 182 # Used for users that have been locked out.222 # Not currently used 183 223 FirewallRuleSet locked-users { 184 224 FirewallRule block to 0.0.0.0/0 -
trunk/wifidog/wifidog.conf
r1375 r1422 30 30 # 31 31 # Set this to the internal interface (typically your wifi interface). 32 # Typically br0 for OpenWrt, and eth1, wlan0, ath0, etc. otherwise 32 # Typically br0 for whiterussian, br-lan for kamikaze (by default the wifi interface is bridged with wired lan in openwrt) 33 # and eth1, wlan0, ath0, etc. otherwise 34 # You can get this interface with the ifconfig command and finding your wifi interface 33 35 34 36 GatewayInterface br0
