Do incoming LAN UDP packets create an entry containing senders MAC in receivers ARP table in Linux?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












When Linux receives a UDP packet originating from a sender having a LAN source IP, will Linux put the source MAC address of this packet along the source IP address into the ARP cache table?










share|improve this question





















  • Have you tried it?
    – Stephen Kitt
    Sep 25 '17 at 14:58










  • I'm about to try it.
    – thomas
    Sep 25 '17 at 15:00















up vote
0
down vote

favorite












When Linux receives a UDP packet originating from a sender having a LAN source IP, will Linux put the source MAC address of this packet along the source IP address into the ARP cache table?










share|improve this question





















  • Have you tried it?
    – Stephen Kitt
    Sep 25 '17 at 14:58










  • I'm about to try it.
    – thomas
    Sep 25 '17 at 15:00













up vote
0
down vote

favorite









up vote
0
down vote

favorite











When Linux receives a UDP packet originating from a sender having a LAN source IP, will Linux put the source MAC address of this packet along the source IP address into the ARP cache table?










share|improve this question













When Linux receives a UDP packet originating from a sender having a LAN source IP, will Linux put the source MAC address of this packet along the source IP address into the ARP cache table?







linux udp arp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 25 '17 at 14:56









thomas

26527




26527











  • Have you tried it?
    – Stephen Kitt
    Sep 25 '17 at 14:58










  • I'm about to try it.
    – thomas
    Sep 25 '17 at 15:00

















  • Have you tried it?
    – Stephen Kitt
    Sep 25 '17 at 14:58










  • I'm about to try it.
    – thomas
    Sep 25 '17 at 15:00
















Have you tried it?
– Stephen Kitt
Sep 25 '17 at 14:58




Have you tried it?
– Stephen Kitt
Sep 25 '17 at 14:58












I'm about to try it.
– thomas
Sep 25 '17 at 15:00





I'm about to try it.
– thomas
Sep 25 '17 at 15:00











1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










I tried Linux 4.9 and the answer in this case is no. I crafted an UDP packet with an artificial IP address and MAC address combo, which was received by the Linux-under-Test and displayed correctly by netcat. No ARP entry was created (also no incomplete one) and Linux did not send any ARP request regarding the artificial IP address.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f394328%2fdo-incoming-lan-udp-packets-create-an-entry-containing-senders-mac-in-receivers%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    I tried Linux 4.9 and the answer in this case is no. I crafted an UDP packet with an artificial IP address and MAC address combo, which was received by the Linux-under-Test and displayed correctly by netcat. No ARP entry was created (also no incomplete one) and Linux did not send any ARP request regarding the artificial IP address.






    share|improve this answer
























      up vote
      1
      down vote



      accepted










      I tried Linux 4.9 and the answer in this case is no. I crafted an UDP packet with an artificial IP address and MAC address combo, which was received by the Linux-under-Test and displayed correctly by netcat. No ARP entry was created (also no incomplete one) and Linux did not send any ARP request regarding the artificial IP address.






      share|improve this answer






















        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        I tried Linux 4.9 and the answer in this case is no. I crafted an UDP packet with an artificial IP address and MAC address combo, which was received by the Linux-under-Test and displayed correctly by netcat. No ARP entry was created (also no incomplete one) and Linux did not send any ARP request regarding the artificial IP address.






        share|improve this answer












        I tried Linux 4.9 and the answer in this case is no. I crafted an UDP packet with an artificial IP address and MAC address combo, which was received by the Linux-under-Test and displayed correctly by netcat. No ARP entry was created (also no incomplete one) and Linux did not send any ARP request regarding the artificial IP address.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 25 '17 at 15:32









        thomas

        26527




        26527



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f394328%2fdo-incoming-lan-udp-packets-create-an-entry-containing-senders-mac-in-receivers%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?