Cristina! Podes usar: ipfw add check-state ipfw add allow tcp from me to any out via $oif setup uid root keep-state
Sds, Daniel -------------------------------------------------- From: "Cristina Fernandes Silva" <cristinafs.lis...@gmail.com> Sent: Monday, July 20, 2009 2:02 PM To: "Lista Brasileira de Discussão sobre FreeBSD (FUG-BR)" <freebsd@fug.com.br> Subject: Re: [FUG-BR] Erro ao atualizar o libxml2 > Renato, > > descobri o que era.. as regras IPFW não esta permitido acesso via FTP.. > digitei > ipfw -f flush momentaneamente e funcionou.. > > agora como faço para liberar essas atualizações do ports..usando IPFW. > > cristina. > > 2009/7/20 Renato Botelho <rbga...@gmail.com>: >> 2009/7/20 Cristina Fernandes Silva <cristinafs.lis...@gmail.com>: >>> Estou tentando atualizar via portupgrade o libxml2, o mesmo acursa >>> através >>> do portaudit vulnerabilidade. >>> >>> Affected package: libxml2-2.6.32_1 >>> Type of problem: libxml2 -- multiple vulnerabilities. >>> Reference: >>> <http://www.FreeBSD.org/ports/portaudit/f1e0164e-b67b-11dd-a55e-00163e000016.html> >>> >>> >>> Só que provoca erro. >>> >>> [r...@ns2 /etc/rc.d]# portupgrade -R libxml2 >>> [Gathering depends for textproc/libxml2 ........ done] >>> [Exclude up-to-date packages ..... done] >>> ** Stale lock file was found. Removed. >>> ---> Upgrading 'libxml2-2.6.32_1' to 'libxml2-2.7.3' (textproc/libxml2) >>> ---> Building '/usr/ports/textproc/libxml2' >>> => libxml2-2.7.3.tar.gz doesn't seem to exist in >>> /usr/ports/distfiles/gnome2. >>> => Attempting to fetch from ftp://fr.rpmfind.net/pub/libxml/. >>> fetch: ftp://fr.rpmfind.net/pub/libxml/libxml2-2.7.3.tar.gz: Permission >>> denied >>> => Attempting to fetch from ftp://gd.tuwien.ac.at/pub/libxml/. >>> fetch: ftp://gd.tuwien.ac.at/pub/libxml/libxml2-2.7.3.tar.gz: Permission >>> denied >>> => Attempting to fetch from ftp://xmlsoft.org/libxml2/. >>> fetch: ftp://xmlsoft.org/libxml2/libxml2-2.7.3.tar.gz: Permission denied >>> => Attempting to fetch from >>> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gnome2/. >>> fetch: >>> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gnome2/libxml2-2.7.3.tar.gz: >>> No route to host >>> ** Command failed [exit code 1]: /usr/bin/script -qa >>> /tmp/portupgrade20090720-62468-48m1sl-0 env UPGRADE_TOOL=portupgrade >>> UPGRADE_PORT=libxml2-2.6.32_1 UPGRADE_PORT_VER=2.6.32_1 make >>> ** Fix the problem and try again. >>> ** Listing the failed packages (-:ignored / *:skipped / !:failed) >>> ! textproc/libxml2 (libxml2-2.6.32_1) (permission denied) >>> >>> Será que ainda não foi corrigida ? >> >> Isso eh algum problema local, aqui ta em ordem: >> >> r...@botelhor:/usr/ports/textproc/libxml2# make fetch >> => libxml2-2.7.3.tar.gz doesn't seem to exist in >> /usr/ports/distfiles/gnome2. >> => Attempting to fetch from ftp://fr.rpmfind.net/pub/libxml/. >> libxml2-2.7.3.tar.gz 100% of 4677 kB 185 kBps >> 00m00s >> >> A mensagem de erro indica algum problema com permissao, >> pode ser que falte permissao pra salvar em /usr/ports/distfiles/gnome2 >> que eh o destino desse cara. >> >> -- >> Renato Botelho >> ------------------------- >> Histórico: http://www.fug.com.br/historico/html/freebsd/ >> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd >> > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > > __________ Informação do ESET NOD32 Antivirus, versão da vacina 4261 > (20090720) __________ > > A mensagem foi verificada pelo ESET NOD32 Antivirus. > > http://www.eset.com > > > __________ Informação do ESET NOD32 Antivirus, versão da vacina 4261 (20090720) __________ A mensagem foi verificada pelo ESET NOD32 Antivirus. http://www.eset.com ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd