summaryrefslogtreecommitdiff
path: root/share/examples
AgeCommit message (Collapse)Author
2023-03-07This example is plain asm code, running ctf tools on it is not usefullmartin
2023-01-05more strip(4) removal, this time in kauth(9)jakllsch
2022-10-14- Since the example is for a cpu, use MACHINE_CPU instead of MACHINE_ARCH.ryo
- In some cpu, it is necessary to use GOT to make it a PIE, which are too complicated as examples, so MKPIE=no by default.
2022-10-14add more examplesryo
2021-12-08s/recomended/recommended/ and s/unknonwn/unknown/andvar
2021-11-02Adjust example path to kde/soundsabs
Wherever sounds may be on a current NetBSD system, /usr/X11R6 is unlikely to be in that set...
2021-07-06build fixjmcneill
2019-11-18Rename the block table to something else to make it easier to differentiatesevan
between action and name. Use this table as the example for populating by npfctl. Drop the int-block table, it's quite cumbersome to have a firewall which needs the internal network lists added if reboot. Use the localnet variable to indicated which network we should pass in traffic from instead.
2019-10-15remove sup exampleschristos
2019-09-22Add support for blacklistdsevan
2019-09-22Passive FTP works as a client without this and we're not hosting an FTP ↵sevan
server (port are not listed in services_tcp)
2019-09-21pastossevan
2019-09-21improve descriptionsevan
2019-09-21Add descriptions for all rules and make use of localnet variable in place of ↵sevan
direct IP address
2019-09-21default policy is to blockallsevan
2019-09-21Drop the final keyword to use the default policy of last matching rule winssevan
2019-09-21With bin/54124 fixed, the rule needs to be explicitly set to stateful.sevan
2019-05-03sup.NetBSD.org is no longer around.sevan
2019-04-16Indent to improve readability.sevan
Add a description for log event.
2019-04-15Provide a simpler config for a host which permits any traffic from the host out,sevan
and small subset of traffic in (DHCP (v4 and v6), All ICMPv6, ICMP echo requests, traceroute, mDNS).
2019-04-11s/ifnets/ifaddrssevan
2019-04-11Revert previous & just use the inets function to handle both address families.sevan
Heads up by <leot>
2019-04-10typosevan
2019-04-10Use a separate variable for IPv6.sevan
Found with npfctl validate.
2019-04-10Switch out deprecated keywords.sevan
Found with npfctl validate.
2018-12-19Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,maxv
but also as discussed several times in the past.
2018-09-23Remove the userland part of ISDN. The kernel part is untouched for now.maxv
ipppctl was actually an exact copy of pppoectl; there is no functional change in pppoectl in this commit.
2018-08-25Add KAUTH_REQ_PROCESS_CANSEE_EPROC, and use it for the kern.proc node.maxv
Same permission as before, so no functional change.
2018-08-20Fix cvs id.rjs
2018-07-15Retire ipkdb entirely. The option was removed from the config filesmaxv
yesterday. ok kamil christos
2018-07-13dhclient->dhcpcdmaya
2018-01-24Remove port-acorn26skrll
OK core@
2017-05-21Remove MKCRYPTO option.riastradh
Originally, MKCRYPTO was introduced because the United States classified cryptography as a munition and restricted its export. The export controls were substantially relaxed fifteen years ago, and are essentially irrelevant for software with published source code. In the intervening time, nobody bothered to remove the option after its motivation -- the US export restriction -- was eliminated. I'm not aware of any other operating system that has a similar option; I expect it is mainly out of apathy for churn that we still have it. Today, cryptography is an essential part of modern computing -- you can't use the internet responsibly without cryptography. The position of the TNF board of directors is that TNF makes no representation that MKCRYPTO=no satisfies any country's cryptography regulations. My personal position is that the availability of cryptography is a basic human right; that any local laws restricting it to a privileged few are fundamentally immoral; and that it is wrong for developers to spend effort crippling cryptography to work around such laws. As proposed on tech-crypto, tech-security, and tech-userlevel to no objections: https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of *bad* crypto that was conditional on it, e.g. DES in telnet... That should probably be removed too, but on the grounds that it is bad, not on the grounds that it is (nominally) crypto.
2017-05-10Clarify gpio example.mbalmer
2017-05-10Fix flags for DB open.mbalmer
2016-08-26fix build of puffs examples; need _KERNTYPES for register_ttnn
2016-02-06Add $NetBSD$ tag.riastradh
2016-01-25Don't include <rump/rumpvnode_if.h> from rump.h. It's not neededpooka
unless you're doing something special, but requires register_t. Adjust the few places which actually need rumpvnode_if.h.
2016-01-25add -D_KERNTYPESpooka
2015-12-08Correct mistakes in the sqlite.lua examplekamil
Changes: - The open flag: sqlite.OPEN_CREATE will open the DB for reading and writing, adding sqlite.OPEN_READWRITE to sqlite.OPEN_CREATE will cause the DB to not be created and prevent the script from continuing - When using stmt:bind_parameter_index() the parameter needs to be prefixed with ':' if that was used in the prepared statement, otherwise the incorrect index of 0 is returned. - The drop table statement has an "x" appended to the table name, looks like a typo. Patch by Travis Paul Closes PR misc/50493
2015-11-26Move today's most common config (WPA) to the fronthubertf
Add a WPA config with hidden (non-broadcasting) SSID
2015-11-26add RCS ishubertf
2015-03-04add a shm examplechristos
2014-10-18de-foodify commentsnj
2014-08-04use proper address, ok spz@.szptvlfn
2014-07-19lua: updated from 5.1 to 5.3 work3lneto
* lua(1): - changed lua_Integer to intmax_t - updated distrib/sets/lists and etc/mtree - updated bsd.lua.mk - fixed bozohttpd (lua-bozo.c) - compatibilized bindings: gpio, sqlite * lua(4): - removed floating-point and libc dependencies using '#ifndef _KERNEL' - fixed division by zero and exponentiation - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct() - acpica: removed isprint() from acnetbsd.h - libc: moved strcspn.c, strpbrk.c and strspn.c to common - removed stub headers - compatibilized bindings: luapmf, luasystm * reorganized luaconf.h * updated doc/CHANGES and doc/RESPONSIBLE
2014-05-31- match up comment and interface identifiersspz
- use RFC5737 documentation prefixes - use a variable for the RFC1918 private address ranges
2014-05-31example for port remapping addedspz
2014-05-27need espchristos
2014-05-27just allow l2tp not regular ipsec.christos