Page 1 of 1

router's os and firmware

Posted: Mon Aug 17, 2020 2:21 pm
by ckonn
hi,
are the 'operating system' of a router and the 'firmware' of a router one and the same thing?

Re: router's os and firmware

Posted: Mon Aug 17, 2020 2:27 pm
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.

Re: router's os and firmware

Posted: Tue Aug 18, 2020 7:39 am
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?

Re: router's os and firmware

Posted: Tue Aug 18, 2020 8:23 am
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.

Re: router's os and firmware

Posted: Tue Sep 22, 2020 10:27 am
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?

Re: router's os and firmware

Posted: Sat Oct 10, 2020 7:48 am
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.

Re: router's os and firmware

Posted: Thu Nov 26, 2020 3:18 pm
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?