Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-06 | Accept netstat-style address.port syntax too. | Todd C. Miller | |
OK bluhm@ deraadt@ jmc@ | |||
2021-07-12 | Change the error reporting pattern throughout the tree when unveil | Bob Beck | |
fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion. Work done and verified by Ashton Fagg <ashton@fagg.id.au> ok deraadt@ semarie@ claudio@ | |||
2019-11-27 | use _PATH_ names for unveil if possible | Theo de Raadt | |
2018-11-08 | tcpdrop(8) needs to access only two files, in this case /etc/hosts and | Ricardo Mestre | |
/etc/resolv.conf both with read permissions for the purpose of name resolution, so unveil(2) both files with "r" perms and disable further filesystem access. While here sort the headers alphabetically. OK bluhm@ | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2015-01-13 | Give tcpdrop a proper usage() like other programs in the tree. | Lawrence Teo | |
ok bluhm@ | |||
2015-01-01 | Remove an unnecessary freeaddrinfo() call, since errx() would free all | Lawrence Teo | |
the memory including the one allocated by the earlier getaddrinfo() (pointed out by claudio@). feedback from claudio@ ok bluhm@ | |||
2014-08-28 | er, rehook httpd. | Jason McIntyre | |
here's a thought: if i just leave man pages alone, they will eventually come good. while here, remove some escape sequences; | |||
2014-06-29 | If you want <sys/queue.h>, you need to include it. Don't assume that | Theo de Raadt | |
<sys/sysctl.h> will pull in the universe (I am working on breaking that assumption in a gentle fashion) | |||
2014-03-13 | Unhook httpd(8) from build; man page bits | Florian Obser | |
tweaks jmc@ OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@ "The time is right." and much help getting the show on the road deraadt@ | |||
2014-01-10 | Check the return values of the strdup() calls. | Lawrence Teo | |
OK deraadt@ | |||
2013-10-24 | no need for netinet/ip_var.h (and friends) | Theo de Raadt | |
2013-07-16 | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2013-07-09 | switch the rval to 1 before loop through the linked list \ | Gleydson Soares | |
and finally change back to 0 afterwards. so teach tcpdrop to exit 1 if \ ail->ai_family != aif_family. OK markus@ | |||
2013-07-09 | rename laddr2 to faddr2 for more consistency. OK markus@ | Gleydson Soares | |
2012-12-18 | We no longer use struct eproc for kinfo_proc in sysctl.h so there | Todd C. Miller | |
is no direct need for sys/proc.h or sys/resource.h. Some consumers of kinfo_proc need these for the proc flags and rlimit defines like RLIM_INF so add the appropriate includes to them. OK deraadt@ sthen@ | |||
2009-06-13 | tcpdrop broke with the addition of routing domains. Repair. | Andreas Gunnarsson | |
ok claudio@ | |||
2007-07-02 | Add HISTORY and AUTHORS sections. OK jmc@. | Xavier Santolaria | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-03-28 | flesh out the addresses to make it clear what they are; requested by jmc | Theo de Raadt | |
2007-03-25 | support a 2 address format (addr:port addr:port) like fstat outputs. | Theo de Raadt | |
also enhance ipv6 support by unpacking the [addr]:port format. ok beck, itojun, various others | |||
2006-01-03 | in EXAMPLES: | Jason McIntyre | |
- regular grep will do - root not needed for fstat from ray lai; | |||
2006-01-03 | check getnameinfo() return for 0 and use errx() vs. err(); old ok markus@ | Kevin Steves | |
2004-05-24 | typos from Fabio Olive Leite; | Jason McIntyre | |
2004-05-22 | missing header | Theo de Raadt | |
2004-05-09 | pretty | Theo de Raadt | |
2004-04-28 | clean up EXAMPLES; | Jason McIntyre | |
ok pb@ | |||
2004-04-28 | Improve a bit. ok markus@ | Otto Moerbeek | |
2004-04-27 | add an example w/ fstat(1) | Philipp Buehler | |
2004-04-27 | initial documentation | Markus Friedl | |
2004-04-27 | Set oldp en oldlenp to NULL; provide feedback; set exit status. | Otto Moerbeek | |
ok markus@ | |||
2004-04-26 | drop tcp connections using sysctl(2) | Markus Friedl | |