Programming :: Daemon Process Design Which Acts As A Tcp Proxy Server?
Mar 8, 2010know abt daemon process and how it is used for acting as proxy server if nay tutorial is there for it .
View 3 Repliesknow abt daemon process and how it is used for acting as proxy server if nay tutorial is there for it .
View 3 RepliesI want to design an audio chat programming in Ubuntu.So how shall I proceed? Any help on this please?I am complete novice in this topic. Currently my aim is to capture audio from microphone.
View 1 Replies View RelatedOs : ubuntulanguage : c programmingI want to know is proxy is enabled in my system. so where does the kernel or browser stores this information.suppose if my system is using proxy server to connect internet, where exactly the proxy config file is store
View 7 Replies View Relatedeach time my linux is booting, it check something like eth0 and something else. but there is something i write below that fail... Code: could not receive return value from daemon proccess?
View 3 Replies View Relatedwhat the best free linux graphic design interface was? Possibly one from the ubuntu one software center. I tried boa constructor and it was glitchy and kept crashing. I want something very easy to use and as simple as possible as i am new to programming. I want something that also supports the major programming languages like python C++, etc and was also wondering where i could go to learn codes for python.
View 4 Replies View RelatedI am designing a KEDB (Known Error Database) which I am currently maintaining with MS-Excel. I want to develop a Web Application to accomplish this task in a more convenient and effective way. Well, you guess, the client should be happy to see how we provide support more effectively...? I want to make it ITIL-Compliant. I (optionally) want to provide the Problem and Change Management facilities within it in a way that the concerned teams and the management can find the KEDB very useful for their work also. I am going to do it entirely in PHP and JavaScript for client-side validations wherever needed.
View 3 Replies View Relatedim interested in improving my web designing. ive been trying to learn ajax and flash completed a couple tutorials and i was thinking about starting a project. the goal of the project is to make a banner on top of a webpage that basicly is a slide show of thumbnails. but at the same time when u click on the image that flashes by it send you to the page where u can buy a print of the image. when you hover over the banner it stops. and is all contained in its own box. i did try to use a banner slide show box b4 but it didnt do everything i wannted and at the same time it expanding the length of the webpage as it scrolled the top.i was wondering how i might get the tools and knowlege i need to acomplish my goal.
View 3 Replies View RelatedI want to write an operating system of my own ! I've started studying Minix. For getting started I wanted to know is there a way to write and add a background process [printing 'hello'] in the Minix operating system ?
View 7 Replies View RelatedIs there anything that Windows can and GNU/Linux can't in Web programming and design?
View 10 Replies View RelatedAs I am Carrying out a project to Design Social Networking Databases, I need 5 tables for designing it.My frontend being php and backend being Mysql.I need to know what are the 5 tables I can have and how to implement them.
View 4 Replies View Relatedim making client(browser) and proxy server application in linux and using c/c++....can any one guide me that how proxy server get page from internet and send it to the client (browser)?and how that page will be displayed on my browser??meanz that will be only text...if text then how i can display graphical page....
View 3 Replies View RelatedI currently have sendmail installed. It starts as a daemon but I want to avoid doing that. I want to start it manually.Also am a dynamic host.so every time i start my computer my ip changes. I use ddclient to update my records at dyndns.com.but how to configure sendmail in the case of dynamic hosts since it looks at the file /etc/hosts which contains information about the static hosts.
View 2 Replies View RelatedI've just installed subversion.I need to create a script /etc/init.d/svnserve that will start at boot time.I want to use start-stop-daemon --start so I can track my process and eventually kill it using start-stop-daemon --stop.My problem is that I can't get it to work and the documentation shows no exemple.
I've replaced $DAEMON by the whole line: svnserve -d -R -r $REPO_ROOT and got -d is not an option.I'm not quite sure what to do at that point. If someone has some experience with start-stop-daemon it would be great.
I want to learn how to create computer software/programs. I want to be able to design them to be cross platform (Win32, OSX, Linux). I was wondering if anyone knows what kind of courses I need to take for this? And would it be possible to study by myself and learn it for free?
View 13 Replies View RelatedSo a friend and I are new-ish to linux (I am reasonably comfortable with basic /etc text editing, command admin). We are, however, completely new to programming and (x)html. We have a few (what we think are) interesting ideas for dynamic websites.Ideally we would like to develop our own course of study to get to the point where we have a basic understanding of programming so that our adventures in the programming of a dynamic website would be possible. Much of what we need learn to do is the following: use daily updated public-domain data from several other sites, manipulate that data algorithmically, which would then yield updating output on our site. Here is what I would like to do:
1. learn the basics of programming with a language that would teach good code habits and fundamental understanding.
2. become comfortable with (x)html
3. learn another language for the extension of (x)html into a dynamic data-heavy website.
Question could you please suggest a way about going about 1>2>3?Ideally the language of (1) would be something that would not be "wasted" just on web design etc. As a language, C really appeals to me. However, if learning this wouldn't lend itself to being helpful in learning another language for webdesign maybe I shouldn't use it(?).If (1) weren't to be C, what language would be funadmental enough to teach good coding but also be helpful in learning (3)
Self learner developer since about 2 years, I'm trying to understand deeper how to design a database in the best and most efficient way possible.Reading about UML design, I've found this: Do not automatically add ID numbers(surrogate keys) or substitute keys to a table until you are sure that:
-There is at least one candidate key (before the surrogate is added),
-the table is a parent in at least one association, and
-there is no candidate key small enough for its values to be copied many times into the child table.
Until then, I've always did this (I mean using ID) to identify my rows.So my questions are:
1. Why should we avoid using ID to identify rows?
2. Candidate keys add some weight to our database, and this can huge if we have millions of records, so why should we use these over surrogate keys?
I'm trying to design an inexpensive large scale DNS server but fail to find any metrics or methods to base scalabilty.Can anyone offer information on building a stable dedicated DNS server? That might be able to scale well.
View 8 Replies View RelatedCurrently my DHCP Server is working now what i want to have is auto detection of squid proxy in any browser but I still got an error in my dhcp server when I restart it.
My Config:
# DHCP configuration generated by Firestarter
ddns-update-style interim;
ignore client-updates;
[code]....
I am trying to set up my squid3 proxy as a transparent proxy - right now, I have to manually configure browsers to access via proxy. I understand that I have to put some rules into Iptables and also some further directives in the squid.conf.
I have a couple of specific questions. The proxy server is running on a Ubuntu 10.04 workstation and this machine also acts as a dhcp server for the network. I have just one subnet , namely 192.168.0.1-254 There is only 1 network card. Is it much easier to put in a second network card or is it just as easy to configure the existing lan card as a dual IP?
Is it necessary to configure these 2 IP's ( whether they are via 2 lan cards or dual IP on single card ) to be on different subnets. i.e ETH0 192.168.0.1 and ETH1 192.168.1.1 or is ok to have something like ETH0 192.168.0.1 and ETH1 192.168.0.254 ( where ETH0 is the one facing the LAN and ETH1 points to the modem router / switch i.e The Internet ) Where specifically do I save the Iptables rule configuration file and what must I call it ?
I do not know much at all when it comes to setting up hardware--servers, switches, etc.
I have a 1701HG 2Wire wireless router that I use for my home network. I have an old pentium 3 tower that is just laying around, and I want to be able to host my projects on it for testing. Basically, I just want to be able to do everything on my laptop and then upload it to the server for testing.
I have set up an Ubuntu LAMP server on the desktop and am able to do everything I want via SFTP; however, I want to be able to type in "projectx.local" in a browser on my laptop to go to one test site, "projectz.local" to go to another, etc.
Is this possible, since I do not have the server set up as my gateway? It is merely connected to the router like everything else.
I have a project that I'm working on now that is using Ubuntu 8.04LTS to create a reverse SSH proxy for a telnet process. We have the box logging in with RSA keys so that it can automatically connect to the SSH host on our end. We are using autossh to keep the connection up and running.
We have rolled out 3 of these and they are working very well. We ghosted the original, changed the hostname, changed the IP info, and regenerated the SSH keys. Now I need to clone 35 more. I want to try to do this as efficiently as possible and can script the changes in the hostname, IP, ect.
Can I batch create RSA keypairs on my workstation and then copy them over as a part of the batch? My current other option is to login to each of them and generate the pair. I would like to just install the drive and ship it and not even have to boot it up.
I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh Code: #!/bin/bash
result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')
echo $result
if [ "$result" == "" ];
[code]...
Is there any difference in cpu usage for process in init.rc(runs automatic when boot is happened) and manually running process. Will these both have same priority by default...?
View 1 Replies View RelatedI tried googling but didn't get any answer for this.I have a process called "abc" and it is running with PID "123".I have a putty session opened with PID "999".I am giving kill -TERM 123 from putty session.My process "abc" before dying it should catch the PID of the terminal which provided TERM signal to it.Is there any way to find this out
View 2 Replies View Related/etc/udev/rules.d/20-our.rules has worked perfectly in FC6 and F10. In F11 I can't get udev to even look at it, much less execute the udev commands in it. Stat tells me that none of the relevant files have been accessed when I plug in a USB device that udevadm says was processed and which clearly matched the rules.. I reboot with several USB devices plugged in and according to stat nothing anywhere in /etc/udev was accessed during the boot process.
View 11 Replies View RelatedPretty sure it's Compiz, as when it's acting up if I try something simple like switch workspace, things lock up. A gdm restart can recover from that condition.So after a reboot, log in and start something benign like Firefox (doesn't matter what you start). The window will 'paint' from the bottom up over a period of a few hundred milliseconds. A significant fraction of a second, though. All window operations have this delay.A small window near the top of the screen exhibits a delay as if the entire screen below it had to 'repaint' before it can be displayed.
If you then lock the screen and return to the same session, everything seems to work as normal.lternatively, you can log in as another user... same effect there... return to session 1 and everything is normal. Return to session 2 and everything is normal.It seems that returning to gdm's login screen and back fixes it.So just when you log in for the first time, this annoying paint issue appears.As mentioned, if you try to use any sort of compiz effect, that session is frozen.Usually, things are ok - even if you log out and back in - until the next reboot.
When this first started happening, I would log out/back in and the effect would sometimes fix itself. But not always. The key difference between that and the 100% fix above is that you don't log out above. The session remains logged in. Also, I tried switching to a console and restarting gdm. That also works sometimes, but not always. I would also try starting Nvidia X Server Settings tool before logging out and it seemed like that increased the chances of success. But I'm not sure it did. It does seem that once it's fixed, it stays fixed until the next reboot.Sorry for the lengthy post, but I warned you I wasn't sure how to describe it. Some general things about my system; more gladly on request:- AMD Athlon(tm) 64 X2 Dual Core Processor 4800+- 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux- 00:05.0 VGA compatible controller: nVidia Corporation C51PV [GeForce 6150] (rev a2)Package: compiz-gnome
State: installedAutomatically installed: noVersion: 1:0.8.4-0ubuntu15
I have written a daemon server. I would like to add the ability for the daemon to update itself. That is, it should be able to download the latest version of the code (when it receives a signal from a client) and then restart itself. I am stuck on getting the daemon to restart itself. The problem is killing the old daemon without killing the process that is starting the new daemon. In my latest attempt, the daemon that is updating itself runs a program in a subshell (using system) that starts a restarter daemon that runs the original daemon (again using system) with the restart command option. With the restart option, the new version of the daemon sends a terminate signal to the old version. Obviously, when I run the original daemon manually with the restart option, it restarts reliably. I figured that issuing the same restart command from a daemon would adequately isolate the process doing the restarting from the program being restarted. Using ps, I can see that the daemon does actually restart. However, the client locks. In fact, a few times, the OS locked and I had to reset.
View 7 Replies View RelatedThis might well be a case of "I've been looking at terminals for far too long", but here goes. In a bash script I'm writing I'd like to get the current minute of the day. Since date doesn't have an in-built format string for that, I thought I would do:minute of day = 60 * hour of day + minute of hourHowever, when the clock rolled around to 12 / 0 the value disappears from the variable. Viz:
Code:
hour=$(date +%k)
echo "hour: $hour"
[code]...
I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh
Code:
#!/bin/bash
result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')
[code]...
I would like to know if is it necessary(and why) to use setsid to create a session leader in order to create a daemon process?
View 1 Replies View Related