Commit graph

6742 commits

Author SHA1 Message Date
cinap_lenrek cff1ab5fdf ip/ipconfig: add missing {} as DEBUG() is a macro 2018-08-26 23:05:45 +02:00
cinap_lenrek c35027e03d ip/ipconfig: check for recvra 0 on timeout 2018-08-26 22:25:35 +02:00
cinap_lenrek 52b773d635 ip/dhcpd: reject bogus requests, handle multiple ether= attributes in ndb, cleanup
unless relay agent (gaddr) is specified, dhcp requests need to
taget a local ip address on the incoming interface or broadcast.

clients might have multiple ethernet interfaces, so we need to
check if any of the ether= attributes in ndb matches. this is
done by passing lookupip() the attribute name and a expected
value and if a match is found, set Info.indb = 1.

remove tohex(), use encodefmt instead. avoid dynamcic allocation.

include interface device in log messages.
2018-08-26 18:36:35 +02:00
cinap_lenrek 5c326d9f35 devvga: disable cursor on shutdown avoiding graphics glitches on reboot 2018-08-25 21:44:08 +02:00
cinap_lenrek 82c08a8a44 ip/dhcpd: handle multiple networks on the same interface, dont get confused by v6 interface address 2018-08-25 15:10:26 +02:00
mischief 4e938841f0 igfx: support blanking by turning off panel power and backlight
tested on t61, x200, x230, x301, t420, w520
2018-08-21 11:31:45 -07:00
Alex Musolino 0c7fe8ae06 mothra(1): fix formatting 2018-08-21 23:09:35 +09:30
mischief 3b7e03a30e lib: update pci database 2018-08-21 02:02:46 -07:00
cinap_lenrek 976d19960f vncs: fix uninterruptable temporary warning 2018-08-21 02:21:21 +02:00
cinap_lenrek b1b347a0f4 merge 2018-08-21 02:04:33 +02:00
cinap_lenrek 37cbd6b632 vncv: adjust window size on desktop resize, fix canresize checks 2018-08-21 02:02:50 +02:00
mischief 56a2263aae vncs: shut up used and not set warning 2018-08-20 12:51:29 -07:00
mischief e1907b41d3 hjfs: set group of new files to that of the parent directory (thanks umbraticus) 2018-08-20 12:48:06 -07:00
cinap_lenrek f8f677b48e merge 2018-08-20 19:25:58 +02:00
cinap_lenrek d2089f949e vncs: support for desktop resize extension, update devdraw 2018-08-20 19:23:42 +02:00
aiju 4a120a3816 fix unbounded recursion bug in hjfs 2018-08-20 14:26:19 +01:00
cinap_lenrek 670137bf0a devdraw: zero initialize DImage.dscreen pointer (vnc, drawterm) 2018-08-19 22:00:45 +02:00
cinap_lenrek c8a71691b4 vncs: fix mistake "screen" vs "gscreen", thanks eekee 2018-08-18 00:03:14 +02:00
cinap_lenrek d263134394 vncv: handle [] enclosed literal ipv6 addresses in host 2018-08-16 20:34:46 +02:00
cinap_lenrek 43636dbb7f ip/ipconfig: make ra6 daemon less chatty, log to /sys/log/ipconfig instead of /sys/log/v6routeradv 2018-08-15 21:54:42 -04:00
cinap_lenrek 415ad3e723 inst/startether: fix typo 2018-08-15 22:14:52 +02:00
cinap_lenrek cd752a39f8 ipv6 autoconfiguration on ethernet
for ip autoconfiguration, setup ipv6 link local addresses
and do SLAAC in parallel to DHCP.
2018-08-15 21:39:30 +02:00
cinap_lenrek ab4c0a012f ip/ipconfig: simplify by combining mklladdr() into mkclientid() 2018-08-12 22:39:44 +02:00
cinap_lenrek 9445f08788 ip/ipconfig: call mklladdr() to get conf.hwa initialized for ipv6 2018-08-11 16:19:32 +02:00
cinap_lenrek e49f7fc1f7 devip: fix multicastarp() when ipconfig assigned the 0 address
sending multicast was broken when ipconfig assigned the 0
address for dhcp as they would wrongly classified as Runi.

