On Wed, Nov 29, 2017 at 9:28 PM, Nick Schumacher
<
schumac...@gmail.com> wrote:
> Hey all,
>
> Trying to set up my machine to use NIC's as a sort of WAN to LAN bridge that
> scans everything coming into or going out of my network, and having a little
> trouble getting it working correctly.
>
> Aside from Elasticsearch being yellow because of one unassigned recovery
> shard in .kibana everything seems to be up and running now (although also
> had some issues with the NICS not being in promiscuous mode and had to set
> that manually before suricata would startup right)
>
How are you doing the tests exactly?
> Anyway, the issue I'm running into is that suricata doesn't appear to be
> passing the data through to the other NIC. Not sure where I'm going wrong
> here, and I haven't seen anything in the suricata log although I'm not sure
> that's the right log to look at for this problem. Here's my af-packet
> section of suricata.yaml, and my /etc/network/interfaces
>
> suricata.yaml:
> af-packet:
> - interface: eth0
> cluster-id:99
> cluster-type: cluster_flow
> defrag:yes
>
Do you use the 3 interfaces - eth0 / enp1s0f0 and enp1s0f0 ?
> - interface: enp1s0f0
> threads:auto
> defrag: yes
> cluster-type: cluster_flow
> cluster-id: 98
> copy-mode: ips
> copy-iface: enp1s0f1
> buffer-size: 64535
> use-mmap: yes
>
> - interface: enp1s0f1
> threads: auto
> cluster-id: 97
> defrag: yes
> cluster-type: cluster_flow
> copy-mode: ips
> copy-iface: enp1s0f0
> buffer-size: 64535
instead of buffer-size use ring size and do a test while setting it up
with a small value - aka 2048 for example.
> use-mmap: yes
>
> -interface: default
>
>
> /etc/network/interfaces:
> auto lo
> iface lo inetloopback
>
> allow-hotplug eno1
> iface eno1 inet static # Management interface
> address 192.168.0.100
> netmask 255.255.252.0
> gateway 192.168.0.1
> dns-nameservers 192.168.0.11 192.168.0.6
>
> iface enp1s0f0 inet manual
> pre-up ifconfig $IFACE up
> post-down ifconfig $IFACE down
> post-up /etc/network/if-up.d/idps-interface-tuneup_stamus
>
> iface enp1s0f1 inet manual
> pre-up ifconfig $IFACE up
> post-down ifconfig $IFACE down
> post-up /etc/network/if-up.d/idps-interface-tuneup_stamus
>
>
> Any of that look wrong? If I can help with other file contents or command
> output please ask.
>
Are there any errors in /var/log/suricata/suricata.log or suricata-start.log?
> Thank you!!!!
>
> Nick
>
> --
> IRC: Let's talk about SELKS on Freenode IRC on the #SELKS channel
> Wiki:
https://github.com/StamusNetworks/SELKS/wiki
> GitHub:
https://github.com/StamusNetworks/SELKS
> Blog:
https://www.stamus-networks.com/theblog/
> Twitter: @StamusN
> g+: Stamus Networks
> ---
> You received this message because you are subscribed to the Google Groups
> "SELKS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
selks+un...@googlegroups.com.
> To post to this group, send email to
se...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Regards,
Peter Manev