Newsgroup: it.comp.os.linux.iniziare
Titolo: Update + firewall

Non riesco ad aggiornare la mia Linux Box UBuntu.
Ma in input devo aprire qualcosa?
# cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 6.06.1 _Dapper Drake_ - Release i386 
(20060807.1)]/ dapper main restricted
# deb cdrom:[Ubuntu-Server 6.06.1 _Dapper Drake_ - Release i386 
(20060807.1)]/ dapper main restricted
deb 
http://archive.ubuntu.com/ubuntu/
 dapper main restricted multiverse 
universe
deb-src 
http://archive.ubuntu.com/ubuntu/
 dapper main restricted 
multiverse universe
## Major bug fix updates produced after the final release of the
## distribution.
deb 
http://archive.ubuntu.com/ubuntu/
 dapper-updates main restricted 
multiverse universe
deb-src 
http://archive.ubuntu.com/ubuntu/
 dapper-updates main restricted 
multiverse universe
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
  deb 
http://archive.ubuntu.com/ubuntu/
 dapper universe multiverse universe
  deb-src 
http://archive.ubuntu.com/ubuntu/
 dapper universe multiverse 
universe
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
  deb 
http://archive.ubuntu.com/ubuntu/
 dapper-backports main restricted 
universe multiverse
  deb-src 
http://archive.ubuntu.com/ubuntu/
 dapper-backports main 
restricted universe multiverse
deb 
http://security.ubuntu.com/ubuntu
 dapper-security main restricted 
multiverse
deb-src 
http://security.ubuntu.com/ubuntu
 dapper-security main 
restricted multiverse
  deb 
http://security.ubuntu.com/ubuntu
 dapper-security universe
  deb-src 
http://security.ubuntu.com/ubuntu
 dapper-security universe
firewall:
#!/bin/sh
/sbin/iptables -P INPUT DROP
/sbin/iptables -P FORWARD DROP
/sbin/iptables -P OUTPUT ACCEPT
/sbin/iptables -A INPUT -i eth0 -p tcp --dport 2222 -s 
192.168.1.0/24
 -j 
ACCEPT
/sbin/iptables -t nat -A POSTROUTING -s 
192.168.1.0/24
 -o ppp0 -j MASQUERADE
/sbin/iptables -A FORWARD -s 
192.168.1.0/24
 -o ppp0 -j ACCEPT
/sbin/iptables -A FORWARD -d 
192.168.1.0/24
 -m state --state 
ESTABLISHED,RELATED -i ppp0 -j ACCEPT
/sbin/iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS 
--clamp-mss-to-pmtu
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/init.d/firewall_casa" 11L, 509C 
                                     1,1           All

 Ma in input devo aprire qualcosa?
La macchina che vuoi aggiornare e la macchina con il firewall sono la stessa 
cosa, o la tua ubuntu sta dietro al firewall?
-- 
GenTLe ...di Varese, provincia.
TL1000S + Mito 125 per la pista
La mia HP: 
http://digilander.iol.it/thegentle/index.htm
Esistono bionde intelligenti? Si', le birre. 

 Non riesco ad aggiornare la mia Linux Box UBuntu.
In che senso non riesci ad aggiornare? Quale messaggio di errore ottieni?
-- 
*** Linux  user #86962 ***
*** Ubuntu user #10853 ***

 
è la stessa

 
si blocca

 
si blocca così e non va più avanti:
# apt-get update
0% [Connecting to 
archive.ubuntu.com
] [Connecting to 
security.ubuntu.com
]

 
si blocca cosě e non va piů avanti:


 
# apt-get update
Err 
http://security.ubuntu.com
 dapper-security Release.gpg
   Temporary failure resolving '
security.ubuntu.com
'
Err 
http://archive.ubuntu.com
 dapper Release.gpg
   Temporary failure resolving '
archive.ubuntu.com
'
0% [Connecting to 
archive.ubuntu.com
]
questo è il nuovo messaggio

 č la stessa
E allora č logico che devi aprire in input, altrimenti come ti arrivano i 
dati? Apri le connessioni tcp e udp dalla interfaccia esterna per le 
connessioni enstablished e related