this could happen when we do slaac and dhcp in parallel,
breaking the sending of router solicitations.
2018-08-11 16:18:12 +02:00
mischief 831291e5dd sdloop(3): import sdloop driver (thanks erik) 2018-08-10 08:08:38 -07:00
mischief a8d747d994 valley: call srand so that actual random phrases are used 2018-08-10 07:46:13 -07:00
23hiro b989e691cf plan9.ini(8) iwlwifi essid/bssid misleading 2018-08-08 18:47:48 +02:00
23hiro 824b497fb3 turkey simplified timezone (thanks erkin from 9front ml) 2018-08-08 10:17:57 +02:00
cinap_lenrek 45ce4de650 nusb/ether: fix ethertype filtering 2018-08-07 23:46:58 +02:00
cinap_lenrek 445fc8e5a7 merge 2018-08-06 23:14:59 +02:00
cinap_lenrek abe463b931 wifi: lilu dallas multirate
now handle the supported rates element properly, only
providing the intersecting set of rates that the bss
advertises and what the driver supports, putting the
basic rates first.

also avoid using usupported rates.
2018-08-06 23:13:23 +02:00
mischief eb1be5b4df devaoe: really fix unit numbering, to be 0-based 2018-08-06 09:41:28 -07:00
mischief 796c41092a devaoe: fix unit numbering for Qdevlinkdir
a side effect of 3c77cd3ae664 changed the unit ordering to start at one, so fix the condition accordingly.
2018-08-06 08:50:40 -07:00
mischief 0c036b4d4a ip(3): document ipifc ipv6 connection and fix delay formatting 2018-08-06 08:47:07 -07:00
cinap_lenrek 209a6b4b55 acme: pass pointer to int type to avoid pointer to int cast warning 2018-08-03 16:53:50 +02:00
spew 34b6997933 win: fix typo 2018-08-02 14:37:07 -04:00
spew d534727413 win: bind the text file properly instead of a special case in " 2018-08-02 14:21:19 -04:00
spew 4757debd0b acme: add spacesindent mode 2018-08-01 11:14:59 -04:00
cinap_lenrek 2b619dc966 etheriwl: add pci did for WifiLink 5300 (thans senthil) 2018-07-31 18:33:42 +02:00
cinap_lenrek c4dd0f6282 kbdfs: ignore first 16 scancodes (number row) in kbtabctl[] for control key reverse mapping 2018-07-30 20:40:28 +02:00
cinap_lenrek 36abc45f28 vncv: implement extended DesktopSize extension, cleanup 2018-07-30 02:21:28 +02:00
cinap_lenrek da5c0bada7 dc: fix off by one in stack overflow check (thanks BurnZeZ)
BurnZeZ → Found a bug in dc(1)
BurnZeZ → Everything breaks when you fill the stack
BurnZeZ → You have stkptr which crap expects to point to an available member in Blk *stack[STKSZ];
BurnZeZ → stkend = &stack[STKSZ];
BurnZeZ → stkptr is allowed to equal stkend
BurnZeZ → So crap that expects stkptr to be pointing to an available Blk ends up dereferencing past the end of the array
BurnZeZ → term% echo `{seq 1 100} f | dc
BurnZeZ → dc 628283: suicide: sys: trap: fault read addr=0xffffe0000040a618 pc=0x204b1c
2018-07-27 09:31:28 +02:00
cinap_lenrek 6cd83e5d24 audiohda: support Intel Sunrise Point-LP on thinkpad X1 2018-07-26 02:48:00 +02:00
qwx a8644d01c3 add games/dpic and games/todpic 2018-07-25 05:02:46 +02:00
23hiro 416aed9b66 merge 2018-07-24 09:17:11 +02:00
23hiro 469bbab460 spelling 2018-07-24 09:04:50 +02:00
cinap_lenrek d07fb3261f devmouse: produce signed msec timestamp in /dev/mouse, accept unsigned on write 2018-07-23 19:29:15 +02:00
cinap_lenrek 34c7af22c1 libdraw: accept unsigned msec timestamp in /dev/mouse 2018-07-23 19:25:28 +02:00
cinap_lenrek 0431ea242d pc, pc64: look for "RSD PTR " in ACPI reserved memory region from e820 map
nobody passes us the "RSD PTR " address when doing multiboot/kexec
on UEFI systems. so we search for it manually in the ACPI reserved
area as indicated in the e820 memory map.
2018-07-22 21:00:20 +02:00