Re: unveil tcpdrop

2019-05-01 Thread Bryan Steele
On Tue, Apr 30, 2019 at 06:23:57PM +0100, Ricardo Mestre wrote: > Went through my old sent emails and saw this one still pending on my tree. > > Is this OK? > > On 13:02 Wed 07 Nov , Ricardo Mestre wrote: > > Hi, > > > > tcpdrop(8) needs to access only two files, in this case /etc/hosts and

Re: unveil tcpdrop

2019-05-01 Thread Sebastian Benoit
Ricardo Mestre(ser...@helheim.mooo.com) on 2019.04.30 18:23:57 +0100: > Went through my old sent emails and saw this one still pending on my tree. > > Is this OK? you got an OK bluhm@ on Nov 7th. and since i cant see a problem with it, ok benno@ too ;) > On 13:02 Wed 07 Nov , Ricardo M

Re: unveil tcpdrop

2019-04-30 Thread Ricardo Mestre
Went through my old sent emails and saw this one still pending on my tree. Is this OK? On 13:02 Wed 07 Nov , Ricardo Mestre wrote: > Hi, > > tcpdrop(8) needs to access only two files, in this case /etc/hosts and > /etc/resolv.conf both with read permissions for the purpose of name > resolut

Re: unveil tcpdrop

2018-11-07 Thread Alexander Bluhm
On Wed, Nov 07, 2018 at 01:02:28PM +, Ricardo Mestre wrote: > Hi, > > tcpdrop(8) needs to access only two files, in this case /etc/hosts and > /etc/resolv.conf both with read permissions for the purpose of name > resolution. > ethers(5) is not needed since we are not using any of the ether_*(

unveil tcpdrop

2018-11-07 Thread Ricardo Mestre
Hi, tcpdrop(8) needs to access only two files, in this case /etc/hosts and /etc/resolv.conf both with read permissions for the purpose of name resolution. ethers(5) is not needed since we are not using any of the ether_*(3) family. Since unistd.h needs to be included I also shuffled netdb.h into