router's os and firmware

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
ckonn
Level 3
Level 3
Posts: 126
Joined: Wed Oct 01, 2014 7:03 pm

router's os and firmware

Post by ckonn »

hi,
are the 'operating system' of a router and the 'firmware' of a router one and the same thing?
Last edited by ckonn on Tue Aug 18, 2020 7:41 am, edited 1 time in total.
rene
Level 16
Level 16
Posts: 6693
Joined: Sun Mar 27, 2016 6:58 pm

Re: router's os and firmware

Post by rene »

Given that "the router" could be a general PC running e.g. Linux, not as such but, yes, with most being non-general non-PC's, although still running Linux, by a routers "firmware" is generally meant its OS.
ckonn
Level 3
Level 3
Posts: 126
Joined: Wed Oct 01, 2014 7:03 pm

Re: router's os and firmware

Post by ckonn »

the operating systems ( windows, linux, macos ) of a general pc possess 65535 ports.
does the os/firmware of a router possess the same 65535 ports too?
rene
Level 16
Level 16
Posts: 6693
Joined: Sun Mar 27, 2016 6:58 pm

Re: router's os and firmware

Post by rene »

In the context I assume you are referring to IP ports. Yes, the OS of a router most often as said in fact is Linux and as such sports a general IP stack.
ckonn
Level 3
Level 3
Posts: 126
Joined: Wed Oct 01, 2014 7:03 pm

Re: router's os and firmware

Post by ckonn »

and how much network-interfaces the os/firmware of the router possess?
does the router also has eth0 and lo ( loopback ) interfaces as the os of a pc?
rene
Level 16
Level 16
Posts: 6693
Joined: Sun Mar 27, 2016 6:58 pm

Re: router's os and firmware

Post by rene »

Basically and generally you can view a router to be an as to networking more or less standard Linux system. Many provide SSH access (even if often only after specifically enabling it in some brand-specific manner) after which you can log in to it and feel quite at home, or at least as much as you do so on a terminal on your own Linux PC. I.e., yes, although in this day and age network cards tend to be named according to hardware topology, for example "enp0s10" or alike rather than "eth0", regular wired and wireless interfaces as well as the local loopback interface "lo" will be available.

Please note that if you are asking in the context of security that TCP or UDP ports while usefully compared to doors or windows in other contexts, do not even exist unless something is listening on them. Only exist by virtue of something listening on them. That is to say that your IP stack is not an array of potential access points to your system/router: only actual servers that open a port can be.

Moreover that anything listening to a port only on the "lo" interface never provides for an externally reachable access point; that "lo" is available only for communication on the same, local machine; the router in that case.

Moremoreover, that any open ports you would see from the LAN-side of your router, i.e., from your internal network, would not normally be available also from the WAN-side, i.e., the internet, without you very explicitly arranging for such.
ckonn
Level 3
Level 3
Posts: 126
Joined: Wed Oct 01, 2014 7:03 pm

Re: router's os and firmware

Post by ckonn »

do all router-brands/models posses a log/s similar to the logs of the linux-mint's 'system-log-viewer' - mean logs that contain data about the incoming scanning traffic to the router from the type -

linux-mint's 'system-log-viewer' syslog.1 partial content

Code: Select all

Nov 25 08:07:31 danny kernel: [78641.537345] [UFW BLOCK] IN=eth0 OUT= MAC=2w:ng:u8:72:59e:e3:8d:fn 
:zr:27:10:48:11:00 SRC=45.129.33.4 
DST=xx.xx.xx.xx LEN=40 TOS=0x04 PREC=0x00 TTL=47 ID=28541 PROTO=TCP SPT=25204 DPT=23 
WINDOW=5388 RES=0x00 SYN URGP=0
if 'not' - which router-types/brands/models posses such type of log/s?
Post Reply

Return to “Other networking topics”