<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Don't overlook you will see names you would not use in front of your
    mother, children or ever dreamed someone would use.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 3/15/2016 9:00 PM, Bradford
      Dickerson wrote:<br>
    </div>
    <blockquote cite="mid:ED50F0F3-9D9B-494E-920A-A7E89800B873@mac.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <div>Yes would miss that one. In our particular case though it is
        ok since we are just trying to roughly characterize the traffic
        and don't think most of our users change there iPhone name but
        could be wrong. <br>
        <br>
        Sent from my iPhone</div>
      <div><br>
        On Mar 15, 2016, at 5:07 PM, José Queiroz <<a
          moz-do-not-send="true" href="mailto:zekkerj@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:zekkerj@gmail.com">zekkerj@gmail.com</a></a>>
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          <div dir="ltr">What if Stephan changes its iphone's name to
            "MadMakingMachine"?<br>
            <div class="gmail_extra"><br>
              <div class="gmail_quote">
                <div bgcolor="#FFFFFF">
                  <div>
                    <div class="h5"><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">2016-03-14 10:43 GMT-03:00 Bradford
              Dickerson <span dir="ltr"><<a moz-do-not-send="true"
                  href="mailto:bra00424@mac.com" target="_blank">bra00424@mac.com</a>></span>:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks
                Glenn! I didnt see that option when looking at man pages
                first time through but now I do!. Thx, Brad<br>
                <div class="HOEnZb">
                  <div class="h5">> On Mar 13, 2016, at 10:24 PM,
                    Glenn Satchell <<a moz-do-not-send="true"
                      href="mailto:glenn.satchell@uniq.com.au">glenn.satchell@uniq.com.au</a>>
                    wrote:<br>
                    ><br>
                    > Regex matching has been a part of the syntax
                    for many years. See dhcp-eval<br>
                    > man page on your system.<br>
                    ><br>
                    >     data-expression-1 ~= data-expression-2
                    data-expression-1  ~~<br>
                    >     data-expression-2<br>
                    ><br>
                    >       The ~= and ~~ operators (not  available 
                    on  all  systems)<br>
                    >       perform  extended  regex(7)  matching of
                    the values of two<br>
                    >       data  expressions,  returning  true  if 
                    data-expression-1<br>
                    >       matches  against the regular expression
                    evaluated by data-<br>
                    >       expression-2, or false if it does not
                    match or  encounters<br>
                    >       some  error.   If  either the left-hand
                    side or the right-<br>
                    >       hand side are null or empty strings, the 
                    result  is  also<br>
                    >       false.   The  ~~  operator differs from
                    the ~= operator in<br>
                    >       that it is case-insensitive.<br>
                    ><br>
                    > So you'll want something like this, but it's
                    not foolproof either as the<br>
                    > user could name the system anything they like.<br>
                    ><br>
                    > class "IPHONE_ACCORDING_TO_HOSTNAME" {<br>
                    >   match if option host-name ~= "iPhone";<br>
                    > }<br>
                    ><br>
                    > regards,<br>
                    > -glenn<br>
                    ><br>
                    > On Sat, March 12, 2016 9:06 am, Bradford
                    Dickerson wrote:<br>
                    >> Thanks Jose for pointer to list. I could
                    use that to identify Apple<br>
                    >> clients. To narrow it down to various apple
                    types such as iphones, ipads<br>
                    >> vs mac computers dont think it will help.<br>
                    >><br>
                    >>> On Mar 11, 2016, at 4:44 PM, José
                    Queiroz <<a moz-do-not-send="true"
                      href="mailto:zekkerj@gmail.com">zekkerj@gmail.com</a>>
                    wrote:<br>
                    >>><br>
                    >>> Have you seen this?<br>
                    >>> <a moz-do-not-send="true"
href="https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf"
                      rel="noreferrer" target="_blank">https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf</a><br>
                    >>> <<a moz-do-not-send="true"
href="https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf"
                      rel="noreferrer" target="_blank">https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf</a>><br>
                    >>><br>
                    >>> PS: Sorry the [possible] double
                    posting, for some reason my messages<br>
                    >>> aren't being received by the list.<br>
                    >>><br>
                    >>> 2016-03-11 18:09 GMT-03:00 Bradford
                    Dickerson <<a moz-do-not-send="true"
                      href="mailto:bra00424@mac.com">bra00424@mac.com</a><br>
                    >>> <mailto:<a moz-do-not-send="true"
                      href="mailto:bra00424@mac.com">bra00424@mac.com</a>>>:<br>
                    >>> Hi Jose,<br>
                    >>>    Thanks for replying. Was looking
                    into that but was unsuccessful (<br>
                    >>> searching on the web ) finding a
                    list(range) of OUIs that Apple used<br>
                    >>> specifically for their iphones. Thx,
                    Brad<br>
                    >>><br>
                    >>>> On Mar 11, 2016, at 3:43 PM, José
                    Queiroz <<a moz-do-not-send="true"
                      href="mailto:zekkerj@gmail.com">zekkerj@gmail.com</a><br>
                    >>>> <mailto:<a
                      moz-do-not-send="true"
                      href="mailto:zekkerj@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:zekkerj@gmail.com">zekkerj@gmail.com</a></a>>>
                    wrote:<br>
                    >>>><br>
                    >>>> Hi Bradford,<br>
                    >>>><br>
                    >>>> It will be much easier if you use
                    MAC Addresses to do that. That way<br>
                    >>>> you may use the MAC's OUI to
                    determine the device's branding.<br>
                    >>>><br>
                    >>>> 2016-03-11 17:35 GMT-03:00 Bradford
                    Dickerson <<a moz-do-not-send="true"
                      href="mailto:bra00424@mac.com">bra00424@mac.com</a><br>
                    >>>> <mailto:<a
                      moz-do-not-send="true"
                      href="mailto:bra00424@mac.com"><a class="moz-txt-link-abbreviated" href="mailto:bra00424@mac.com">bra00424@mac.com</a></a>>>:<br>
                    >>>> Hi,<br>
                    >>>>  At our company, we are trying to
                    hand out IP ranges based on the<br>
                    >>>> characteristics of the client. For
                    example using a class declaration<br>
                    >>>> as follows:<br>
                    >>>><br>
                    >>>> class
                    "IPHONE_ACCORDING_TO_HOSTNAME" {<br>
                    >>>>  match if substring(option
                    host-name,0,6) = "iPhone";<br>
                    >>>> }<br>
                    >>>><br>
                    >>>> but I notice many iphones have
                    names like â€˜Brad-iPhone’ or<br>
                    >>>> â€™TomIphone’ does not quite
                    match above . Is there any plan to<br>
                    >>>> support regex type matches?<br>
                    >>>><br>
                    >>>> Thx,<br>
                    >>>> Brad<br>
                    >>>>
                    _______________________________________________<br>
                    >>>> dhcp-users mailing list<br>
                    >>>> <a moz-do-not-send="true"
                      href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
                    <mailto:<a moz-do-not-send="true"
                      href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>><br>
                    >>>> <a moz-do-not-send="true"
                      href="https://lists.isc.org/mailman/listinfo/dhcp-users"
                      rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
                    >>>> <<a moz-do-not-send="true"
                      href="https://lists.isc.org/mailman/listinfo/dhcp-users"
                      rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a>><br>
                    >>><br>
                    >>><br>
                    >><br>
                    >>
                    _______________________________________________<br>
                    >> dhcp-users mailing list<br>
                    >> <a moz-do-not-send="true"
                      href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
                    >> <a moz-do-not-send="true"
                      href="https://lists.isc.org/mailman/listinfo/dhcp-users"
                      rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
                    ><br>
                    ><br>
                    > _______________________________________________<br>
                    > dhcp-users mailing list<br>
                    > <a moz-do-not-send="true"
                      href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
                    > <a moz-do-not-send="true"
                      href="https://lists.isc.org/mailman/listinfo/dhcp-users"
                      rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
                    <br>
                    _______________________________________________<br>
                    dhcp-users mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
                    <a moz-do-not-send="true"
                      href="https://lists.isc.org/mailman/listinfo/dhcp-users"
                      rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
                  </div>
                </div>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </blockquote>
      <blockquote type="cite">
        <div><span>_______________________________________________</span><br>
          <span>dhcp-users mailing list</span><br>
          <span><a moz-do-not-send="true"
              href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a></span><br>
          <span><a moz-do-not-send="true"
              href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></span></div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>