[MacPorts] #22368: ettercap-ng gets Fatal error on Snow Leopard at start up
#22368: ettercap-ng gets Fatal error on Snow Leopard at start up ---------------------------------+------------------------------------------ Reporter: randy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ettercap-ng ---------------------------------+------------------------------------------ The initial Arp queries to build the host list failed causing this error. "FATAL: ARP poisoning needs a non empty hosts list." The PCAP_TIMEOUT for MACOSX used in pcap_open_live() is a bit short (10 ms). I'm not sure why there wasn't a more generous value used. I bumped it up to 1000 ms and all is well. Some users may not have had a problem before. I did on two different macbook pros. -- Ticket URL: <http://trac.macports.org/ticket/22368> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22368: ettercap-ng gets Fatal error on Snow Leopard at start up ---------------------------------+------------------------------------------ Reporter: randy@… | Owner: ultrix@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: haspatch | Port: ettercap-ng ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * cc: ultrix@… (removed) * keywords: => haspatch * owner: macports-tickets@… => ultrix@… -- Ticket URL: <http://trac.macports.org/ticket/22368#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22368: ettercap-ng gets Fatal error on Snow Leopard at start up ---------------------------------+------------------------------------------ Reporter: randy@… | Owner: ultrix@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: haspatch | Port: ettercap-ng ---------------------------------+------------------------------------------ Comment(by fjovel@…): hsivank, I tried looking for the file that contains the PCAP_TIMEOUT but I'm having problems finding it. Could you please tell me were to find the file that contains this? Is this the only tweak you had to do to fix this? Thank You! -- Ticket URL: <http://trac.macports.org/ticket/22368#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22368: ettercap-ng gets Fatal error on Snow Leopard at start up ---------------------------------+------------------------------------------ Reporter: randy@… | Owner: ultrix@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: haspatch | Port: ettercap-ng ---------------------------------+------------------------------------------ Comment(by hsivank@…): You can manually modify ec_capture.c but i'm not sure it is the better way.[[BR]] Anyway you can find the build directory like this : a/fetch and extract source : {{{ port extract ettercap-ng }}} b/ get build directory {{{ port work ettercap-ng }}} Or you can use the *classic* method[[BR]] patch ettecap-ng's Porfile with Portfile-ettercap_ng.diff and copy patch_src_ec_capture.c in {ettecap-ng portfile directory}/files[[BR]] (take a look at [http://guide.macports.org/#development.patches.applying]) After, simply launch {{{ sudo port install ettercap-ng }}} ec_capture.c will be automatically modified ... -- Ticket URL: <http://trac.macports.org/ticket/22368#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22368: ettercap-ng gets Fatal error on Snow Leopard at start up ---------------------------------+------------------------------------------ Reporter: randy@… | Owner: ultrix@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: haspatch | Port: ettercap-ng ---------------------------------+------------------------------------------ Comment(by fjovel@…): Replying to [comment:5 hsivank@…]:
You can manually modify ec_capture.c but i'm not sure it is the better way.[[BR]] Anyway you can find the build directory like this :
a/fetch and extract source :
{{{ port extract ettercap-ng }}} Thank You!!! that solved the problem!!! b/ get build directory
{{{ port work ettercap-ng }}}
Or you can use the *classic* method[[BR]] patch ettecap-ng's Porfile with Portfile-ettercap_ng.diff and copy patch_src_ec_capture.c in {ettecap-ng portfile directory}/files[[BR]] (take a look at [http://guide.macports.org/#development.patches.applying])
After, simply launch
{{{ sudo port install ettercap-ng }}}
ec_capture.c will be automatically modified ...
-- Ticket URL: <http://trac.macports.org/ticket/22368#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22368: ettercap-ng gets Fatal error on Snow Leopard at start up ---------------------------------+------------------------------------------ Reporter: randy@… | Owner: ultrix@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: haspatch | Port: ettercap-ng ---------------------------------+------------------------------------------ Comment(by fjovel@…): Hsivank thank you, the fix worked great! -- Ticket URL: <http://trac.macports.org/ticket/22368#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22368: ettercap-ng gets Fatal error on Snow Leopard at start up ----------------------------------+----------------------------------------- Reporter: randy@… | Owner: ultrix@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: worksforme | Keywords: haspatch Port: ettercap-ng | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => worksforme Comment: Can't reproduce. -- Ticket URL: <https://trac.macports.org/ticket/22368#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts