Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Local interface address detection broken on Fedora 21 #17

Closed
danielkza opened this issue Nov 11, 2014 · 2 comments
Closed

Local interface address detection broken on Fedora 21 #17

danielkza opened this issue Nov 11, 2014 · 2 comments

Comments

@danielkza
Copy link

The local interface address detection in nogotofail/mitm/util/ip.py parses ifconfig output, assuming it conforms to the inet addr: <addr> format, but that isn't true on Fedora 21. Here is a piece of the output on my machine:

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 1019521  bytes 7437657641 (6.9 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1019521  bytes 7437657641 (6.9 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Notice the IP is not prefixed with addr:.

@danielkza
Copy link
Author

That was quick, thanks!

@chadbrubaker
Copy link
Contributor

No problem. Let me me know if it is parsing correctly now. It parsed your example at least.

mkenne11 added a commit to mkenne11/nogotofail that referenced this issue Jan 2, 2016
Added handler to detect ciphers that don't support forward secrecy
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants