Date: Sat, 8 Dec 2001 12:40:41 +0100 (CET) From: Nicolas Jombart <Nicolas.Jombart@hsc-labs.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/32597: New Port: net/ipsorc A tool to create and send IP packets with a graphical GTK front-end Message-ID: <20011208114041.BA035103B1F@polom.hsc.fr>
next in thread | raw e-mail | index | archive | help
>Number: 32597 >Category: ports >Synopsis: New Port: net/ipsorc A tool to create and send IP packets with a graphical GTK front-end >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 08 03:50:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Nicolas Jombart >Release: FreeBSD 5.0-CURRENT i386 >Organization: HSC Labs >Environment: System: FreeBSD polom.hsc.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Fri Oct 26 01:20:22 CEST 2001 ecu@polom.hsc.fr:/usr/src/sys/i386/compile/ECU i386 >Description: A tool to create and send IP packets with a graphical GTK front-end >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ipsorc # ipsorc/files # ipsorc/files/patch-aa # ipsorc/files/patch-ab # ipsorc/Makefile # ipsorc/distinfo # ipsorc/pkg-plist # ipsorc/pkg-comment # ipsorc/pkg-descr # echo c - ipsorc mkdir -p ipsorc > /dev/null 2>&1 echo c - ipsorc/files mkdir -p ipsorc/files > /dev/null 2>&1 echo x - ipsorc/files/patch-aa sed 's/^X//' >ipsorc/files/patch-aa << 'END-of-ipsorc/files/patch-aa' X--- spellbook.c Sun Dec 2 09:22:58 2001 X+++ ../ipsorc-1.4.patch/spellbook.c Sun Dec 2 13:04:07 2001 X@@ -114,10 +114,10 @@ X { type = ICMP_ECHOREPLY; } X X else if(strstr(type_name, "Destination Unreachable")) X- { type = ICMP_DEST_UNREACH; } X+ { type = ICMP_UNREACH_PORT; } X X else if(strstr(type_name, "Source Quench")) X- { type = ICMP_SOURCE_QUENCH; } X+ { type = ICMP_SOURCEQUENCH; } X X else if(strstr(type_name, "Redirect")) X { type = ICMP_REDIRECT; } END-of-ipsorc/files/patch-aa echo x - ipsorc/files/patch-ab sed 's/^X//' >ipsorc/files/patch-ab << 'END-of-ipsorc/files/patch-ab' X--- Makefile.orig Sun Dec 2 14:25:31 2001 X+++ Makefile Sun Dec 2 14:25:45 2001 X@@ -6,6 +6,8 @@ X CON = sorcery.c spells.c ipsorcery.c X #OBJS = $(SRC:.c=.o) X X+all: con gtk X+ X con: X $(CC) -g -O2 -Wall -ansi $(CON) -o ipmagic X END-of-ipsorc/files/patch-ab echo x - ipsorc/Makefile sed 's/^X//' >ipsorc/Makefile << 'END-of-ipsorc/Makefile' X# New ports collection makefile for: ipsorc X# Date created: 02 December, 2001 X# Whom: Nicolas.Jombart@hsc-labs.com X# X# $FreeBSD$ X# X XPORTNAME= ipsorc XPORTVERSION= 1.4 XCATEGORIES= net security XMASTER_SITES= http://www.legions.org/~phric/ XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= Nicolas.Jombart@hsc-labs.com X XUSE_GTK= yes X Xpost-patch: X @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old X @${SED} s,gtk-config,${GTK_CONFIG}, < ${WRKSRC}/Makefile.old \ X > ${WRKSRC}/Makefile X @${RM} ${WRKSRC}/Makefile.old X Xdo-install: X.for file in ipmagic magic X ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin X.endfor X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/${PORTNAME} X.for i in README X ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME} X.endfor X.endif X X.include <bsd.port.mk> END-of-ipsorc/Makefile echo x - ipsorc/distinfo sed 's/^X//' >ipsorc/distinfo << 'END-of-ipsorc/distinfo' XMD5 (ipsorc-1.4.tar.gz) = 1a5472ae897b289ba07953386d26d1b3 END-of-ipsorc/distinfo echo x - ipsorc/pkg-plist sed 's/^X//' >ipsorc/pkg-plist << 'END-of-ipsorc/pkg-plist' Xbin/ipmagic Xbin/magic X%%PORTDOCS%%share/doc/ipsorc/README END-of-ipsorc/pkg-plist echo x - ipsorc/pkg-comment sed 's/^X//' >ipsorc/pkg-comment << 'END-of-ipsorc/pkg-comment' XA tool to create and send IP packets with a graphical GTK front-end END-of-ipsorc/pkg-comment echo x - ipsorc/pkg-descr sed 's/^X//' >ipsorc/pkg-descr << 'END-of-ipsorc/pkg-descr' XIP Sorcery (ajs023@motorola.com) is a program that can generate XIP packets (TCP, UDP, ICMP), with total control to fields, bits and Xdata. XIt can work whitin the command line or a graphical frond-end written Xin GTK. XIP Sorcery is useful to test program, firewalls, routers, etc. X XWWW: http://www.legions.org/~phric/ipsorcery.html X X--Nicolas Jombart <Nicolas.Jombart@hsc-labs.com> END-of-ipsorc/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: 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?20011208114041.BA035103B1F>