This commit is contained in:
bert hubert 2022-08-22 13:23:14 +02:00
parent ff17f3fd44
commit 9cb01ffd50
2 changed files with 10 additions and 0 deletions

View File

@ -19,6 +19,14 @@ sudo tcpdump -n -l dst net 192.0.2.1/32 $(for a in $(cat goog-prefixes.txt); do
And then cry. And then cry.
## Problems
If tcpdump complains about `Warning: Kernel filter failed: Cannot allocate memory`, try
this first:
```
sudo sysctl net.core.optmem_max=204800
```
## Data source ## Data source
The list of Google services IP addresses can be found on [this Google The list of Google services IP addresses can be found on [this Google
support page](https://support.google.com/a/answer/10026322?hl=en). support page](https://support.google.com/a/answer/10026322?hl=en).

View File

@ -36,6 +36,8 @@ int main()
data.push_back(val); data.push_back(val);
} }
ourcounter++; ourcounter++;
if(counter - ourcounter > 1000)
ourcounter = counter;
} }
else { else {
for(int n=0; n < 150; ++n) { for(int n=0; n < 150; ++n) {