LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-17-2019, 02:32 PM   #1
Henk1
LQ Newbie
 
Registered: Apr 2018
Posts: 4

Rep: Reputation: Disabled
Question SNORT, route packet on matching rule


Dear all,

We use SNORT rules to match on specific traffic (inline mode) between two network interface cards.

This is working perfect.

But we would like to route the packet from a specific matching rule:

alert tcp any any -> 192.168.1.2 3306 ( msg:"Sample alert 192.168.1.2:3306"; sid:87657292; rev:1; )

to another ip then the specified destination.
(we had this working with bridge utils (Centos 7) using ebtables and iptables, but had to give up the bridge configuration due to the inline Snort solution.

Any idea how to deal with this issue?
 
Old 05-05-2019, 11:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Probably with NFQUEUE?
 
1 members found this post helpful.
Old 05-06-2019, 01:59 AM   #3
Henk1
LQ Newbie
 
Registered: Apr 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
thank you for the reply,

we have looked to nfqueue, but decided to set up a bridge, only allowing the requested port, and set up snort routing eveything except the desired port.

KR
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Packet going out of wrong interface due to OS adding cache route - OS trying to route through default route msr1981 Linux - Networking 2 10-11-2017 02:58 PM
Packet going out of wrong interface due to OS adding cache route - OS trying to route through default route msr1981 Red Hat 1 10-09-2017 05:45 AM
[SOLVED] Snort - DynamicPlugin: Rule [##] not enabled in configuration, rule will not be used mhollis Linux - Software 3 08-29-2011 06:06 PM
Route eth2 TCP packets to tun0 with IPTABLES & IP RULE/ROUTE Thireus Linux - Networking 4 05-09-2011 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration