Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Linux, "port mirror" between two boxes...

Linux, "port mirror" between two boxes...

Linux, "port mirror" between two boxes...

Good afternoon, all. I haven't posted on TT since 2010, so please excuse the "extended absence"...

With the push to migrate things to the cloud, there's obviously still a few things you can't pull off like you can on good ol' on-prem hardware, leaving a deficiency that I'm hoping can be filled with software.

I have a Linux (Ubuntu) box that needs a second Linux box to "port-mirror" it's traffic. I've found several things on the internet suggesting this can be done, but no definitive guide to do so. Both machines will have their primary ETH0 interface to the outside world, then with both have an ETH1, which I hope to use as some sort of bridge between them. Basically, a virtual "crossover cable" between them (over IP, but without modifying the data collected).

Since Wireshark/PCAP allows remote capture over SSH, I had hoped someone would have written a virtual ethernet "driver" that basically establishes that remote pcap link in order to stream the traffic to the second box, but haven't been able to find anything.

Does anyone have any thoughts on how this might be able to be achieved? Server 1 would handle all the traffic for the application, and Server 2 merely exists to monitor all the traffic going in/out of that Server 1's ETH0 interface.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close