On Sat, May 19, 2012 at 7:02 PM, Robert Vineyard <[email protected]> wrote:
> Any movement on this? I've posted the first section of a guide for building
> a software network tap based on OpenWRT and Daemonlogger at
> http://vinsec.blogspot.com, and I've already had significant interest from
> folks at Sourcefire, Mandiant, and elsewhere for the publication of this
> work to a much wider audience.

Just reinstalled my development environment, once i get the WRT sources
pulled down ill get on this and test it, if its good ill commit it for
you. sometime
later this evening most likely.

>
> It would be really convenient if I could tailor my HOWTO to software that
> already exists in the mainline OpenWRT distribution rather than having to
> lead folks through setting up the BuildRoot environment and rolling their
> own.
>
> This is not a patch in the purest sense; I am merely adding a Makefile to
> build daemonlogger as a native OpenWRT package. No existing files are
> modified by this patch. Does anyone have the time to review it for potential
> inclusion in the next stable release of Backfire?
>
> Thanks in advance,
> Robert Vineyard
>
>
> On 5/6/2012 3:19 AM, Robert Vineyard wrote:
>>
>> Daemonlogger is a packet logger and soft tap developed by Martin Roesch.
>> This patch adds a Makefile to build it as an OpenWRT ipk package.
>>
>> Note: This patch is against trunk, but it also builds cleanly on Backfire.
>>
>> Signed-off-by: Robert Vineyard<[email protected]>
>>
>> ---
>>
>> Index: feeds/packages/net/daemonlogger/Makefile
>> ===================================================================
>> --- feeds/packages/net/daemonlogger/Makefile    (revision 0)
>> +++ feeds/packages/net/daemonlogger/Makefile    (revision 0)
>> @@ -0,0 +1,44 @@
>> +#
>> +# Copyright (C) 2007-2011 OpenWrt.org
>> +#
>> +# This is free software, licensed under the GNU General Public License
>> v2.
>> +# See /LICENSE for more information.
>> +#
>> +
>> +include $(TOPDIR)/rules.mk
>> +
>> +PKG_NAME:=daemonlogger
>> +PKG_VERSION:=1.2.1
>> +PKG_RELEASE:=1
>> +
>> +PKG_SOURCE:=463
>> +PKG_SOURCE_URL:=http://www.snort.org/downloads/
>> +PKG_CAT:=zcat
>> +PKG_MD5SUM:=acb64aa6cd5777e297569f100b5c39ee
>> +
>> +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME)-$(PKG_VERSION)
>> +
>> +PKG_INSTALL:=1
>> +
>> +include $(INCLUDE_DIR)/package.mk
>> +
>> +define Package/daemonlogger
>> +  SECTION:=net
>> +  CATEGORY:=Network
>> +  DEPENDS:=+libpcap +libdnet
>> +  TITLE:=Software Network Tap
>> +  URL:=http://www.snort.org/snort-downloads/additional-downloads
>> +endef
>> +
>> +CONFIGURE_VARS += \
>> +       BUILD_CC="$(TARGET_CC)" \
>> +       HOSTCC="$(HOSTCC)"
>> +
>> +MAKE_FLAGS := CCOPT="$(TARGET_CFLAGS)" INCLS="-I. $(TARGET_CPPFLAGS)"
>> +
>> +define Package/daemonlogger/install
>> +       $(INSTALL_DIR) $(1)/usr/bin
>> +       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/daemonlogger
>> $(1)/usr/bin/
>> +endef
>> +
>> +$(eval $(call BuildPackage,daemonlogger))
>> _______________________________________________
>> openwrt-devel mailing list
>> [email protected]
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to