-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bjarni R. Einarsson
committed
Aug 10, 2011
1 parent
058ed25
commit ad6b8e1
Showing
4 changed files
with
214 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
pagekite.lua | ||
version 0.3, 4/8/2011 | ||
by Stelios Mersinas (steliosm@gmail.com) | ||
|
||
|
||
This is a backend client for PageKite protocol/service implemented in Lua targeting at small embedded systems that are able to run Lua. | ||
|
||
|
||
INSTALLATION NOTES | ||
You need to have recent Lua version installed along with the Lua-socket module. Extract the archive which will create a pagekite directory. Rename the dot-config file to .config. Edit the .config file to suit your setup (private PageKite front-end or public Pagekite front-end). Run start.sh and you should be OK. a log file named log will be crated to display the status of the client, mainly crashes and restarts. You can set the option debug = 1 in the config file to have a more detailed output about what the client is doing. | ||
|
||
|
||
NEW FEATURES | ||
v0.3: Supports tunnel status check using Ping requests. | ||
The shell script will restart the service in case of a segfault (had a few during developing and testing the client). | ||
|
||
|
||
BUG FIXES | ||
Did you find a bug? E-mail me! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
-- Configuration | ||
-- NOTE: To use, please edit and rename to .config | ||
|
||
-- Production Front End configuration | ||
pk_site = 'USER.pagekite.me' | ||
pk_server = '178.79.140.143' | ||
pk_server_port = 443 | ||
pk_server_token = 'SECRET' | ||
-- | ||
-- Pagekite Back-end configuration file | ||
-- | ||
|
||
-- Web Server configuration | ||
-- Front-End server | ||
pk_site = '<Put your PageKite name here>' | ||
pk_server = '<Put your Front-End server here>' | ||
pk_server_port = <Front-End Connection Port> | ||
pk_server_token = '<Your Shared Token>' | ||
|
||
-- Web Server | ||
proxy_web = "127.0.0.1" | ||
proxy_web_port = 80 | ||
|
||
-- Varius settings | ||
debug = False | ||
debug = 0 | ||
server_reconnect = 1 | ||
|
Oops, something went wrong.