Redian新闻
>
推荐记录上网连接记录的wireless路由器
avatar
推荐记录上网连接记录的wireless路由器# Hardware - 计算机硬件
c*n
1
MS 电面
给定一个random数组 和一个函数 f。 f以一个数组为input,输出 median of this 数
组。f takes O(n)time
怎样得出1st quantile of a given array
提示用2次f
我没答上来。怎么做啊?
avatar
xt
2
What is your 1st cousin's name?
avatar
h*y
3
就是可以记录 连接的ip 或网址 等日志的
有么?
avatar
m*l
4
啊?
不就是median of median?

【在 c***n 的大作中提到】
: MS 电面
: 给定一个random数组 和一个函数 f。 f以一个数组为input,输出 median of this 数
: 组。f takes O(n)time
: 怎样得出1st quantile of a given array
: 提示用2次f
: 我没答上来。怎么做啊?

avatar
y*8
5
不懂 乱填一个GARDENING行不行
也可以用WWW.TINYPIC.COM 贴图 也很方便

What is your 1st cousin's name?

【在 xt 的大作中提到】
: What is your 1st cousin's name?
avatar
p*m
6
yes.
avatar
c*n
7
具体?

【在 m********l 的大作中提到】
: 啊?
: 不就是median of median?

avatar
c*x
8
那应该是你开账户时候自己設的问题吧?

【在 xt 的大作中提到】
: What is your 1st cousin's name?
avatar
c*n
9
日志会很大的
开个网页就几十个get
avatar
m*l
10

你用啥语言?
f的parameter type 是啥?

【在 c***n 的大作中提到】
: 具体?
avatar
g*t
11
相当困难,家用的不行,
avatar
O*n
12
get median of array
scan all entries below median to form a new array
get median of new array
right?

【在 c***n 的大作中提到】
: MS 电面
: 给定一个random数组 和一个函数 f。 f以一个数组为input,输出 median of this 数
: 组。f takes O(n)time
: 怎样得出1st quantile of a given array
: 提示用2次f
: 我没答上来。怎么做啊?

avatar
c*n
13

装个PFSENSE的电脑router

【在 h****y 的大作中提到】
: 就是可以记录 连接的ip 或网址 等日志的
: 有么?

avatar
r*y
14
How can f take O(n) time to find the median ?

【在 c***n 的大作中提到】
: MS 电面
: 给定一个random数组 和一个函数 f。 f以一个数组为input,输出 median of this 数
: 组。f takes O(n)time
: 怎样得出1st quantile of a given array
: 提示用2次f
: 我没答上来。怎么做啊?

avatar
b*t
15
ASUS RT-AC87U
avatar
m*l
16
magic

【在 r*******y 的大作中提到】
: How can f take O(n) time to find the median ?
avatar
l*7
17
买个tplink wdr3600,刷gargoyle。 我用的就是这个。可以监控流量,记录web连接等。
你看看他们系统的screenshot,能不能满足你的需求。
https://www.gargoyle-router.com/wiki/doku.php?id=screenshots

【在 h****y 的大作中提到】
: 就是可以记录 连接的ip 或网址 等日志的
: 有么?

avatar
c*n
18
悲剧了。这么简单都没答上来。

【在 O******n 的大作中提到】
: get median of array
: scan all entries below median to form a new array
: get median of new array
: right?

avatar
g*t
19
想监控http的url相当困难, 因为是在tcp的data里,要解析,
每个tcp的数据包都解析,对cpu要求还是挺高的,
家用router都不行,
avatar
r*y
20
more details or link ? thanks

【在 m********l 的大作中提到】
: magic
avatar
f*4
22
clrs 9.3

【在 r*******y 的大作中提到】
: more details or link ? thanks
avatar
S*A
23
这个事情,基于 Openwrt 的路由很容易做。
例如楼上的 gargoyle 就是基于 Openwrt。
wdr3600 应该就可以。
TCP 连接 state 在路由器上以及都做了。
每个 TCP 包的 IP 层都看了,无非就水多
检查一下包的 data 指针有没有想要的
URL。大多数 web request 都在头一个数据包
里面,没有分成多个数据包。
如果要绕过也很容易,https 就可以完全避免
偷听。所以一个对付普通情况的简单 parse
就可以了。复杂的也不值得做,因为 https的
反正破不了。
建议是使用 extroot, 在 USB flash 上
搞这个 logging。 路由上的 flash 不是很
耐写。

【在 g*******t 的大作中提到】
: 想监控http的url相当困难, 因为是在tcp的data里,要解析,
: 每个tcp的数据包都解析,对cpu要求还是挺高的,
: 家用router都不行,

avatar
m*i
24
quick sort to find the nth element in an array in O(n). Check the hack
google interview from MIT
avatar
S*A
26
这个用 transparent proxy 的是从 URL 上监视
的了吧,满意了?现在的 router 就是个 Linux,
而且CPU性能也不错。很多事情还是可以做的。
http://www.farville.com/home-networks-a-transparent-proxy-to-mo

【在 g*******t 的大作中提到】
: 你们还不懂http协议, 图片仅仅显示host, 不是url,
: 这个host可能从dns上监视的, 不是url,
:
: media
: media

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。