A deep rescan of a slow host came back with nothing at all: the run took its full 600s ceiling and the device's services were unchanged, so a service deleted by hand was never rediscovered. nmap answers --host-timeout with "Skipping host <ip> due to host timeout" and discards every port it had already found — the ceiling turned a slow scan into one that reports nothing. What costs the time is a host that drops packets: 8188 of 8192 ports filtered, each waiting out its probe. - No --host-timeout on the deep discovery pass, ever. - The full range runs as 8 slices of 8192 ports, one nmap call each, unioning the open ports. A slice that overruns costs its own ports, not all of them, and the loop has somewhere to notice a stop request. - `scanner_deep_host_timeout` is now a total budget checked between slices (default 2700s), not an nmap flag. The first slice always runs. - A partial sweep is reported rather than passed off as complete: the run finishes `done` carrying "Scanned 3/8 port ranges …", and the modal toasts a warning instead of success. - Deep slices use --max-retries 0 --min-rate 2000. Measured against a dropping host, 8192 ports took 329s at --max-retries 1 and 164s at 0, finding the same ports; capping the RTT changed nothing. The range scan keeps nmap's default retries on its curated port list. ha-relevant: yes
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])