Networking :: Connection Destroy Time With Net Filter Connection Tracking?
May 13, 2011
When I have video running and the video stops, I see that the connection is destroyed in about 5 seconds, which is what I want. If, rather than stopping the video, I pull the plug, I have seen it take 350 and 380 seconds before the connection is destroyed. Why is there such a large difference in the time to destroy a video connection between stopping the video and pulling the plug on it when using net filter connection tracking? How can I shorten the time for the connection to get destroyed when pulling the plug?
It's missing the data on bytes and packets transmitted through that particular connection. I had written a program that uses this information. Was this pulled out of the kernel on purpose or did I miss some option when compiling the new kernel for my box?
I do not believe the firewall connection tracking is enabled. I have Centos 5.6 with 2.6.18-238.5.1.el5.centos.plus kernel. I went into the kernel .config and I see CONFIG_IP_NF_CONNTRACK=m. But when I do a lsmod I do not see this module.
In the right upper corner of your screen,you can see if you have a network connection or not.Most of the time I do not have one according to Networkmanager (?).So I have to enable my wired connection manually.I already tried a lot to change my settings so I would have a network connection at boot,but it doesn't seem to work....Firefox is in Offline modus when I logon..
On my CentOS 5.4 box I run dns, ssh, and smtp servers. This box also has to be able to resolve and browse websites. So basically it needs iptable rules for
TCP 22 25 80 443 UDP 53
My question is, which of these services work nicely with connection tracking? I'm a little confused about how connection tracking works. For example say this iptables rule for smtp
Code: iptables -A INPUT -s 0/0 --sport 513:65535 -d $myip --dport 25 -j ACCEPT versus
Code: iptables -A INPUT -s 0/0 --sport 513:65535 -d $myip --dport 25 -m state --state NEW,ESTABLISHED -j ACCEPT So with connection tracking what exactly does it do that my first iptables rule does not do?
Also for centos is that port range correct? 2.6 Linux kernel randomly chooses a port 513-65535 when it connects to an external smtp server or say browses a site.
I'm using Filezilla to connect to a remote server with site 2 site VPN. Even when i'm sending a small file with SFTP, the connection time outs and reconnects. Its happening again and again. Even SCP connection is also the same. BUT SSH CONNECTION IS WORKING FINE.
ravindika@ravindika:~$ tail -f filezilla.log 2010-07-07 10:35:12 2690 2 Response: fzSftp started 2010-07-07 10:35:12 2690 2 Command: open "root@XXX.XXX.XXX.XXX" 22 2010-07-07 10:35:19 2690 2 Command: Trust new Hostkey: Once 2010-07-07 10:35:21 2690 2 Command: Pass: ******* 2010-07-07 10:35:25 2690 2 Status: Connected to XXX.XXX.XXX.XXX
I have a wireless connection with static ip 192.168.10.150 to connect to Internet through a modem / router ADSL ip Lan 192.168.10.1. I connect with no problems. I have a wired network in the office 172.16.17.0/24 to work with the servers. the router is 172.16.17.1, my connection eth0 with static ip 172.16.17.150 work, but Internet by Internet nothing. If i disconnect the cable i have Internet from wireless. ?? What i have to do to ,to received internet by wireless and be connected ate same time to my wired network by eth0 too.
I am running Ubuntu 10.04 and i have some problems with my intel WiFi 5100AGN. After a randoom time i dont have a connection anymore and Ubuntu does not reconnect automattecly. I get an popup with the preinstalled password for my WiFi but for some reason i cant connect to it. I have a pastebin from the dmesg after it happens.: [URL]... It is tottaly randoom time it can happen in 1h and also in 6h.
I've been trying to use gnome-schedule to create a scheduled task that would dial my pppoe connection automatically. For this I used "sudo pon" command (after configuring the pppoe connection using pppoeconf ). Although the command gets executed, but then it waits for me to enter the password. I want it to be automatic & shouldn't require me/anyone to authorize it. Is there a way to enter this password automatically for the scheduled tasks?
Also, I'd like to use network manager, instead of pppoeconf, for the same purpose. How can I set network manager to dial a pppoe connection at scheduled time?
i use Huawei usb modem as default connection device , Why i have to connect and disconnect my usb many times to work properly? when i start my PC i have to connect and disconnect the usb about 5 or 6 times to get a connection to the Internet, the icon above shows that every time i get a successful connection but really i don't have it. i have to do it many times to get the connection actually established and the Internet truly works
I could not find an answer to this. I can connect to the internet no problem after I edit the connection name to NETGEAR instead of our last name. After a while it looks like it renews the connection and created a new one with the wrong name. The connection drops. It looks to me it is not using the same wireless connection each time but creating new ones that do not work for the above mentioned reason. What can I do to stop the loop and have it use the same connection always?
I'm trying to create a PAN (Personal Area Network) using a laptop (Siragon ML-1040) and my desktop computer, but I get the Connection Refused (111) error.
Blueman doesn't detect any network service between the two computers unless I start PAND on one of them and then it detects the NAP service. That, only after I enable the NAP/Workgroup services on the Services submenu in Blueman. However, it doesn't work neither with the NM plugins or without them (dhclient and that other one I can't remember the name of).
Any clues over here? I'm using pand 4.91 and blueman.
Its a case of ".... wireless network connection active but still not internet connection .."I am using WEP - 128 key ... Works when I connect directly using ethernet cable ... but not wireless (pci and wireless router)
I have just installed ubuntu 10 on a thinkpad t410. At first everything worked swimmingly, INCLUDING the wireless. After about five minutes, the wireless stopped working, in that it seemed to think it was still connected but pinging didn't work. I've now restarted several times, and each time I restart, the wireless works for about 1 minute, then stops working. If I try to disconnect and reconnect it will not reconnect (until I restart, that is).
iwconfig shows the correct ESSID and ifconfig shows an address, and "connection information" shows a varying percentage of connection.
I'm trying to do a SSH connection between my home and work PC both machines are running ubuntu 10.04. I have read all the comunity documentation at [URL] from Work PC. I went on to the web site what is my ip address and noted down the number, From Home i opened a terminal and typed: pnig (ip address). to which their was no reply, now i'm assuming i need to configure the works router to except connection requests, is this Correct?
Also what information do i need from my works network and how do i get it? I understand that I need the routers expernal ip address, but how do i referiance a specified computer after that address? What program do i use in ubunu and how is that information applied to it?
I have two linux laptops. Currently, I'm using both of them at work, side-by-side. Now the problem is, I'm connected to a wireless router, but the wireless only works on one of the laptops. So I'm stuck with one laptop that has no access to the internet. Both machines do, however, have working ethernet nic cards. So, I was wondering if I could use the laptop with the wireless connection to share the internet connection with my other linux machine and access the internet on both of them. Or as an alternative, just use the internet on the machine without wireless and be able to switch back and forth, that would increase my productivity like 30 fold.
This is not exactly Ubuntu question but i don't know where else to ask. I'm trying to setup a Wireless Linux router. My ISP provides multicast IPTV. I've got the whole thing setup'ed with igmpproxy and hostpad. On wired connection IPTV works flawlessly, but on wireless connection IPTV glitches badly and router start to time out. My wireless card is DWA-552 I'm using ath9k driver. More info in my post on LinuxQuestions.org Did anyone tried to setup Wireless Router with IPTV?
Since the upgrade from Lenny to Squeeze on my Notebook Toshiba Satellite Pro U200 with Intel Pro/Wireless 3945 ABG I have wireless connection problems.The connection breaks time to time and sometimes cannot connect automaticaly after restart. BTW I didn't change anything on the wireless or network configurations on the notebook and on the wiereless router.
I connect to my work with GRDC through a VPN. All worked fine until yesterday. IT is now very slow. Could this have anything to do with the fact that Update Manager was only able to do a partial upgrade?
I use Ubuntu 9.10 I tried the RDC on a Win XP machine and the speed is normal, so I don't think the Remote Desktop Server is the problem. Is there a way to test thespeed of the VPN connection or the RDC connection?
I have 2 computer: 1 computer install ubuntu v9.10, in this computer already installed openssh-server and openssh-client, and 1 computer install windows. In computer with windows , i used putty connect to computer with ubuntu, but i can't connect. I don't understand what's error. In the Putty , i configured: IP : IP address of computer Ubuntu. Port 22 Connection Type SSH
This is error: "Network Error: Software caused connection abort"
In computer with windows, i can ping computer with ubuntu and in computer with ubuntu i can ping computer with windows.
I have the "Work Offline" problem: when I boot up, the icon on the toolbar tells me I have "No network connection". This is not quite true, since I can access the first page of any website - only subsequent pages are inaccessible. I get a message saying that Firefox is offline. However, when I uncheck "Work Offline" in the File menu, it makes no difference to this behavior.
The problem is on my Ubuntu Dell desktop, which is connected to the internet with cable broadband via a D-Link router (wired connection). It has worked fine up till now. I use Ubuntu 10.04 and Firefox 3.6.11. I am writing this on my Ubuntu Dell laptop which is wired to the same router, so I assume the problem is not the router. I have tried various strategies suggested in threads on these forums, including editing about:config, changing "allow" to "deny" in some lines of /etc/dbus-1/system.d/NetworkManager.conf and changing from Automatic (DHCP) to Automatic (DHCP) Addresses only, but no luck so far. The contents of ifconfig are:
i m using RHEL5 on my server machine and open suse 10 on my client machine.both system ping each other, firewall is off of my server machine,i put a file from my client to my server machine using scp command but ftp command is not working when i want to open connection i receive a message "connection refused".what can be the issue?
I am running Ubuntu 10.10, and I would like to use my computer to share the internet connection from an ethernet port. For example, I would like to set up my computer as a wireless access point so I can create a network that other computers can connect to for internet.