similar to: Is it possible to evaluate a string as a parameter name?

Displaying 20 results from an estimated 100 matches similar to: "Is it possible to evaluate a string as a parameter name?"

2009 Oct 29
2
template issue: nested variables?
I need to do something like this node foo { $iface = pcn0 ... } # the template <%= network_<%= iface %> %>/<% netmask_<%= iface %> %> The idea being that a file would be built on the client holding the value of pcn0''s network/netmask Of course, I''m trying to avoid hard coding the interface name in order to keep my code portable. Thanks in advance
2009 Dec 23
1
Problems with chan_sip
Calling my home numbers has always worked. Till now. The Asterisk CLI show the following : [Dec 23 10:53:22] NOTICE[25159]: chan_sip.c:12640 handle_response_invite: Failed to authenticate on INVITE to '<sip:092xx90xx at 85.xx.xx.xx>;tag=as5b139383' And after restarting Asterisk, the CLI is flooded by : [Dec 23 11:11:06] WARNING[1468]: chan_sip.c:1817 __sip_xmit: sip_xmit of
2010 Aug 02
1
SIP Status: 401 Unauthorized (0 bindings)
Hi, I have made a fresh install of asterisk-1.6.2.10 and when I register my soft phone it gives following error. Rest are default configurations. 32.454370 MY_IP -> ASTERISK_SERVER_IP SIP Request: REGISTER sip:ASTERISK_SERVER_IP 32.454505 67.19.43.202 -> MY_IP SIP Status: 401 Unauthorized (0 bindings) 36.454814 MY_IP -> ASTERISK_SERVER_IP SIP Request: REGISTER
2006 Dec 11
6
load balacing with https home banking
Hello everybody. I''m running linux 2.6.19 with nth match to alternatively snat outgoing connections to two different ip addresses for load balancing between two adsl lines: Here is: $IPTABLES -t nat -A POSTROUTING -s my_ip --protocol tcp -m multiport --dports 80,443 -m statistic --mode nth --every 2 -j SNAT --to adslA $IPTABLES -t nat -A POSTROUTING -s my_ip --protocol tcp -m multiport
2009 Dec 24
7
nested variables
Hi all! I have quation: how i may use nested variables/facts? For example, I have variable $iface. It''s variable declared in node brakets, and, use with defenition. iface may be eth0, eth1(Linux), em0, ... <freebsd>, ... is fact: facter | grep eth0 | grep mac macaddress_eth0 => 54:52:00:3D:CB:40 We don''nt know name of $iface in our module (to generate network
2007 Mar 23
1
upload progress bar don''t work...please help
Hello, I''m trying to install the upload_progress gem and i can''t see the upload progress status. My config is : apache2 with mod_proxy mongrel rails upload.rb : ############## require ''rubygems'' require ''drb'' require ''gem_plugin'' GemPlugin::Manager.instance.load ''mongrel'' => GemPlugin::INCLUDE
2005 Jan 01
2
htb bridge problem, please chceck my config
hello. i have following setup: a machine (winChip 200mhz cpu, 32mb ram, linux 2.4.28) acting like a bridge with 2 interfaces (eth0 - to our ISP, eth1 - to our network) machine does not have any IP there is a 802.1q vlan eth0.2 eth0.2 and eth1 are bridged in br0 i have one 4mbit link which i share with my friend, i have 3mbit and he has 1mbit all our IP addresses are public and we have the
2002 May 23
3
ConnBytes iptables match
Hi, as I promised in LARTC list I created patch for new connbytes match. It matches packets which bellongs to connection which transfered given range of bytes. For those interested it is at http://luxik.cdi.cz/~devik/connbytes/ It was originaly meant to be used with HTB or other qdisc to reclassify long download streams to lower prio class. devik
1998 Jul 09
4
What is someone looking for??
I am currently blocking out netbios UDP port 137 on my firewall and was wondering what the following means in terms of security: Jul 9 16:19:05 oscar kernel: IP fw-in rej eth0 UDP SOMEONES_IP:137 MY_IP:137 L=78 S=0x00 I=46484 F=0x0000 T=111 I have gottena few 100 of these and was wondering if there are some vulnerabilties related to netbios out there?? What do the S/I/F/L fields stand for?? I
2004 Sep 02
1
nat with limitation
Hу здpаcте shorewall-users, i''m not subscribed to the mailing list so... how can i say to shorewall to do something like this iptables -A POSTROUTING -o eth1 --dst ! 10.0.0.0/8 -j SNAT my_ip well the main part is - "--dst ! 10.0.0.0/8". Do i need to create my own rules at startup (how? or do i need to worry not to break some shorewall rules) or shorewall can be
2015 Oct 13
2
Dualstack IPv4/IPv6 setup with directors
Hi, still using 2.2.9, I've two directors, and these directors use both IPv4/IPv6 addresses. `host directors.<domain>` returns one A and AAA for each of the two directors: directors.<domain> has address 149.x.y.96 (director1) directors.<domain> has address 149.x.y.97 (director2) directors.<domain> has IPv6 address
2004 Aug 06
2
I am confused
I'm installing a Icecast Server on a Red Hat 7.0 and when i run user@audio]# ./ices -F list.txt .... Error during send: Mount failed on http://127.0.0.1:8000/ices, error : Not connected to server. ...... ...... ...... ...... Too many stream errors, giving up.... user@audio]# <p>Why ? What it means? I would like to make work icecast with darkice , but icecast dont work . Any help
2018 Aug 01
2
avoiding duplicate IPs in tinc scripts
Currently I have the local tinc node's VPN IP in both the tinc-up script as well as in its hosts/$NODE file Subnet setting. Can this be avoided, to simplify deployment? Actually I am currently using a DNS lookup in the tinc-up script to get the local VPN IP ($NODE.myvpndomain), but this fails if DNS isn't ready when tinc-up is run. (DeviceStandby=yes fixes this, but then the
2006 Sep 10
1
HTB and tc filter
Help me  ... I try use the tc filter, but seems he doesn''t work, I already reconfigured my kernel ( 2.4.32 ) with all options related a QOS enabled ( like modules ) and nothing happens. I get the tc tool from HTB source package, well  this is my set : eth0 is my internal NIC. tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1: classid 1:1 htb rate
1999 Oct 29
1
LinuxBox can't appear in Net neighbourhood.
I have samba 2.0.5 run on my RH6.1 In windoz,when I use "find computer",I can find it without any difficulty! Also I can access it using this method! But I can't see it in network neighbourhood! I've tried "net view /workgroup=MY_LINUXBOX_DOMAIN",still can't see. Why?(In my linuxbox,the dns resolve doesn't work.does that matter?) The following is my global
2008 Nov 07
6
Cannot get the libwrap patch work
Hello there, I have been trying to make the patch work for libwrap(TCP Wrappers) posted on http://dovecot.org/patches <http://dovecot.org/patches%20Patch%20of%201.1> Patch of 1.1 but could not get it work. Any help will be highly appreciated. After compiling and running it I get error "Error: login_tcp_wrappers can't be used because Dovecot wasn't built with
2005 Mar 01
2
Cisco 7960 x g729 x Unable to create/find channel
I'm trying to place a call from my Cisco 7960 and I'm receiving this error: Mar 1 06:19:44 NOTICE[3060]: chan_sip.c:7399 handle_request: Unable to create/find channel Mar 1 06:19:58 NOTICE[3060]: chan_sip.c:7399 handle_request: Unable to create/find channel I can't place calls, but I can receive them: mail*CLI> sip show channels Peer User/ANR Call ID Seq
2011 Feb 17
2
Best way to migrate versions and machines
We are looking to migrate from our current mail server running dovecot-1.2.11-3 to a new mail server running the latest dovecot (2.0.9?). So this would not only be a version change but also a machine change. We currently use Maildir for storing mail and would like to stay that way. Has anyone preformed such a feat and it worked? Looking for any input.
2006 Sep 10
1
help with HTB and tc
Help me  ... I try use the tc filter, but seems he doesn''t work, I already reconfigured my kernel ( 2.4.32 ) with all options related a QOS enabled ( like modules ) and nothing happens. I get the tc tool from HTB source package, well  this is my set : eth0 is my internal NIC. tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1: classid 1:1 htb rate
2006 Oct 18
0
[OT] Nokia E60/61/70 and SIP
Martin Joseph wrote: > > > For all of us using these devices, I have some good news. There is a > self installable firmware update available from Nokia here (requires > windows box to install): > > http://www.nokia.co.uk/nokia/0,1522,,00.html?orig=/softwareupdate > > This seems to radically improve the behavior of the SIP client on my > E60. It seems to have