**** BEGIN LOGGING AT Thu Jun 14 02:59:58 2012 Jun 14 12:34:54 Hi all, am I right in thinking that by replacing a compiled lua file on the device (e.g. /usr/lib/lua/luci/model/cbi/openvpn) with raw lua file from the SVN tree (e.g. /trunk/luci/applications/luci-openvpn/luasrc/model/cbi/openvpn/firewall.lua) it'll still "just work"? Jun 14 12:35:03 But it means I can tweak that file. Jun 14 12:35:19 It's been a *long* time since I did anything with the webui on a FON box. Jun 14 12:38:39 Yup, that will just work Jun 14 12:38:52 :-) Jun 14 12:48:49 Updated. Jun 14 12:54:51 You can configure your name and e-mail in trac using the "Preferences" link at the top right Jun 14 12:55:32 I only drop in and out every now and then :) Jun 14 12:55:37 :-) Jun 14 12:55:52 Usually when I spot something I need fixing :D Jun 14 12:56:19 Yeah, that's how I usually end up coding for all kinds of Open source projects :-) Jun 14 12:56:21 Or one of the tickets mails me :D Jun 14 12:56:33 lol Jun 14 12:56:38 btw, I think the x.default line is not needed at all, luci should automatically load the value when renderin ghe form Jun 14 12:56:56 Copy+Paste FTW :) Jun 14 12:57:28 heh, I'm really unsure how that ticket fell off my radar all that time ago, usually I try to always follow up on patches to keep people motivated to write more patches ;-) Jun 14 12:58:50 LOL Jun 14 12:59:08 I really want to figure out how you write the default.leases file, so I can write CCD files :) Jun 14 12:59:19 CCD? Jun 14 12:59:33 You can make it so that individual clients get their own static VPN addresses Jun 14 13:00:20 So, I make it so my Dad's machine (remote) always gets 10.x.x.105, no matter who connects first Jun 14 13:01:16 You enable that by setting openvpn.openvpn.client_control_dir=/etc/openvpn/ccd and then writing (in this case) /etc/openvpn/ccd/dad with the line ifconfig 10.x.x.105 10.x.x.106 Jun 14 13:01:50 bbiab Jun 14 13:06:01 Ah, that's cool. How does OpenVPN find out which settings to apply to which client, then? Jun 14 13:08:46 About default.leases, I think that's written out when a client actually gets a DHCP leas. Perhaps you mean /tmp/dhcp_hosts, which contains the static DHCP leases and is generated by /etc/fonstated/RestartDnsmasq (in fon/dnsmasq-fon in svn) Jun 14 13:22:09 The server uses the CN of the SSL Certificate Jun 14 13:22:50 Ah, of course Jun 14 13:23:03 Which is the name you fill in in the webui, IIRC Jun 14 13:23:10 s/IIRC/I presume/ Jun 14 13:24:19 Yep :) Jun 14 13:24:55 How often is RestartDnsmasq run? Jun 14 13:26:23 I think only on boot and on config changes Jun 14 13:27:09 But how do you need RestartDnsmasq exactly? You can't configure these static IP addresses using the static IP list, right? Jun 14 13:28:17 I'm waffling I think. I'm thinking of writing a CreateCCD script, but I don't really know how all this stuff works Jun 14 13:28:49 Basically, I want to make it so that when the next update comes out, I don't spend half a day trying to figure out why everything stopped having the same IP address :) Jun 14 13:31:19 I have some suggestions, but gotta get the beta3 release building first, so hold one :-) Jun 14 13:31:22 s/one/on/ Jun 14 14:58:09 I created a ticket for it, as I'm just about to head home for the day... Jun 14 14:58:10 http://trac.fonosfera.org/fon-ng/ticket/1180 Jun 14 15:03:15 I'll try and remember to stick my head back in here tomorrow and see if we can get this going forward. Jun 14 15:04:50 Site-to-Site is going to be a bit more tricky... I'll have to look more into that one, but that probably won't be for at least a couple of months! Jun 14 19:07:25 hi Jun 14 19:07:42 someone speak french here? :) Jun 14 19:09:11 un petit peu ;-) Jun 14 19:09:18 yeah :) Jun 14 19:09:27 But my English is infinitely better ;-) Jun 14 19:09:34 ^^' Jun 14 19:10:28 i search to offer my web developper services to fon, for review all the php/html/js sources Jun 14 19:10:38 cause a lot of bugs on it Jun 14 19:11:29 On the Fonera webgui? Or on fon.com? Jun 14 19:11:44 fon.com ;) Jun 14 19:12:15 & on fonera UI too Jun 14 19:12:53 they have a lot of bad practices Jun 14 19:13:04 It seems Fon has some job openings for web developers: http://corp.fon.com/en/jobs/ :-) Jun 14 19:16:23 hum, thanks but i'm belgian & this mail seems wrong "jobs-fr@fon.com" **** ENDING LOGGING AT Fri Jun 15 02:59:59 2012