Firewall question

Felipe Alfaro Solana felipe.alfaro at gmail.com
Sun Feb 4 02:11:02 UTC 2007


On 2/4/07, Guillermo Garron <guillermo.fedora at gmail.com> wrote:
> On 1/31/07, Dieter Schicker <dieter.schicker at uni-graz.at> wrote:
> > Hi folks,
> >
> > I know this is a bit off-topic but maybe someone can help. Would be great!
> >
> > I set up a iptables-firewall on a machine which works fine except that
> > Tomcat startup and shutdown are very slow (up to 5 minutes!) since then.
> > That's why I have a general question:
> >
> > How can I track which ports a process claims or tries to claim?
> iftop
> ---- sudo apt-get install iftop
>
> tcpdump -i any -s 1500 -w [file.cap]
> and then use wireshark to "read" the resulting file

Another option is running netstat -anp or doing a strace, but I think
tcpdump is probably the best choice.




More information about the ubuntu-users mailing list