🛜Embedded s/w for Networking 🛜 ✅Part 1
🚀Netfilter🚀
It's a Linux kernel framework that allows for packet filtering, translation, manipulation tasks via hooks within the kernel's networking stack to intercept and process network packets at various stages as followed:-
1⃣ PRE_ROUTING- It's triggered when a packet enters the network stack (After getting received by the network interface), before any routing decisions are made.
2⃣ LOCAL_IN - Its triggered for packets destined for the local host after the routing decision.
3⃣ FORWARD - Its triggered for packets that are neither destined for nor originated from the local host but are being forwarded.
4⃣ LOCAL_OUT - Its triggered for packets generated by the local host before they are sent out of the network stack
5⃣ POST_ROUTING - It's triggered just before a packet leaves the network stack, after routing decisions and any modifications.
When a packet passes various stages of the hooks, actions like accept, drop, reject, queue (to user space), modify, log or return are taken on the packets defined by Linux tools such as iptables.
🤏 For example, an iptables rule might look like: iptables -A INPUT -p tcp --dport 80 -j ACCEPT (accepts TCP packets to port 80).
Hook Dependency: The available actions depend on the hook (e.g., NAT actions like SNAT are only valid in POST_ROUTING, while DNAT is valid in PRE_ROUTING).
❓What is INPUT here in the above example?
📌In next episode, we will deep dive into the purpose and real life use case of each hook stage, chains in netfilter and few examples of packet flows.
#CyberSecurity #Firewall #linuxtechtips #linuxcommands #networkingprotocols #NetworkSecurity #TCPIP #Switching #routingalgorithms #embeddedcomputing
Hi @IndiGo6E, Me and my wife who is pregnant, travelled from BLR to CCU on 6E442 on 13th June, 2026. We had an excelleng experience on board and the crew headed by Apoorva and Angelina took amazing care of my wife. Giving a shoutout to them!!
Now Mumbai is facing a water crisis, and companies are moving towards work from home.
Big companies should consider relocating their headquarters from Mumbai to Kolkata.
The biggest benefit is that the newly elected government is desperate for investment, so companies are likely to get the best possible deals and incentives.
There are also cheaper office rents and better connectivity, especially once the Garia–Airport Metro becomes operational.
Ghar Wapsi of companies!
Obituary written for half a century, came back in the mainstream in 2026.
Still among the three largest cities in India by population and economy.
When you're big, you're big.
@BJP4Bengal @CMO_Benga released the Annapurna scheme to honour the election promise too early in my opinion. Training of door to door municipal stuff should have been done for a month along with detailed financial audit before releasing to the public. People on ground are paranoid.
@Thangaul@Akshat_World Yes I am doing that UCITS etf via IBKR. But how much to keep as concentration vs how much to diversify is a question which I ponder upon every vesting.
HISTORIC TRIUMPH 🏆
EAST BENGAL ARE THE ISL CHAMPIONS 🔴🟡
Heartiest Congratulations to East Bengal FC for lifting the Indian Super League (ISL) trophy. This is a momentous day for millions of Red and Gold fans & supporters across West Bengal and the globe.
You have paid tribute to the true spirit of Bengal's football heritage. The Players, the Coaching Staff, and Management have proven what can be achieved with sheer dedication and grit.
A special shoutout to Mohun Bagan as well who finished 2nd with same points but got edged out due to goal difference.
Football is synonymous with West Bengal, both the Teams have made us proud.
@eastbengal_fc