Redian新闻
>
simulate connection drop by iptables?
avatar
simulate connection drop by iptables?# Linux - Linux 操作系统
k*1
1
我用了shopper cash back,最后应该是1075
这个价格还可以吗?这么多年了从没赶上这会回去过~也从没买过1000以上的机票过~
贵就一个字!
avatar
i*i
2
lg和我都是小工司,他是phd,我是master(lg的是美国公司,每年给办1-2个H1b和绿
卡,办理经验
不足。我的是欧洲公司,里面欧洲人很多,公司有自己移民HR,办理经验丰富)
不知道可不可以我们分别在自己公司办理绿卡(EB2),并把对方带上(听上去很保险
)。这样算不算重
复申请啊?
还有,我们公司上面说,如果10年内离岗的话,要给公司办理各种签证费用reimburse
。是不是一般公
司都有着一条呢?因为公司给的base很低,税后和posdoc差不多。想想要以这样的工资
工作10年。。
。。。。。。。以后怎么养娃啊
谢谢前辈指点。刚刚因为拿到工作offer包子都发完了,等我搞明白如何弄包子,一定
补发
avatar
f*a
3
☆─────────────────────────────────────☆
Microsystem (clam) 于 (Sun Apr 12 14:53:48 2009) 提到:
发信人: Microsystem (clam), 信区: Literature
标 题: [合集] 风华国乐
发信站: BBS 未名空间站 (Sun Apr 12 14:39:32 2009), 站内
☆─────────────────────────────────────☆
Others (小乙哥) 于 (Fri Apr 3 20:00:18 2009) 提到:
诺恩吉亚 / 雷佳 / 蒙古族民歌 / HD Widescreen
☆─────────────────────────────────────☆
Others (小乙哥) 于 (Fri Apr 3 20:02:49 2009) 提到:
☆─────────────────────────────────────☆
Others (小乙哥) 于 (Fri Apr 3 20:12:17 2009)
avatar
c*n
4
I'm trying to simulate the situation where a connection is lost, to prepare
for fault-tolerance of my application.
my server listens on port 11111
instead of pulling out the physical cable, so far I do
sudo /sbin/iptables -t filter -A INPUT -p tcp --dport 11111 -j REJECT
this would reject new connections. but it seems that for already-established
connections,
the client side TCP won't trigger an exception if more bytes are pushed onto
the connection
is there a way to let TCP trigger an error ?
Thanks
avatar
P*t
5
相当不错。 别犹豫,买。
avatar
c*t
6
当然都要办。真正代上对方是到485时的事了,现在你想操心都没门。
各个公司都不一样。问题是你base很低能够prevailing wage吗?至于要跳槽的时候,
第一可以跟公司negotiate(实际上就是赖)。你要是脸皮薄那就还呗,跳个槽足够你
还的了
avatar
S*A
7
You can simulate random packet drop in iptables.
http://code.nomad-labs.com/2010/03/11/simulating-dropped-packet

prepare
established
onto

【在 c******n 的大作中提到】
: I'm trying to simulate the situation where a connection is lost, to prepare
: for fault-tolerance of my application.
: my server listens on port 11111
: instead of pulling out the physical cable, so far I do
: sudo /sbin/iptables -t filter -A INPUT -p tcp --dport 11111 -j REJECT
: this would reject new connections. but it seems that for already-established
: connections,
: the client side TCP won't trigger an exception if more bytes are pushed onto
: the connection
: is there a way to let TCP trigger an error ?

avatar
e*r
8
just check USA-Beijing round trip: 2000!!! REALY EXPENSIVE!!
avatar
i*i
9

看myvisajob上,他们家办绿卡的案例也就是那个价了。不是说prevailing wage是3万
么?我们>3
万了,sigh

【在 c****t 的大作中提到】
: 当然都要办。真正代上对方是到485时的事了,现在你想操心都没门。
: 各个公司都不一样。问题是你base很低能够prevailing wage吗?至于要跳槽的时候,
: 第一可以跟公司negotiate(实际上就是赖)。你要是脸皮薄那就还呗,跳个槽足够你
: 还的了

