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?
View 3 Replies
ADVERTISEMENT
Dec 10, 2010
On Kernel 2.6.33.4 I get this from /proc/net/ip_conntrack:
tcp 6 431557 ESTABLISHED src=X.X.X.X dst=X.X.X.X sport=44242 dport=993 packets=128 bytes=9267 src=X.X.X.X dst=X.X.X.X sport=993 dport=44242 packets=85 bytes=53950 [ASSURED] mark=0 use=2
On Kernel 2.6.36.2 I get this from that same file:
tcp 6 431665 ESTABLISHED src=X.X.X.X dst=X.X.X.X sport=4640 dport=8082 src=X.X.X.X dst=X.X.X.X sport=8082 dport=4640 [ASSURED] mark=0 use=2
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?
View 1 Replies
View Related
Apr 20, 2011
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.
View 2 Replies
View Related
Jul 10, 2011
i want to performance a test of a network, without using connection-tracking.
how to disable connection-tracking,
i used the following iptables commands to disable connection-tracking,
iptables -t raw -A PREROUTING -p tcp -j NOTRACK
iptables -t raw -A OUTPUT -p tcp -j NOTRACK
but it is not working, when i see /proc/net/ip_conntrack, this file shows the existing connections.
View 3 Replies
View Related
Oct 20, 2010
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..
View 2 Replies
View Related
Dec 18, 2010
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.
View 10 Replies
View Related
Jul 7, 2010
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.
Filezilla log
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
[Code]...
View 1 Replies
View Related
Apr 7, 2010
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.
all routers have DHCP active.
View 2 Replies
View Related
Jun 4, 2010
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.
View 2 Replies
View Related
May 25, 2010
Since upgrading to 10.04 my network connection asks for key/password every time I logon. Where/how can I make ubuntu remember my key/password?
View 2 Replies
View Related
Jun 14, 2010
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?
View 1 Replies
View Related
Jun 20, 2010
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
View 2 Replies
View Related
Jun 13, 2010
how to make dsl setup and to acess both wireless and wired at a time.
View 2 Replies
View Related
Apr 23, 2010
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?
View 5 Replies
View Related
Apr 3, 2011
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.
View 3 Replies
View Related
Jan 24, 2010
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)
ubuadmin@ubucomputer:~$ ifconfig
wlan0 Link encap:Ethernet HWaddr 00:06:25:12:83:3b
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::206:25ff:fe12:833b/64 Scope:Link[code].....
View 5 Replies
View Related
May 26, 2010
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.
View 1 Replies
View Related
Jun 21, 2009
I have installed Fedora 11 recently. I want to share my Internet connection.
I have e LAN connection eth0 which is connected to internet.
I have a Wireless connection wlan0.
I want to share my internet connection with wireless connection.
View 3 Replies
View Related
Jul 28, 2010
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?
View 4 Replies
View Related
Jun 11, 2011
My problem is exactly the same as [URL]
but I am stuck at the last hurdle
here are the output of the command that helped to solve the case in the previous post:
ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:1b:77:d2:59:55
inet6 addr: fe80::21b:77ff:fed2:5955/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
[Code].....
I have also tried sudo dhclient but it hasn't helped and I am still unable to connect to the internet
View 1 Replies
View Related
Feb 4, 2010
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.
View 5 Replies
View Related
Jan 5, 2010
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?
View 3 Replies
View Related
Apr 23, 2010
I'm trying to setup PPPoE connection to establish my DSL connection, but I got
Code:
pppoe[3885]: read (asyncReadFromPPP): Session 4479: Input/output error
pppd[4104]: Cannot determine ethernet address for proxy ARP
in my sylog file.
When I do pppoe-start, it connected but I cannot ping into any destination (even to my modem in the same network). DNS servers are explicitly set in pppoe.conf and resolv.conf. Did I miss anything?
View 2 Replies
View Related
May 8, 2010
I have problem in making connection to my vpn server I can make connection from windows xp to that but can not open any website and I can not ping 172.16.10.1 when connection established.
These are my configuration files:
server config file:
Quote:
client configuration file:
Quote:
And this is my server syslog tailed file:
Quote:
And I added this routing to /etc/rc.d:
Quote:
And this is my iptable:
Quote:
And vpn connection is lost after establishing a lot.
View 4 Replies
View Related
Apr 22, 2010
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.
View 8 Replies
View Related
Mar 26, 2010
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?
View 3 Replies
View Related
Feb 9, 2010
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.
View 5 Replies
View Related
Oct 31, 2010
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:
eth0
Link encap:Ethernet HWaddr 001:aa0:91:a7:51
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisons: 0 txqueulen: 1000
RX bytes: 0 (0.0 B) TX bytes: 0 (0.0 B)
[Code]...
If I comment out "auto eth0" as well, it makes no difference. If I uncomment both lines ("auto eth0" and "iface eth0 inet dhcp") then I lose the internet connection altogether.
View 4 Replies
View Related
Apr 6, 2010
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?
View 5 Replies
View Related
Jan 9, 2011
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.
View 3 Replies
View Related