General :: Listing All Ports Less Then 1024 On Current Machine Which Are In Listening State
Oct 23, 2010I'm trying to list all ports less then 1024 on my current machine which are open in the listening state, one port per line
View 1 RepliesI'm trying to list all ports less then 1024 on my current machine which are open in the listening state, one port per line
View 1 RepliesI was just wondering if there is a way to capture current state on a machine and create live cd from it?
If not - what is the best way to create Live CD with optimazied system updates and configuration packages.
Have a program, erlang, that needs to bind to a port lower than 1024, as a non-root user. How do you allow that on a system?
View 1 Replies View RelatedThere are not SSDs with TRIM support available in my region that fit into my laptop (1.8", IDE, ZIF). I'm running Ubuntu 10.10.
Most articles (or questions on superuser) I've come across concering TRIM (or the lack thereof) date back to 2009, when not many SSDs with TRIM support were available and OS support was still very fresh.
I'm interested in the current situation, but I couldn't find too much information about it.
What are currently the "best practices" for using an SSD without TRIM under Linux?
I've read about the wiper script included with hdparm. Do I understand correctly that I could use this to free unused blocks, e.g. by running it once a month?
Some sources state that HFS+ (the default-filesystem of Mac OS X) doesn't suffer as badly from lack of TRIM as other filesystems. How about linux filesystems? Are there filesystems that are better suited for SSDs without TRIM than others?
I am encountering a wierd problem in FC12. When I try to lunch a program that listens to a lower port such as 80 or any one that is less than 1024, I always get "Permission denied" error message (I am running it as root!).Then I try starting httpd service daemon that listens to 80, no errors, the daemon started and listend to 80.PS: I checked selinux, it has been disabled.Do you have any knowledge on this case? BTW, the kernel version is:2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux
View 5 Replies View RelatedI'm simply trying to make a little restriction on www packets under two rules:
1. Allow inbound/outbound www packets (works!)
2. DROP inbound traffic to port 80 from source ports less than 1024. (DOES NOT WORK!)
Now, technically, when i use hping to test my rules, hping3 192.168.100.100 -S -p80 -s 1023 I should NOT receive any packets. However, i still receive packets, which means my rule that says less than 1024 does not work. (see below)
And this is my iptables rules in shell-script so far:
#!/bin/sh
DEFAULT_NIC=eth0
SERVER_IP="192.168.100.100"
ALLOWED_WWW_PORT=80
IPT="/sbin/iptables"
[Code].....
In emule p2p filesharing there's this thing called the id that is low if you do not configure your router for certain ports to be listening for incoming connections, forwarded by the router to ports on your pc. When the id is low, your downloads take longer or something like that. But if you have no listening port, how can a peer download from you?
View 2 Replies View Relatedhow can I check which process is using certain port? Like in a table with processes and used ports...
View 3 Replies View RelatedI'm running a native dual-stack (ipv4 & ipv6) dsl connection.So, I've been adding firewall rules, cleaning up unwanted processes, etc to tighten security.I'm left with only 3 processes that are listening to ports. mysql, ipp & ssh.Still not quite sure I need mysql. I run Amarok but without using a database, so I don't actually use sql for anything that I'm aware of.Anyway, my question is;Is it possible to make any any of these processes listen to ipv4 only or ipv6 only? Is there a distinction there at all?
Example- ssh is currently listening to port 22 on both tcp & tcp6. I do all my ssh connections using 'ssh -6', so, Can I make ssh listen to tcp6 only, or ignore tcp ?
Looking for a test tool where I can fire up any number of ports (TCP and / or UDP) to listen on.
I am currently getting my using nc but its only 1 port at a time (i know I can open up multiple sessions but thats cumbersome), it can't do UDP, and it closes at the end of the session.
A friend has suggested socat but it looks pretty much the same except it can do UDP, but also cumbersome, I have to manually output to a different file per port, etc.
Basically its so I can quickly test firewall and NAT rules.
If I runls -R1I get a recursive listing of all files under the current directory.However, if I dols -R1 *.avi, ie I want to search only for files with the file descriptor .avi, I get an errorQuote:ls: cannot access *.avi:No such file or directorySo it seems I am using ls incorrectly. What's the correct way to use wild card pattern matching when using the -R switch? Or maybe that isn't possible?
View 2 Replies View Relatedhow to pipe the current directory listing into sort so that the output is the date in descending order (primary sort key). If there are multiple entries with the same date, I'd like the times sorted in ascending order. It seems simple but for some reason this isn't working:
ls -l | sort -k 6r -k 7
For some reason it doesn't seem to ever get to the second sort key when using column 6 (last modified date).
I'm running Fedora 11 (2.6.30.10-105.2.4.fc11.i686.PAE) 8 GB memory on a AMD Phenom(tm) II X4 965 Processor, 4 core server I just built.The problem I have run into is any virtual machine that has >1024 MB memory assigned to it will not boot. As along as it has 1024 MB or less it boots fine.The symptom you see is a very quick message "Booting from hard disk" the screen then goes blank, you can't login through SSH, and can't ping the network address so I know it's not some crazy video problem hiding the boot process.The attachment are messages from a failed boot attempt.
View 4 Replies View RelatedCode:
I have just inserted a new battery. However, there is no settings that show the capacity and current charge time, etc.
When I click the battery icon. All I get is the current percentage.
Is there anything that will give me more details about my battery i.e. capacity, charge rate, time to full charge, etc?
Can anyone update me a little on the current styate of Radeon Drivers? I have a laptop with an RS690M video card on Slackware64 & Slamd64
There is
1. Kernel driver (drm/radeon.ko) but I am finding it difficult to find comments on it, except that it does some power management stuff
2. Proprietary fglrx had a recent significant update, and now talks to my card after a fashion (Experimental support)
3. OSS Radeonhd for X, which I gather is probably the worst atm but it's what I have in xorg.conf
4. OSS radeon driver, which is supposed to have more work done on it.
I don't need framebuffer stuff - the screen is hard enough for me to read as it is, but I do like to watch the occasional tv program or dvd and I'd like the video to be keeping up in full screen. ATM, Xvid, Opengl, and just about everything fails to, except sdl.
I have a new clean install of 64bit current slackware on a machine which previously run 12.1 to 13.1. It had suspend to ram working quite reliable before, but now i get black screen (sometimes with nonresponding mouse cursor on it) at every second or third wake-up.
I found out that it is not a complete lockup - full access to kde desktop could be restored by hitting alt+sysrq+s followed by alt+sysrq+l several times. I wonder what is causing this? How to get it to wake up normally at once?
Edit: I've installed latest nvidia drivers (260.19.44) for GeForce 8500GT card - previous version (260.19.21) of drivers exhibited the same behaviour in my current install of slack.
I have stuk up in big issue here , I just want to find the remote url in which it listens ?
I know the remote host and remote port number but i just want to which url the web application listen
For example : Host : 1.1.1.1 & port no : 8080
But i remember the url would be http://1.1.1.1/(something):8080
I want to find the complete url in which it listens ?
In nmap whether i can achive this or anyother tool ?
i did an install of squeeze without selecting anything during tasksel. after install i changed my sources to testing, updated, and did a dist-upgrade. i then installed xfce4 and xfce4 goodies. i noticed some of the xfce4 packages have the current state 'pa'. for example:
[Code]...
this makes me worry some things didn't install all the way, because if i did aptitude install xfce4-power-manager it would install it and leave make the current state 'i'.is there anyway to install all the packages labeled 'pi'?
My linux laptop isn't able to detect the current battery state. I am using slackware64 13.37 xfce with a Toshiba L645 laptop.
This is what I came up with so far.
Code:
lsmod
Module Size Used by
snd_seq_dummy 1479 0
snd_seq_oss 30116 0
[Code].....
I use a program called conky that reports my cpu frequency and most of the time it's always at 0.93GHz instead of 2.53GHz. Sometimes it jumps to 1.20GHz and 2.53GHz but falls back down to 0.93GHz. Is this normal?
Is there a way to get a list of all packages installed since install (that are currently on the system) and upon re-install run an application that will automatically install those packages. This would save greatly on initialisation time (the re-set up afterwards). Essentially, I want to re-install and/or move to another machine and want to the new install to reflect the system as it currently stands.
View 2 Replies View RelatedI do not know much about parallel computing, but I do have access to a few cpus.I am trying to write a program compatible for multiple cpus, but to do it, I need to ensure unique directories. I have figured out that the time of creation, process id, and cpu id form a unique combination I can use to name files (up to the degree of accuracy of the internal timer).Anyway, I am using perl. I know how to find the process id and I know I can get the time pretty easily, but as I said, I do not know much about hardware or parallel computing. All I need is a way to identify each cpu in the system and I am set for half of my program (the other half is significantly more straightforward and is mainly about text parsing.)
So anyway using terminal, perl, etc., I could access this identification? Or could someone at least tell me the name of what I am looking for? I have seen the words "ip" "MAC" "hostid" and a bunch of other "id" things come up in my googling, but I really cannot figure out which is the one relevent to me
I was trying to create a new saved state when suddenly Virtual Box broke, Upon starting it back up again I've gotten this error.
[code]...
What all this then?
I was thinking of trying out the UEFI support that HP has in my laptop BIOS in the next few days. My reasons is that I get a custom boot logo... and (hopefully) a better boot-speed. What is the current state of affairs with the openSuSE UEFI/EFI install support on a empty hdd for x86_64 does anyone know? (badly worded I apologize) This may seem naive but I have struggled to answer this with most posts being about Mac's for obvious reasons.
Specifically, Do I have to have any custom knowledge on formatting the HDD with a GPT partitions or does the installer do this for you? Secondly, How well does the UEFI bootloader tie in with the config tools in YaST2? (I would like to have UEFI but if it turns into some headache in setting up the boot area by hand each time the kernel updates I will forget it.) I can safely say this will be a machine with only openSuSE installed as an OS, no need for any others or any dual-boot problems. This isn't overly urgent and I will dedicate (at least) a whole weekend to tweaking once I buy a new disk and install openSuSE on it. If nobody knows then I will dive in head first and report how I find it and any problems (and severity).
I have eth1 and eth2 connected with back to back cable on the same machine.
I configure eth1 with 11.11.11.11 and eth2 with 11.11.11.14.
I use ping -I eth1 11.11.11.14, I get Destination Host Unreachable...
using tcpdump on eth1 shows ARP request broadcast being sent out
using tcpdump on eth2 shows ARP request received, no ARP reply being sent out
Not sure whether this config is supposed to work?
I have a bit of a strange scenario. I have a machine with a fixed IP (192.168.0.108), running Linux. It has an external IP 99.99.99.8 via a 1:1 NAT on a Cisco ASA/router. Port 3389 (MS RDP) is open for 99.99.99.8. I want my Linux machine to listen on port 3389 and redirect all traffic to that port to a Windows machine (192.168.0.100). In this way, my Linux box is able to respond to requests on all ports, but port 99.99.99.8:3389 connects to Remote desktop on the Windows PC. I do not have access to the Cisco NAT config. I was able to get this setup to work by using an SSH tunnel.
I ran this command on the linux box:
ssh -L 3389:192.168.0.100:3389 ergosteur@192.168.0.108
Any ideas? Perhaps using iptables or something?
When trying to rebuild a RAID1 on a FastTrak TX4310 controller after a disk was replaced the below message is given:
Code:
[root@SAMBA Samba]# dmraid -R pdc_gigcjhdfa /dev/sdc
Volume "pdc_gigcjhdfa" is not in rebuild state (current: 16)
Rebuild: cannot rebuild from current state!
This morning I was looking at the router's log file and noticed a certain IP address was able to gain LAN access on port 2222. That just happens to be the port my SSH server is listening on! A whois search revealed that IP address is in Germany. As soon as I found this out I stopped forwarding all ports to this machine in my router.
how to tell what had happened, what information this person was able to obtain, and if he left any goodies behind that could hurt me? I've read through some of the logs on my computer and haven't been able to find much at all. I did have some personal information on the hard drives, but that information is encrypted. I'm thinking if they were able to get my SSH password then that information probably isn't safe either (assuming they have some of it).
I just installed Simply Mepis 8.0.15 for a friend but the screen resolution is 800 x 600, how do I change that to 1024 x 768?
View 9 Replies View RelatedI am using the Terminal. I would like to know how do I put the current date and time on my machine and the date from a certain URL that has .php extension into a file.
I need to run Windows XP on a virtual machine using my 64 bit Slackware -current box. Does anyone have a procedure for installing the non-free version of Virtualbox (USB support is a necessity), or failing that can anyone recommend another solution? The only virtualization software I've ever run has been Virtualbox.
View 2 Replies View Related