sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] nginx and SKS


From: David Benfell
Subject: Re: [Sks-devel] nginx and SKS
Date: Mon, 25 Apr 2011 00:29:55 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

Hi Eygene,

On Mon, 25 Apr 2011, Eygene Ryabinkin wrote:

> Sun, Apr 24, 2011 at 09:04:03PM -0700, David Benfell wrote:
> > Does anyone have SKS working with nginx?
> 
> If by "working with nginx" you mean "redirecting from port
> 80 to 11371 using Nginx", I think that the following stanzas
> will help you:
> {{{
>     server {
>         listen       YOUR_IP_HERE:80;
>         server_name  YOUR_DNS_NAME_HERE;
> 
>         rewrite ^.*$ http://SKS_DNS_NAME_HERE:11371/ permanent;
>     }
> }}}
> -- 
> rea

> 

Perhaps I'm unclear on the concept.  Does SKS serve http itself or
does the installation normally add a configuration to apache?  I'm
not worried about redirecting from port 80 to port 11371; I supply
links for that.  My problem is that nothing seems to be listening on
port 11371, though that isn't precisely accurate:

atlanta% sudo netstat -tapn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
PID/Program name
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      
27265/citserver 
tcp        0      0 127.0.0.1:53217         0.0.0.0:*               LISTEN      
2948/php-cgi    
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      
27265/citserver 
tcp        0      0 0.0.0.0:2020            0.0.0.0:*               LISTEN      
27265/citserver 
tcp        0      0 0.0.0.0:5222            0.0.0.0:*               LISTEN      
27265/citserver 
tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      
6132/amavisd (maste
tcp        0      0 74.207.225.79:11370     0.0.0.0:*               LISTEN      
11970/sks       
tcp        0      0 127.0.0.1:10026         0.0.0.0:*               LISTEN      
2889/perl       
tcp        0      0 74.207.225.79:11371     0.0.0.0:*               LISTEN      
11967/sks       
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      
27265/citserver 
tcp        0      0 0.0.0.0:45387           0.0.0.0:*               LISTEN      
2226/rpc.statd  
tcp        0      0 127.0.0.1:10028         0.0.0.0:*               LISTEN      
2904/perl       
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      
27265/citserver 
tcp        0      0 127.0.0.1:3310          0.0.0.0:*               LISTEN      
2647/clamd      
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      
27265/citserver 
tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN      
9312/spamd child
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      
2050/portmap    
tcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN      
27102/webcit    
tcp        0      0 74.207.227.150:80       0.0.0.0:*               LISTEN      
12890/nginx     
tcp        0      0 173.230.137.76:80       0.0.0.0:*               LISTEN      
12890/nginx     
tcp        0      0 74.207.225.79:80        0.0.0.0:*               LISTEN      
12890/nginx     
tcp        0      0 173.230.137.73:80       0.0.0.0:*               LISTEN      
12890/nginx     
tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN      
27265/citserver 
tcp        0      0 0.0.0.0:2001            0.0.0.0:*               LISTEN      
27104/webcit    
tcp        0      0 10.8.0.1:53             0.0.0.0:*               LISTEN      
13348/unbound   
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      
13348/unbound   
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
2174/sshd       
tcp        0      0 0.0.0.0:23              0.0.0.0:*               LISTEN      
2781/inetd      
tcp        0      0 0.0.0.0:504             0.0.0.0:*               LISTEN      
27265/citserver 
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      
27265/citserver 
tcp        0      0 173.230.137.76:443      0.0.0.0:*               LISTEN      
12890/nginx     
tcp        0      0 74.207.225.79:443       0.0.0.0:*               LISTEN      
12890/nginx     
tcp        0      0 173.230.137.73:443      0.0.0.0:*               LISTEN      
12890/nginx     
tcp        0      0 10.8.0.1:5222           10.8.0.22:51240         ESTABLISHED 
27265/citserver 
tcp        0      0 74.207.225.79:80        98.207.219.28:45321     ESTABLISHED 
12891/nginx: worker
tcp        0      0 10.8.0.1:23             10.8.0.22:52201         ESTABLISHED 
15209/in.telnetd: n
tcp        0      0 173.230.137.73:80       80.92.181.172:42358     TIME_WAIT   
-               
tcp        0   2704 10.8.0.1:23             10.8.0.22:38013         ESTABLISHED 
26231/in.telnetd: n
tcp        0      0 74.207.225.79:80        98.207.219.28:51132     ESTABLISHED 
12892/nginx: worker
tcp6       0      0 2001:470:8:1ae::1:11370 :::*                    LISTEN      
11970/sks       
tcp6       0      0 2001:470:8:1ae::1:11371 :::*                    LISTEN      
11967/sks       
tcp6       0      0 2001:470:8:1ae::2:80    :::*                    LISTEN      
12890/nginx     
tcp6       0      0 2001:470:8:1ae::4:80    :::*                    LISTEN      
12890/nginx     
tcp6       0      0 2001:470:8:1ae::1:80    :::*                    LISTEN      
12890/nginx     
tcp6       0      0 2001:470:8:1ae::3:80    :::*                    LISTEN      
12890/nginx     
tcp6       0      0 ::1:53                  :::*                    LISTEN      
13348/unbound   
tcp6       0      0 :::22                   :::*                    LISTEN      
2174/sshd       
tcp6       0      0 2001:470:8:1ae::4:443   :::*                    LISTEN      
12890/nginx     
tcp6       0      0 2001:470:8:1ae::1:443   :::*                    LISTEN      
12890/nginx     
tcp6       0      0 2001:470:8:1ae::3:443   :::*                    LISTEN      
12890/nginx     
atlanta% 

As you can see, sks has ports open.  But when I attempt to visit
http://cybernude.org:11371 my browser fails to connect.  There is no
firewall on the machine; I don't even have iptables installed.

Thanks!
-- 
David Benfell <address@hidden>
http://www.parts-unknown.org/

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]