Skip to main content

All Questions

Tagged with
15 votes
5 answers
16k views

What ports are used by an application [duplicate]

I'm testing an application which opens its own ports (acts as a server for these ports, hence listens at that ports) and where the same application connects to ports bound by other applications (acts ...
Baz's user avatar
  • 489
10 votes
1 answer
19k views

Connection remains flagged as ESTABLISHED even if host is unconnected

I am working on a Linux embedded distribution and I need to monitor incoming and outcoming connections (if they are still actives etc.) and I am experiencing issues because I noticed that, even if the ...
xyx's user avatar
  • 253
9 votes
6 answers
18k views

Why is port 1111 open, and is it safe to be?

I'm new to systems administration and have a server running a website with HTTP (at port 80), HTTPS (at port 443) and SSH (at port 22). I'm running Ubuntu 11.04. I did an Nmap port scan using my ...
nknj's user avatar
  • 193
4 votes
9 answers
6k views

How to make Firefox use TCP for DNS

I want to use TCP for DNS, to bypass my ISP's slow and broken DNS servers. I'm not using (and don't want to use) a proxy. Note: I want to use DNS over TCP because if I use it over udp, no matter what ...
miniBill's user avatar
  • 436
2 votes
3 answers
4k views

Meaning of netstat output?

When I type "sudo netstat -an", this is part of the output I get: Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 192.99.202.17:39922 ...
Henley Wing's user avatar
1 vote
1 answer
1k views

How can I detect long-lived connections and mark them for shaping

I would like to detect TCP connections which have been open for more than one minute (or for greater than N bytes, or M packets), so I can classify them as bulk traffic ("downloads") and de-prioritise ...
joeytwiddle's user avatar
  • 1,763
1 vote
2 answers
1k views

If there are 2 NICs on the same machine, can a TCP client on one NIC connect to a TCP server on the other NIC?

I use TUN/TAP to create a tun NIC tun0 with IP 10.10.10.2, and I have a real NIC eth0 with IP 202.112.34.49 Then I run a TCP client which binds its socket to 202.112.34.49 and a TCP server binding 10....
misteryes's user avatar
  • 3,055