Code Monkey home page Code Monkey logo

Comments (2)

Kaian avatar Kaian commented on May 25, 2024

Buenas!

He hecho un pequeño cambio en la manera que se le pasan los argumentos a ngrep para que acepte correctamente los flags sencillos. Ahora debería ser posible incluso combinarlos, como por ejemplo:

sngrep -d eth0 "(^|CSeq:\s?\d* )(INVITE|INFO|UPDATE)"

Coméntame si ahora te funciona correctamente!

Un saludo y gracias!! 👯

from sngrep.

Kaian avatar Kaian commented on May 25, 2024

Buenas,

Umm el anterior commit era necesario pero no creo que solucione el problema.
Lo curioso del mensaje de error "eth4: no IPv4 address assigned:" es que lo está dando ngrep, quejandose de que el interfaz eth4 no tiene IP o es IPv6... (asumiendo que no has deshabilitado ngrep en el configure)

Pero lo realmente extraño es que no de el mismo error si se lanza ngrep directamente..
En mis pruebas con una interfaz sin dirección IPv4 y un ngrep sin compatibilidad con IPv6 también falla:

kaian sngrep # ip a s sit0
3: sit0: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN 
    link/sit 0.0.0.0 brd 0.0.0.0
    inet6 ::10.10.0.219/96 scope global 
       valid_lft forever preferred_lft forever
    inet6 ::127.0.0.1/96 scope host 
       valid_lft forever preferred_lft forever
kaian sngrep # ngrep -pqt -Wbyline -d sit0 port 5060
sit0: no IPv4 address assigned: No se puede asignar la dirección solicitada
interface: sit0
filter: (ip) and ( port 5060 )

from sngrep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.