Skip to content

exemple helloword fail #36

Description

@0x25

hello

the first exemple [http://doc.haka-security.org/haka/release/v0.3.0/doc/user/tutorial/hellopacket.html]

hakapcap hellopacket.pcap hellopacket.lua
info core: load module 'packet/pcap.so', Pcap Module
info core: load module 'alert/file.so', File alert
info core: setting packet mode to pass-through

info core: loading rule file 'hellopacket.pcap'
info core: initializing thread 0
info dissector: register new dissector 'raw'
info pcap: opening file 'hellopacket.lua'
error pcap: unknown file format
fatal core: unable to create packet capture state
fatal core: thread initialization error
info core: unload module 'Pcap Module'
info core: unload module 'File alert'


is in the wrong order

Usage: hakapcap [options]

hakapcap hellopacket.lua hellopacket.pcap
info core: load module 'packet/pcap.so', Pcap Module
info core: load module 'alert/file.so', File alert
info core: setting packet mode to pass-through

info core: loading rule file 'hellopacket.lua'
info core: initializing thread 0
info dissector: register new dissector 'raw'
info pcap: opening file 'hellopacket.pcap'
info dissector: register new dissector 'ipv4'
info dissector: register new dissector 'tcp'
info dissector: register new dissector 'tcp_connection'
info core: 1 rule(s) on event 'tcp_connection:new_connection'
info core: 1 rule(s) on event 'ipv4:receive_packet'
info core: 2 rule(s) registered

info core: starting single threaded processing

info external: packet from 192.168.10.1 to 192.168.10.99
info external: TCP connection from 192.168.10.1:47161 to 192.168.10.99:3000
alert: id = 1
time = Thu Jul 21 11:09:24 2016
severity = low
description = A simple alert
info external: packet from 192.168.10.99 to 192.168.10.1
info external: packet from 192.168.10.1 to 192.168.10.99
info external: packet from 192.168.10.1 to 192.168.10.99
info external: packet from 192.168.10.99 to 192.168.10.1
info external: packet from 192.168.10.1 to 192.168.10.99
info external: packet from 192.168.10.99 to 192.168.10.1
info external: packet from 192.168.10.1 to 192.168.10.99
info core: unload module 'Pcap Module'

info core: unload module 'File alert'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions