DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 25th January 2009
sniper007's Avatar
sniper007 sniper007 is offline
Real Name: Jurif
Fdisk Soldier
 
Join Date: Jun 2008
Location: Slovenia
Posts: 50
Default How to apply patche for NMAP

Hi!

I have problems with NMAP software because i would like to run nmap on box where PPPoE connection is establish.


Quote:
Starting Nmap 4.76 ( http://nmap.org ) at 2009-01-23 13:27 CET
WARNING: Unable to find appropriate interface for system route to 213.250.19.90
nexthost: failed to determine route to 89.143.249.33
QUITTING!

I found a patch but i don't have any idea how apply it ?
I'll appreciate any advice.

http://seclists.org/nmap-dev/2006/q2...p_cc_patch_txt
__________________
If anything can go wrong, it will. If it can't, it will anyway
Reply With Quote
  #2   (View Single Post)  
Old 25th January 2009
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Code:
# cd /usr/ports/net-mgmt/nagios
# make patch
<this will fetch the source, extract it, and patch it with any FreeBSD-specific patches)
# cd work/nagios-<version>/path/to/tcpip.cc
# ee tcpip.cc
<make changes as listed in the patch file>
# cd /usr/ports/net-mgmt/nagios
# make build
<make sure there are no errors in the build>
# pkg_delete -xi nagios
# make install
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #3   (View Single Post)  
Old 27th January 2009
sniper007's Avatar
sniper007 sniper007 is offline
Real Name: Jurif
Fdisk Soldier
 
Join Date: Jun 2008
Location: Slovenia
Posts: 50
Default

Fixed

thank you very much
__________________
If anything can go wrong, it will. If it can't, it will anyway
Reply With Quote
  #4   (View Single Post)  
Old 27th January 2009
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

If that patch works, you can consider submitting a PR to request that it be added to the port. Either as an always-applied patch, or as an option.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
testing pf block all rules with Nmap. bsdnewbie999 OpenBSD General 1 25th March 2009 11:55 AM
nmap scans hamba FreeBSD Security 3 2nd February 2009 10:16 AM
nmap and ftp proxy problem hamba FreeBSD Security 2 22nd January 2009 01:33 PM


All times are GMT. The time now is 03:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick