<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF">
<div id="smartTemplate4-quoteHeader">subject is too long. it should
be like this. <br>
<br>
subject: <br>
spec: Open 8000 and 8001 port by default in spec.in post section.<br>
<br>
commit message: <br>
kimchi server use 8000 and 8001 port. Open 8000 and 8001 port by
default in spec.in post section.<br>
<br>
</div>
<div class="moz-cite-prefix">On 12/17/2013 02:36 PM,
<a class="moz-txt-link-abbreviated" href="mailto:taget@linux.vnet.ibm.com">taget@linux.vnet.ibm.com</a> wrote:<br>
</div>
<blockquote
cite="mid:1387262194-5265-1-git-send-email-taget@linux.vnet.ibm.com"
type="cite">
<pre wrap="">From: Eli Qiao <a class="moz-txt-link-rfc2396E" href="mailto:taget@linux.vnet.ibm.com"><taget@linux.vnet.ibm.com></a>
Signed-off-by: Eli Qiao <a class="moz-txt-link-rfc2396E" href="mailto:taget@linux.vnet.ibm.com"><taget@linux.vnet.ibm.com></a>
---
contrib/kimchi.spec.fedora.in | 5 +++++
contrib/kimchi.spec.suse.in | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/contrib/kimchi.spec.fedora.in b/contrib/kimchi.spec.fedora.in
index 14ec359..f21ae49 100644
--- a/contrib/kimchi.spec.fedora.in
+++ b/contrib/kimchi.spec.fedora.in
@@ -81,6 +81,11 @@ if [ $1 -eq 1 ] ; then
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi
+# open 8000 and 8001 port for firewall
+
+iptables -I INPUT -p tcp --dport 8000 -j ACCEPT
+iptables -I INPUT -p tcp --dport 8001 -j ACCEPT
+
%if 0%{?rhel} == 6
start kimchid
%else
diff --git a/contrib/kimchi.spec.suse.in b/contrib/kimchi.spec.suse.in
index 9051284..5209e03 100644
--- a/contrib/kimchi.spec.suse.in
+++ b/contrib/kimchi.spec.suse.in
@@ -47,6 +47,11 @@ install -Dm 0755 contrib/kimchid.sysvinit %{buildroot}%{_initrddir}/kimchid
service kimchid start
chkconfig kimchid on
+# open 8000 and 8001 port for firewall
+
+iptables -I INPUT -p tcp --dport 8000 -j ACCEPT
+iptables -I INPUT -p tcp --dport 8001 -j ACCEPT
+
%preun
service kimchid stop
</pre>
</blockquote>
in src/kimchi.conf.in<br>
[server]<br>
# Hostname or IP address to listen on<br>
#host = 0.0.0.0<br>
<br>
# Port to listen on<br>
#port = 8000<br>
<br>
# If present, start an SSL-enabled server on the given port<br>
#ssl_port = 8001<br>
<br>
<br>
we can change port. <br>
Such the port is 9000 and the ssl_port is 9001<br>
<br>
we have already file a wiki about this:<br>
<a class="moz-txt-link-freetext" href="https://github.com/kimchi-project/kimchi/wiki/Firewall-configure">https://github.com/kimchi-project/kimchi/wiki/Firewall-configure</a><br>
It is possible that the Kimchi is started at different ports other
than the default ports 8000, 8001, that requires the firewall
configuration scripts to know the Kimchi's port configuration.<br>
<br>
<br>
<div class="moz-signature">
<pre>Sheldon Feng(冯少合)<shaohef@linux.vnet.ibm.com>
IBM Linux Technology Center</shaohef@linux.vnet.ibm.com></pre>
</div>
</body>
</html>
<p></p>
-- <br />
project-kimchi mailing list <project-kimchi@googlegroups.com><br />
<a href="https://groups.google.com/forum/#!forum/project-kimchi">https://groups.google.com/forum/#!forum/project-kimchi</a><br />
--- <br />
You received this message because you are subscribed to the Google Groups "project-kimchi" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to project-kimchi+unsubscribe@googlegroups.com.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />