Displaying 20 results from an estimated 300 matches similar to: "Load Balancing with secondary tables (not main as in the howto)"
2007 Jul 18
10
Rails - Mock going out of scope?
Hello list,
I think I have a rails related RSpec problem with a mock going out of
scope on a recursive call to a model.
The code is at: http://pastie.textmate.org/79821 if you want to see it
highlighted. I have pasted it below as well.
Basically, I have an acts_as_nested_set model called "Node", which
works fine. I have a function which finds the language name of the
node instance.
2005 Feb 21
4
Routing changes break NAT (not a shorewall question)
Hi folks,
I know this isn''t a shorewall question, but i''m hoping someone can
point me to the right place to look for answers on this (since, as Tom
suggests, search engines are useless for some things):
Here is my firewall setup:
ADSL1 ADSL2 dialup
\ | /
firewall
|
DMZ
It''s a fairly simple setup. ADSL1 has a static IP, ADSL2 is
2007 Mar 24
0
Testing Single Table Inheritance
Hi all,
I have just started using Rspec in rails and trying to test the
following models:
>>node.rb
class Node < ActiveRecord::Base
acts_as_tree
end
>>project.rb
class Project < Node
end
>>task.rb
class Task < Project
end
>>milestone.rb
class Milestone < Node
end
Fixtures for table nodes is set global in spec_helper.rb, with the types
set manually in the
2006 Feb 06
0
ip rule, fwmark, mangle and src IP
I made a script to test if in a moultiple gateway setup all default
connection are up, regardless of the fact that that gateway is the default
gw.
Suppose adsl1 and adsl2 are present, and all traffic goes by default to
adsl1, and you want to test if adsl2 is ok.
1. I use mangles from iptables to mark icmp packets to some test machines
2. I set up a routing table for each adsl
3. I use
2005 Feb 04
2
Multiple gateways setup and timeout connections
Hi,
I''ve setup a gateway using multiple default gateways and netfilter
MASQUERADE to load balance traffic between two DSL interfaces and one
dedicated link, and when I try to download something big, or when I''m
using MSN (both in clients under this gateway), sometimes, or most
times, after a while the connection timeouts. The connection doesn''t
seem to change its
2006 May 16
1
Traffic Routing/Shaping Problem
Hi,
I''m trying to use Shorewall (3.0.6) to accomplish what I thought was going
to be fairly simple. Unfortunately, I can''t get the dmz to work correctly,
and I''m getting martians logged against the interface at issue.
Any help I could get would be greatly appreciated!
A picture of my physical setup is attached. I have also attached a shorewall
dump.
To make a long
2006 Feb 21
17
[Bug 452] DNAT to internal network don't work with source routing and 2 uplinks
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=452
------- Additional Comments From mzurakowski-bin@data.pl 2006-02-21 20:06 MET -------
In ip route add .../29 it should be /24 of course. I think that source routing
is setup correctly: I can ping/connect to my router through both interfaces from
outside no matter how I setup default routing on it.
Marcin Z
--
Configure bugmail:
2002 Jun 15
1
RES: ADVANCED ROUTING USING IPROUTE2 -> Multiple Firewalls
Hi William. Thanks a lot for your help.
Im having some trouble recompiling my kernel after a installed the
patch.
Im running RH 7.3 with kernel 2.4.18-3.
The patch I installed is routes-2.4.16-6.diff. I got no errors
installing it.
I added the multipath support, and recompiled it.
The make dep and the make bzImage went fine.
I got error during the make modules.
These are the errors:
2004 Dec 10
2
Shorewall and IPSEC
I setup some IPSEC between 2 networks. From 1 network I can ping the other
networks local connection but not anything beyond that.
Network A - 10.0.1.1 (loc) 23.23.23.23 (net)
Network B - 10.0.2.1 (loc) 44.44.44.44 (net)
I''m on local machine 10.0.1.10 on network A, I can ping 10.0.2.1 but I
cannot ping a machine on that network ex. 10.0.2.200.
I was thinking it probally has to do
2003 Nov 23
3
wireless vpn + nat
Hey guys,
I installed tinc on a linux server which connects to the internet.
That server is linked via a wireless link with a Windows 2000
workstation. I installed tinc on the windows box too, and the vpn works
neat. The only problem is I don't know if the windows tap driver is able
to forward unknown IPs to a gateway. This is because if I try to ping
10.0.0.1 which is just another
2006 Feb 23
6
username as extension
Is there a way to have extensions automatically created for
registered sip users ?
I did some investigation and found some hope in chan_sip with
relation to the somewhat undocumented usereqphone option but i may be
totally off track.
All i want to be able to do is send a call to number@ip_address where
the number is the username configured on the phone that has
registered with asterisk
2004 Sep 22
3
2.6 kernel ipsec and shorewall
I set up an ipsec/racoon vpn tunnel test environment. The gateway machines
are 192.168.0.30 and 192.168.0.31 on the external adaptor and 10.0.1.1 and
10.0.2.1 internally. The test workstations are 10.0.1.10 and 10.0.2.10.
The tunnel seems to be working as in 10.0.1.10 can talk to 10.0.2.10 an vice
versa and they can both use the net via NAT, however 192.168.0.30 and
192.168.0.31 cannot directly
2004 Sep 20
1
Question about limited primary addresses
I just realized that I hadn''t actually asked a question when I posted
this before. Let me try again...
I am trying to configure a Linux box with all possible VLANs (4094 of
them), and a subnet on each VLAN. Creating the VLANs isn''t a problem.
But, when I try to use "ip addr add ..." commands to assign an IP
address to each VLAN interface, I get to do about 280 of
2006 Feb 21
1
[Bug 452] New: DNAT to internal network don't work with source routing and 2 uplinks
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=452
Summary: DNAT to internal network don't work with source routing
and 2 uplinks
Product: netfilter/iptables
Version: linux-2.6.x
Platform: i386
OS/Version: Debian GNU/Linux
Status: NEW
Severity: normal
Priority: P2
2007 Aug 16
2
Dovecot IMAP/POP3 Proxy with LDAP
Hello all,
I'm having problems to make Dovecot proxy work, I configured it
following dovecot's site. See my test below:
It accepts login and password and then closes the connection.
bastion01:~/build# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready.
user raphael.costa at xxxx.com.br
+OK
pass xxxxxx
+OK Logged in.
2006 Aug 21
1
Multiisp and pptp
I'm using shorewall 3.0.4 with ubuntu dapper. I've compiled the kernel
with the option CONFIG_IP_ROUTE_MULTIPATH_CACHED=n.
I had a trouble with, pptp connection, I'm trying to connect a using
microsoft vpn a vpn server out of my lan, and don't work.
My files
<providers>
ADSL1 1 1 main eth1.600 10.190.1.1 track,balance eth0
ADSL1 2 2 main eth1.601 10.190.2.1
2003 Nov 06
3
Grandstream problem
Hi,
I installed Asterisk an all works fine exept for Grandstream.
When I call with a softphone (ex X-ten) to a Grandstream (BudgetTone-100), I can make a conversation. = ok
When I call to a softphone with a Grandstream I can pich up the call with the softphone but the Grandstream keeps ringing like on the other site you didn't pick up the phone.(even if you do so)
It's the same when I
2005 Feb 10
3
IP packets with source address of 0.0.0.0
Hi,
I've got a bit of a weird one I've not figured out yet, so thought I'd
come see if you guys can help. I've just added a new box to an existing
tinc vpn. The vpn consists of some debian Linux and freebsd 5.2 and 5.3
boxes. All boxes are running tinc 1.0.2.
The box I've just added is the first and only fbsd 5.3 box on the vpn.
tinc on the fbsd5.3 box seems to happily
2018 Dec 18
3
Samba and dnsmasq
Hello everyone !
Well, I'm setting up a 'new' box with samba 4.9.3 on Ubuntu 18.04
Idea is to use Host OS for Domain Controler (dc1.smb.domain.tld) and a
LXC container (ubuntu 18.04 too) as Domain Member with File Server
(fs.smb.domain.tld).
Administration through Windows OS will be done with a Qemu KVM.
Bad thing is that I get :
> Failed to bind to 0.0.0.0:53 TCP -
2006 Nov 07
4
non-"table_id" foreign key
Okay folks, I''m feeling like a fool. I''m sure I''m not the first person
to run into this, but I can''t find the necessary info.
Basically I need to create two tables. The first to hold actual
content. And the second to link pairs of content records. For
example, a "persons" table and a "friends" table that pairs up two
person records.