From owner-freebsd-ports@FreeBSD.ORG Tue Feb 3 16:45:40 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBE3C10656C3 for ; Tue, 3 Feb 2009 16:45:40 +0000 (UTC) (envelope-from mohacsi@niif.hu) Received: from mail.ki.iif.hu (mail.ki.iif.hu [IPv6:2001:738:0:411::241]) by mx1.freebsd.org (Postfix) with ESMTP id 46D8E8FC1C for ; Tue, 3 Feb 2009 16:45:40 +0000 (UTC) (envelope-from mohacsi@niif.hu) Received: from localhost (localhost [IPv6:::1]) by mail.ki.iif.hu (Postfix) with ESMTP id ABDEA84A3B; Tue, 3 Feb 2009 17:45:38 +0100 (CET) X-Virus-Scanned: by amavisd-new at mignon.ki.iif.hu Received: from mail.ki.iif.hu ([127.0.0.1]) by localhost (mignon.ki.iif.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Zvn20H1vRQLZ; Tue, 3 Feb 2009 17:45:35 +0100 (CET) Received: by mail.ki.iif.hu (Postfix, from userid 9002) id D1B6B84A1A; Tue, 3 Feb 2009 17:45:35 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.ki.iif.hu (Postfix) with ESMTP id D01B4849C5; Tue, 3 Feb 2009 17:45:35 +0100 (CET) Date: Tue, 3 Feb 2009 17:45:35 +0100 (CET) From: Mohacsi Janos X-X-Sender: mohacsi@mignon.ki.iif.hu To: Network Infrastructure Support In-Reply-To: <1233597269.477246.073116342.13908.2@otrs.ewc.edu> Message-ID: References: <1233597269.477246.073116342.13908.2@otrs.ewc.edu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: ports@FreeBSD.org Subject: Re: [Ticket#2009013010000513] FreeBSD Port: rancid-2.3.1_3 / Re: Submit BUG report to FreeBSD for RANCID port with PATCH X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2009 16:45:41 -0000 Dear All, Your reques has been Forwarded to the authors. Janos Mohacsi Network Engineer, Research Associate, Head of Network Planning and Projects NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 6F64 7B00 70EF 9882 On Mon, 2 Feb 2009, Network Infrastructure Support wrote: > The following patches, taken from > 'http://blog.glinskiy.com/2007/03/rancid-and-netscreen-firewall.html' address some > issues with netscreen firewalls. > > Please see inline patches below. Thanks! > > Your Ticket-Team > > Michael Joyner > > -- > Edward Waters College Information Technology > Tookes Building - 1660 Kings Road, Jacksonville, FL 32209 USA > Email: support@otrs.ewc.edu - Web: http://otrs.ewc.edu/otrs/customer.pl > -- > ---- Forwarded message from Network Infrastructure Support --- > > From: > Network Infrastructure Support > To: > it-group@listserv.ewc.edu > Subject: > [Ticket#2009013010000513] Submit BUG report to FreeBSD for RANCID port with PATCH > Created: > 01/30/2009 13:11:56 > > http://blog.glinskiy.com/2007/03/rancid-and-netscreen-firewall.html > > ================= > [root@netdisco /usr/local/libexec/rancid]# diff -u -C 5 nlogin.dist nlogin > *** nlogin.dist Fri Jan 30 12:46:12 2009 > --- nlogin Fri Jan 30 12:54:43 2009 > *************** > *** 483,500 **** > > # Login to the firewall > if {[login $firewall $ruser $userpswd $passwd $enapasswd $prompt $cmethod > $cyphertype]} { > continue > } > ! if { $enable } { > ! if {[do_enable $enauser $enapasswd]} { > ! if { $do_command || $do_script } { > ! close; wait > ! continue > ! } > ! } > ! } > # we are logged in, now figure out the full prompt > send "\r" > expect { > -re "\[\r\n]+" { exp_continue; } > -re "^.+$prompt" { set junk $expect_out(0,string); > --- 483,500 ---- > > # Login to the firewall > if {[login $firewall $ruser $userpswd $passwd $enapasswd $prompt $cmethod > $cyphertype]} { > continue > } > ! # if { $enable } { > ! # if {[do_enable $enauser $enapasswd]} { > ! # if { $do_command || $do_script } { > ! # close; wait > ! # continue > ! # } > ! # } > ! # } > # we are logged in, now figure out the full prompt > send "\r" > expect { > -re "\[\r\n]+" { exp_continue; } > -re "^.+$prompt" { set junk $expect_out(0,string); > > > > [root@netdisco /usr/local/libexec/rancid]# diff -u -C 5 nrancid.dist nrancid > *** nrancid.dist Fri Jan 30 12:54:49 2009 > --- nrancid Fri Jan 30 12:55:01 2009 > *************** > *** 195,204 **** > --- 195,205 ---- > if (/^set admin user (\S+) password (\S+) privilege (\S+)$/ && > $filter_pwds >= 1) { > ProcessHistory("ADMIN","","", > "!set admin user $1 password privilege $3\n"); > next; > + } > ProcessHistory("","","","$_"); > } > $found_end=1; > return(1); > } > > > Your Ticket-Team > > Michael Joyner