Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2002 18:40:03 -0700 (PDT)
From:      Kimura Fuyuki <fuyuki@mj.0038.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/37002: Port Update: (security/fwlogwatch) from 0.6 to 0.7
Message-ID:  <200204120140.g3C1e3Z98551@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/37002; it has been noted by GNATS.

From: Kimura Fuyuki <fuyuki@mj.0038.net>
To: king@v2project.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/37002: Port Update: (security/fwlogwatch) from 0.6 to 0.7
Date: Fri, 12 Apr 2002 10:36:24 +0900

 --Multipart_Fri_Apr_12_10:36:24_2002-1
 Content-Type: text/plain; charset=US-ASCII
 
 At 11 Apr 2002 19:33:37 -0000,
 Joseph King <king@v2project.com> wrote:
 >  	Port Update from fwlogwatch from 0.6 to 0.7, the patch file now change the location of
 > 	etc files and man page location instead of perl command in the Makefile to avoid 
 > 	portlint warnings.
 
 In my environment, 0.7 chops the first character of the dst ip
 addresses.  (ex: 192.168.1.1 -> 92.168.1.1) Do you get the correct
 result ?  I've reported this problem to the author with the following
 patch, but he says "doesn't happen"...
 
 
 --Multipart_Fri_Apr_12_10:36:24_2002-1
 Content-Type: text/plain; charset=US-ASCII
 
 --- ipfilter.l.orig	Fri Mar 29 16:29:33 2002
 +++ ipfilter.l	Wed Mar 27 16:57:38 2002
 @@ -45,17 +45,17 @@
  {STRING}[ ]"@"{NUMBER}":"{NUMBER}[ ]{TARGET}					ipf_parse_data(ipftext, IPF_OPT_NONE);
  {NUMBER}"x"[ ]+{STRING}[ ]"@"{NUMBER}":"{NUMBER}[ ]{TARGET}			ipf_parse_data(ipftext, IPF_OPT_COUNT);
  {OCTET}"."{OCTET}"."{OCTET}"."{OCTET}						ipf_parse_ips(ipftext, IPF_OPT_SRC);
 -" -> "{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}					ipf_parse_ips(ipftext+5, IPF_OPT_DST);
 +" -> "{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}					ipf_parse_ips(ipftext+4, IPF_OPT_DST);
  {OCTET}"."{OCTET}"."{OCTET}"."{OCTET}","{PORT}					ipf_parse_ips(ipftext, IPF_OPT_SRC|IPF_OPT_PORT);
 -" -> "{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}","{PORT}				ipf_parse_ips(ipftext+5, IPF_OPT_DST|IPF_OPT_PORT);
 +" -> "{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}","{PORT}				ipf_parse_ips(ipftext+4, IPF_OPT_DST|IPF_OPT_PORT);
  {STRING}"["{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}"]"				ipf_parse_ips(ipftext, IPF_OPT_SRC|IPF_OPT_RES);
 -" -> "{STRING}"["{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}"]"			ipf_parse_ips(ipftext+5, IPF_OPT_DST|IPF_OPT_RES);
 +" -> "{STRING}"["{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}"]"			ipf_parse_ips(ipftext+4, IPF_OPT_DST|IPF_OPT_RES);
  {STRING}"["{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}"],"{PORT}			ipf_parse_ips(ipftext, IPF_OPT_SRC|IPF_OPT_RES|IPF_OPT_PORT);
 -" -> "{STRING}"["{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}"],"{PORT}		ipf_parse_ips(ipftext+5, IPF_OPT_DST|IPF_OPT_RES|IPF_OPT_PORT);
 +" -> "{STRING}"["{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}"],"{PORT}		ipf_parse_ips(ipftext+4, IPF_OPT_DST|IPF_OPT_RES|IPF_OPT_PORT);
  {OCTET}"."{OCTET}"."{OCTET}"."{OCTET}","{STRING}				ipf_parse_ips(ipftext, IPF_OPT_SRC|IPF_OPT_RPORT);
 -" -> "{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}","{STRING}				ipf_parse_ips(ipftext+5, IPF_OPT_DST|IPF_OPT_RPORT);
 +" -> "{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}","{STRING}				ipf_parse_ips(ipftext+4, IPF_OPT_DST|IPF_OPT_RPORT);
  {STRING}"["{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}"],"{STRING}			ipf_parse_ips(ipftext, IPF_OPT_SRC|IPF_OPT_RES|IPF_OPT_RPORT);
 -" -> "{STRING}"["{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}"],"{STRING}		ipf_parse_ips(ipftext+5, IPF_OPT_DST|IPF_OPT_RES|IPF_OPT_RPORT);
 +" -> "{STRING}"["{OCTET}"."{OCTET}"."{OCTET}"."{OCTET}"],"{STRING}		ipf_parse_ips(ipftext+4, IPF_OPT_DST|IPF_OPT_RES|IPF_OPT_RPORT);
  "PR "{PROTO}									ipf_parse_proto(ipftext+3);
  "len "{NUMBER}[ ][(]?{NUMBER}[)]?						opt.line->datalen = atoi(ipftext+4);
  "frag "{NUMBER}"@"{NUMBER}							/* ignore */
 
 --Multipart_Fri_Apr_12_10:36:24_2002-1--
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204120140.g3C1e3Z98551>