This commit is contained in:
parent
551b3311a6
commit
a6d2de6f69
@ -11,7 +11,8 @@ ipbl is a webservice collecting / storing / distributing abuse IP addresses
|
|||||||
### Build
|
### Build
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make
|
go generate cmd/ipbl/*.go
|
||||||
|
go build cmd/ipbl/*.go
|
||||||
```
|
```
|
||||||
|
|
||||||
### Sample config in ipbl.ini
|
### Sample config in ipbl.ini
|
||||||
@ -22,19 +23,19 @@ db_hostname="hostname"
|
|||||||
db_name="database"
|
db_name="database"
|
||||||
db_username="username"
|
db_username="username"
|
||||||
db_password="password"
|
db_password="password"
|
||||||
db_table="ipbl_test"
|
db_table="ipbl"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run
|
### Run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./ipbl -configfile ipbl.ini -port 8080
|
./ipbl -configfile ipbl.ini -port 8099
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
```text
|
```text
|
||||||
Copyright (c) 2020, 2021 PaulBSD
|
Copyright (c) 2020, 2021, 2022 PaulBSD
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
Loading…
Reference in New Issue
Block a user