Server :: Technology For Detecting Types Of Traffic And Allowing To Run Multiple Types?
Apr 9, 2011
I would like port 80 to have a small daemon running on it that detects HTTP traffic and sends a small redirect response, and any other traffic begins streaming data from my VPN daemon. I was wondering if this has already been made, or any kind of technology for detecting types of traffic and allowing you to run multiple types of servers on the same port.
View 4 Replies
ADVERTISEMENT
Sep 12, 2010
I'm trying to use "netlink" to get ip address of a Linux box. But the linux/types.h included from "linux/rtnetlink.h" introduced many conflicting type declarations with "sys/types.h".
#include <rtnetlink.h>
#include <sys/types.h>
#include <sys/socket.h>
int main (int argc, char *argv[])
{
return 0;
}
The program will demonstrate such type conflicts.
View 3 Replies
View Related
Sep 1, 2011
I'm using Grsync and I want to be able to plug in any drive into my laptop and run rsync on it to back up all the user documents on there to another external hdd and to exclude everything else. Working on the principle that user documents don't always appear where we'd expect I want rsync to look through the whole drive and filter what it backs up by file type. I am only having partial success, however.
I am using the 'filter' option in the 'additional options' box. I am using the command
Code:
filter='merge /home/tim/Desktop/filter'
and I am attaching the filter file I have written. (I have added the .txt extention to upload it).
I have tested this script on my home folder and here's what's going wrong. Rsync will copy the entire directory structure regardless of whether there are any files to be copied over in those directories. I am also getting only some file types getting included and not others. .odt and .ods files are copied, for instance, but not .doc or .rtf.
View 3 Replies
View Related
May 21, 2009
how would i go about taring multiple file types, such as *.doc *.pdf *.txt
i know that i can use the command Code: tar -zcvf filename.tar.gz /location/of/backup *.doc , but how do i include multiple wild cards?
View 2 Replies
View Related
Jul 8, 2010
I know a fair amount about setting up a simple network but I'm curious about setting up a more complex topology...For example...A "box" has two NIC's acting as a bridge, normally this would involve two distinct networks (ie. 192.213... and 192.214...) is it possible that this physical set up can create a single network (192.213... 192.213...) resolving IP's from either a DCHP on the "box" or a DCHP server somewhere else on "one side of the box"likewise with differing physical network types, a "box" with a NIC and a TCP/IP over usb setup connected to another device with TCP/IP over usb (OTG/Gadget) so that all the IP's are on one logical network.
View 1 Replies
View Related
Nov 30, 2010
I am going to install CentOS 5 on my pc , for3d modeling , and i have some doubts about partitioning the system.
I know that i can have /, /var , /tmp , /home and other directories as individual partitions. I know that i can use ext3 , or xfs ( i know that anaconda doesn't let to use xfs, but i know a way of migrate partitions to xfs after installing) or ext4 , and others , without problems.
But i could for example, once installed all with ext3 , have for example / on ext3 , and /var and /home on xfs.
For me it would be very interesting have /home in a another partition and as xfs (migrating it later from ext3) as mostly i will save in /home a lot of big files ,images,dvd isos,renders , binary maya files and like, and i see a advantage of use xfs with /home.
But a lot of people also use xfs for / as well , but as / has a lot of small files , perhaps use xfs on /var and some other directories, could be good (because xfs performance deleting files or other features), and leave / as ext3 for example.
So is it possible to have different filesystem type for some directories under / ,(for example /var and /home as xfs, the rest as ext3 in / ) , without having any problem ?
(not counting using xfs for a directory that won't see improved his performance because has a lot of static small files or like)
View 6 Replies
View Related
Jul 6, 2011
I have one router, a linksys. It allows wireless and wired connections, as is normal. I have two XP machinesby wire to the router and three linux machines connected wirelessly. The XP machines both have IP addresses beginning with 192.168. while my three linux machines have IP addresses that all begin with 172. None of the machines is connected with a static IP address. All are automatic DHCP.I am told that the above scenario makes no sense. However, such is what I have so, I trust, the theory and the fact do not gel. I would not care except that I cannot see - using the nautilus network servers program, all of the XP computers with some of my linux boxes.
View 9 Replies
View Related
Jul 15, 2010
What are the different types of API's in linux?How can we predict the kind of API we are using?And what are API layers related to?Are API's and system calls ,both are same?
View 5 Replies
View Related
Sep 25, 2009
I'm not completely new to fedora, but I'm still getting used toWhat programs do I search in the add/remove software. For opening rar file types?
View 10 Replies
View Related
Apr 15, 2010
I hope this is in the right spot. I need some help editing my .vimrc file. I want to edit it so that if I create a .cpp file, it will turn on cindent, and if I create a .asm file, it will turn on regular autoindent and set ft=nasm so Vim uses NASM syntax highlighting. How do I go about doing this?
View 2 Replies
View Related
May 12, 2010
Text in firefox (mainly) as in other applications in my system look as you can see above. I didn't touch anything in the configuration. It's started from the very first moment I finished installing 10.04 Has anyone had the same issue?
View 1 Replies
View Related
May 24, 2010
Im currently using OpenOffice.org Writer to write a hand in document for my course. I've come to the point where I want to create a graphical tree in Draw to present an idea and then add this document into writer. I've tried to use Insert -> Object -> OLE Object, and add the document as an inline frame. This looked pretty ugly though, either it's too small or there seems to be no way to just resize the frame without stretching the whole document into unreadability.
View 2 Replies
View Related
Aug 20, 2011
I'm want to get some logs from my server, but not general logs like syslog that gives me a lot of random logs. I want to know how I can get logs of things like logins(with time, IP and username), commands that the user ran, process running at the time and things like this.
View 1 Replies
View Related
Jun 24, 2010
I guess I'm just a noob, but I notice that some C libraries (and even some C++ ones) tend to redefine the basic types with their own naming convention.
For example, OpenGL redefines the basic types:
Code: from GL/gl.h
typedef unsigned int GLenum;
typedef unsigned char GLboolean;
typedef unsigned int GLbitfield;
typedef signed char GLbyte;
typedef short GLshort;
typedef int GLint;
[Code].....
View 3 Replies
View Related
Mar 21, 2011
I'm setting up link aggregation. When I use two ports of the same nic everything is working fine. When I use two ports of different nics (broadcom and intel) it doesn't work. Does anyone know of limitations using two different nics for link aggregation?
View 3 Replies
View Related
Jun 25, 2010
This is concerning the normal login password at command line by changing via the 'passwd' command. Is there a way to change the type of passwords used? For example, the majority of linux distros use MD5. In Slackware or Centos, where would I change the security setting to go from MD5 to DES or some other encryption?
View 5 Replies
View Related
Jun 9, 2011
i am searching for a table that gives info about the result of operations (+ , - , * , /) on data types
i mean if we * int by another int, the result should be assign in long so no overflow happens.
something like that.
like what will be the result of mult unsigned int by signed it , is there tables for such operations.
View 6 Replies
View Related
Nov 27, 2010
I decided to try making a programming language again after my last unsuccessful attempt, so now I figured how to write a good AST and it works great when the nodes are hard-coded into a test program. But to make a language out of it, I need a parser to build the tree according to an input file. I ran into a problem here:
YACC input file:
Code:
%{
#include "nodes/allnodes.h"
#include "Node.h"
int vars[26];
%}
%token SEMICOLON INTEGER VARIABLE IF WHILE DO OPAREN CPAREN OBRACE CBRACE
%right ASSIGN
%left NE
%left PLUS MINUS
%left TIMES DIVIDE
%% .....
As you might see, each nonterminal creates a Node* object and uses it as its value. The problem is that the literal tokens, however, don't return Node*'s and I don't know what to do. I would like to be able to convert literal tokens to nodes in the Lex file (which would avoid the problem), but the problem is with the assignment operator, which takes a Node* for the right-hand side and a variable name (not a Variable Node, because they just evaluate the the variable's value and you can't change the variable with them) for the left hand side.
View 14 Replies
View Related
Jun 25, 2011
1. There are 4 desktop types to choose from [URL]
Fedora 15 Desktop Edition (GNOME-based)
Fedora 15 KDE Spin
Fedora 15 LXDE Spin
Fedora 15 Xfce Spin
Each type has two options: 32 & 64-bit. What type of download are these, Full Distribution or Live Image?
2. Both Full Distribution and Live Image seem to allow one to install the complete Fedora system, but Live Image appear to be much smaller file. So why should one choose the Full Distribution option?
3. The 4 desktop environments that can be downloaded from the link mentioned in my question 1 above can be installed. But these are also called spins. I thought spins can only be tried out, but not installed, right?
4. Is there a way to be able to use 2 different types of desktops, for example, use KDE for majority of the time and Xfce occasinally? That is, is there a way to just download a specific desktop environment as a package (not the entire Fedora system), for example, Xfce, and then install it on your existing Fedora system (for example running KDE), and be able to switch easily between these two desktop environments? Or one has to uninstall the entire existing Fedora system and then install the other type of Fedora (in this example, uninstall Fedora KDE, then install Fedora Xfce)?
View 4 Replies
View Related
Mar 9, 2010
I have used it for some times but never went behind basic use to use Internet, save files, write documents with OpenOffice...
I just installed the 11.2 version in 64-bit. I previously used a 11.1 version, and on which sounds worked fine.
I do get the login and logout jingle, and CDs play fine as well.
My problem occurs when I try to watch a video on Internet, so with FlashPlayer, and also when using Skype: I get neither the notification sounds, and a test call tells me I have a problem with the audio device.
When I point my cursor on the "sound" icon on my control board, it tells me the sound is at 0% even though it works for the above-listed tasks.
Here is what my computer has (from "system configuration"), including the last two lines I get when I click the "advanced" option:
HDA VIA VT82xx (VT1708 Analog)
HDA VIA VT82xx (VT1708 Digital)
HDA ATI HDMI, ATI HDMI (HDMI audio output)
PulseAudio
HDA ATI HDMI, ATI HDMI
HDA VIA VT82xx, VT1708 Digital(IEC958(S/PDIF) Digital audio output)
Everything has this same preset configuration: notifications, video, etc.
View 9 Replies
View Related
Feb 2, 2010
I'm trying to use this guide:
http://ubuntuforums.org/showpost.php?p=3276774
but i can't seem to find or to download AssoGiate so i need something eles to create mime.
View 6 Replies
View Related
Feb 13, 2010
I noticed in an update i did today that a number of things from the 'distribution updates' category were marked as 'new install'. Included in them were things like alien, Postfix, and RPM. the RPM especially confuses me. Is Ubuntu moving to being able to handle both package types? As far as I can tell these were from the official updates. not some third party repository I've added.
View 7 Replies
View Related
Feb 18, 2010
associate html attachment in emails with Firefox and tried to edit mime type extensions in Thunderbird through Edit/Preferences/Attachments/Download Actions/View & Edit Actions but it is empty and there is no way to add extensions there. Is there a different way to do it? I tried to choose Firefox while opening the attachment. It works but does not remember it for further actions.
View 2 Replies
View Related
Apr 25, 2010
I've noticed this issue for a long time now, and it's always bothered me. Whenever I have to open a file within a program or upload something to a website, etc., the window that pops up is always HUGE. The reason is due to the list of file types at the bottom. Instead of cutting off with an ellipsis at some point, every single applicable file type is listed. I can't resize these windows, either, so they always take up my entire screen. Is there any way to fix this so that these kinds of windows are a more reasonable size?
View 2 Replies
View Related
May 7, 2010
I want to make vlc the default application for opening avi files.
I tried 'open with a different application', selected vlc and checked the box 'Remember this application for "AVI video" files' (see attached), but the next time I double-click on an avi file it loads in Movie Player.
I've searched the Ubuntu documentation for "file associations" and "default programs" with no success. I'm probably using the wrong search terms, but somewhere, in all the configuration files and tables, there must be a way to assign a particular program to a given file-type.
(If you're wondering why I want to use vlc, it's because, after hours of research and tinkering, I finally got it to respond to my mceusb remote via lirc.)
View 2 Replies
View Related
Mar 6, 2011
I am trying to move files from one folder to another based on their file extension. I can do it with a single extension, but I want to match multiple.
Example:
This works, but I want it to not only match mov, but also mpg, flv, mp4, etc. I would think something like [mov,mpg,flv] would work, but it doesn't.
View 4 Replies
View Related
May 24, 2011
Files downloaded with Firefox, Chromium, Miro etc. will not open correctly. Clicking to open the file (e.g. jpg or ogg) should result in the file opening with eog or audacious. Results - from Nautilus this works correctly, however from other applications the result is a Nautilus window. Placing a file 'test.torrent' on the desktop and using terminal to do
Code:
gnome-open test.torrent
or
Code:
xdg-open test.torrent
results in the same behaviour. However, simply clicking the file in Nautilus opens it in Deluge (correct behaviour).
View 4 Replies
View Related
Apr 17, 2009
What file where holds the information for file opening application preferences?
I have Fedora Core 10 (2.6.27.5) with openoffice 3.0 installed.All of the OpenOffice programs show in Applications>Office drop down window and work fine.
Problem is this: If I double click on a calc spreadsheet file (.ods) then the archive manager wants to open it, and I have to right click and manually select scalc as the program to use. If I double click on an odt text file (.odt), okular opens it. I have to right click and select swriter.
If -- BTW -- I click on an excel (.xls) file, calc will start and open the file.
I would like to change these file application preferences, but can't find where to do it or what file to edit to break the current preferences.
View 2 Replies
View Related
Dec 15, 2010
Linux RED HAT 5
Liteon 18X DVD rom
I used Liteon dvd rom for installation, worked well but it dose not recognize all data DVD and all type of cd disks while in windows XP every thing was fine.
View 1 Replies
View Related
Feb 1, 2010
I have functions which return different data like: int, char*, double...
I also have a list of datatypes (INTEGER, TEXT, REAL...) which can be returned.
I need to map a datatype with function, which purpose is to return it. Therefore, when I determine a datatype, I would like to call the required function without doing switch all the time.
My idea is to have an array of structs like this:
Code:
struct type_func_map
{
int type;
void (*func_wrapper_int)(void); //void (*func_wrapper_text)(void); void (*func_wrapper_real)(void);
};
[Code].....
View 10 Replies
View Related