This also works for me on RedHat 7.3 Linux. Here is the relevant portion of the strace output; perhaps it will be useful to compare against on whatever you're running on:
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) fstat64(4, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, + 0) = 0x40112000 _llseek(4, 0, 0xbfffe900, SEEK_CUR) = -1 ESPIPE (Illegal seek) fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) fstat64(4, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, + 0) = 0x40113000 _llseek(4, 0, 0xbfffe900, SEEK_CUR) = -1 ESPIPE (Illegal seek) fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 brk(0x818e000) = 0x818e000 setsockopt(4, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0 bind(4, {sin_family=AF_INET, sin_port=htons(67), sin_addr=inet_addr("0 +.0.0.0")}}, 16) = 0 recvfrom(4, "\1\1\6\0ZeH\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0". +.., 1024, 0, {sin_family=AF_INET, sin_port=htons(68), sin_addr=inet_a +ddr("0.0.0.0")}}, [16]) = 300 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, + 0) = 0x40114000 write(1, "Saw a bootp request.\n", 21) = 21

In reply to Re: Intercepting UDP broadcasts by sfink
in thread Intercepting UDP broadcasts by Abigail-II

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.