Software :: Xinetd Appears Broken - Connections Send Random Or Butchered Data
May 30, 2011
I am trying to install the bucktooth gopher server on a Windows xp laptop. I have cygwin 1.7 installed, and I recently installed the xinetd and perl packages. I successfully (?) configured bucktooth, but I have had trouble with the connection cutting out partway through (partial directory listings, half-blank pictures, etc.). I used tintin++ to get the connection's data directly, and found that in addition to occasionally missing lines, some lines are duplicated.
I then ran the bucktooth server directly (to bypass xinetd), and found that the server was giving consistent, correct output. I then added a test service to xinetd (m4), but after connecting to this test service (through tintin++), xinetd would respond with one line of unexpected data (such as "gf" or a line from a recent bucktooth directory listing) and close the connection. Could this be a broken xinetd? My xinetd configuration:
Session management with gnome-session-properties and GDM appears to be broken in CentOS 5.3 and 5.2. I can't comment on earlier versions.Activating "Automatically save changes to session" does work--for example, on the next login, the terminals that were open at the last logout are reopened.
But if "Automatically save changes to session" is not selected, according to help,"when you end your session the Logout Confirmation dialog displays a Save current setup option."This does not happen. No "Save current setup" is offered, regardless of whether or not "Ask on logout" is selected.
Also according to help, if one has added sessions with gnome-session-properties, then when one logs in "on GDM, you choose a session. When you choose a session, you can select which of the multiple sessions to use."This does not happen. No matter how many sessions one may have added with gnome-session-properties, none of them appears in the list of sessions that GDM presents.
So it appears that only a small fraction of session management functionality works in CentOS 5.3 and 5.2.
I have Firefox 3.6.13. I cannot manually rearrange bookmarks. The help file says to open the bookmarks in the sidebar and manually drag entries to the desired position. They do not drag. In times past, clicking on bookmarks/manage bookmarks opened a window where one could drag entries to desired locations. That no longer works as well. Short of editing the html file directly with emacs, how do I rearrange my bookmarks?
Alright, I edited "/etc/default/isc-dhcp-server" and set "eth0" as the only thing listed for interfaces. I also have the code below in "/etc/dhcp/dhcp3/dhcpd.conf" and I even copied it to "/etc/dhcp/dhcpd.conf" for good measure, and I can't get the DHCP server to start. As an intermediate to advanced user, I am under the high assumption that it is broken since everything in the docs has been set. I have googled for two days and cannot find a fix, so before I report it as a broken package, would somebody with more experience with the package chime in?
I hid my wireless setup because it contains my WiFi network info including key. This box is routing, doing DNS resolution, and firewalling just fine. I just cannot get the friggin' DHCP server to start no matter what I try.
Oh, and is it safe to delete "/etc/dhcp" or "/etc/dhcp3"? They appear to be duplicates of each other...
1. hardware: HP/Compaq desktop, about 4 years old, 1GB mem 2. FC14 (copied live CD to HD) and updated 3. sshd, telnet, vnc and samba activated (mostly default config) 4. disabled firewall and selinux 5. I have tested all those succesfully from WinXP workstation. For terminal session, I used putty.exe and/or telnet.exe
When I worked with the machine (say TestMachine), I noticed some times that the vnc connection was lost, but restarted succesfully. Similar thing happened with ssh. Also the samba connection was lost, but it recovered after hour or two. Then I tested leaving a constant ping on, and it revealed that some breaks happen. But it is not an infrastructure problem, as pingtest on other machine in the same network is OK.
Again, I tried to connect. No ssh, telent, vnc or samba worked. But surprisingly, I was able to telnet to another system first and then telnet to the TestMachine from there. I was able to use it for a while. But then, session was broken and now I can't access it anymore via network. I tried to browse /var/logs but I didn't find anything revealing yet.
I installed Subversion and xinetd and added Subversion as a service to xinetd.conf as instructed at http://www.codeandcoffee.com/2007/06...rver-on-linux/
I restarted the xinetd service using /sbin/service. however, Subversion does not end up being listed in /etc/xinetd.d nor does it seem to be running and occupying the port altogether.
If this post is correct [URL] I can expect that it will take more then 16 days to fill my 2TB partition from /dev/urandom. That's not workable for me. dd if=/dev/urandom of=/dev/sdxx has been running for 36 hours, and I need to finish setting up the filesystem. But I also need to make a "professional effort" at encrypting the partition. I am supposed to fill the partition with random data, to strengthen the encryption for a LUKS partition. It seems that if the bad guys get the drive, they have much more time to try and crack it, then I have to encrypt it. Ok, so I can try Code: sudo /sbin/badblocks -c 10240 -s -w -t random -v /dev/sdxx How long can I expect badblocks to run on a 2TB partition?.
Once random data is obtained by means other than a pseudo-random number generator, what software is available to measure the entropy or quality/randomness of the data?
What is the minimum possible MySQL query to get a random data selection that includes each Index number only once and ordered ascending. The maximum index number is known. For example running the query should get the following data: 01, 06, 07, 02. Running the query again, you may get the same data or another possible combination like: 01, 05, 07, 04. Of course you could run a loop for 1 to max_index and process a random ordered data selection until the next index number is found. But I think this will result in too many database access. Also you could run max_index queries to get all IDs that correspond to the given index and randomly select one ID for each index.
I want to view a hard drive and see if it has all zeroes, how would I do this? I want to view a hard drive and see if it has all random data, or random data mixed with zeroes. How can I do this? I prefer to do all this in linux if possible without a gui...so looking for any cli tools to view with.
I just discovered that my server is sending huge amount of data out at about 1Mbps. My immediate thought was the deluge bittorrent client, however it is supposedly not running (and a check confirmed its total active torrents was set to 0). I turned off the network and went in to Firestarter to set the outbound traffic to restrictive, turned on network again and no more data was sent. A look in Firestarter / Events showed a long list of random ports being used (see further down). How can I identify what program is sending all the data?
In Firestarter it doesn't really say much more than the port. Not sure if it is some misconfigured program or a malware/virus. I just got my ADSL connected a few days ago, and before that I used a mobile broadband (3G) as I just relocated. During the period I used the 3G the server might have been without firewall for a few days and it was also at this time I discovered an increase in network traffic (but I didn't really pay much attention at that time). I am running Fedora 10.
List of events from firestarter, my server is 192.168.1.100: Time:Jun 1 16:48:12 Direction: Outbound In: Out:eth1 Port:39435 Source:192.168.1.100 Destination:58.208.xxx.56 Length:129 TOS:0x00 Protocol:UDP Service:Unknown Time:Jun 1 16:48:12 Direction: Outbound In: Out:eth1 Port:6990 Source:192.168.1.100 Destination:112.94.xxx.212 Length:129 TOS:0x00 Protocol:UDP Service:Unknown Time:Jun 1 16:48:12 Direction: Outbound In: Out:eth1 Port:2973 Source:192.168.1.100 Destination:118.93.42.xxx Length:129 TOS:0x00 Protocol:UDP Service:Svnetworks .....
I've been reading the RUTE Linux book and they recommend the use of xinetd to run services. However, this book is already a bit outdated, and I was wondering whether this still applies to today's circumstances?
have a problem with my network-manager in ubuntu 10.10.when I dial one of my vpn connections, my other vpn connections be disabled and I can't use them!I tried to restart network-manager and gnome-panel, but it does't seem to solve this problem.
Code: # traceroute -I 69.12.32.2 Note: the -i and -I options were exchangedfor compability with LBL traceroute Use -I for ICMP, and -i <ifname> to specify the interface name unable to create ICMP send socket: Permission denied Note that the command was done as root. This worked in 11.3.
And yes, it works without the "-I". But it should work with the "-I". One shouldn't have to boot into Windows, just to run "tracert" there.
I am not a profession programmer. I have to write a C code which send some command to attach display using C program. Can any one please help me in this regard.
A while ago my harddrive kinda failed. I didnt notice untill I got "Grub error 17" one time when I was trying to boot my computer. The problem is not really that I couldnt log on to my computer, but rather that I have alot of important information on the computer I would hate to lose. At the time I used Ubuntu 8.04 and had reiserfs filesystem on the computer. I bought a new computer and decided to wait untill I could rescue the data before doing to much dmg to it. But I dont really remember if I tried something to fix it before I realised that it was the harddrive and bad sectors that made me get gruberror 17. Hopefully I didnt do anything.
Anyway. Now today I had some extra time, so I decided to dive in. I booted from a linux mint disk and used ddrescue to transfer all the rawdata over the network to an image file laying on an ext4 drive. Once there I used reiserfsck to try and repair the filesystem. After that i mounted the image file and tried to access the files. Thats where the probelms started. I could see the whole treestructure of the harddrive and everything seemed ok, but when i tried to open the files, none of the pictures, documents and so on could be opend, and when I tried to open stuff like MP3 files they played quite strange. Videofiles was really messy, kept changing resolution and was almost always just gray and green squares on the screen. I decided to use ddrescue and move the files from the image file and on to a clean disk. So when I was done I could mount the filesystem on the new disk, but with the same resault, so I did reiserfsck again, and when that didnt help I did a buildtree also. Still with the same resault. So I decided to investigate the data abit. Opening files at random trying to understand what had hapend. And I saw that some MP3 files (the easiest to open) was some kind of mixing between several difrent mp3 files. Some files wasnt even in the same folder, so it was probably just that the file pointer was pointing at the wrong data on the disk. I dont know how that works really, so I dont know how to go on.
So now to the question. How do I get the data back? Have I done something wrong, can I redo somethig? I still have the broken disk and can take data from it once again, but I want to wait to do that untill I really know what to do. I also still have the image file, and the disk with the copied data. I have a ubuntu 9.10 system at my disposal atm.
I had 10.04 in my netbok but something happened, packages failed to install, all sorts of errors when shutting it down, kernel panic when switching on again so I've decided to just install it again. I've got 10.10 running from a LiveUSB drive right now and I'm going through the installer. I want to just tell it to use the exsting partitions, dont bother formatting, just install the new OS on top of the old one so I can keep the user documents etc How do I do this? I picked advanced partition management in the installer, pressed Change on sda1 and gave it a mount point of / but now the "format partition" is ticked and greyed out.. i dont want to format this partition, I just want to install to it
As I'm interested in user-behaviour-information-security I would like to know what I�ll have to turn off or to uninstall to make the ubuntu-pc-usage as anonymous as possible (no musicbrainz, cddb, or alike).I want ubuntu not to send any data to third-party-users.
I have a multisession DVD-R with an unreadable volume descriptor caused by a bad DVD burning using growisofs. The DVD is not physically damaged. I tried to recover the data reading directly from /dev/hdc but it throws an input/output error. I believe the error is caused by the broken volume descriptor. That's why I'd like to know a way to make a low-level DVD image that doesn't use the volume descriptor. Once I have the image I'll manage to recover the data, but now i can't access anything at all. By the way, i've already tried all this programs and anyone worked:
CD-DVD Data Recovery JuiceSoft Bad CD DVD Recovery burnaware
I am doing work on serial port. I want to send/receive data to/from Microcontrolar through serial port. But I don't know how to initialize, receive and send data to Serial port. i am new in fedora so i hav'nt any deep concept of fedora.can anyone send me C code , which communicate through serial port in fedora (or atleast help me). I am using Fedora 11.
I recently removed Winblows Vista from my laptop and replaced it with Kubuntu 10.10 (I left the recovery partition on there, just in case). When I turn on the computer, the GRUB menu appears, I press enter, then a little flashing underscore appears on the screen in the top left hand corner. After a few seconds, the Kubuntu logo appears and I can log in.But yesterday I replace Kubuntu with Ubuntu 10.10. The Boot process is the same, but the little flashing underscore in the top left hand corner flashes for about 10 seconds longer then Kubuntu 10.10 did, and then a few paragraphs of text appears for a few seconds, then I am logged in automatically.Is this "unusual" boot process anything to worry about, or am I just being a noob.
computer running ubuntu 10.10 is failing to boot and I want to access the private data in the home folder in order to recover data onto another disk. How do I go about doing this? As far as I can remember its not encrypted but am still unable to access the data to backup.
I have here a Fujitsu-Siemens laptop with Windows Vista on it. The graphical chip of this laptop is damaged in such a way that during boot I can see texts but once the GUI starts it is over. No more picture. This happens with Vista, but also when I boot a live-cd from Ubuntu.The owner of this laptop, not me, wants to buy a new one but would like all data to be saved.I have downloaded the server version of Ubuntu 10.04 (so I stay in text mode) and with the CD I can boot into restore mode. There it is possible to mount the internal hard-disk, after which I can see the data.
But... how do I get it from the disc? How do I setup the network, which I believe is running already, to make the laptop a part of my home network? Now from other computers I can't see this laptop, and I have no idea how to see my computers from this laptop.Or is it possible to burn a CD/DVD in Restore mode. If so how do I do that?
I am writing a code in Python where a socket client changes data with the server. That works nice if the connection is up. However it is also supposed to work offline. So I need to be able to detect if the connection is up before sending data, but I was not able to do so. A summary of the code is like that:
if connected: data = "some data byte" try: socket.send(data) except: connected=False socket.close()
If I unplug the cable after the connection is ready then the socket sends data and does not detect the connection failure. What is amazing is that the client detects the connection failure just after the cable has been plugged again. Of course there is a loop in the code above and always that connected==False a new connection is made. How could the program detect the connection failure before sending data and then lead the code to an exception?
I am trying to send data through a USB port to a printer which can recieve text file. Now to send the data to the printer I am doing echo "Hello World" > /dev/usb/lp0
but the data doesnt seem to be sent to the printer because I have an analyzer to monitor the data sent to the printer. Is there anything else which I need to do
During a recent request to install fedora 11, I ran into an interesting problem. It seems that between fedora10 and fedora11, the developers switched from fdisk, to parted for creating the initial pre-mke2fs partition table creation.
It looks like the implementation of this is broken, as it's writing the partition table with overlapping cylinder boundaries. While this can sometimes be ignored, it can in certain cases cause significant data corruption.
On an installation I took it through, using the latest installation media, in both manual & automatic partition creation, the layout looked like this:
The last two partitions turn out fine, for some reason. However, those two partitions should not have overlapping cylinders. After my very first installation, the system was completely unbootable, and not even fsck wouldn't rescue it. If this is possible, then that means that a system that's been online for months or even years could simply drop out of functionality simply due to a byte or two of system-critical data falling on that last cylinder. Considering that a lot of the time kernel data ends up on /dev/sda1 (commonly the /boot partition), this is something that should not be ignored.
Viewing any source on the Web results in partial loading of data followed by broken up multiple lines. It is occurring now with this post. Paging down I get three lines of "submit new thread" until at the bottom are multiple lines (no characters) after "forum rules". I put it to my network provider who cannot come up with any idea of what may cause it. It cannot be the hardware as the same condition exists on two PC's. Both are on 11.2.
Is there a script I can use to send a command VIA terminal to wipe an entire machine of data? If for example there is an intrusion valuable data can be at risk, it would need to be erased.