<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kuralamudhan Ramakrishnan on Medium]]></title>
        <description><![CDATA[Stories by Kuralamudhan Ramakrishnan on Medium]]></description>
        <link>https://medium.com/@rkamudhan?source=rss-4b8573a7a30b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kX4uLBy2mSW-ImEn6qsRLg.jpeg</url>
            <title>Stories by Kuralamudhan Ramakrishnan on Medium</title>
            <link>https://medium.com/@rkamudhan?source=rss-4b8573a7a30b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 10:31:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rkamudhan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Service Function Chaining in Kubernetes using Squid Proxy for SASE Providers]]></title>
            <link>https://medium.com/@rkamudhan/service-function-chaining-in-kubernetes-using-squid-proxy-for-sase-providers-7c477a76893e?source=rss-4b8573a7a30b------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c477a76893e</guid>
            <category><![CDATA[sase]]></category>
            <category><![CDATA[cni]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[squid-proxy]]></category>
            <dc:creator><![CDATA[Kuralamudhan Ramakrishnan]]></dc:creator>
            <pubDate>Tue, 28 Jun 2022 22:22:39 GMT</pubDate>
            <atom:updated>2022-06-28T23:30:00.778Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Hi folks, This is my first blog in the medium. Let me introduce myself to the medium reader community. I am a Kubernetes enthusiast, I have open-sourced various projects in Kubernetes, CNI, LF Edge Akraino community such as Multus CNI, SRIOV CNI, Userspace CNI, Bonding CNI, and Integrated Cloud Native(ICN). I worked in the networking and storage domain for more than 10 years. I had the privilege to work with the finest mind in the Open source community. I like to thank all the contributors, colleagues, and mentors in my career. Let me jump into the interesting topic for my first blog in the medium. This blog consists of 3 divisions such as Nodus’s Service Function chaining, Squid proxy, and SASE. we will see how these projects could leverage each other and address challenges in the Cloud Native SASE architecture</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j0gGWmPbWOmkH3_1Zm89cQ.png" /></figure><h4>Nodus</h4><p>Kubernetes networking and container networking lack Software Defined Networking (SDN) concepts such as programmable networks, decoupling the control and data planes, and scalability. Kubernetes networking addresses the need for data-centric cloud networking, and it lacks the features required for Edge Cloud Networking.</p><p>Nodus is the network controller in Kubernetes that addresses the need for SDN that simplifies the network operations and builds programmable networks for greater flexibility and scalability.</p><p>Nodus is Latin word for “knot”. Nodus converge multiple Kubernetes networking use cases in a single network controller.</p><h4>Nodus Architecture</h4><p>Nodus is a network controller designed to deliver Cloud-Native programmable networks that enable centralized control and network policy enforcement across physical and virtual networks.</p><p>Nodus supports Kubernetes Networking, Open Virtual Network (OVN) based networking features to support virtual switching, virtual network abstractions, and Service Function chaining. Nodus is planned to deliver features on Squid proxy-based SFC, Network Multi-tenancy, Network QoS, Network-based Multicore Utilization, and TCFlower-based network access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*upWGDOWcmaaa7M--0wk-wQ.png" /><figcaption>Figure 1: Nodus Architectural design in a Kubernetes Cluster</figcaption></figure><p>Nodus is decomposed into 4 microservices, Network Function (NFN) Operators, Network Function (NFN) agent, OVN Control plane, and OVN controller.</p><p>Network Function (NFN) Operator is a Kubernetes Operator framework that hosts multiple Kubernetes Custom resource definition controllers, and Kubernetes core API watchers to monitor and predicate the events to synchronize the network operations. It gets the input from the user, and it acts as an orchestration engine for Networking to create and manage virtual and physical network support for both VLAN and direct networking, Service Function chaining using the OVN control plane, and NFN agent.</p><p>Network Function (NFN) agent is a Kubernetes daemon set to get the command from Network Function (NFN) operator to do network plumbing works such as network configuration and managing the workloads network namespace in each host using Container Network Interfaces specs.</p><p>OVN control-plane hosts all the OVN Northbound API as the microservices and the OVN controller hosts all the OVN Southbound API and OVS virtual switch as the microservices. OVN control plane gets the network abstraction configuration from NFN operators and translates network configuration into OpenFlow to implement distributed logical switches, Access control lists for network policy implementations, Service function chaining, and distributed virtual routers.</p><h4>Service Function Chaining in Nodus</h4><p>Nodus currently uses IP or L3 layer-based Service Function Chaining for CNFs(Container Network Functions). Nodus uses Kubernete’s custom resource definition to create network chaining resources in Kubernetes.</p><p>Here is an example of the SFC YAML file.</p><pre>apiVersion: k8s.plugin.opnfv.org/v1alpha1<br>kind: NetworkChaining<br>metadata:<br>  name: example-networkchaining<br>spec:<br>  # Add fields here<br>  chainType: &quot;Routing&quot;<br>  routingSpec:<br>    namespace: &quot;default&quot;<br>    networkChain: &quot;net=virtual-net1,app=slb,net=dync-net1,app=ngfw,net=dync-net2,app=sdewan,net=virtual-net2&quot;<br>    left:<br>    - networkName: &quot;left-pnetwork&quot;<br>      gatewayIp: &quot;172.30.10.2&quot;<br>      subnet: &quot;172.30.10.0/24&quot;<br>      podSelector:<br>        matchLabels:<br>          sfc: head<br>      namespaceSelector:<br>        matchLabels:<br>          sfc: head<br>    right:<br>    - networkName: &quot;right-pnetwork&quot;<br>      gatewayIp: &quot;172.30.20.2&quot;<br>      subnet: &quot;172.30.20.0/24&quot;<br>      podSelector:<br>        matchLabels:<br>          sfc: tail<br>      namespaceSelector:<br>        matchLabels:<br>          sfc: tail</pre><p>In this above example, you will find the network chain field in the Network Chaining Custom resources.</p><p>Nodus make use of the network labels and deployment labels to create the SFC chaining. Nodus Chaining controller based on the L3 layer looks for the network resource and deployment resource with labels, and hot plugs the interface into the deployment. This mechanism reduces the constrain for the user to worry about the annotations, and provides the mechanism in the Kubernetes that the network can be more dynamic in nature than required to be static or immutable on the fly.</p><p><strong>References (LFE, Wiki, contacts):</strong></p><ul><li>Nodus github repo: <a href="https://github.com/akraino-edge-stack/icn-nodus">https://github.com/akraino-edge-stack/icn-nodus</a></li><li>Demo on SFC are here:</li><li><a href="https://github.com/akraino-edge-stack/icn-nodus/tree/master/demo/calico-nodus-secondary-sfc-setup-II">https://github.com/akraino-edge-stack/icn-nodus/tree/master/demo/calico-nodus-secondary-sfc-setup-II</a></li><li><a href="https://github.com/akraino-edge-stack/icn-nodus/tree/master/demo/nodus-primary-sfc-setup">https://github.com/akraino-edge-stack/icn-nodus/tree/master/demo/nodus-primary-sfc-setup</a></li><li>Youtube video: <a href="https://www.youtube.com/watch?v=hGiOHIkxaoQ&amp;ab_channel=OpenvSwitch">https://www.youtube.com/watch?v=hGiOHIkxaoQ&amp;ab_channel=OpenvSwitch</a></li></ul><h4>Squid Proxy</h4><blockquote>I am not an expert in Squid Proxy, the following is my understanding from open source community documentation.</blockquote><p>Proxy servers were important in the 90s, because back then if multiple computers want to reach the internet they had to go through the proxy server. By early 2000, the NAT route was being placed in all the routers. NAT is Network Address Translation. Using this individual computers and devices can connect with the router and speak directly to the Internet.</p><p>The proxy servers were out there, but the people were not using them as NAT was being pushed out in the massive networking devices.</p><p>So why the proxy servers were used in the first place? When adding a proxy server a single failure will break the system, then why add the proxy server to your network?</p><p>The reason is that a proxy server will give phenomenal features such as Cache and ACL. The cache is a very important use case for the proxy server. For example, let us assume you have 5 servers connected to the router through the NAT. From Server 1 you download a 10 GB file from the <a href="https://testfiledownload.com/">https://testfiledownload.com</a> website for 30mins, then on the 2nd server download the same file, it will also take 30mins. Imagine if all the servers in your network are to download the same 10GB image, it is a tedious and time-consuming process that would consume most of your network bandwidth at the time of download.</p><p>Now, let’s see what happens when you have a proxy server with a cache configuration in between the router and all other servers in your network.</p><p>The proxy server has its own hard drive and you can configure the size of the cache. So whenever traffic goes through the proxy server to the internet, it will be cached in the proxy server and the data will be stored on the hard drive.</p><p>What happens, when the file is updated in the web server, will it be updated in the proxy server cache automatically? Squid proxy will be the answer to this question.</p><p>The squid proxy server (http://www.squid-cache.org) takes care of configuring the proxy servers in your network. Caching is the most important use case in squid proxy. Squid proxy is built to automatically download the latest version of the website and cache it. Squid proxy is configured with “squid.conf” file.</p><p>The 2nd most important feature in the squid proxy is the ACL(Access Control Layer). The system admin can create a filesystem-based ACL. Based on the ACL configuration, the proxy server will allow or block access to the website.</p><p>The 3rd most important use case for the Squid proxy is support for the ICAP (Internet Content Adaptation Protocol). The ICAP-based HTTP proxy can work with a variety of environments with various external ICAP servers. It means that the Squid proxy can work with various vendor-based ICAP networks and Security Functions. This basically throws light at our next topic the Cloud Native based SASE.</p><h4>SASE</h4><blockquote>I encourage the readers, who are not familiar with SASE use case and its potential business values, please read the article <a href="https://venturebeat.com/2021/04/17/the-sase-wave-why-cloud-native-edge-security-is-gathering-huge-momentum/">“The SASE wave: Why cloud-native edge security is gathering huge momentum”</a> from the venturebeat.com and “<a href="https://wiki.lfnetworking.org/display/LN/2022-06-14+-+EMCO%3A+Cloud+Native+SASE">Cloud Native SASE</a>” presentation by Srinivasa Addepalli, CTO, Aryaka</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N_sUQE4AwNzMOG17xDyYvQ.png" /></figure><p>In the SASE provider environment, both the Users and Enterprise applications are no longer limited to the private data centers alone. The main reason is that we have a geographically distributed workforce and geographically distributed enterprise services. This makes a requirement for geographically distributed security services as well. For example, The security services are not only limited in the offices or site location but also distributed critically across the geographical location to support multiple users.</p><p>The Secure Access Security Edge (SASE) provider offers Security as a service across multiple location or Point of Presence (PoP). The Enterprise will take the subscription to these SASE services.</p><p>The enterprise client traffic goes through the universal CPE with SDWAN functionality and basic security functions such as firewall services. Then traffic will go through the nearest PoP location, where the SASE service is installed and managed.</p><p>Typically the SASE provider in each PoP site has physical or virtual appliances such as HUB Gateway and Security functions. Each enterprise in the SASE PoP is provided with a VRF, it is like a slice. The SASE provider uses this mechanism to implement multi-tenancy for the multi-enterprise traffic that goes through the security appliance.</p><p>This mechanism has a few challenges as follows such as scaling out and load sharing across multiple enterprises, performance isolation between enterprises for the security functions, and strong network access isolations.</p><p>The enterprise subscribed to the SASE provider is not having the flexibility to have a choice of selection for their Enterprise security functions in the SASE PoP.</p><p>The challenges in the SASE are addressed by Kubernetes which is discussed in the next section.</p><h4>Cloud-Native SASE</h4><p>Kubernetes takes care of the multiple challenges faced by SASE providers such as scale-out and load sharing across multiple enterprises. The performance isolation and strong network access isolations would be taken care of by multi-tenancy concepts using namespace and resource quota available in Kubernetes through the Kubernetes controller.</p><p>In the cloud Native SASE model(figure III), SASE providers decompose the multiply security and network functions as microservices.</p><p>Cloud-Native SASE needs to have the HUB Gateway, TLS Man in the Middle proxy, and have various security functions such as FW/IPS, SWG, and CASB. The zero-touch network access(ZTNA) should be a property incorporated in all the network and Security functions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9QQawGlh6tDXD_IoZpY4gA.png" /><figcaption>Figure III: Cloud-Native SASE with Nodus &amp; Squid Proxy</figcaption></figure><p>This model can be implemented using Squid Proxy as TLS Man in the Middle proxy. It can have a HTTP proxy based on the ICAP client that can connect to multiple ICAP servers such as FW/IPS CNFs, SWG CNFs, and CASB CNFs. This offers a preferred solution to SASE providers to not depend on a single proxy or Security / Network functions Vendor. All the ICAP-based Security / Network functions are adapted by this solution.</p><p>As discussed in the Nodus section, the Service function chaining currently implemented using the L3 layer can be expanded to support the L7 layer based on the Squid Proxy ICAP filter. We can reuse the Nodus Service Function Chaining CR using network and application labels.</p><p>Nodus is required to be introduced with two components such as Squid proxy controller and Squid proxy microservices. Here is the detailed workflow(figure IV) of Squid Proxy-based Service Function chaining.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*gLmDsOGfMetnGNFQ4DJRIg.png" /><figcaption>Figure IV: Flow diagram in Nodus for Squid Proxy</figcaption></figure><p>Nodus Squid proxy controller support multi-tenancy and interact with Nodus Chaining models to create and apply the Squid conf for each enterprise Squid proxy microservice.</p><h4>Conclusion</h4><p>In my next blog, we will see the implementation challenges and open questions to be discussed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c477a76893e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>