How to verify router firmware is legit

I’m recently getting into information security i am starting to focus on securing my network and i read that your supposed to apply firmware patches for your routers firmware. My question is how do i verify that the firmware update is indeed a unmodified version of the firmware? I know about signature checking but how would i do this in regards to my router? Also if you have any other security advice besides changing the default login for the router please add that as well thanks in advance.

Is it possible to safely connect to the internet using a malicious router?

If you connect to a router that’s controlled by a hacker, is there some way you can safely surf the internet without getting hacked? By using a vpn and firewall maybe?

Does it make a difference what kind of router it is?

1) A wired router

2) A wireless router

3) A 4g usb dongle ( Could this be used for a bad usb attack?)

ISP provider does not giving permission to change my router password

We have got a new connection from a local ISP provider, the provider supplied a router and other few devices, then he has configured the device with a password, but he does not allow us to reset or change the password for own. means we are unable to configure anything from our side, Is this good secure for our personal data?

Calculating new routing table of router C?

Lets consider the subnet as shown below where distance vector routing is used and following vectors have just come to router C: from B(5, 0, 8, 12,6,2); from D(16, 12,6, 0,9, 10); and from E(7, 6, 3, 9, 0,4). The measured delays to B, D and E are 6,3 and 5, (10) respectively. What is C’s new routing table?

enter image description here

I have no clue how to solve this problem. please help me to solve this problem.

Would plugging or unplugging the Coax cable from router before turning the router off cause any damage to the router or the cable?

Would plugging or unplugging the Coax cable from router before turning the router off cause any damage to the router or the cable or anything? Because I accidently unplugged the coax cable from the router before turning it off.

How to block all inbound traffic from a specific Internet address or subnet using TomatoUSB router software (LINUX based)

I’m not trained in Linux, but I think I found the solution to my problem documented, but it is not working as expected. I am NOT an iptables guru, I’m learning as I go.

A Russian IP is trying to hack my network, especially an email server I have running on my network. So I have a port forward of port 25 to the mail server machine. My router is running TomatoUSB – a Linux based router I have root ssh access to.

I’ve tried this command:

 iptables -I INPUT -s 45.142.195.5 -j DROP 

And

 iptables -L -nv  

returns a lot of stuff, and now at the very beginning looks like this:

 Chain INPUT (policy DROP 9 packets, 504 bytes)   pkts bytes target     prot opt in     out     source               destination      0     0 DROP       all  --  *      *       45.142.195.5         0.0.0.0/0 

This did not stop the traffic, though, as my email server is still reporting connection attempts from this IP address, so the rule is not dropping anything.

Perhaps the INPUT chain is not where I need to add this? I’m not yet educated on the different chains yet. INPUT intuitively seemed like the right place, but because this is a NAT router, should I really have some sort of rule in the FORWARD chain that can say not to forward to anyone if this is the source address?

Seems like what I want to do should not be difficult, but I’m struggling to figure this one out so far.

React Router en producción

Tengo un proyecto en React.

Para las rutas uso react-router-dom 5.0.1. El problema surge cuando pongo en producción React y refresco la página y da error Not Found.

Siempre que me muevo a otra ruta http://miweb.com/ruta y refresco, da ese error. Para desarrollo uso webpack server y todo bien, pero ¿y en producción?

¿Alguna idea de cómo solucionar esto?

Gracias de antemano.

How to configure MySQL Router on two application servers?

I have three MySQL servers running with group replication and inside a InnoDB Cluster. I have two app servers that will be connecting to the cluster and I need to configure mysql router on both app servers. When I run router on server1 I use the –bootstrap option. When I try to do it on server2 with –bootstrap I get an error “a router instance named has been previously configured on this host”. My question is do I need to start mysql router with –bootstrap option? Or since it will be configured on two servers –bootstrap option is not required? Do I need to start mysql router with a personalized conf file?