Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
Themyth
V2EX  ›  Linux

TCPdump 抓包并记录,但是如何后台运行?

  •  
  •   Themyth · Dec 22, 2014 · 15151 views
    This topic created in 4337 days ago, the information mentioned may be changed or developed.
    想用tcpdump抓包并记录日志,然后日后查看。
    但是尝试过nohup的方法 以及 直接在命令后面加&的方法
    但是关闭终端后,发现根本无法后台运行。
    who can tell me how to........

    shell: tcpdump tcp port 443 -w https.txt
    15 replies  •  2016-03-05 20:08:51 +08:00
    RIcter
    RIcter
    Dec 22, 2014 via iPad
    1
    screen
    Themyth
    Themyth
    OP
    Dec 22, 2014
    2
    @RIcter 啥意思?你是让我用x-window么?
    RIcter
    RIcter
    Dec 22, 2014 via iPad
    3
    @Themyth 有一个screen命令_(:з」∠)_
    xyq123
    xyq123
    Dec 22, 2014
    4
    (tcpdump tcp port 443 -w https.txt&)
    Themyth
    Themyth
    OP
    Dec 22, 2014
    5
    @xyq123 我说了啊 不行啊 无法记录。。。
    abcbit
    abcbit
    Dec 22, 2014
    6
    自己用python寫一個嘛
    mengzhuo
    mengzhuo
    Dec 22, 2014
    7
    楼主你想抓https包分析?
    放心吧,没用的
    best1a
    best1a
    Dec 22, 2014
    8
    nohup
    Daniel65536
    Daniel65536
    Dec 22, 2014 via iPhone
    9
    screen
    Themyth
    Themyth
    OP
    Dec 22, 2014
    10
    @RIcter 谢谢啦,已经成功了。
    @mengzhuo 举例举例。。。
    @best1a 不行的,用screen得方法实现了 nohup不记录
    mengzhuo
    mengzhuo
    Dec 22, 2014
    11
    @Themyth

    HTTPS本来就是防监听的……你这么做是跟自己过不去么……
    efi
    efi
    Dec 23, 2014 via Android
    12
    disown
    xujialiang
    xujialiang
    Dec 23, 2014
    13
    nohup tcpdump tcp port 443 -w https.txt &
    larkifly
    larkifly
    Mar 5, 2016
    14
    @Themyth 请问是怎么解决的,我也碰到这个问题了
    Themyth
    Themyth
    OP
    Mar 5, 2016
    15
    @larkifly screen 命令啊,好久没玩了,之前就是用 screen 解决的,你搜索一下,很简单。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1040 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 19:03 · PVG 03:03 · LAX 11:03 · JFK 14:03
    ♥ Do have faith in what you're doing.