=== jelly-home is now known as jelly === markthomas is now known as markthomas|away [01:47] Hello, other than iptables, what might block a packet from leaving a linux server that shows up on tcpdump but not on the other computer on the same subnet/switch ? [01:48] vlans? smart-switch with acls to enforce? [01:50] So I have a server B connected via lan/switch to server A which is connected to server C via OpenVPN, server C is connected to the lan 192.168.122.0/24. [01:50] from server B I can ping 192.168.122.1 [01:50] but from server C I can not ping server B. [01:50] after some investigating, tcpdump shows the packets exiting server A on the correct interface towards server B [01:50] but server B never receives the packets ( checked with tcpdump ). [01:51] I added iptables -I FORWARD -s 192.168.122.0/24 -j ACCEPT to server A thinking it would fix the issue [01:51] the packet counters show that the packets are being accepted by the new rule [01:51] but I can't see the packets hitting server B [01:51] :( [01:51] server B and server A are on the subnet 192.168.2.0 and the VPN is 192.168.3.0 [01:52] this should be straightforward, but I can't figure it out [01:52] server A and server B can communicate in both directions ( confirmed with pings ) [01:52] server A and C can communicate in both directions ( confirmed with pings ) [01:52] but for some reason that is beyond me, A and C can not communicate [01:53] ip_forward = 1 in /proc/sys/net/.... [01:54] it gets weirder. [01:55] I added "iptables -t nat -I POSTROUTING -s 192.168.122.0/24 -j MASQUERADE" which causes 192.168.122.0/24 to appear as 192.168.2.1 to server B [01:55] and now the pings are going through [01:55] my switch has vlans but should not be filtering ips in any way [01:55] I never configured ACL on the switch [01:57] tcpdump run on both the tun0 interface and the eth0 interface show the packets, so the issue is not with openvpn [01:57] route -n shows the right IPs on the right interfaces [01:58] I also have server D which is connected to the same VPN with lan 192.168.10.0/24, and it pings server B without issue [02:03] I figured it out [02:03] server A turns out to be a virtual server and the host machine has a virbr0 interface with a conflicting ip [02:04] d'oh :) [02:04] at least I figured it out [02:04] i forgot that A was a virtual server [02:04] good thing I know what I am doing :$ [02:05] the virtual host is masquerading my stuff [02:06] I removed the offending rule from iptables -t nat, but the stuff is still masqueraded I need to reset the ip connections tracked by iptables [02:09] how do I tell iptables to reset all the connections masquerade is following? [02:09] you don't [02:09] iptables has no effect on that kind of thing [02:10] crap [02:10] try something like echo 1 > /proc/sys/net/ipv4/ip_conntrack_max ; echo whatever > /proc/sys/net/ipv4/ip_conntrack_max [02:10] or just use the conntrack program [02:10] and tell it to flush [02:10] how decadent :) [02:11] IT WORKED :D [02:11] thaks [02:11] I did conntrack -F and it reset everything [02:11] thanks :D === CiPi is now known as cipi [08:35] hi, my server hp is dead, in this server i have 5 disks (OS Windows 2008 R2 with VM Hyper-V), i can install these disks in ubuntu OS without losing data? [08:38] Good morning. [08:38] hi guys, I have a stupid question, I have seen someone gzip -9c files but can't find anywhere in the man page what the 9 stands for [08:39] compression level [08:39] mybalzitch, could you please be a bit more specific [08:40] meaning a higher compression level? [08:40] yes [08:40] oh , thanks [08:40] just wondering, what that switch does [10:04] if i have a list of packages a b c and d in case no dependency between them... which one will be installed on the first place..eg: apt-get -y install fail2ban python-paramiko mc git-core [10:58] something's really screwed up with permissions === cipi is now known as CiPi === TheRealAlexz is now known as theRealAlexz [12:55] my server hp proliant is dead, the server hp have 5 disks, 1 physical Windows Server 2008 R2 and 3 vm hyper-v, i would want load these disks in a system Ubuntu Server on other server hp poweredge r510, is possible? [12:56] my server hp proliant is dead, the server hp have 5 disks, 1 physical Windows Server 2008 R2 and 3 vm hyper-v, i would want load these disks in a system Ubuntu Server on other server DELL poweredge r510, is possible? [12:57] maybe [12:57] are you planning on installing ubuntu on those drives? [12:57] or just mounting them [12:58] only mount [12:58] i want mount this disks how virtualmachine [12:58] is possible [12:59] yes [12:59] assuming you weren't using hardware raid [13:00] ddddd: Wait, do you want to run hyper-v vm's under Linux? [13:01] lordievader: yes [13:02] Don't think that is possible, but I have never researched it. [13:02] mybalzitch i believe that what is raid [13:02] lordievader: he should be able to boot them inside of virtualbox [13:02] I guess if you can get to the disks of the vm's you can put them in kvm and run it that way. [13:03] but i am I am not sure [13:05] what is kvm? [13:05] ddddd: a way to virtualize under linux === sysrex_ is now known as sysrex === markthomas|away is now known as markthomas [17:51] hello [17:51] I'm working on getting a diskless boot working from an ubuntu server [17:52] the kernel boots just fine, but the nfs share with the filesystem on it never mounts [17:52] permission denied, NFS over TCP not available from 10.0.0.1 [17:52] when it clearly is [17:59] Any help? [18:01] hi community, yesterday I could ssh into the server I did apt-get update and upgrade, after that I cant even ping it. [18:02] the server runs fine, it pings google, everything seems ok [18:03] I am in a different network segment from the server. if I plug the server eth cable to another machine and config the same values as the server to it it pings but the server wont [18:03] thats very weird to me. [18:21] @herrkin check if iptables has updated or any other network related service. it could be that a service needs a restart === markthomas is now known as markthomas|away [19:27] Hi! I want to run two Caching DNS Resolvers in a single Machine! Is it possible? [19:27] No, since DNS is using port 53, which cannot be used by two services at a time. [19:28] bekks: sure it can, they just need to bind to different IP addresses [19:28] one can bind to 10.0.0.2:53, and the other to 192.168.0.2:53 ... [19:29] sarnold: Yeah, that would be working. [19:30] samold: How do I bind them? [19:30] What resolvers are capable of this? [19:30] Can dnsmasq and bind can do? [19:30] Capprentice: All DNS servers can be bound to a specific IP address, in their config. [19:31] What should I put in /etc/network/interfaces as dns-nameservers? I normally use 127.0.0.1 ! [19:32] Capprentice: then you are using dnsmasq by default. [19:33] Capprentice: you'd select whichever one you actually wanted to use [19:33] Yes I am! But in a server which will be used by others what should I put there? I can not put the ips which im bind the dns resolvers to! That will probably create a loop! [19:34] You dont need to use ! that often. And why cant you put the IPs there? [19:34] Request coming to the IP 10.0.0.2 and then request goes back to 10.0.0.2! [19:34] why? [19:34] Capprentice: you dont need an exclamation mark at the end every sentence. [19:35] everything is surprising to me (^___^) === Luke_ is now known as Luke === keithzg_ is now known as keithzg [19:44] Capprentice: most sane recursor software has some sort of "listen-interface" and/or "local-address" option to specify which IP or interface to listen on [19:45] jelly: How to use root servers in DNSMasq? [19:45] one would hope it uses them by default? [19:46] how else would it work [19:47] dnsmasq does everything, it can also run as a dns forwarder [19:47] sorry, the only time I've seen dnsmasq used is in NetworkManager applets when internet sharing is enabled [19:48] you can build some mighty difficult to debug things out of it -- run one for libvirt, one for lxc, one for local caching, configure them to forward queries to each other, and your VMs might not be able to look up LXC guests, or vice-versa.. [19:50] .. but if you configure your vms with one fake tld, and your lxcs with a different fake tld, you make mostly make things work. [19:51] * jelly uses either dnscache (which is trivial to configure bind ip address in) or pdns-recursor (which has an obvious local-address option in the config file) === markthomas|away is now known as markthomas [22:03] dw1: why do you use ubuntu [22:05] !poll === Lcawte is now known as Lcawte|Away [22:24] When I run aptitude install -f on an ubuntu server i've configured, this is the result http://pastie.org/private/9vvdtet20mdwoqtqkr4ga. the packages i've got installed up to this point are http://pastie.org/private/keo1olcsmnrxgnjdzduqia. how can i determine which package(s) are triggering aptitude to want to install all those packages?. [22:26] esde: try 'aptitude why' on one of the named packages. or run aptitude in interactive mode (with no arguments) and inspect some packages [22:29] for the first few packages I tried that command with it returned "Unable to find a reason to install X" [22:29] esde: I'd guess that wireshark and ubuntu-dev-tools are the roots of most of those, but I can't say why it wants to install them [22:29] not literally X, but each package i tried [22:30] wireshark was one of the packages that said "Unable to find a reason to install" [22:30] does "apt-get -f install" also want to install those packages? I've seen apt and aptitude develop mismatched ideas of desired package states [22:30] ah [22:31] it does not [22:31] right [22:31] aptitude has a menu entry to reset package states, IIRC [22:31] "Cancel pending actions" in the Actions menu, possibly [22:31] I never used apt-get on this install, only aptitude from the start. That's best practice? or no [22:32] I prefer apt-get these days. it has learned most of the features that used to distinguish aptitude, and is more actively developed/fixed [22:32] but AFAIK both should be usable and supported [22:33] and aptitude's searching/selecting abilities are still unbeatable :) [22:33] great [22:35] it worked! [22:35] great [22:35] also i think it's great that aptitude has minesweeper built-in