Open-AudIT
https://www.open-audit.org/phpBB3/

OA 2.1 BUG -Discover a single device from web
https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6649
Page 1 of 1

Author:  omega4471 [ Thu Feb 15, 2018 1:48 am ]
Post subject:  OA 2.1 BUG -Discover a single device from web

OA Community 2.1 - Ubuntu 14.04. 5 LTS
When discover a single device ( Network Printer SHARP MX-M565N example ) from web interface using snmp v1 , OA does not recognize the device.
Previous versions of OA worked ( linux ).
OA 2.1 Windows version Works.
Can you help me?
Thanks

Attachments:
Cattura1.PNG
Cattura1.PNG [ 38.42 KiB | Viewed 31085 times ]
Cattura.PNG
Cattura.PNG [ 42.17 KiB | Viewed 31088 times ]

Author:  Mark [ Mon Feb 19, 2018 8:35 am ]
Post subject:  Re: OA 2.1 BUG -Discover a single device from web

I cannot replicate this. Are there any setting that are different (the match_* setting in configuration)?

Author:  omega4471 [ Wed Feb 21, 2018 2:26 am ]
Post subject:  Re: OA 2.1 BUG -Discover a single device from web

OA 2.2 on Ubuntu and OA on Windows srv have the same configuration settings.
if i run discover_subnet.vbs on windows or point it to the linux server, it works.
from the discovery logs it seems that in the discover_subnet.vbs script it seems to recognize snmp credentials and recognize the device via snmp while in the discover_subnet.sh script it can not read snmp credentials from the database and run snmp, in fact the device is unknown and seen by nmap.
any suggestions to solve?
THanks

Author:  omega4471 [ Wed Feb 21, 2018 9:33 pm ]
Post subject:  Re: OA 2.1 BUG -Discover a single device from web

Discovery log from OA 2.1 Windows Srv

Attachments:
Cattura1.PNG
Cattura1.PNG [ 68.03 KiB | Viewed 31025 times ]

Author:  omega4471 [ Wed Feb 21, 2018 9:35 pm ]
Post subject:  Re: OA 2.1 BUG -Discover a single device from web

iscovery log from OA 2.2 Ubuntu Srv

Attachments:
Cattura2.PNG
Cattura2.PNG [ 60.39 KiB | Viewed 31025 times ]

Author:  Mark [ Thu Feb 22, 2018 6:05 am ]
Post subject:  Re: OA 2.1 BUG -Discover a single device from web

Check the SetUID bit has been flipped on the nmap binary. The command:
[code]ls -lh `which nmap`[/code]
Should show:
[code]-rwsr-xr-x 1 root root 766K Mar 22 2017 /usr/bin/nmap[/code]
NOTE - the forth character is an 's'.

If it doesn't show that, run the below command:
[code]chmod u+s `which nmap`[/code]

Then try running discovery again.
There is a warning for this in Pro/Enterprise from 2.1.1 onwards.
[url]https://community.opmantek.com/display/OA/Open-AudIT+and+Nmap[/url]

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/