driftWood

joined 2 years ago
[–] driftWood@infosec.pub 0 points 2 weeks ago

The dedication to your task is commendable 👏. This is becoming rare day by day.

[–] driftWood@infosec.pub 2 points 1 year ago

Woah! Thanks for taking the time to write the detailed response. Will take a look at the source code. Really appreciate the effort ❤️

[–] driftWood@infosec.pub 1 points 1 year ago* (last edited 1 year ago) (2 children)

I added more comments on the original post which describes the situation a bit more.

Don't know what's a good way to get the comments linked to this post.

Do take a look if you are interested.

[–] driftWood@infosec.pub 2 points 1 year ago (4 children)

Standards are set of rules. But still different vendors implement them separately. For e.g. TCP/IP stack implementation is a bit different in Windows and Linux but end user generally never realises this because it's close enough that things still work. I want to know what is the sequence of events when Linux creates a Response packet for a ping Request it received.

 

Reposting here since want to know how a Linux computer handles this scenario.

 

Consider a Ping Request packet arriving on a computer with 2 NICs (multi-homed PC). The packet is received on 1 of the interfaces. Now the computer has to send the Ping Response packet. To fill the source IP and source MAC address the computer does which of the following?

  • Computer first determines which interface should be used as the egress interface by looking at the Destination IP address. Destination IP address was taken from source IP address field of Ping Request packet. Once it determines egress port, it will enter that interface's IP and MAC address in the Ping Response packet.
  • Computer takes the destination IP and MAC address of the Ping Request packet and just flips them over to fill source IP and MAC address in Ping Response packet.
 

Basically what it says in the title. I did a lot of searching in Internet. I think small form factor computers are mt best bet. But I still feel they are costly for my purpose.

I am going to be running some ansible playbooks periodically on the machine. SBCs i looked at either had very high specs for this use case and thus higher price or they had other fratures i dont want like - wifi, graphics card etc.

I am preferring enterprise hardware because this would eventually be used in business where people will not settle for anything less.