|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
tcptrack or equivalent
Hey everyone,
On Linux, I use a utility called tcptrack to monitor connections on the fly. I use it because it groups connections based on ip and port, updates the status, and removes the connection when it ends. Whereas tcpdump/{wire,t}shark output comprehensive, and logs everything, tcptrack gives more of an overview. tcpdump is more like a film reel, whereas tcptrack is like watching the movie. https://4.bp.blogspot.com/-W4UnvlrNa...KY/s1600/1.png I've tried compiling it, but it complains about not finding ethernet.h, and I can't find anything about that online, either. My question is, is there any way to either: a) use existing utilities to produce the same output as tcptrack, or b) compile tcptrack (or obtain ethernet.h) |
|
|||
Thanks! I'm going to check that out when I get home. Pure n00b question, but how were you able to determine that ethernet.h was in that package?
__________________
crunkbong project: scripts, operating system, and more |
|
|||
Quote:
Quote:
__________________
crunkbong project: scripts, operating system, and more |
|
|||
You're deeper into software porting territory here. You can't just take any old ethernet.h file.
Seems that is a linux header file which is not part of OpenBSD. If you look in a linux ethernet.h then grep around for the structs and constants in /usr/include/net on OpenBSD, you'll find them defined in various other includes. You would need to include those files in place of ethernet.h and the includes it includes if needed. OpenBSD may not provide the expected functionality at all. This is when porting gets a little more tedious. |
|
|||
Quote:
Quote:
Thank you guys for the responses and guidance.
__________________
crunkbong project: scripts, operating system, and more |
|
|||
Congratulations Scripter, you have a port now:
https://github.com/jasperla/openbsd-...r/net/tcptrack Go edit the Makefile and add your info to the MAINTAINER line and submit it to the ports@ mailing list. |
|
|||
Quote:
Where is the donate button so I can buy you a case of beer or something? This is awesome, thank you a millionfold.
__________________
crunkbong project: scripts, operating system, and more |
|
|||
I don't take payment for this stuff. But if you really want to, my paypal is callab3rpi & gmail ! com
People have tossed me money in the past, which is always weird to me, but I guess I'm not one to stop people from doing so. |
|
|||
Oh, and use your real name (or a good enough pseudonym) for your MAINTAINER name. A MAINTAINER name of "Scripter on Daemonforums" isn't gonna work. (Looking at: https://github.com/souperdoupe/crunk...track/Makefile)
|
|
|||
Yes, you will need to change the MAINTAINER line.
GH_ACCOUNT should be bchretien Also, you should tar up the directory itself. As in, when you run tar xzf on the tarball, it should produce a new directory with all the files inside it, not dump all the files to $CWD. |
|
|||
This has still not been committed to the ports tree.
Why not? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
unison equivalent of rsync --inplace | Oko | General software and network | 0 | 27th April 2016 11:43 PM |
equivalent to freebsd fetch | pbd | OpenBSD General | 9 | 7th August 2009 11:45 AM |
OpenSolaris equivalent of systrace? | DraconianTimes | Solaris | 9 | 31st January 2009 05:36 AM |
Remastersys FreeBSD equivalent? | businessgeeks | FreeBSD General | 2 | 4th August 2008 01:44 PM |
FreeBSD equivalent of DOS's fdisk /mbr | Nobber | FreeBSD General | 5 | 3rd June 2008 07:19 AM |