Building a open source media server [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking into the possibilities of building an open-source streaming media server on Debian. It will be serving a mix of mp3 and mp4 files, perhaps 10-30 streams at a time, fairly high quality.
What are the possibilities for a Linux streaming media server that is totally open-source?

XBMC and MythTV are two popular media server software distributions that come to my mind. They are also available as individual packages that you should be able to install on any distro.
In addition to media server functionality, MythTV provides DVR and TV tuner functionality as well.

I always thought of XBMC and Mythtv as stream consumers, rather than stream providers. Can't speak to XBMC at all. Myth can definitely provide streams and it sets them up pretty much out-of-the-box ready to go. Not sure it can handle 30 concurrent streams. If you want that many, I'm guessing this will go beyond your home network and you want something that can be hardened and exposed to the internet. I'd recommend mediatomb as a streaming server. Maybe also lots of RAM for a filesystem cache and an extra couple of network cards. I think that's where your bottleneck will form.

Related

How to understand protocols and their implementations from code? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Good day.
I want to learn the basic ways in which computer protocols works, protocols like http, p2p, tcp/ip etc.
I've found many codes that implement those protocols and API's but each one has its own "uniqueness" in it - and to be honest many are just daunting.
At first I assumed most protocols can be represented as (relatively) simple pseudo-code or flowcharts design, Which (as far as I can tell after Google-ing for some time) wasn't true.
I would highly appreciated if any of you guys could point me to right path, and/or provide me with some useful hints.
which code is better to learn from?
what are the key elements to focus on?
how can I tell which part of the code is an essential part of the protocol itself?
This questions might seem too trivial for some of you, but that's exactly why I'm choosing to post it here. Thanks!
Before reading the code, you should read the protocol specification. Conversely, when implementing your own new protocol, you always should document that protocol (at the very least in a long comment).
Protocols like HTTP have a long and complex specification. e.g. RFC2616 or better RFC7230 and following. There are several books explaining HTTP.
binary vs textual protocol is a common issue. Textual protocols are easier to debug. Eg. JSON or something above it e.g. JSONRPC
In practice, you probably should use an existing library implementing that protocol. For HTTP in C (on Linux and Posix systems), you could use libcurl on the client side and libonion on the server side, but they are many alternatives.

What are the best tools for websocket? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have node.js for notifications in my project. I use socket.io and redis pub/sub. I like socket.io because it gives me one interface for all kind of transports (websocket, long polling and etc.) and it gives me crossbrowser client library. But I have a lot of problems with debuging code on nodejs. I have problems with cpu very often and its hard to figure out reason of it. That why I want to use tool instead of node.js maybe go or erlang but I can't find tools such as socket.io on these languages
I worked on several node.js projects over a year or two several years ago and I find working with Go and debugging Go projects much easier. But that's as much personal taste as anything else.
There is a socket.io package for Go.
If you only need data from the server to the browser I'd recommend you give Server Sent Events a try; there are several nice Go packages for that, too. For example esource or eventsource.

Linux Kernel Rootkit samples [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm working on some new techniques for Linux Kernel Rootkit Detections as my thesis. I need some sample of rootkits to test my method and also do some machine learning tests.
But not the old-dusty ones in packetstorm that could be found in computer history books as well. I've read alot about it and I've seen some new methods of rootkit implementations in phrack and some other resources. It would take a lot of time to just implement PoC rootkits out of them for me and I would just get to the starting point for my project by then.
If anyone could help me with this it would be greatly appreciated.
Any site, ftp, compromised system, unknown rootkit libraries, anything that might be a sample for my work is appreciated. But with this in mind that what I need are Linux kernel Rootkits.
Any type, LKM, System Call Hooking, Object hooking, system.map /dev/mem working stuff
Thanks
p.s by new rootkits I don't mean like non-reported or all-over-the-news rootkit, something that would work on ubuntu 10.04 or newer would be great (Kernel version 2.6.32+)
you can get some kernel rk from the follow link
http://www.ussrback.com/UNIX/penetration/rootkits/
For obvious reasons, you aren't going to find any rootkits available for download on the public internet. Doing so would be a huge liability exposure to anyone hosting them. Your options are: make some friends in the security research or black hat communities, or run some honeypots and capture them yourself.

IIS Log Analyzer [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to analyze the IIS logs for a website for things like hits, keywords, countries accessed from etc.
Has anyone used any (free) tools that were useful from this regard?
There's LogParser. Blog article about how to use it here. You need to be comfortable with SQL to use it, though. There's a GUI for it apparently, too. Don't have any experience with that, though.
Nihuo web log analyzer is very simple, easy to configure and very good in analyzing iis and apache access log files. The reports generated by this tool are also very good.
You can use it freely with full function for 30 days evaluation period.
============================================
updated: The software is developed by myself.
There is a simple answer to this don't..
Log files are next to useless to look at your website traffic, there are massively inaccurate, log file analysis is useful for network engineers looking at traffic management.
If you want to view who has looked at your website from where and with which broswer and what keyword was used to get there, just install goggle analytic although it does have a few downsides its much better for the information you require its also free.
Take a look at http://www.googlelytics.net/awstats-log-file-analysis-vs-google-analytics/ for a view of each.

VoIP and SIP, where to begin [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Recently, a client has asked me to do a custom application to manage intercoms (Barix Annuncicom). After reading the documentation, I can do most of the "managing" part, however I am stuck with the VoIP part.
Are there any documentation, guides, articles, that will help me better understand and code a simple VoIP application?
I am looking for a article that has little expectation of previous knowledge.
voip-info.org, is a nice resource guide if you wanna learn about VoIP platforms and protocols, is mostly open-source oriented and you'll find good articles there.
You could start with w3c's voice browser standards and the IETF SIP working group.
This reasonably high-level tutorial has lots of information, including common VOIP questions and a discussion of SIP functions, and book recommendations.
There are more specific tutorials dealing with introductory software implementations (e.g. using Asterisk) on the SWIK site.
If you want to find details on SIP, one of the best resources is Tech Invite.
Other very useful tool is SIPP which is SIP packets emulator with easy biult in XML scripting language which allows you to test different scenarios.
I would personally go with either Yate http://yate.null.ro
or PjSIP http://pjsip.org
The code is complete, cross-platform and has lots of examples.
PJSIP is a free and open source multimedia stack written in C and it supports audio, video, presence and instant messaging capabilities.It is designed to be very small in footprint, have high performance, and very flexible.
You can go refer other links also as link1, link2, link3, link4.
Are you familiar with Asterisk?

Resources