|
2009-12-29
, 22:04
|
Posts: 355 |
Thanked: 566 times |
Joined on Nov 2009
@ Redstone Canyon, Colorado
|
#2
|
# nmap -sU -p 2948,49751,57439,1900 10.0.0.4 Starting Nmap 5.00 ( http://nmap.org ) at 2009-12-29 18:58 ART Interesting ports on burger (10.0.0.4): PORT STATE SERVICE 1900/udp open|filtered upnp 2948/udp open|filtered wap-push 49751/udp closed unknown 57439/udp closed unknown MAC Address: 34:7E:39:42:BB:C3 (Unknown)
# netstat -tunla Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 127.0.0.1:53651 0.0.0.0:* LISTEN tcp 0 0 10.0.0.4:53651 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 10.0.0.4:62906 74.125.45.109:993 ESTABLISHED tcp 0 0 10.0.0.4:61239 208.68.163.220:5222 ESTABLISHED tcp 0 0 172.26.233.37:52385 130.237.188.200:6667 ESTABLISHED tcp 0 0 10.0.0.4:54306 209.85.163.125:5222 ESTABLISHED tcp 0 1232 10.0.0.4:22 10.0.0.3:41447 ESTABLISHED netstat: no kernel support for AF INET6 (tcp) udp 0 0 0.0.0.0:2948 0.0.0.0:* udp 0 0 127.0.0.1:51855 127.0.0.1:53 ESTABLISHED udp 0 0 127.0.0.1:64786 127.0.0.1:3002 ESTABLISHED udp 0 0 127.0.0.1:53651 0.0.0.0:* udp 0 0 10.0.0.4:53651 0.0.0.0:* udp 0 0 0.0.0.0:61464 0.0.0.0:* udp 0 0 127.0.0.1:53 0.0.0.0:* udp 0 0 127.0.0.1:63801 127.0.0.1:3001 ESTABLISHED udp 0 0 127.0.0.1:3001 0.0.0.0:* udp 0 0 127.0.0.1:3002 0.0.0.0:* udp 0 0 127.0.0.1:60104 127.0.0.1:53 ESTABLISHED udp 0 0 0.0.0.0:51687 0.0.0.0:* udp 0 0 0.0.0.0:1900 0.0.0.0:*
# lsof -i4 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME sshd 671 root 3u IPv4 3055 TCP *:ssh (LISTEN) ohmd 751 root 7u IPv4 3745 UDP Nokia-N900-42-11:3002 ohmd 751 root 36u IPv4 3836 UDP Nokia-N900-42-11:3001 wappushd 757 root 6u IPv4 3473 UDP *:2948 dnsmasq 1068 nobody 4u IPv4 5341 TCP Nokia-N900-42-11:domain (LISTEN) dnsmasq 1068 nobody 5u IPv4 5342 UDP Nokia-N900-42-11:domain app-detec 1084 root 3u IPv4 5770 UDP Nokia-N900-42-11:63801->Nokia-N900-42-11:3001 app-detec 1084 root 4u IPv4 5771 UDP Nokia-N900-42-11:64786->Nokia-N900-42-11:3002 mafw-dbus 1264 user 8u IPv4 46014 UDP *:61464 mafw-dbus 1264 user 9u IPv4 46015 UDP *:1900 telepathy 1564 user 12u IPv4 46143 UDP 10.0.0.4:53651 telepathy 1564 user 14u IPv4 46144 TCP 10.0.0.4:53651 (LISTEN) telepathy 1564 user 15u IPv4 46145 UDP Nokia-N900-42-11:53651 telepathy 1564 user 16u IPv4 46146 TCP Nokia-N900-42-11:53651 (LISTEN) telepathy 1564 user 17u IPv4 46147 UDP Nokia-N900-42-11:51855->Nokia-N900-42-11:domain telepathy 1564 user 18u IPv4 46149 UDP Nokia-N900-42-11:60104->Nokia-N900-42-11:domain telepathy 1566 user 9u IPv4 65374 TCP 10.0.0.4:54306->el-in-f125.1e100.net:xmpp-client (ESTABLISHED) telepathy 1566 user 10u IPv4 46135 TCP 10.0.0.4:61239->hermes.jabber.org:xmpp-client (ESTABLISHED) xchat 1709 user 14u IPv4 33839 TCP 172.26.233.37:52385->lindbohm.it.su.se:ircd (ESTABLISHED) browser 1770 user 11u IPv4 34758 UDP *:51687 sshd 2081 root 3u IPv4 46070 TCP 10.0.0.4:ssh->10.0.0.3:41447 (ESTABLISHED) sshd 2089 user 3u IPv4 46070 TCP 10.0.0.4:ssh->10.0.0.3:41447 (ESTABLISHED) modest 2171 user 21u IPv4 63970 TCP 10.0.0.4:62906->yx-in-f109.1e100.net:imaps (ESTABLISHED)
The Following User Says Thank You to jebba For This Useful Post: | ||
|
2009-12-30
, 06:05
|
|
Posts: 124 |
Thanked: 47 times |
Joined on Aug 2008
@ Northern DFW
|
#3
|
The Following User Says Thank You to jiiv For This Useful Post: | ||
|
2009-12-30
, 11:36
|
Posts: 456 |
Thanked: 1,580 times |
Joined on Dec 2009
|
#4
|
It does seem odd to have some of those ports open to the outside. Perhaps a bug report should be filed for ones that aren't absolutely necessary to have open.
The Following User Says Thank You to Wonko For This Useful Post: | ||
|
2009-12-30
, 11:43
|
Posts: 456 |
Thanked: 1,580 times |
Joined on Dec 2009
|
#5
|
|
2009-12-30
, 17:40
|
|
Posts: 124 |
Thanked: 47 times |
Joined on Aug 2008
@ Northern DFW
|
#6
|
|
2009-12-31
, 10:04
|
Posts: 456 |
Thanked: 1,580 times |
Joined on Dec 2009
|
#7
|
update-rc.d -f wappushd remove rm /etc/event.d/wappushd
mv /usr/lib/mafw-plugin/mafw-upnp-source.so backup/usr/lib/mafw-plugin/
The Following User Says Thank You to Wonko For This Useful Post: | ||
|
2009-12-31
, 14:46
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#8
|
|
2009-12-31
, 20:11
|
Posts: 456 |
Thanked: 1,580 times |
Joined on Dec 2009
|
#9
|
The Following User Says Thank You to Wonko For This Useful Post: | ||
|
2010-01-02
, 11:29
|
Posts: 456 |
Thanked: 1,580 times |
Joined on Dec 2009
|
#10
|
i don't know if i am kinda paranoid but i like to keep my machines as closed as possible.
"Closed" meaning that i do not want any ports being open (i.e. having services listening on them) on (at least) public interfaces which are not necessarily needed.
I.e. for a usual browsing/internet machine i'd like to see no open ports at all.
On the N900 there are at least some UDP ports open (for completeness i post the complete outputs below):
Second it is not really nice to have that many things listening on the local address but this is not my main concern.
The point which i do not like is that some services listen on all interfaces / the wildcard address.
I played around a little bit and could shutdown wappushd (by removing it from the runlevels) and mafw-dbus (by messing with its start script in /usr/bin/mafw.sh).
The problem with mafw-dbus is, is that it seems to be needed for the media player to work correctly.
As of shutting down wappushd i did not notice a negative side effect yet.
Is there any sane way to shut these services down or at least reconfigure these services to only listen on the loopback interface?
Best regards,
Wonko