[zope-pt] Configuração de portas - zope + ubuntu 7.10

2009-03-18 Por tôpico andretiernoyamin
Olá a todos,

Desculpem a pergunta meio off topic, mas estou com muita dificuldade de 
encontrar a resposta na documentação do ubuntu.

Instalei uma nova instancia zope num servidor que administro, e não consigo 
fazer com que ela responda em nenhuma porta exeto a 8080 (que já esta em uso 
por outra instancia zope)
Contactei meu host e ele disse que não existe nenhuma restrição por parte do 
roteador deles.
Eu nunca mexi nas configurações de firewall do ubuntu, alias meus conhecimentos 
de linux são bem reduzidos.

Alguem sabe como verifico se existe alguma limitação nas outras portas?

Listo abaixo algumas informações que acho que podem ajudar...

Desde já agradeço,

André.

obs. Se acharem que a questão é muito off, podem me responder em pvt.




A mesma instancia configurada pra atender na 8080 e depois na 8181 tem 
respostas bem diferentes com o comando netstat -an|grep 8080 e 8181

$ netstat -an|grep 8181
tcp0  0 0.0.0.0:81810.0.0.0:*   LISTEN

$ netstat -an|grep 8080
tcp0  0 0.0.0.0:80800.0.0.0:*   LISTEN
tcp0  0 127.0.0.1:8080  127.0.0.1:55800 ESTABLISHED
tcp0  0 127.0.0.1:8080  127.0.0.1:55799 ESTABLISHED
tcp0  0 127.0.0.1:55798 127.0.0.1:8080  TIME_WAIT 
tcp0  0 127.0.0.1:55799 127.0.0.1:8080  ESTABLISHED
tcp0  0 127.0.0.1:55796 127.0.0.1:8080  TIME_WAIT 
tcp0  0 127.0.0.1:55797 127.0.0.1:8080  TIME_WAIT 
tcp0  0 127.0.0.1:55795 127.0.0.1:8080  ESTABLISHED
tcp0  0 127.0.0.1:55793 127.0.0.1:8080  ESTABLISHED
tcp0  0 127.0.0.1:55800 127.0.0.1:8080  ESTABLISHED
tcp0  0 127.0.0.1:8080  127.0.0.1:55795 ESTABLISHED
tcp0  0 127.0.0.1:8080  127.0.0.1:55793 ESTABLISHED


# iptables -L
Chain INPUT (policy DROP)
target prot opt source   destination
ACCEPT 0--  anywhere anywhere
ACCEPT tcp  --  anywhere anywheretcp flags:ACK/ACK
ACCEPT 0--  anywhere anywherestate ESTABLISHED
ACCEPT 0--  anywhere anywherestate RELATED
ACCEPT udp  --  anywhere anywhereudp spt:domain 
dpts:1024:65535
ACCEPT icmp --  anywhere anywhereicmp echo-reply
ACCEPT icmp --  anywhere anywhereicmp 
destination-unreachable
ACCEPT icmp --  anywhere anywhereicmp source-quench
ACCEPT icmp --  anywhere anywhereicmp time-exceeded
ACCEPT icmp --  anywhere anywhereicmp 
parameter-problem
ACCEPT tcp  --  anywhere anywheretcp dpt:ssh
ACCEPT tcp  --  anywhere anywheretcp dpt:auth
ACCEPT tcp  --  anywhere anywheretcp dpt:webmin
ACCEPT tcp  --  anywhere anywheretcp dpt:ftp
ACCEPT tcp  --  anywhere anywheretcp dpt:smtp
ACCEPT tcp  --  anywhere anywheretcp dpt:www
ACCEPT tcp  --  anywhere anywheretcp dpt:pop3
ACCEPT tcp  --  anywhere anywheretcp dpt:https
ACCEPT tcp  --  anywhere anywheretcp dpt:domain
ACCEPT udp  --  anywhere anywhereudp dpt:domain
ACCEPT tcp  --  anywhere anywheretcp dpt:auth
ACCEPT tcp  --  anywhere anywheretcp multiport 
ports webmin
ACCEPT tcp  --  anywhere anywheretcp dpt:webcache

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination



[zope-pt] Configuração de portas - zope + ubuntu 7.10

2009-03-18 Por tôpico André Yamin
Olá a todos,

Desculpem a pergunta meio off topic, mas estou com muita dificuldade de
encontrar a resposta na documentação do ubuntu.
Instalei uma nova instancia zope num servidor que administro, e não consigo
fazer com que ela responda em nenhuma porta exeto a 8080 (que já esta em uso
por outra instancia zope)
Contactei meu host e ele disse que não existe nenhuma restrição por parte do
roteador deles.
Eu nunca mexi nas configurações de firewall do ubuntu, alias meus
conhecimentos de linux são bem reduzidos.

Alguem sabe como verifico se existe alguma limitação nas outras portas?

Listo abaixo algumas informações que acho que podem ajudar...

Desde já agradeço,

André.

obs. Se acharem que a questão é muito off, podem me responder em pvt.




A mesma instancia configurada pra atender na 8080 e depois na 8181 tem
respostas bem diferentes com o comando netstat -an|grep 8080 e 8181

$ netstat -an|grep 8181
tcp0  0 0.0.0.0:81810.0.0.0:*   LISTEN

$ netstat -an|grep 8080
tcp0  0 0.0.0.0:80800.0.0.0:*
LISTEN
tcp0  0 127.0.0.1:8080  127.0.0.1:55800
ESTABLISHED
tcp0  0 127.0.0.1:8080  127.0.0.1:55799
ESTABLISHED
tcp0  0 127.0.0.1:55798 127.0.0.1:8080
TIME_WAIT
tcp0  0 127.0.0.1:55799 127.0.0.1:8080
ESTABLISHED
tcp0  0 127.0.0.1:55796 127.0.0.1:8080
TIME_WAIT
tcp0  0 127.0.0.1:55797 127.0.0.1:8080
TIME_WAIT
tcp0  0 127.0.0.1:55795 127.0.0.1:8080
ESTABLISHED
tcp0  0 127.0.0.1:55793 127.0.0.1:8080
ESTABLISHED
tcp0  0 127.0.0.1:55800 127.0.0.1:8080
ESTABLISHED
tcp0  0 127.0.0.1:8080  127.0.0.1:55795
ESTABLISHED
tcp0  0 127.0.0.1:8080  127.0.0.1:55793
ESTABLISHED


# iptables -L
Chain INPUT (policy DROP)
target prot opt source   destination
ACCEPT 0--  anywhere anywhere
ACCEPT tcp  --  anywhere anywheretcp
flags:ACK/ACK
ACCEPT 0--  anywhere anywherestate
ESTABLISHED
ACCEPT 0--  anywhere anywherestate RELATED
ACCEPT udp  --  anywhere anywhereudp spt:domain
dpts:1024:65535
ACCEPT icmp --  anywhere anywhereicmp echo-reply
ACCEPT icmp --  anywhere anywhereicmp
destination-unreachable
ACCEPT icmp --  anywhere anywhereicmp
source-quench
ACCEPT icmp --  anywhere anywhereicmp
time-exceeded
ACCEPT icmp --  anywhere anywhereicmp
parameter-problem
ACCEPT tcp  --  anywhere anywheretcp dpt:ssh
ACCEPT tcp  --  anywhere anywheretcp dpt:auth
ACCEPT tcp  --  anywhere anywheretcp dpt:webmin
ACCEPT tcp  --  anywhere anywheretcp dpt:ftp
ACCEPT tcp  --  anywhere anywheretcp dpt:smtp
ACCEPT tcp  --  anywhere anywheretcp dpt:www
ACCEPT tcp  --  anywhere anywheretcp dpt:pop3
ACCEPT tcp  --  anywhere anywheretcp dpt:https
ACCEPT tcp  --  anywhere anywheretcp dpt:domain
ACCEPT udp  --  anywhere anywhereudp dpt:domain
ACCEPT tcp  --  anywhere anywheretcp dpt:auth
ACCEPT tcp  --  anywhere anywheretcp multiport
ports webmin
ACCEPT tcp  --  anywhere anywheretcp
dpt:webcache

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination