<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 12/16/13, 4:28 PM, Juli Mallett
      wrote:<br>
    </div>
    <blockquote
cite="mid:CACVs6=_=x0R3SJep648BBOe2FzM8prBiVO0p4MMC42kLEUnuHQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Alfred,
        <div><br>
        </div>
        <div>It's probably the "libuinet" component you're looking for,
          but that's an active userland TCP stack, not a passive one.
           That is, you can do full TCP/IP with libuinet pretty easily,
          but you can't just hand it packets and look at a stream you're
          intercepting.  It might be possible to make it provide two
          half-connections for each connection from the wire at some
          point, with data going into a socket and being readable, but
          that functionality isn't there now.  I know there's some
          interest in funding Pat Kelsey (who did the "libuinet" work)
          to do that, but I don't think there's any roadmap for it.  I
          may also be misunderstanding what you're using libnids to do.</div>
      </div>
    </blockquote>
    <br>
    I think you're right on point.<br>
    <br>
    Basically what I need is the ability to write something like
    <a class="moz-txt-link-freetext" href="https://github.com/alfredperlstein/dsniff/blob/master/urlsnarf.c">https://github.com/alfredperlstein/dsniff/blob/master/urlsnarf.c</a>
    using wanproxy as a backend.<br>
    <br>
    Specifically have a look at line 164 of the file at 
    <meta charset="utf-8">
    sniff_http_client(), this calls line 88 of that file
    <meta charset="utf-8">
    (process_http_request()) each time a new packet comes in for a
    stream we are interested in.  It's relatively basic stuff to monitor
    streams.  Is it at all possible to do this using wanproxy libuinet?<br>
    <br>
    If not is Pat available to chat about what needs to be done?<br>
    <br>
    thank you,<br>
    -Alfred<br>
    <blockquote
cite="mid:CACVs6=_=x0R3SJep648BBOe2FzM8prBiVO0p4MMC42kLEUnuHQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Juli.</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Dec 16, 2013 at 2:16 PM, Alfred
          Perlstein <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:alfred@freebsd.org" target="_blank">alfred@freebsd.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey a
            friend referred me to wanproxy as an alternative to libnids.<br>
            <br>
            I'm wondering is there overlap in the functionality such
            that I could drop it in place for the backend for dsniff's
            suit of utils, specifically urlsnarf.<br>
            <br>
            -Alfred<br>
            _______________________________________________<br>
            wanproxy mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:wanproxy@lists.wanproxy.org" target="_blank">wanproxy@lists.wanproxy.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org"
              target="_blank">http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>