aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/t2hproxy/t2hproxy.xinetd
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2005-05-17 16:44:57 +0000
committerMichael Brown <mcb30@etherboot.org>2005-05-17 16:44:57 +0000
commit1097cf8685cd81f0003bd6f17d050e5174a85b90 (patch)
tree47a39f2a1e980cca43c28c4d1a6dfdf431b910b2 /contrib/t2hproxy/t2hproxy.xinetd
parent75a5374d79ee0defc46c306731142faccc6eda60 (diff)
downloadipxe-1097cf8685cd81f0003bd6f17d050e5174a85b90.tar.gz
Initial revision
Diffstat (limited to 'contrib/t2hproxy/t2hproxy.xinetd')
-rw-r--r--contrib/t2hproxy/t2hproxy.xinetd29
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/t2hproxy/t2hproxy.xinetd b/contrib/t2hproxy/t2hproxy.xinetd
new file mode 100644
index 000000000..ea6a03f1e
--- /dev/null
+++ b/contrib/t2hproxy/t2hproxy.xinetd
@@ -0,0 +1,29 @@
+# Description: tftp to http proxy
+# A sample config file for xinetd, edit and put in /etc/xinetd.d
+# then killall -HUP xinetd, or restart xinetd
+
+service t2hproxy
+{
+ type = UNLISTED
+ id = t2hproxy
+ socket_type = dgram
+ protocol = udp
+#
+# The pathname to where you have installed it
+#
+ server = /usr/local/sbin/t2hproxy.pl
+#
+# If your filenames don't start with /, then the trailing
+# slash is needed
+#
+ server_args = --prefix http://localhost/
+#
+# --proxy http://proxyhost:3128/ can also be appended
+#
+ log_type = FILE /var/log/t2hproxy.log
+ user = nobody
+ wait = yes
+ instances = 10
+ disable = no
+ port = 69
+}