What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Open ports

dualm

Occasional Visitor
Hi,

I have installed the latest firmware (build 376.48_3) on my new RT-AC66U and everything is working good.

I have closed all unused services on the router, but I can't find why those printer related ports are open, ie 515, 9100 and 9998:

Anyone?

Code:
# nmap 192.168.1.1

Starting Nmap 5.51 ( http://nmap.org ) at 2014-11-28 16:10 CET
Not shown: 993 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
53/tcp   open  domain
80/tcp   open  http
515/tcp  open  printer
1723/tcp open  pptp
9100/tcp open  jetdirect
9998/tcp open  distinct32
MAC Address: xx:C3:7B:xx:D4:xx (Unknown)
 
u2ec and lprng are the two main processes that handle printer sharing. There is no clean way to disable these however.
 
u2ec and lprng are the two main processes that handle printer sharing. There is no clean way to disable these however.

Thanks for your answer,

I killed the "lpd" process (ie kill -9 nnn) and this closed the ports 515 and 9100.
Could this do any bad things? If not, I can put this is some suitable startup script to be performed every boot.

Is it safe to kill u2ec the same way? What is the u2ec thing?

Regards
Magnus
 
Thanks for your answer,

I killed the "lpd" process (ie kill -9 nnn) and this closed the ports 515 and 9100.
Could this do any bad things? If not, I can put this is some suitable startup script to be performed every boot.

Is it safe to kill u2ec the same way? What is the u2ec thing?

Regards
Magnus

u2ec stands for "USB to EC (parallel port)".

I assume it should be safe, but I have never really looked at that portion of the code, so you will have to test it.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top