Ubuntu :: Processes Listening To Ports / Ipv4 | Ipv6 Only
Jul 3, 2011
I'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 ?
View 3 Replies
ADVERTISEMENT
May 28, 2010
how can I check which process is using certain port? Like in a table with processes and used ports...
View 3 Replies
View Related
Sep 1, 2011
On my 10.04 LTS Ubuntu Server installation, apache2 doesn't bind to ipv4. It does bind to ipv6. I didn't notice this at first, because from my home connection I could visit the webpages without trouble. I noticed it running netstats -ta:
Code:
tcp 0 0 localhost:10024 *:* LISTEN
tcp 0 0 localhost:10025 *:* LISTEN
tcp 0 0 localhost:mysql *:* LISTEN
tcp 0 0 localhost:spamd *:* LISTEN
[Code].....
View 2 Replies
View Related
Oct 29, 2010
After upgrading from 9.10 to 10.04, a hundred or so of (for example)
Code:
error (network unreachable) resolving '14.42.117.203.in-addr.arpa/PTR/IN': 2001:500:13::c7d4:35#53: 1 Time(s)
messages appear in syslog each day. Each URL has from 2 - 6 attempts at various ipv6 addresses. My question is why is bind9 trying to resolve ipv6 addresses? I have done nothing to enable or disable ipv6 and thought that if not explicitly enabled I would not have to be concerned with it.
View 1 Replies
View Related
Mar 21, 2010
setting up NAT and firewalling for both IPv4 and IPv6. The machine is headless, so everything must be configured via CLI. I've done all IPv4 firewall configuration writing iptables rules in a bash script so far
View 1 Replies
View Related
May 6, 2011
I've got a Ubuntu Linux box that has two IPv4 addresses and an IPv6 address. This is my current /etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0 eth0:0
[code]....
View 1 Replies
View Related
Feb 25, 2011
I want to modify apache IPv4 configuration to IPv6 configOn both windows and ubuntu.
View 1 Replies
View Related
Feb 19, 2010
How do I assign IPv4 and IPv6 static addresses permanently in OpenSUSE 11.2? Currently I am only able to assign either IPv4 or IPv6 static address not both. I cannot find even the interfaces file(/etc/sysconfig/network/interfaces).
View 2 Replies
View Related
Feb 6, 2011
I'm using Ubuntu Linux as my operating system.In my network only the ipv4 is suported, and I need to access some website through ipv6. How can I do it, is there a way to tunnel from the ipv4 to ipv6.
View 2 Replies
View Related
Mar 12, 2010
How do you I use duel stack i.e How do I use ipv6 packet inside ipv4 packet using fedora kernel 12 ?
View 1 Replies
View Related
Feb 23, 2011
I've registered a top-level domain site.com pointing to my IPv6 address (6to4 tunnel). Everything looks ok, dig command, nslookup command shows requested output, but: I'm not able to connect to mail.site.som on 110 port. I still get an error messaged, that connection has been refused. I've populated the ip6tables with commands to open desired port but with no success. I'm listening on 25, am able to connect to this port, but not to 110.
Command netstat -an | grep "LISTEN " shows that I'm not listening on 110 port, although I'm just added this port to the firewall exceptions. Telnet to ::1/tunneled IPv6 address is successful. Postfix installed, configured properly, ping6 working. Everytime I try to send email from external domain, I'm advised that the mail domain is not pointing to A record.
View 6 Replies
View Related
May 4, 2010
Normally I use 'netstat -an' to determine if a daemon is listening on a specific port. The excerpt of this command below doesn't list things like vnc (5900) on ipv4. It does however show it on ipv6. My issue is I want to know how to determine if it is indeed listening on ipv4 as would normally be seen with 0.0.0.0:5900. It would appear that all ipv4 ports are internally being redirected to ipv6. Of course this does simplify things, but it also leaves me unable to reliably determine the ipv4 listening status. How I can tell at a glance if a specific ipv4 port is being listened on? Is there a way to force netstat to list the ipv4 listens specifically?
Code:
art@eee1:/proc/sys/net/ipv6$ netstat -an
Active Internet connections (servers and established) .....
View 1 Replies
View Related
Oct 18, 2010
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 Related
Jul 16, 2010
Question (and Google results aren't making this clear): Ubuntu has both iptables & ip6tables installed. 1. If I set a rule in iptables, does that rule also apply to ipv6, or just ipv4?
2. If "no" to above, then it would be prudent to *also* set ip6tables rules as well if I want to maintain an active firewall, correct?
3. Does ip6tables rules have the same syntax and behavior (more or less) to iptables rules - i.e. can I just copy my iptables rules & change "iptables" to "ip6tables"?
4. Any gotchas or issues that I should be aware of?
View 9 Replies
View Related
Jan 17, 2011
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.
View 7 Replies
View Related
Oct 23, 2010
I'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 Replies
View Related
Aug 16, 2010
I am running vsftp on one of my systems and when trying to connect to it it errors out with this: vendion@Loki:~> ftp 192.168.1.100 Connected to 192.168.1.100. 500 OOPS: could not bind listening IPv6 socket
I have tried stopping the firewall and even disabling IPv6 nothing changed, any clues as to what is going on?
View 5 Replies
View Related
Oct 5, 2010
Normally all I/O goes through the kernel so that it can schedule the operations and prevent processes from stepping on each other. A few special user processes are allowed to slide around the kernel, usually by being given direct access to I/O ports. X servers are the most common example of this isn't it ? give examples for any other processes that are allowed to slide around the kernel ?
View 3 Replies
View Related
Oct 29, 2010
I'm forging a gateway server, We have 2 Internet connection that goes to a load balancer router, and goes to my centos server and from our server goes to a switch for Internet distribution or routing.
OS-CentOS 5.5
[root@server etc]# uname -srio
Linux 2.6.18-194.el5 i386 GNU/Linux
My eth0 and eth1 has the following configuration and IP
[root@server etc]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# VIA Technologies, Inc. VT6105/VT6106S [Rhine-III]
DEVICE=eth0
BOOTPROTO=none
[code]....
Disabling IPv4 packet forwarding but i already changed it to 1 at sysctl.conf One of the online forum says i need to configure the named.conf deleted some and run it(named.conf) and successful but still when I run network service I still get the :"Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0" The network is getting the IP range but it doesnt get any Internet connection.
View 3 Replies
View Related
Jul 22, 2009
I used to play with gw6c ( a client for tunnel broker ) It works well with fedora9 , fedora 10, but not with leonidas. my rpm is gw6c-6.0-0.4.beta4.fc9.i386.rpm ( a little old!) when I tried to install i have got this: libcrypto.so.7 est ncessaire pou w6c-6.0-0.4.beta4.fc9.i386 I try to make a soft link to libcrypto.so.0.9.8k, but nothing; The question :-Is there a solution for that pb - did you know a better client for non native ipv6 connectivity?
View 2 Replies
View Related
Aug 31, 2011
I have been struggling to get FC15 to act as an IPv6 router for a while now, am sure I am missing something trivial.. The idea is that I have a ppp / adsl connection (this works fine), use the wireless card on my pc with hostapd and dhcpd to provide connections to other pcs (works fine), and radvd to delegate ipv6 addresses.
The issue seem to be that as soon as I turn on ipv6 forwarding (net.ipv6.conf.all.forwarding =1), the ppp connection no longer gets an IPv6 address. This means the router cannot ping any ipv6 address outside my network.
If I disable ipv6 routing, my router gets an IPv6 address on its ppp connection, and can ping things such as ipv6.google.com just fine, however (of course) no packets are forwarded from my network and radvd complains that forwarding is disabled.
View 1 Replies
View Related
Dec 17, 2010
I'm writting an app for desktop and embedded linux and I need to get information about the multiserial port, and I need to know which port is been used (by a printer, por example).The multiserial I'm using is an Altera Corporation Device 0004, and I just need to tell how many ports are there and how many is been used.
View 3 Replies
View Related
Aug 11, 2010
How can I tell if my USB ports are 2.0 ports?
View 1 Replies
View Related
Apr 19, 2010
Current problem: fresh, clean install of Ubuntu 7.10 on known good hardware does not use/produce/get/have an IPv4 associated with eth0, so cannot connect to my home network for Internet access.
Background: Have been wanting to build and maintain a home file server for some time now. Have also been wanting some hands-on practice to help me progress from Noob to Intermediate, eventually advanced Linux Tech. (I have two decades of tech support experience, but only small fraction of that using command lines and almost zero Linux.)
Anyway, every time I download and attempt to burn a recent distro on my Vista Shuttle, I only end up making drink coasters and mini-frisbees. so I thought that I might have better luck if I used a Linux Workstation to download and burn a server distro.
That's where I an now. I took one of my fully functional WinXP systems offline, replaced the WXP HDD with an old 3.2 GB, dug out my 2008 edition Linux Bible, popped in the DVD that came with it, and installed Ubuntu 7.10.
Everything else seems to have progressed smoothly, but I cannot seem to get the onboard Via chipset ethernet controller to talk to the router. When I run "ifconfig" in Terminal, I see IPv6 info, but nothing for IPv4.
When I try to configure eth0, it doesn't matter whether I set it up for DHCP or static... nothing works.
Is there a command line tht I can use in Terminal to manually configure eth0 to use IPv4?
View 3 Replies
View Related
Aug 2, 2010
Our router is pretty old and only capable of giving fixed ip and there is no support for IPv6. Via the gnome networkmanager I try to set a manual IP to 192.168.1.123 and a netmask to 255.255.255.0 and a default gw at 192.168.1.1 . However, this does not work.
If I open a terminal and type:
Code:
sudo ifconfig eth0 inet 192.168.1.123
sudo route add default gw 192.168.1.1
Then I get a perfectly valid connection to the internet.
ifconfig by it self returns:
[Code]....
ffor me it seems that the gnome network manager doesn't save the information that I gently ask it to.
I can fix it with the CLI commands, but I would like to know whats going on.
View 6 Replies
View Related
May 31, 2011
When doing the ifconfig command I only receive the IPV6 address. How do I specify that I need the IPV4 address???
View 3 Replies
View Related
Aug 14, 2010
I can connect & share my dual-boot PC with no problems under WinXPPro using wired or wireless. (I've another thread going trying to get the wireless-n usb adapter to work.) Two questions so I can get the wired shares to work. I want to copy beaucoup files from the Win7 PC to the dual-boot PC. When booting into XP, no problems. When booting into Ubuntu 10.04, nothing. I can see the Win7 PC but can't access it. My two questions then are these. First, is there some switch to enable fire & drive sharing under Lynx as there is under WinXP / 7? (Samba??) Second, how does one set the IPv4 address? Under WinXP it's one address and under Lynx it's another.
View 1 Replies
View Related
Jun 11, 2011
I have an OpenVPN(10.04.2 LTS) server running in bridge (TAP) mode. Its sitting behind a router and then a cable modem. The VPN works perfectly but I have a security concern. In order to allow the VPN clients to connect to the internet, I had to enable IPv4 forwarding on the server. Is this is a security hole? Can a hacker access my servers connection from the internet (without authenticating with OpenVPN) and access my network. Can someone use Ipv4 forwarding to access my LAN network from the WAN
I used this command to enable ipv4 forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
Without IPv4 forwarding my VPN clients can only access my LAN and router, but they cannot reach my modem or the internet.
[Code]...
View 1 Replies
View Related
Nov 16, 2010
what is the size of an IPV4 IP address?
View 2 Replies
View Related
Jan 5, 2011
how to make a Ubuntu 10.04 server VM look for an IPv4 address if it doesn't seem to by default?
View 3 Replies
View Related