Expose if_capabilities to userland + option to show them in ifconfig.

2011-08-16 Thread Christiano F. Haesbaert
Hi, This diff moves if_capabilities to if_data exposing it to userland via SIOCGIFDATA. It also adds a 'capabilities' option to ifconfig which will print them in a similar way which is done with the 'media' keyword. Here is a sample output for re(4): gimli:ifconfig: sudo ./obj/ifconfig re0 ca

ifconfig old wpapsk entry and cleanup.

2011-08-16 Thread Christiano F. Haesbaert
Hi Remove the old wpapsk cmd entry, remove unnecessary casts in malloc/calloc, use timerclear macro plus minor style(9): Index: ifconfig.c === RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v retrieving revision 1.248 diff -d -u -p -w -

Re: new dhclient.conf option: host-route

2011-08-16 Thread Kenneth R Westerback
y. ouch. and I think you mean imminent. :-) .... Ken > > Thanks, > > Penned by Stefan Sperling on 20110816 5:08.37, we have: > | In some networks (e.g. at public events using open wifi) I want > | traffic not destined for the local network to go through a VPN. > | > | If t

Re: pkg_add: add syslog functionality

2011-08-16 Thread Paul Irofti
Thank you so much for this!

Re: new dhclient.conf option: host-route

2011-08-16 Thread Stuart Henderson
On 2011/08/16 16:24, Stefan Sperling wrote: > > Either way (your patch or with a wrapper script) if a new IP address > > is assigned you might have some problems with delete_old_routes > > flushing all routes including the route over the tunnel; not sure > > how important this is in practice in you

Re: new dhclient.conf option: host-route

2011-08-16 Thread Henning Brauer
* Stefan Sperling [2011-08-16 17:06]: > Todd raised the question of what happens when support for the script > goes away. Not sure if that matters now. We can still revisit this > problem when script support is removed. wait. my (and ifaik that is also where krw's wish comes from) desire to repla

pkg_add: add syslog functionality

2011-08-16 Thread Marc Espie
The following patch adds simple syslog functionality to pkg_add / pkg_delete: each successful addition/removal will log a terse package to syslog. Note that this uses set->print, so updates will show up as pkg_add: Added foo->1.0 -> foo->1.1 Also comes with a config option for pkg.conf: loglevel.

Re: new dhclient.conf option: host-route

2011-08-16 Thread Stefan Sperling
On Tue, Aug 16, 2011 at 12:09:36PM +0100, Stuart Henderson wrote: > For OpenVPN you should be able to do '--redirect-gateway def1' My VPN is layer2 so openvpn doesn't care about routing. And I have openvpn drop root privs so it cannot change any routes. > > The patch below adds a new option to dh

escorts list

2011-08-16 Thread noreply
Dear Sirs New Style on erotik-escorts.com Post free ads in http://www.erotik-escorts.com/ Regards Staff Gentile Utente Inserisci il tuo Annuncio Gratuito in http://www.erotik-escorts.com/ Saluti Lo Staff erotik-escorts

Re: new dhclient.conf option: host-route

2011-08-16 Thread Todd T. Fries
hclient-script in the event it still has something to do. Honestly I think your approach is cleaner, and more likely to survive the ever eminent promise from krw@ to remove the script entirely. Thanks, Penned by Stefan Sperling on 20110816 5:08.37, we have: | In some networks (e.g. at public

Re: new dhclient.conf option: host-route

2011-08-16 Thread Stuart Henderson
On 2011/08/16 12:08, Stefan Sperling wrote: > In some networks (e.g. at public events using open wifi) I want > traffic not destined for the local network to go through a VPN. > > If the local network uses DHCP, I usually end up killing dhclient > because it's impossible to renew the lease without

new dhclient.conf option: host-route

2011-08-16 Thread Stefan Sperling
In some networks (e.g. at public events using open wifi) I want traffic not destined for the local network to go through a VPN. If the local network uses DHCP, I usually end up killing dhclient because it's impossible to renew the lease without changing the default route. To be clear, I end up wi