avatar
c*n
10
actually DROP will only cause a indefinite freeze on the client side,
not causing it to drop, REJECT will actually send a RST
what I am doing is similar to them with propability=1.0

【在 S*A 的大作中提到】
: You can simulate random packet drop in iptables.
: http://code.nomad-labs.com/2010/03/11/simulating-dropped-packet
:
: prepare
: established
: onto

avatar
k*1
11
为啥你们查的机票都这么贵呢?头开始我也不敢相信呢~我以为是单程的价格呢~可cheak
out的时候发现这是真的~如果要买机票的朋友赶快去查查priceline吧~6月还有些挺便
宜的~剩下的贵的大概在1500左右~

【在 e*****r 的大作中提到】
: just check USA-Beijing round trip: 2000!!! REALY EXPENSIVE!!
avatar
c*t
12
@[email protected] really? 反正一般你能拿到H1,那PERM也差不太多,但到了485照这水平涨下去也
够呛啊。 不过反正485没准是10年后的事了。。。

【在 i******i 的大作中提到】
:
: 看myvisajob上,他们家办绿卡的案例也就是那个价了。不是说prevailing wage是3万
: 么?我们>3
: 万了,sigh

avatar
x*m
13
If I were you, I might do this in a virtual machine and simulate real
connection drop by disabling its virtual network interface.
Can you try:
sudo /sbin/iptables -t filter -A INPUT -p tcp --dport 11111 --state
ESTABLISHED -j REJECT
avatar
j*y
14
which website has over 100 cash back from shopper?

【在 k********1 的大作中提到】
: 我用了shopper cash back,最后应该是1075
: 这个价格还可以吗?这么多年了从没赶上这会回去过~也从没买过1000以上的机票过~
: 贵就一个字!

avatar
i*i
15

还没申H1b呢,刚拿到offer,公司说要opt工作一年,然后才办H1b呢
485要多少工资呢?谢谢前辈指点

【在 c****t 的大作中提到】
: @[email protected] really? 反正一般你能拿到H1,那PERM也差不太多,但到了485照这水平涨下去也
: 够呛啊。 不过反正485没准是10年后的事了。。。

avatar
S*A
16
if you set p=1.0, there is no need for the random part.
You just change the DROP to reject it should be fine.

【在 c******n 的大作中提到】
: actually DROP will only cause a indefinite freeze on the client side,
: not causing it to drop, REJECT will actually send a RST
: what I am doing is similar to them with propability=1.0

avatar
c*t
17
不知道啊,话说俺还从来没办到485哪。。

【在 i******i 的大作中提到】
:
: 还没申H1b呢,刚拿到offer,公司说要opt工作一年,然后才办H1b呢
: 485要多少工资呢?谢谢前辈指点

avatar
v*r
18
Just curious. What fault-tolerance you used on the server side?
An idle client vs a dead client, will the server behave the same?
Are you using tcp keepalive function or have your own logic?

prepare
established
onto

【在 c******n 的大作中提到】
: I'm trying to simulate the situation where a connection is lost, to prepare
: for fault-tolerance of my application.
: my server listens on port 11111
: instead of pulling out the physical cable, so far I do
: sudo /sbin/iptables -t filter -A INPUT -p tcp --dport 11111 -j REJECT
: this would reject new connections. but it seems that for already-established
: connections,
: the client side TCP won't trigger an exception if more bytes are pushed onto
: the connection
: is there a way to let TCP trigger an error ?

avatar
i*i
19

流程是不是这样的呢?
1.H1b
2.perm(get PD here)
3.I40
4.485
5.等~~
祝好运好运啊。

【在 c****t 的大作中提到】
: 不知道啊,话说俺还从来没办到485哪。。
avatar
c*n
20
connection is always kept, server does not proactively bring down idle
clients
btw, I found the answer, it's simply adding "--reject-with tcp-reset " to my
commands

【在 v*****r 的大作中提到】
: Just curious. What fault-tolerance you used on the server side?
: An idle client vs a dead client, will the server behave the same?
: Are you using tcp keepalive function or have your own logic?
:
: prepare
: established
: onto

avatar
c*t
21
perm 的准备现在就可以开始了,写job descriptions什么的,换h1之前就可以打广告
了。
那个大大的“等”是要放在140和485之间的

【在 i******i 的大作中提到】
:
: 流程是不是这样的呢?
: 1.H1b
: 2.perm(get PD here)
: 3.I40
: 4.485
: 5.等~~
: 祝好运好运啊。

avatar
i*i
22

谢谢谢谢前辈指点,还请问,什么是打广告呢?

【在 c****t 的大作中提到】
: perm 的准备现在就可以开始了,写job descriptions什么的,换h1之前就可以打广告
: 了。
: 那个大大的“等”是要放在140和485之间的

avatar
c*t
23
晕哪,原来你是小青菜啊
办PERM要打广告,公司内部以及你地区周围最有影响力的报纸之一,可能还要网上的。
问你的律师好了

【在 i******i 的大作中提到】
:
: 谢谢谢谢前辈指点,还请问,什么是打广告呢?

avatar
S*n
24
看他们公司这政策,要OPT一年才给办H1B,不可能H1B前就启动绿卡程序吧。看样子
H1B拿到多少年之后才能开始PERM。这种公司很MEAN,就是延长苦力时间

【在 c****t 的大作中提到】
: perm 的准备现在就可以开始了,写job descriptions什么的,换h1之前就可以打广告
: 了。
: 那个大大的“等”是要放在140和485之间的

avatar
S*8
25
楼主拿到绿卡也是10年以后的事了,根本不用担心什么reimbursement
avatar
i*i
26

这么惨啊~~~因为自己是fresh master,没有工作经验,以为人家要试用我一年呢。

【在 S****n 的大作中提到】
: 看他们公司这政策,要OPT一年才给办H1B,不可能H1B前就启动绿卡程序吧。看样子
: H1B拿到多少年之后才能开始PERM。这种公司很MEAN,就是延长苦力时间

avatar
i*i
27

呵呵,我是一棵大白菜,呵呵,啥也不懂,还没毕业呢,准备工作后问问HR去

【在 c****t 的大作中提到】
: 晕哪,原来你是小青菜啊
: 办PERM要打广告,公司内部以及你地区周围最有影响力的报纸之一,可能还要网上的。
: 问你的律师好了

avatar
i*i
28

10年10年,这么久哇~~~痛哭~~~

【在 S******8 的大作中提到】
: 楼主拿到绿卡也是10年以后的事了,根本不用担心什么reimbursement
avatar
c*n
29
10年?太狠了,现在绿卡等的时间很长,千万不要被这个束缚住

reimburse

【在 i******i 的大作中提到】
: lg和我都是小工司,他是phd,我是master(lg的是美国公司,每年给办1-2个H1b和绿
: 卡,办理经验
: 不足。我的是欧洲公司,里面欧洲人很多,公司有自己移民HR,办理经验丰富)
: 不知道可不可以我们分别在自己公司办理绿卡(EB2),并把对方带上(听上去很保险
: )。这样算不算重
: 复申请啊?
: 还有,我们公司上面说,如果10年内离岗的话,要给公司办理各种签证费用reimburse
: 。是不是一般公
: 司都有着一条呢?因为公司给的base很低,税后和posdoc差不多。想想要以这样的工资
: 工作10年。。

avatar
i*i
30

那我应该怎么办啊?

【在 c****n 的大作中提到】
: 10年?太狠了,现在绿卡等的时间很长,千万不要被这个束缚住
:
: reimburse

avatar
m*u
31
两人同时保持身份,熬呗。还能怎么办?

【在 i******i 的大作中提到】
:
: 那我应该怎么办啊?

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