Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIX patches for route and ndd #23

Closed
GoogleCodeExporter opened this issue Jun 14, 2015 · 1 comment
Closed

AIX patches for route and ndd #23

GoogleCodeExporter opened this issue Jun 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

nmap hasn't worked properly on AIX for a while (since it started using dnet), 
these patches fix that.

configure.in
AC_CHECK_HEADERS - some of the headers require sys/socket.h be included first.

Move the check for ac_cv_header_sys_ndd_var_h before the others so that ndd is 
used on AIX.


src/route-bsd.c
Make it work on AIX using getkerninfo(KINFO_RT_DUMP,...).

src/eth-ndd.c
Setting ETH_TYPE_IP caused the bind() to fail with EEXIST, removing that 
appears to work.
Fill in e->device
nmap calls eth_send with a length less than the minimum length for an ethernet 
packet which causes write to fail with EMSGSIZE (Message too long says 
strerror(), but really is too short), so we pad it.
No point in looping once we have an answer.

Original issue reported on code.google.com by po...@thewrittenword.com on 27 Sep 2011 at 5:18

Attachments:

@ofalk
Copy link
Owner

ofalk commented Apr 30, 2022

still valid? please open a new issue.

@ofalk ofalk closed this as completed Apr 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants