NYCPHP Meetup

NYPHP.org

[nycphp-talk] Anyone using/developing on Snort/ACID?

Hans Zaunere zaunere at yahoo.com
Tue Jun 10 12:22:13 EDT 2003


--- Jon Baer <jonbaer at jonbaer.net> wrote:
> Id be interested in that ... @ the moment Im only using ACID as a web
> interface for disconnected DHCP clients as it will be pretty much just a
> package that boots users running P2P or downloading porn over WiFi ... do
> the ncurses apps also work on Windows w/ Cygwin?  I got ettercap to work
> but I can't seem to compile using ncurses lib.

Hmm... good question.  Theoretically, it should work.  If Cygwin has a
coherent implementation of ncurses, that is.

> I have not seen sample PHP/ncurses apps but just from reading
> http://www.zend.com/manual/ref.ncurses.php and it stressing to use the
> extension @ ur own risk have you had any problems? (major ones I mean)

Honestly, I ditched the bundled ncurses extension and wrote my own.  After
examining it, I realized that the functions were returning all sorts of
different types, and there was just general inconsistency.  Plus, there was a
lot of stuff I didn't need (pads,menus,etc) that just added complexitity. 
After the rewrite, I wrapped it in a class so I can do stuff like $mywindow =
new Window('Title');  Hey, just like MFC!  :)  I'm going to be submitting
this stuff to PECL at some point.

All that said, I don't think there is anything inherently unstable about the
provided ncurses library.  It was just kind of messy.

Nice info here:  http://www.zend.com/zend/tut/tut-degan.php


H


> ----- Original Message ----- 
> From: "Hans Zaunere" <zaunere at yahoo.com>
> > On a somewhat similar note, I had begun work on an extension to
> > form/send/recv raw packets, but it's been on the back burner for some
> time.
> > I guess it could be used to wreak havoc on an IDS  :)
> >
> > At work I'm just completing a couple ncurses apps in PHP - were you
> > considering something console based, or strictly web related?
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 




More information about the talk mailing list